Open
Conversation
8bd7915 to
e8ded67
Compare
e8ded67 to
98fe444
Compare
98fe444 to
b62d5d4
Compare
b62d5d4 to
14ff965
Compare
14ff965 to
ef22972
Compare
ef22972 to
67b2c1e
Compare
67b2c1e to
dde6e53
Compare
dde6e53 to
e9717d6
Compare
| return await this.fetch.call(undefined, url, fetchOptions); | ||
| } finally { | ||
| clearTimeout(timeout); | ||
| if (signal) signal.removeEventListener('abort', abort); |
There was a problem hiding this comment.
Abort listeners accumulate across completed requests
Medium Severity
fetchWithTimeout no longer removes the abort listener from the caller-provided signal after fetch completes. Reusing one AbortSignal for many requests now retains one closure per request, causing unbounded listener growth and extra abort callbacks long after requests have finished.
e9717d6 to
f891d52
Compare
f891d52 to
c706e22
Compare
c706e22 to
cda41d6
Compare
cda41d6 to
8920203
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
8920203 to
cf91872
Compare
cf91872 to
454744e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Automated Release PR
0.38.0 (2026-02-21)
Full Changelog: v0.37.0...v0.38.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 changes public TypeScript types (e.g.,
FileResponse, queue/cluster params) and request body encoding behavior, which could affect downstream compilation and request formatting.Overview
Bumps the SDK to
0.38.0(manifest,package.json,src/version.ts) and refreshes generated resources from an updated OpenAPI spec.Client/runtime fixes: stops removing the abort listener in
fetchWithTimeout(avoids premature cleanup) and adds explicit support forapplication/x-www-form-urlencodedbodies by query-stringifying plain objects; tightens some JSON parsing typings.API surface/type updates: removes
FileObjectand reshapesFileResponse(dropsLineCount, makes fields required, and constrainsobjectliterals), strengthens several responseobjectliteral types across resources, expands/clarifies beta cluster and jig queue schemas (e.g.,clusters.create.regionbecomesstring, queue responses gain required typed fields/metrics), and updates numerous endpoint/docstring descriptions.Dev/test/docs: updates CONTRIBUTING test instructions to use
./scripts/mock, adjusts tests for the new shapes/values, and skips tests that the mock server can’t support (octet-stream/callbacks).Written by Cursor Bugbot for commit 454744e. This will update automatically on new commits. Configure here.