v0.1.0-alpha.3
Pre-release
Pre-release
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 stream
style iteration onStream
s (#44) - model: base model should recursively store coerced base models (#29)
Features
- api: add
get /chat/completions
endpoint (4570a0f) - api: add
get /responses/{response_id}/input_items
endpoint (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
AnyHash
types 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 stream
style iteration onStream
s (#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
BaseModel
fields that areBaseModel
typed 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
*.rbs
definitions 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
AnyHash
forBaseModel
s in arrays and hashes (#58) (92f1cba) - reduce verbosity in type declarations (#61) (9517e27)
- relocate internal modules (#70) (350fe34)
- Remove deprecated/unused remote spec feature (e2bffd6)
- remove unnecessary & confusing module (#69) (c0ea470)
- support binary responses (#76) (1b19e9b)
- switch to prettier looking sorbet annotations (#59) (0ab5871)
- update readme (#72) (21ed2b6)
- use fully qualified name in sorbet README example (#75) (273a784)
- use multi-line formatting style for really long lines (#37) (acb95ee)