Open
Conversation
Note that we still want to run tests, as these depend on the metadata.
Contributor
Author
|
🧪 Testing To try out this version of the SDK: Expires at: Thu, 07 May 2026 06:21:12 GMT |
24427bc to
2135242
Compare
2135242 to
e9753e3
Compare
e9753e3 to
5bda848
Compare
5bda848 to
00bde6d
Compare
00bde6d to
22b3fde
Compare
The default aiodns resolver aggressively caches negative DNS responses, which caused connection issues for a customer.
22b3fde to
d359d59
Compare
d359d59 to
eb26d1f
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 55bfc76. Configure here.
* chore: fix tests for new update_metadata endpoint * fix: use DefaultAsyncHttpxClient as DefaultAioHttpClient As it already uses our AioHttpTransport under the hood, but with our custom timings. * perf: increase default connection idle timeout to 60s --------- Co-authored-by: Nikhil Benesch <nikhil.benesch@gmail.com>
4c8d301 to
f15e3cc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Automated Release PR
1.21.0 (2026-04-06)
Full Changelog: v1.20.0...v1.21.0
Features
limitquery parameter (b1aa74f)typerequired onAttributeSchemaConfig(9596ee0)NamespaceMetadata.index(a1cb762)queriesfrom recall endpoint (dfac196)Bug Fixes
$ref_newexpressions (#132) (089686b)group_byquery parameter (d6dcfd3)pydantic<2.8.0when using additional fields (09b2a6a)model_dumpandmodel_dump_jsonfor Pydantic v1 (5d70dcf)by_aliasunless set (de9ede8)Performance Improvements
Chores
httpx-aiohttpversion to 0.1.9 (e637dca)actions/github-script(6579e7c)api.mdfiles (b6fdecc)test_proxy_environment_variablesmore resilient (bd36cd0)test_proxy_environment_variablesmore resilient to env (d870a2d)pyproject.tomlfile (05aecc3)actions/checkoutversion (3b408b0)Documentation
Refactors
extra_itemsfrom PEP 728 (9b36d34)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
Note
Medium Risk
Touches HTTP client defaults (DNS resolver and connection keepalive) and request serialization, which can subtly affect networking behavior across environments; the new metadata/pinning API surface is additive but changes response typing/shape.
Overview
Bumps the package to v1.21.0 (manifest,
pyproject.toml,_version.py) and updates the changelog/release metadata.Extends the Namespaces API with
update_metadata(sync/async + raw/stream wrappers) to configure namespace pinning, adds new pinning models (PinningConfig,NamespaceUpdateMetadataParams) and exposes pinning/status onNamespaceMetadata; also addsrank_bysupport to the_debug/recallendpoint params.Improves client internals by supporting
indicesarray query serialization, increasing connection keepalive expiry to 60s, and forcingaiohttp’sThreadedResolverin the default async transport to avoid problematic negative-DNS caching. CI lint/build jobs now skip runs for push commits with messagecodegen metadata, and.gitignoreadds.stdy.log.Reviewed by Cursor Bugbot for commit f15e3cc. Bugbot is set up for automated code reviews on this repo. Configure here.