Releases: openai/openai-ruby
Releases · openai/openai-ruby
v0.1.0-alpha.3
0.1.0-alpha.3 (2025-04-01)
Full Changelog: v0.1.0-alpha.2...v0.1.0-alpha.3
⚠ BREAKING CHANGES
- use tagged enums in sorbet type definitions (#49)
- support
for item in streamstyle iteration onStreams (#44) - model: base model should recursively store coerced base models (#29)
Features
- api: add
get /chat/completionsendpoint (4570a0f) - api: add
get /responses/{response_id}/input_itemsendpoint (7eaee28) - api: new models for TTS, STT, + new audio features for Realtime (#46) (56c2a3f)
- api: o1-pro now available through the API (#43) (e158e7e)
- collapse anonymous enum into unions (#54) (9fc4185)
- consistently accept
AnyHashtypes in parameter positions in sorbet (#57) (adf7232) - internal: converter interface should recurse without schema (#68) (2c67222)
- prevent tapioca from introspecting the gem internals (#56) (09df54b)
- support
for item in streamstyle iteration onStreams (#44) (517cf73) - use tagged enums in sorbet type definitions (#49) (c0a0340)
Bug Fixes
- api: correct some Responses types (#30) (51b4d37)
- client: remove duplicate types (#47) (d26429c)
- label optional keyword arguments in *.rbs type definitions (#41) (fe7be91)
- missing union constants in rbs and rbi type definitions (#28) (8a1a86e)
- model: base model should recursively store coerced base models (#29) (ab2daf1)
- pages should be able to accept non-converter models (#60) (ca44472)
- path interpolation template strings (#77) (f1eec93)
- resolve tapioca derived sorbet errors (#45) (f155158)
- sorbet class aliases are not type aliases (#40) (871fcd5)
- switch to github compatible markdown engine (#73) (5ea2f1a)
- type names (acb2ad3)
- types: improve responses type names (#34) (a82dc6f)
- yard example tag formatting (#53) (f9282fc)
Chores
BaseModelfields that areBaseModeltyped should also acceptHash(#52) (aab09b2)- add
[@yieldparam](https://github.com/yieldparam)to yard doc (#36) (aa0519b) - add example directory (#39) (c62326d)
- add hash of OpenAPI spec/config inputs to .stats.yml (6bd0b48)
- add type annotations for enum and union member listing methods (#55) (a2be966)
- api: updates to supported Voice IDs (#64) (6c42664)
- disable dangerous rubocop auto correct rule (#62) (f34ac80)
- disable overloads in
*.rbsdefinitions for readable LSP errors (#42) (2364f78) - disable unnecessary linter rules for sorbet manifests (#35) (cf2f693)
- document Client's concurrency capability (#33) (9b08fb0)
- fix misc rubocop errors (#74) (40315e6)
- ignore some spurious linter warnings and formatting changes (#31) (e376e31)
- internal: add sorbet config for SDK local development (#38) (f8cb16b)
- internal: bugfix (#51) (0967a13)
- internal: codegen related update (#27) (83ac858)
- internal: minor refactoring of utils (#67) (47f9f49)
- internal: version bump (#26) (b9dde82)
- more accurate type annotations for SDK internals (#71) (2071dd2)
- more aggressive tapioca detection logic for skipping compiler introspection (#65) (1da15be)
- more readable output when tests fail (#63) (c3cfea9)
- re-order assignment lines to make unions easier to read (#66) (50f6e5e)
- recursively accept
AnyHashforBaseModels in arrays and hashes (#58) (92f1cba) - reduce verbosity in type declarations (#61) (9517e27)
- relocate internal modules (#70) ([350fe34](350fe34...
v0.1.0-alpha.2
0.1.0-alpha.2 (2025-03-18)
Full Changelog: v0.1.0-alpha.1...v0.1.0-alpha.2
Features
Bug Fixes
Chores
- add most doc strings to rbi type definitions (#12) (f711649)
- do not label modules as abstract (#22) (bad4ec9)
- document union variants in yard doc (#16) (3ffacfe)
- ensure doc strings for rbi method arguments (#13) (2c59996)
- error fields are now mutable in keeping with rest of SDK (#15) (0e30eb7)
- internal: remove CI condition (#18) (db07e59)
- mark non-inheritable SDK internal classes as final (#19) (ed33b6b)
- sdk client internal refactoring (#21) (927e252)
- sdk internal updates (#9) (7673bb0)
- slightly more consistent type definition layout (#17) (1e4b557)
- touch up sdk usage examples (#14) (7219d46)
- use generics instead of overloading for sorbet type definitions (#20) (a279382)
v0.1.0-alpha.1
0.1.0-alpha.1 (2025-03-13)
Full Changelog: v0.0.1-alpha.0...v0.1.0-alpha.1
Features
Bug Fixes
Chores
- improve documentation (d9ce7ce)
- improve rbi typedef for page classes (#6) (3450adf)
- internal: remove extra empty newlines (#7) (8ce4f87)
- more accurate generic params for stream classes (#8) (c83ab37)
- refactor BasePage to have initializer (#5) (43e80fa)
- remove stale thread local checks (#4) (69e8be8)