Skip to content

Commit 0956d16

Browse files
authored
Merge pull request #257 from openai/release-please--branches--main--changes--next
release: 0.56.0
2 parents eea3f9a + 61909c2 commit 0956d16

24 files changed

Lines changed: 163 additions & 37 deletions

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: CI
22
on:
33
push:
4-
branches-ignore:
5-
- 'generated'
6-
- 'codegen/**'
7-
- 'integrated/**'
8-
- 'stl-preview-head/**'
9-
- 'stl-preview-base/**'
4+
branches:
5+
- '**'
6+
- '!integrated/**'
7+
- '!stl-preview-head/**'
8+
- '!stl-preview-base/**'
9+
- '!generated'
10+
- '!codegen/**'
11+
- 'codegen/stl/**'
1012
pull_request:
1113
branches-ignore:
1214
- 'stl-preview-head/**'

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.55.0"
2+
".": "0.56.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 151
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-cb3e4451108eed58d59cff25bf77ec0dc960ec9c6f3dba68f90e7a9847c09d21.yml
3-
openapi_spec_hash: dec6d9be64a5ba8f474a1f2a7a4fafef
4-
config_hash: e922f01e25accd07d8fd3641c37fbd62
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-55ef7034334e938c30656a404ce5e21466103be87542a796425346299f450404.yml
3+
openapi_spec_hash: 4a5bfd2ee4ad47f5b7cf6f1ad08d5d7f
4+
config_hash: 96fbf82cf74a44ccd513f5acf0956ffd

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 0.56.0 (2026-03-17)
4+
5+
Full Changelog: [v0.55.0...v0.56.0](https://github.com/openai/openai-ruby/compare/v0.55.0...v0.56.0)
6+
7+
### Features
8+
9+
* **api:** 5.4 nano and mini model slugs ([ce7f09d](https://github.com/openai/openai-ruby/commit/ce7f09dcafdb1a8259ce14d0e7c012b872469a32))
10+
* **api:** add /v1/videos endpoint support to batch create params ([7a661eb](https://github.com/openai/openai-ruby/commit/7a661eb405c72bb2696e0acd327ecd56d7ed6c54))
11+
* **api:** add defer_loading field to namespace_tool function ([2f3b9b7](https://github.com/openai/openai-ruby/commit/2f3b9b7a2fa7b63ed20d362a993d98d8cec72fc1))
12+
* **api:** add in/nin operators to ComparisonFilter ([70c8bf5](https://github.com/openai/openai-ruby/commit/70c8bf55c4d0e2054e23972479edb09c0d8f3d8e))
13+
14+
15+
### Chores
16+
17+
* **internal:** tweak CI branches ([1a5054f](https://github.com/openai/openai-ruby/commit/1a5054f561a63a4b19c0d2a035e1c45dcfbc21fc))
18+
319
## 0.55.0 (2026-03-13)
420

521
Full Changelog: [v0.54.0...v0.55.0](https://github.com/openai/openai-ruby/compare/v0.54.0...v0.55.0)

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
openai (0.55.0)
14+
openai (0.56.0)
1515
base64
1616
cgi
1717
connection_pool

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
1515
<!-- x-release-please-start-version -->
1616

1717
```ruby
18-
gem "openai", "~> 0.55.0"
18+
gem "openai", "~> 0.56.0"
1919
```
2020

2121
<!-- x-release-please-end -->

lib/openai/internal/type/enum.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ module Type
2121
# case chat_model
2222
# when OpenAI::ChatModel::GPT_5_4
2323
# # ...
24-
# when OpenAI::ChatModel::GPT_5_3_CHAT_LATEST
24+
# when OpenAI::ChatModel::GPT_5_4_MINI
2525
# # ...
26-
# when OpenAI::ChatModel::GPT_5_2
26+
# when OpenAI::ChatModel::GPT_5_4_NANO
2727
# # ...
2828
# else
2929
# puts(chat_model)
@@ -33,9 +33,9 @@ module Type
3333
# case chat_model
3434
# in :"gpt-5.4"
3535
# # ...
36-
# in :"gpt-5.3-chat-latest"
36+
# in :"gpt-5.4-mini"
3737
# # ...
38-
# in :"gpt-5.2"
38+
# in :"gpt-5.4-nano"
3939
# # ...
4040
# else
4141
# puts(chat_model)

lib/openai/models/batch_create_params.rb

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ class BatchCreateParams < OpenAI::Internal::Type::BaseModel
1717
# @!attribute endpoint
1818
# The endpoint to be used for all requests in the batch. Currently
1919
# `/v1/responses`, `/v1/chat/completions`, `/v1/embeddings`, `/v1/completions`,
20-
# `/v1/moderations`, `/v1/images/generations`, and `/v1/images/edits` are
21-
# supported. Note that `/v1/embeddings` batches are also restricted to a maximum
22-
# of 50,000 embedding inputs across all requests in the batch.
20+
# `/v1/moderations`, `/v1/images/generations`, `/v1/images/edits`, and
21+
# `/v1/videos` are supported. Note that `/v1/embeddings` batches are also
22+
# restricted to a maximum of 50,000 embedding inputs across all requests in the
23+
# batch.
2324
#
2425
# @return [Symbol, OpenAI::Models::BatchCreateParams::Endpoint]
2526
required :endpoint, enum: -> { OpenAI::BatchCreateParams::Endpoint }
@@ -85,9 +86,10 @@ module CompletionWindow
8586

8687
# The endpoint to be used for all requests in the batch. Currently
8788
# `/v1/responses`, `/v1/chat/completions`, `/v1/embeddings`, `/v1/completions`,
88-
# `/v1/moderations`, `/v1/images/generations`, and `/v1/images/edits` are
89-
# supported. Note that `/v1/embeddings` batches are also restricted to a maximum
90-
# of 50,000 embedding inputs across all requests in the batch.
89+
# `/v1/moderations`, `/v1/images/generations`, `/v1/images/edits`, and
90+
# `/v1/videos` are supported. Note that `/v1/embeddings` batches are also
91+
# restricted to a maximum of 50,000 embedding inputs across all requests in the
92+
# batch.
9193
module Endpoint
9294
extend OpenAI::Internal::Type::Enum
9395

@@ -98,6 +100,7 @@ module Endpoint
98100
V1_MODERATIONS = :"/v1/moderations"
99101
V1_IMAGES_GENERATIONS = :"/v1/images/generations"
100102
V1_IMAGES_EDITS = :"/v1/images/edits"
103+
V1_VIDEOS = :"/v1/videos"
101104

102105
# @!method self.values
103106
# @return [Array<Symbol>]

lib/openai/models/chat_model.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ module ChatModel
66
extend OpenAI::Internal::Type::Enum
77

88
GPT_5_4 = :"gpt-5.4"
9+
GPT_5_4_MINI = :"gpt-5.4-mini"
10+
GPT_5_4_NANO = :"gpt-5.4-nano"
11+
GPT_5_4_MINI_2026_03_17 = :"gpt-5.4-mini-2026-03-17"
12+
GPT_5_4_NANO_2026_03_17 = :"gpt-5.4-nano-2026-03-17"
913
GPT_5_3_CHAT_LATEST = :"gpt-5.3-chat-latest"
1014
GPT_5_2 = :"gpt-5.2"
1115
GPT_5_2_2025_12_11 = :"gpt-5.2-2025-12-11"

lib/openai/models/comparison_filter.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ module Type
6767
GTE = :gte
6868
LT = :lt
6969
LTE = :lte
70+
IN = :in
71+
NIN = :nin
7072

7173
# @!method self.values
7274
# @return [Array<Symbol>]

0 commit comments

Comments
 (0)