release: 0.52.0#96
Conversation
Drop typing casts and unused streaming/cleanup blocks to mirror the node SDK's browser-routing example. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Make it explicit that browsers.request returns a familiar httpx.Response so users can rely on the standard interface. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add the buffered client.browsers.curl call alongside the raw streaming client.browsers.request call, with comments noting when to use each. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…mple Simplify browser routing example
|
Firetiger deploy monitoring skipped This PR didn't match the auto-monitor filter configured on your GitHub connection:
Reason: This is an automated release PR with only documentation changes; it does not modify API endpoints (packages/api/cmd/api/) or Temporal workflows (packages/api/lib/temporal) as specified in the filter. To monitor this PR anyway, reply with |
|
🧪 Testing To try out this version of the SDK: Expires at: Fri, 29 May 2026 14:37:24 GMT |
3f934b8 to
0188a8b
Compare
0188a8b to
b10dd41
Compare
b10dd41 to
da3d891
Compare
|
🤖 Release is at https://github.com/kernel/kernel-python-sdk/releases/tag/v0.52.0 🌻 |
Automated Release PR
0.52.0 (2026-04-29)
Full Changelog: v0.51.0...v0.52.0
Features
Bug Fixes
Documentation
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 request construction in two sensitive areas: default header injection from an environment variable and multipart file field-name serialization for arrays; both could subtly change wire formats and break existing integrations if misconfigured.
Overview
Release
0.52.0: bumps package/version metadata and updates the OpenAPI stats + changelog for the release.Adds support for setting client default headers via the
KERNEL_CUSTOM_HEADERSenv var (merged with any provideddefault_headers) for both sync and async clients.Fixes multipart file array serialization by making
extract_files(..., array_format=...)control emitted field names ([], bare, or indexed), centralizesArrayFormat/NestedFormattypes, and expands tests accordingly.Updates docs/examples: clarifies
profiles.downloadreturn format and simplifies theexamples/browser_routing.pysample to show both rawrequest(streaminghttpx.Response) and bufferedcurlusage.Reviewed by Cursor Bugbot for commit da3d891. Bugbot is set up for automated code reviews on this repo. Configure here.