Skip to content
This repository was archived by the owner on Sep 14, 2026. It is now read-only.

release: 0.7.0 - #131

Open
stainless-app[bot] wants to merge 142 commits into
mainfrom
release-please--branches--main--changes--next
Open

stainless-app[bot] wants to merge 142 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Automated Release PR

0.7.0 (2026-03-23)

Full Changelog: v0.6.0...v0.7.0

Features

  • api: manual updates (#118) (63e202c)
  • api: manual updates (#119) (de6baa4)
  • api: manual updates (#120) (5ad9b62)
  • clean up environment call outs (f89c278)
  • client: add follow_redirects request option (bc631ed)
  • client: add support for aiohttp (4cb377e)
  • client: allow passing NotGiven for body (#109) (6e07ab6)
  • client: send X-Stainless-Read-Timeout header (#104) (ad27414)
  • client: support file upload requests (220e8ca)
  • improve future compat with pydantic v3 (5da7ac1)
  • types: replace List[str] with SequenceNotStr in params (ed5d3b9)

Bug Fixes

  • api: better support union schemas with common properties (#92) (eef2c15)
  • asyncify on non-asyncio runtimes (#108) (138ac15)
  • avoid newer type syntax (ce333f0)
  • ci: correct conditional (93ac1d6)
  • ci: ensure pip is always available (#123) (7641012)
  • ci: release-doctor — report correct token name (e4c6c12)
  • ci: remove publishing patch (#124) (8460bae)
  • client: close streams without requiring full consumption (368e476)
  • client: correctly parse binary response | stream (3825cae)
  • client: don't send Content-Type header on GET requests (61555e0)
  • client: mark some request bodies as optional (6e07ab6)
  • client: only call .close() when needed (#89) (0d60c0e)
  • compat with Python 3.14 (cb4d371)
  • compat: compat with pydantic<2.8.0 when using additional fields (332d176)
  • compat: update signatures of model_dump and model_dump_json for Pydantic v1 (0d74069)
  • correctly handle deserialising cls fields (#94) (e9a5800)
  • docs/api: remove references to nonexistent types (5b74eb6)
  • ensure streams are always closed (6f0fd91)
  • package: support direct resource imports (12d747b)
  • parsing: correctly handle nested discriminated unions (e68d6c9)
  • parsing: ignore empty metadata (927d97a)
  • parsing: parse extra field types (1cc2d17)
  • perf: optimize some hot paths (3dd3ca6)
  • perf: skip traversing types for NotGiven values (827644c)
  • pydantic v1: more robust ModelField.annotation check (3bad66b)
  • tests: fix: tests which call HTTP endpoints directly with the example parameters (d24e16f)
  • tests: make test_get_platform less flaky (#97) (b18604c)
  • types: add missing total=False (#126) (47d4c8b)
  • types: handle more discriminated union shapes (#122) (45bc1ee)

Chores

  • add missing isclass check (#87) (6147129)
  • add Python 3.14 classifier and testing (1176297)
  • broadly detect json family of content-type headers (3befdb8)
  • bump httpx-aiohttp version to 0.1.9 (daac88b)
  • ci: add timeout thresholds for CI jobs (49e9552)
  • ci: change upload type (68f25d4)
  • ci: enable for pull requests (fac0113)
  • ci: fix installation instructions (6efadec)
  • ci: only run for pushes and fork pull requests (14d6eba)
  • ci: only use depot for staging repos (d2ef77a)
  • ci: upload sdks to package manager (8d74835)
  • client: minor internal fixes (cee4cc8)
  • client: simplify Optional[object] to just object (#86) (2caa323)
  • deps: mypy 1.18.1 has a regression, pin to 1.17 (c8fe9e4)
  • do not install brew dependencies in ./scripts/bootstrap by default (6bb6f8b)
  • docs: grammar improvements (d1cb254)
  • docs: remove reference to rye shell (460c7f4)
  • docs: remove unnecessary param examples (3b8e0c7)
  • docs: update client docstring (#113) (ff53598)
  • docs: use environment variables for authentication in code snippets (eb1e80f)
  • fix typos (#125) (be765a1)
  • internal/tests: avoid race condition with implicit client cleanup (6fb44c4)
  • internal: add Sequence related utils (1cd4188)
  • internal: avoid errors for isinstance checks on proxies (d000c3f)
  • internal: avoid pytest-asyncio deprecation warning (#98) (1f5c64a)
  • internal: base client updates (df24cba)
  • internal: bummp ruff dependency (#103) (7e27bb2)
  • internal: bump httpx dependency (#88) (2e6af33)
  • internal: bump pinned h11 dep (34e6151)
  • internal: bump pydantic dependency (#75) (da0cbfa)
  • internal: bump pyright version (49b6a7a)
  • internal: bump rye to 0.44.0 (#121) (e56560b)
  • internal: change ci workflow machines (0e8211a)
  • internal: change default timeout to an int (#102) (aa430f5)
  • internal: codegen related update (2c6433b)
  • internal: codegen related update (7b6e6d6)
  • internal: codegen related update (#101) (2083784)
  • internal: codegen related update (#72) (5e4b37b)
  • internal: codegen related update (#77) (fa673fd)
  • internal: codegen related update (#78) (934bb92)
  • internal: codegen related update (#79) (836fc31)
  • internal: codegen related update (#81) (d4eca1c)
  • internal: codegen related update (#82) (68ab6b3)
  • internal: codegen related update (#85) (b5193a7)
  • internal: codegen related update (#91) (e17d9fa)
  • internal: codegen related update (#95) (eeed899)
  • internal: detect missing future annotations with ruff (c8690f3)
  • internal: expand CI branch coverage (1fbeff3)
  • internal: fix devcontainers setup (#110) (1942380)
  • internal: fix list file params (40348db)
  • internal: fix ruff target version (dfaf940)
  • internal: fix some typos (#84) (d8fe216)
  • internal: fix type traversing dictionary params (#105) (39541c9)
  • internal: grammar fix (it's -> its) (fc9d94f)
  • internal: import reformatting (5a7a874)
  • internal: minor formatting changes (13a53a3)
  • internal: minor formatting changes (#100) (ef56b7d)
  • internal: minor style changes (#99) (ef7980e)
  • internal: minor type handling changes (#106) (d4339f7)
  • internal: move mypy configurations to pyproject.toml file (41d1fd4)
  • internal: properly set pydantic_private (#111) (fdf56ff)
  • internal: reduce CI branch coverage (7fd60ea)
  • internal: refactor retries to not use recursion (ae05f8f)
  • internal: remove extra empty newlines (#117) (34df2f6)
  • internal: remove trailing character (#127) (bf384bd)
  • internal: remove unused http client options forwarding (#114) (12a3eee)
  • internal: slight transform perf improvement (#128) (553e3ce)
  • internal: update client tests (#107) (f43e7eb)
  • internal: update comment in script (8ba181d)
  • internal: update conftest.py (ae3364b)
  • internal: update models test (316af6f)
  • internal: update pydantic dependency (5ce685b)
  • internal: update pyright exclude list (71fd220)
  • internal: update pyright settings (f753908)
  • internal: updated imports (#80) (95fbd1f)
  • make the Omit type public (#74) (76dbaf6)
  • package: drop Python 3.8 support (37d9089)
  • package: mark python 3.13 as supported (08e67ff)
  • Pin github actions to commit (#130) (88a9527)
  • project: add settings file for vscode (22b6ad6)
  • readme: fix version rendering on pypi (e3b94a9)
  • readme: update badges (d8a93b0)
  • tests: add tests for httpx client instantiation & proxies (88ee490)
  • tests: run tests in parallel (d99e688)
  • tests: simplify get_platform test (f84e074)
  • tests: skip some failing tests on the latest python versions (3d9df0b)
  • types: change optional parameter type from NotGiven to Omit (87710bf)
  • update @stainless-api/prism-cli to v5.15.0 (7da60e9)
  • update github action (a03992a)
  • update lockfile (0dd4858)

Documentation

  • client: fix httpx.Timeout documentation reference (98234df)
  • fix typos (#90) (d75a8d5)
  • raw responses: fix duplicate the (#96) (d13b829)
  • readme: example snippet for client context manager (#83) (471d048)
  • readme: fix http client proxies example (#76) (16a3429)
  • revise readme docs about nested params (#115) (f3cc5cd)
  • update URLs from stainlessapi.com to stainless.com (#112) (c9d003a)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

stainless-app Bot added 30 commits March 23, 2026 22:25
stainless-app Bot added 26 commits March 23, 2026 22:25
`nest_asyncio` is archived and broken on some platforms so it's
not worth keeping in our test suite.
@stainless-app

stainless-app Bot commented Mar 23, 2026

Copy link
Copy Markdown
Contributor Author

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/braintrust-sdk-python/5c25cabc1251aeafd34d0bd6eed2f6b04876b436/braintrust_api-0.6.0-py3-none-any.whl'

Expires at: Wed, 22 Apr 2026 22:26:34 GMT
Updated at: Mon, 23 Mar 2026 22:26:34 GMT

@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 2802fe2 to 58ae182 Compare March 23, 2026 22:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants