Skip to content

v0.18.0

Choose a tag to compare

@stainless-app stainless-app released this 19 Jun 23:19
17ff9d3

0.18.0 (2025-06-19)

Full Changelog: v0.16.0...v0.18.0

Features

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 cls fields (#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)