Skip to content

release: 0.38.0#79

Merged
stainless-app[bot] merged 5 commits intomainfrom
release-please--branches--main--changes--next
Feb 25, 2026
Merged

release: 0.38.0#79
stainless-app[bot] merged 5 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Feb 24, 2026

Automated Release PR

0.38.0 (2026-02-25)

Full Changelog: v0.37.0...v0.38.0

Features

  • Neil/kernel 1029 past session search (657da45)

Chores

  • internal: add request options to SSE classes (6287415)
  • internal: make test_proxy_environment_variables more resilient (3345fc6)
  • internal: make test_proxy_environment_variables more resilient to env (6a629ee)

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 core streaming response construction by threading FinalRequestOptions into SSE stream classes, which could subtly affect streaming behavior or future option usage. The rest is a straightforward additive API parameter and release metadata updates.

Overview
Bumps the SDK to v0.38.0 (manifest, pyproject.toml, _version.py, changelog) and updates the recorded OpenAPI spec metadata.

Adds a query parameter to browsers.list (sync + async) to support searching browser sessions, including updating the generated params type and resource tests.

Internal streaming change: SSE Stream/AsyncStream now accept and retain FinalRequestOptions, with _response.py passing request options into constructed stream instances. Proxy env var tests are hardened by clearing other proxy-related environment variables before assertions.

Written by Cursor Bugbot for commit 7f03164. This will update automatically on new commits. Configure here.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ec32473 to 03a7c9c Compare February 24, 2026 03:40
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Feb 24, 2026

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/kernel-python/657da45a969b52a8497efbcd597fe8b705dab370/kernel-0.37.0-py3-none-any.whl'

Expires at: Fri, 27 Mar 2026 18:24:50 GMT
Updated at: Wed, 25 Feb 2026 18:24:50 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 03a7c9c to d46bd5a Compare February 25, 2026 03:22
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from d46bd5a to be054b4 Compare February 25, 2026 18:23
@stainless-app stainless-app bot changed the title release: 0.37.1 release: 0.38.0 Feb 25, 2026
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from be054b4 to 7f03164 Compare February 25, 2026 18:23
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

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.

monkeypatch.delenv("http_proxy", raising=False)
monkeypatch.delenv("https_proxy", raising=False)
monkeypatch.delenv("all_proxy", raising=False)
monkeypatch.delenv("no_proxy", raising=False)
Copy link

Choose a reason for hiding this comment

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

Proxy env var set then immediately deleted on Windows

Low Severity

monkeypatch.setenv("HTTPS_PROXY", ...) is called before monkeypatch.delenv("https_proxy", ...). On Windows, os.environ is case-insensitive (all keys uppercased), so the delenv("https_proxy") call deletes the HTTPS_PROXY that was just set. This causes the test to fail on Windows. Moving setenv after all delenv calls would fix the ordering issue.

Additional Locations (1)

Fix in Cursor Fix in Web

@stainless-app stainless-app bot merged commit fdaa3ac into main Feb 25, 2026
8 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Feb 25, 2026

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