Conversation
|
🧪 Testing To try out this version of the SDK: Expires at: Mon, 27 Apr 2026 07:19:40 GMT |
10761a1 to
bc6554e
Compare
bc6554e to
2e62491
Compare
2e62491 to
dc657f1
Compare
dc657f1 to
373fd8d
Compare
Note that we still want to run tests, as these depend on the metadata.
373fd8d to
82a5938
Compare
82a5938 to
a56f09a
Compare
a56f09a to
d9d5b54
Compare
d9d5b54 to
c5a9798
Compare
c5a9798 to
189fdc2
Compare
189fdc2 to
c55effa
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.
| u = parsed.String() | ||
| } else { | ||
| u = u + "?" + params | ||
| } |
There was a problem hiding this comment.
Discarded url.Parse error risks nil pointer dereference
Low Severity
The error from url.Parse(u) is discarded with _, and the result parsed is immediately dereferenced on the next line via parsed.RawQuery. Go's url.Parse returns (nil, error) on failure (e.g., invalid percent-encoding like %zz in a user-supplied path segment), so if parsing fails, parsed will be nil and accessing parsed.RawQuery will panic. While current callers pass simple path strings that are unlikely to fail, the previous code (u = u + "?" + params) had no such risk.
c55effa to
4ae1714
Compare
4ae1714 to
57b1d77
Compare
57b1d77 to
04b9666
Compare
04b9666 to
7a3f0ae
Compare
7a3f0ae to
c477630
Compare


Automated Release PR
0.17.0 (2026-03-28)
Full Changelog: v0.16.0...v0.17.0
Features
Bug Fixes
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
Medium Risk
Medium risk because it adds new Instances APIs and modifies shared request/encoding internals (query-string composition, multipart/JSON default handling), which could affect request serialization across the SDK.
Overview
Bumps the SDK to v0.17.0 (manifest/internal version, README install snippet, changelog/stats) and tweaks CI to skip the
buildjob for push commits with messagecodegen metadata.Adds new Instances capabilities: a blocking
Instances.Wait(GET /instances/{id}/wait) withInstanceWaitParams/WaitForStateResponse, plus a newInstances.SnapshotSchedulesubservice (PUT/GET/DELETE /instances/{id}/snapshot-schedule) with schedule/retention request+response types.Updates internal serialization:
requestconfignow appends query params with&when the URL already has a query string,apiformsupports comma-form arrays and a stringdefault:"..."struct tag (with tests), andapijsongains the samedefaulttag support for JSON marshaling.Written by Cursor Bugbot for commit c477630. This will update automatically on new commits. Configure here.