Skip to content

v2.2.1

Choose a tag to compare

@stainless-app stainless-app released this 16 Jul 22:01
3898c9f

2.2.1 (2025-07-16)

Full Changelog: v2.2.0...v2.2.1

Features

  • clean up environment call outs (fc436af)
  • client: add follow_redirects request option (1bf8218)
  • client: add support for aiohttp (843d69d)

Bug Fixes

  • allow utf-8 encoded filename in headers (27ebc83)
  • ci: correct conditional (7f49d8d)
  • ci: release-doctor — report correct token name (0d20a9e)
  • client: correctly parse binary response | stream (55872c2)
  • client: don't send Content-Type header on GET requests (ffcc579)
  • merged_headers -> default_headers to avoid conflicts (6b7aeb4)
  • package: support direct resource imports (2016cda)
  • parsing: correctly handle nested discriminated unions (a4774a8)
  • tests: fix: tests which call HTTP endpoints directly with the example parameters (f5db115)

Chores

  • ci: change upload type (9ee05fb)
  • ci: enable for pull requests (2dc262b)
  • ci: fix installation instructions (b421fd0)
  • ci: only run for pushes and fork pull requests (ced5ec3)
  • ci: upload sdks to package manager (bfc448f)
  • docs: grammar improvements (302e1a8)
  • docs: remove reference to rye shell (b6a9aff)
  • docs: remove unnecessary param examples (b78bf04)
  • internal: avoid errors for isinstance checks on proxies (6bec701)
  • internal: avoid lint errors in pagination expressions (abf0203)
  • internal: bump pinned h11 dep (383abab)
  • internal: codegen related update (81c98bd)
  • internal: update conftest.py (f6aa1eb)
  • package: mark python 3.13 as supported (fe9f5d9)
  • parse environment variables for default headers (fd7c358)
  • readme: fix version rendering on pypi (b93bb29)
  • readme: update badges (52ec704)
  • tests: add tests for httpx client instantiation & proxies (5e99c8f)
  • tests: run tests in parallel (6c8b5ad)
  • tests: skip some failing tests on the latest python versions (94bb5d6)

Documentation

  • api: updates to API spec (4902642)
  • api: updates to API spec (e704323)
  • client: fix httpx.Timeout documentation reference (f0cc6ef)