Skip to content

release: 1.6.0 - #33

Merged
yogev-nimble merged 2 commits into
mainfrom
release-please--branches--main--changes--next
Sep 7, 2026
Merged

yogev-nimble merged 2 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Breaking for type-checkers (runtime unchanged)

search_depth now accepts "lite" | "standard". The previous values "fast" and "deep" are removed from the type.

The API still accepts fast and deep — existing requests keep working exactly as before. This surfaces only as a type error in your editor or CI, never as a failed request.

Before Now
search_depth="fast" search_depth="standard"
search_depth="deep" search_depth="lite", full_content=True
deep_search=True search_depth="lite", full_content=True

standard was always the documented value; earlier releases of this SDK declared the pre-migration enum and rejected it. deep was never a depth — it named a (depth, full_content) pair, which is why it maps to two fields.

No action needed if you don't set search_depth.


Automated Release PR

1.6.0 (2026-09-07)

Full Changelog: v1.5.0...v1.6.0

Features


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

@yogev-nimble yogev-nimble left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving: regenerated from the corrected Gateway spec (SRCH-126). search_depth now Literal["lite", "standard"]; migration note added to the PR body.

@yogev-nimble
yogev-nimble merged commit 1007f4f into main Sep 7, 2026
7 checks passed
@stainless-app

stainless-app Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant