Skip to content

release: 0.48.0#90

Open
stainless-app[bot] wants to merge 4 commits intomainfrom
release-please--branches--main--changes--next
Open

release: 0.48.0#90
stainless-app[bot] wants to merge 4 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app bot commented Apr 8, 2026

Automated Release PR

0.48.0 (2026-04-08)

Full Changelog: v0.47.0...v0.48.0

Features

  • [kernel-1116] add base_url field to browser session response (335d9e0)

Bug Fixes

  • client: preserve hardcoded query params when merging with user params (6dfd882)

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
Modifies request URL construction in _build_request to merge URL-embedded query params with user/default params, which could subtly change behavior for any endpoint paths containing ?. The change is covered by new sync/async tests, but it touches core client request building.

Overview
Releases 0.48.0 (version bumps in pyproject.toml, _version.py, release metadata, and changelog).

API surface change: adds optional base_url to multiple browser session response models (BrowserCreateResponse, BrowserRetrieveResponse, BrowserUpdateResponse, BrowserListResponse, BrowserPoolAcquireResponse, and InvocationListBrowsersResponse.Browser).

Client behavior fix: updates _base_client.py so hard-coded query params present in options.url (e.g. "/foo?beta=true") are preserved and merged with caller/default params; adds sync and async tests to lock in the expected merged query behavior, including percent-encoded paths.

Reviewed by Cursor Bugbot for commit 00425e8. Bugbot is set up for automated code reviews on this repo. Configure here.

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Apr 8, 2026

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/kernel-python/335d9e04998dd9e581f47d8869dd7f07a8f2db74/kernel-0.47.0-py3-none-any.whl'

Expires at: Fri, 08 May 2026 13:12:54 GMT
Updated at: Wed, 08 Apr 2026 13:12:54 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 7a175bd to 33c9cf0 Compare April 8, 2026 13:12
@stainless-app stainless-app bot changed the title release: 0.47.1 release: 0.48.0 Apr 8, 2026
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 33c9cf0 to b50de85 Compare April 8, 2026 13:12
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b50de85 to 00425e8 Compare April 8, 2026 20:48
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.

0 participants