You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
api: add layering parameter, type enum, Layer/Layering models to generations (6206d27)
stlc: configurable CI runner and private-production-repo support in workflow templates (8bb3cfc)
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.
Low Risk
Additive OpenAPI/SDK surface and CI runner selection; no auth or breaking changes to existing generation types.
Overview Release 0.5.0 bumps package version metadata (pyproject.toml, _version.py, release-please manifest) and records the changelog; OpenAPI tracking in .stats.yml points at a new spec revision.
The main API change is layer-extraction generations: generations.create (sync and async) accepts optional layering (e.g. resolution: 1k / 2k), type now includes layering, and completed jobs can return per-output layer metadata (label, index, description, alpha_hint) via new Layer / Layering types. Generation tests cover the new request field; README’s nested-params example uses layering instead of source.
CI runs-on for lint/build/test switches from matching one repo name to startsWith(github.repository, 'stainless-sdks/') so all Stainless SDK forks use depot-ubuntu-24.04.
Reviewed by Cursor Bugbot for commit 0153320. Bugbot is set up for automated code reviews on this repo. Configure here.
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
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
0.5.0 (2026-08-04)
Full Changelog: v0.4.0...v0.5.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