v0.18.0
0.18.0 (2025-06-19)
Full Changelog: v0.16.0...v0.18.0
Features
- api: api update (8316353)
- api: api update (bdbe8e1)
- api: api update (3334f14)
- api: api update (b6ad9f4)
- api: api update (74e46e9)
- api: api update (bccb2cc)
- api: api update (c05d86e)
- api: api update (b20e5b5)
- api: api update (68a23b5)
- api: api update (8c94bf0)
- api: api update (98ba9ee)
- api: api update (7f9a7d6)
- api: api update (00ba4b4)
- api: api update (cd17269)
- api: api update (78195d4)
- api: api update (#12) (14c9569)
- api: api update (#16) (90ab745)
- api: api update (#21) (1b33d5e)
- api: api update (#23) (83dcd1d)
- api: api update (#25) (26170a5)
- api: api update (#28) (72667ce)
- api: api update (#29) (e2312ba)
- api: api update (#30) (08bae2f)
- api: api update (#31) (a245e70)
- api: api update (#38) (fd5a6d5)
- api: api update (#39) (5aaf7cd)
- api: api update (#4) (b44636b)
- api: api update (#43) (7c8ccc6)
- api: api update (#44) (693304c)
- api: api update (#48) (5a8674d)
- api: api update (#49) (2c1476c)
- api: api update (#5) (3fc9775)
- api: api update (#7) (4c43cb7)
- api: api update (#71) (5e4a65e)
- api: api update (#77) (5df0fc9)
- api: api update (#79) (4bbaa8b)
- api: api update (#8) (bbe535f)
- api: api update (#81) (816ced9)
- api: api update (#82) (2a12261)
- api: api update (#83) (e349d69)
- api: api update (#86) (9cfa06b)
- api: update via SDK Studio (3e2a9c8)
- api: update via SDK Studio (0e3d89e)
- api: update via SDK Studio (bff74c9)
- api: update via SDK Studio (5512870)
- api: update via SDK Studio (f82c2b5)
- api: update via SDK Studio (c7b0af6)
- api: update via SDK Studio (4277aee)
- api: update via SDK Studio (#32) (f8f7ad1)
- api: update via SDK Studio (#33) (d8aad38)
- api: update via SDK Studio (#41) (2aaad04)
- api: update via SDK Studio (#67) (52566fe)
- api: update via SDK Studio (#68) (3014583)
- api: update via SDK Studio (#69) (01cdba5)
- api: update via SDK Studio (#70) (f5871a8)
- api: update via SDK Studio (#72) (3551d71)
- client: add follow_redirects request option (6402278)
- client: allow passing
NotGivenfor body (#53) (25f5f65) - client: send
X-Stainless-Read-Timeoutheader (#45) (314ac6f)
Bug Fixes
- asyncify on non-asyncio runtimes (#51) (9a1d74d)
- ci: ensure pip is always available (#65) (fc830b0)
- ci: remove publishing patch (#66) (ca14208)
- client: correctly parse binary response | stream (5304250)
- client: mark some request bodies as optional (25f5f65)
- client: only call .close() when needed (#11) (23d4683)
- correctly handle deserialising
clsfields (#15) (dff71c6) - package: support direct resource imports (d8b54e0)
- perf: optimize some hot paths (5d2b562)
- perf: skip traversing types for NotGiven values (8509e29)
- pydantic v1: more robust ModelField.annotation check (0e19885)
- tests: fix: tests which call HTTP endpoints directly with the example parameters (8121bc2)
- tests: make test_get_platform less flaky (#19) (4886fcf)
- types: handle more discriminated union shapes (#64) (ea3ea28)
Chores
- add missing isclass check (#9) (12f5ed5)
- broadly detect json family of content-type headers (e03af44)
- ci: add timeout thresholds for CI jobs (0a03092)
- ci: enable for pull requests (be36a2d)
- ci: fix installation instructions (3567715)
- ci: only use depot for staging repos (f8b4a37)
- ci: upload sdks to package manager (733ed75)
- client: minor internal fixes (c1c047d)
- docs: grammar improvements (5e2a523)
- docs: remove reference to rye shell (14db0da)
- docs: remove unnecessary param examples (00bf3e4)
- docs: update client docstring (#57) (b93eac9)
- go live (#1) (84713c4)
- internal: avoid errors for isinstance checks on proxies (c86a164)
- internal: avoid pytest-asyncio deprecation warning (#20) (65f793b)
- internal: base client updates (70b2439)
- internal: bummp ruff dependency (#37) (cef604a)
- internal: bump httpx dependency (#10) (988e555)
- internal: bump pyright version (6730ab4)
- internal: bump rye to 0.44.0 (#63) (d0d34fc)
- internal: change default timeout to an int (#35) (f192b6f)
- internal: codegen related update (059575d)
- internal: codegen related update (#14) (c7e587f)
- internal: codegen related update (#17) (9f186e4)
- internal: codegen related update (#26) (f6008b9)
- internal: codegen related update (#52) (1663641)
- internal: codegen related update (#6) (fa47f9e)
- internal: codegen related update (#62) (7d8fa4f)
- internal: expand CI branch coverage (f1427b7)
- internal: fix devcontainers setup (#54) (6b255f1)
- internal: fix list file params (29a6f87)
- internal: fix type traversing dictionary params (#46) (3b755e0)
- internal: import reformatting (220525f)
- internal: minor formatting changes (1f27a6e)
- internal: minor formatting changes (#27) (b58a9f0)
- internal: minor type handling changes (#47) (de1503e)
- internal: properly set pydantic_private (#55) (412ccce)
- internal: reduce CI branch coverage (31cead5)
- internal: refactor retries to not use recursion (491a541)
- internal: remove extra empty newlines (#61) (b299f2e)
- internal: remove trailing character (#80) (f28f2b7)
- internal: remove unused http client options forwarding (#58) (da92b87)
- internal: slight transform perf improvement (#84) (1a6703c)
- internal: update client tests (#50) (f31aeaf)
- internal: update conftest.py (0564fee)
- internal: update models test (757a2dd)
- internal: update pyright settings (442555c)
- readme: update badges (c2c73f5)
- slight wording improvement in README (#85) (4597f85)
- tests: add tests for httpx client instantiation & proxies (366c38b)
- tests: run tests in parallel (b9ca684)
- update SDK settings (#3) (7d1e0bb)
- update SDK settings (#74) (2097566)
Documentation
- client: fix httpx.Timeout documentation reference (741b8eb)
- fix typos (#13) (84bf7b5)
- raw responses: fix duplicate
the(#18) (f99b1ca) - remove private imports from datetime snippets (25eb634)
- revise readme docs about nested params (#59) (26a8c1e)
- update URLs from stainlessapi.com to stainless.com (#56) (fb40ed8)