-
Notifications
You must be signed in to change notification settings - Fork 1
release: 0.24.0 #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release: 0.24.0 #61
Conversation
|
🧪 Testing To try out this version of the SDK, run: Expires at: Fri, 16 Jan 2026 23:31:59 GMT |
| ) -> ResponseT: | ||
| opts = FinalRequestOptions.construct(method="patch", url=path, json_data=body, **options) | ||
| opts = FinalRequestOptions.construct( | ||
| method="patch", url=path, json_data=body, files=to_httpx_files(files), **options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Async patch method uses sync file handling function
The async patch method incorrectly uses the synchronous to_httpx_files(files) instead of await async_to_httpx_files(files). The async post method (line 1763) and async put method (line 1791) both correctly use await async_to_httpx_files(files). When files contain PathLike objects, the sync version will perform blocking I/O (path.read_bytes()) in an async context, potentially blocking the event loop.
c899551 to
eae0512
Compare
eae0512 to
0824aba
Compare
0824aba to
1570b63
Compare
1570b63 to
1ff2d12
Compare
1ff2d12 to
601a341
Compare
|
🤖 Release is at https://github.com/onkernel/kernel-python-sdk/releases/tag/v0.24.0 🌻 |
Automated Release PR
0.24.0 (2025-12-17)
Full Changelog: v0.23.0...v0.24.0
Features
Chores
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
Adds Credentials CRUD API and extends agent auth (delete/reauth, credential linking, enhanced invocation response), updates browser pool types, and adds files support to PATCH methods.
client.credentialsresource withcreate/retrieve/update/list/delete; addsCredentialand related param types.delete /agents/auth/{id}andpost /agents/auth/{id}/reauth(returnsReauthResponse).credential_name.createacceptssave_credential_asand returns a discriminated union (already_authenticated|invocation_created).BrowserPoolRequestwithBrowserPoolConfiginBrowserPool.filessupport topatch()(sync/async) in_base_client.cached_property; addcredentialsresource; update raw/streaming wrappers.api.mdand tests for new endpoints and types; configured endpoints:82 → 89.0.24.0and update changelog.Written by Cursor Bugbot for commit 601a341. This will update automatically on new commits. Configure here.