v0.1.0-alpha.2
Pre-release
Pre-release
0.1.0-alpha.2 (2025-03-25)
Full Changelog: v0.1.0-alpha.1...v0.1.0-alpha.2
⚠ BREAKING CHANGES
- use tagged enums in sorbet type definitions (#57)
- support
for item in streamstyle iteration onStreams (#55) - model: base model should recursively store coerced base models (#44)
Features
- add jsonl support (#10) (74f6a63)
- add SKIP_BREW env var to ./scripts/bootstrap (#14) (6d5ad33)
- api: api update (#69) (1374a6e)
- consistently accept
AnyHashtypes in parameter positions in sorbet (#62) (8a5cbf7) - prevent tapioca from introspecting the gem internals (#61) (a7e45cc)
- support
for item in streamstyle iteration onStreams (#55) (c59a90c) - support client level methods (#18) (92bf05c)
- support jsonl uploads (#32) (fd8bb80)
- support streaming uploads (#25) (5adeadb)
- use tagged enums in sorbet type definitions (#57) (6956ce9)
Bug Fixes
- bad documentation url for gemdocs.org (#43) (10c313f)
- enums should only coerce matching symbols into strings (#26) (d0260a3)
- label optional keyword arguments in *.rbs type definitions (#53) (66ba596)
- model: base model should recursively store coerced base models (#44) (5b67ef6)
- pages should be able to accept non-converter models (#65) (1927323)
- rectify a mistake where wrong lines were chosen during rebase (#19) (7ff758e)
- resolve tapioca derived sorbet errors (#56) (0b1c07a)
- sorbet class aliases are not type aliases (#52) (f2abbe9)
- yard example tag formatting (#59) (de42306)
Chores
BaseModelfields that areBaseModeltyped should also acceptHash(#58) (a519092)- add
[@yieldparam](https://github.com/yieldparam)to yard doc (#48) (07be571) - add
sorbetsection to README (#15) (353250b) - add example directory (#51) (f7dbdf7)
- add more examples to README.md (#16) (00b0b73)
- add most doc strings to rbi type definitions (#33) (e366baa)
- add type annotations for enum and union member listing methods (#60) (414af1a)
- bump lockfile (#7) (a644446)
- disable dangerous rubocop auto correct rule (#67) (1d98cb0)
- disable overloads in
*.rbsdefinitions for readable LSP errors (#54) (2d71742) - disable unnecessary linter rules for sorbet manifests (#47) (50e9efe)
- do not label modules as abstract (#42) (f99868b)
- document Client's concurrency capability (#46) (24aba19)
- document union variants in yard doc (#37) (623ce81)
- ensure doc strings for rbi method arguments (#34) (a592cdf)
- error fields are now mutable in keeping with rest of SDK (#36) (99d4319)
- fused enum should use faster internal iteration by default (#22) (c4ee170)
- generate better supported rbi signatures (#12) (e093ce4)
- ignore some spurious linter warnings and formatting changes (#45) (2dce5e9)
- improve documentation (#24) (1896856)
- improve rbi typedef for page classes (#29) (ac6b999)
- internal: add sorbet config for SDK local development (#50) (bb63811)
- internal: codegen related update (#17) (b0d79ac)
- internal: codegen related update (#20) (d715c02)
- internal: remove extra empty newlines (#30) (d8c970e)
- internal: version bump (#4) (1e24a6c)
- mark non-inheritable SDK internal classes as final (#39) (69bb3a3)
- modify sorbet initializers to better support auto-completion (#13) (3271474)
- more readable output when tests fail (#68) (7af6e91)
- move examples into tests (#9) (4ba4a39)
- pagination (#21) (e95562f)
- recursively accept
AnyHashforBaseModels in arrays and hashes (#63) (727a5b5) - reduce verbosity in type declarations (#66) (47de683)
- refactor BasePage to have initializer (#28) (0b49043)
- remove stale thread local checks (#27) (3fbfa6c)
- rename misleading variable (#8) (0b3397f)
- sdk client internal refactoring (#41) (a0e8fe9)
- sdk internal updates (#31) (74a9ff6)
- slightly more consistent type definition layout (#38) (cf75aa6)
- support different EOLs in streaming (#11) (4eb4cc3)
- switch to prettier looking sorbet annotations (#64) (797cdf7)
- touch up sdk usage examples (#35) (f17f349)
- update custom timeout header name (#6) (e19278e)
- use generics instead of overloading for sorbet type definitions (#40) (e8e32c7)
- use multi-line formatting style for really long lines (#49) (96c2c73)