Conversation
ec32473 to
03a7c9c
Compare
|
🧪 Testing To try out this version of the SDK, run: Expires at: Fri, 27 Mar 2026 18:24:50 GMT |
03a7c9c to
d46bd5a
Compare
d46bd5a to
be054b4
Compare
be054b4 to
7f03164
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.
| monkeypatch.delenv("http_proxy", raising=False) | ||
| monkeypatch.delenv("https_proxy", raising=False) | ||
| monkeypatch.delenv("all_proxy", raising=False) | ||
| monkeypatch.delenv("no_proxy", raising=False) |
There was a problem hiding this comment.
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)
|
🤖 Release is at https://github.com/kernel/kernel-python-sdk/releases/tag/v0.38.0 🌻 |


Automated Release PR
0.38.0 (2026-02-25)
Full Changelog: v0.37.0...v0.38.0
Features
Chores
test_proxy_environment_variablesmore resilient (3345fc6)test_proxy_environment_variablesmore 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
FinalRequestOptionsinto 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
queryparameter tobrowsers.list(sync + async) to support searching browser sessions, including updating the generated params type and resource tests.Internal streaming change: SSE
Stream/AsyncStreamnow accept and retainFinalRequestOptions, with_response.pypassing 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.