Conversation
|
🧪 Testing To try out this version of the SDK: Expires at: Fri, 01 May 2026 08:30:35 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
c477630 to
43a3f9c
Compare


Automated Release PR
0.17.0 (2026-04-01)
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
Touches core request/serialization paths (
apijson,apiform,requestconfig), so regressions could affect many endpoints despite being relatively contained and covered by added unit tests.Overview
Bumps the SDK to v0.17.0 and updates release metadata/docs (
CHANGELOG.md,README.md, manifest/version files, stats).Adds new Instances capabilities:
Instances.Wait(GET /instances/{id}/wait) with typed params/response for blocking on state transitions, andInstances.SnapshotSchedulewithUpdate/Get/Delete(/instances/{id}/snapshot-schedule) plus new schedule/retention models.Improves internal encoding/request plumbing: supports
default:"..."struct tags in JSON and multipart form serialization, adds comma-style array encoding for multipart form data, fixes query string appending to avoid duplicate?, and switchesResourceReclaimMemoryParamsunmarshaling toapijson.UnmarshalRoot. CI now skips the build job for metadata-only “codegen metadata” push commits, and.gitignoreadds.stdy.log.Written by Cursor Bugbot for commit 43a3f9c. This will update automatically on new commits. Configure here.