Conversation
0a5649e to
018109a
Compare
…may take longer than a minute
018109a to
4842215
Compare
4842215 to
007cfc7
Compare
007cfc7 to
09db70c
Compare
09db70c to
1a03b7a
Compare
1a03b7a to
c94d460
Compare
c94d460 to
5f01286
Compare
…umentation to repo root
5f01286 to
9958e56
Compare
|
🧪 Testing To try out this version of the SDK: Expires at: Thu, 23 Apr 2026 04:37:12 GMT |
…-databind#3240 in tests fix: date time deserialization leniency
9958e56 to
115f9e8
Compare
115f9e8 to
aa45c4c
Compare
aa45c4c to
8274413
Compare
8274413 to
708ae3a
Compare
fix(client): send retry count header for max retries 0 chore(internal): depend on packages directly in example
708ae3a to
92b4d92
Compare
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
1 similar comment
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
6bf65e4 to
e48bca9
Compare
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
5 similar comments
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
e48bca9 to
d60b29c
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| return retryAfter | ||
| } | ||
| // If the API asks us to wait a certain amount of time, do what it says. | ||
| return Duration.ofNanos(retryAfterNanos.toLong()) |
There was a problem hiding this comment.
Negative Retry-After crashes retry loop
Medium Severity
Retry-After values are now returned directly as a Duration without bounds checks. Negative values from stale RFC1123 dates or negative numeric headers propagate to sleeper.sleep, which can throw and abort retries instead of falling back to exponential backoff.
| if (!endsWith("/")) { | ||
| append("/") | ||
| } | ||
| append(URLEncoder.encode(segment, "UTF-8")) |
There was a problem hiding this comment.
HttpRequest url encoding mismatches real request
Medium Severity
HttpRequest.url() uses URLEncoder, which applies form encoding (space -> +). The OkHttp transport builds URLs with RFC3986-style encoding (space -> %20). So url() can return a different URL than what is actually sent.
Additional Locations (1)
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
d60b29c to
5f9db0f
Compare
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
1 similar comment
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
5f9db0f to
fb4886a
Compare
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
fb4886a to
11dd567
Compare
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
2 similar comments
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |
11dd567 to
455c804
Compare
|
Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen. |


Automated Release PR
0.2.0 (2026-03-24)
Full Changelog: v0.1.0...v0.2.0
Features
HttpRequest#url()method (ed55316)X-Stainless-Kotlin-Versionheader (d6e480e)Bug Fixes
Chores
actions/github-script(bfd4ab7)actions/setup-java(06e3dd3)./scripts/test(5c266ea)SKIP_MOCK_TESTS(daaf28c)actions/checkoutversion (912a4ea)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
Medium risk: changes core HTTP behavior (timeouts, retry gating, multipart encoding, date-time parsing) and adds new client configuration knobs that could affect request execution and resource usage. CI/publishing workflow updates and version bumps are lower risk but could impact release automation if misconfigured.
Overview
Bumps the SDK to
0.2.0and refreshes generated models/params, includingAsset.displayName+ optionalAsset.os,AssetListParams.includeAppStore, and newmcpUrl/sandbox fields on Android/iOS instance status/create params.Updates the core client/runtime: default request timeout increases to 5 minutes,
HttpRequestgainsurl()building/encoding, retry logic now respects per-request retryability and honorsRetry-Afterdurations, and JSON/date-time handling switches to lenientOffsetDateTimeparsing with stricter numeric coercions plus a newX-Stainless-Kotlin-Versionheader.Refactors HTTP plumbing by removing Apache multipart dependencies in favor of an in-house multipart encoder (with new tests), adds OkHttp configuration options (dispatcher executor + connection pool tuning), and updates build/CI/release tooling (GitHub Actions versions, OIDC-based artifact upload, formatting/test deps, local publish option, and release docs/changelog/readme/license updates).
Written by Cursor Bugbot for commit 455c804. This will update automatically on new commits. Configure here.