Skip to content

release: 0.38.0#212

Open
stainless-app[bot] wants to merge 37 commits intomainfrom
release-please--branches--main--changes--next--components--together-ai
Open

release: 0.38.0#212
stainless-app[bot] wants to merge 37 commits intomainfrom
release-please--branches--main--changes--next--components--together-ai

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Feb 5, 2026

Automated Release PR

0.38.0 (2026-03-10)

Full Changelog: v0.37.0...v0.38.0

Features

  • Add FT models supported and limits (eb83352)
  • Add typing for completion responses related to logprobs (7be3686)
  • Add wandb_entity argument to OpenAPI definition (71e55a9)
  • Another try (d59291f)
  • Change TrainingType default to null (cb4bdcb)
  • update deployments schemas to include volume versions (1d3a34e)
  • Update descriptions for endpoints (e7a8aaf)
  • Update training type for price estimation too (52c3b77)

Bug Fixes

  • client: avoid removing abort listener too early (1376258)
  • client: preserve URL params already embedded in path (940974d)
  • docs/contributing: correct pnpm link command (eab2b6e)
  • fix request delays for retrying to be more respectful of high requested delays (11669ff)
  • fixed autoscaling configs in deployments api (4dac51b)
  • internal: skip tests that depend on mock server (be7e0e7)

Chores

  • ci: skip uploading artifacts on stainless-internal branches (603c86c)
  • configure new SDK language (b6f30b6)
  • Fix various docstrings (af4c47f)
  • internal/client: fix form-urlencoded requests (d73f69f)
  • internal: avoid type checking errors with ts-reset (70ad44b)
  • internal: move stringifyQuery implementation to internal function (54dc83f)
  • internal: update dependencies to address dependabot vulnerabilities (e442dfd)
  • Remove broken field LineCount from FileResponse (a0c187e)
  • Revert adding mcp code. Code additions were unexpected. (bb39360)
  • test: do not count install time for mock server timeout (4f232bf)
  • Update descriptions for jig queue methods and properties (7fdfcca)
  • update mock server docs (ac14bf7)
  • update placeholder string (e481cda)

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 HTTP client behavior (URL/query building, retries, request body encoding, abort handling), which can subtly affect request semantics; remaining changes are mostly generated type/docs and CI/test maintenance.

Overview
Releases 0.38.0 with refreshed generated API surface: stronger/updated typings and docs across chat/completions (logprobs fields, prompt echo typing), fine-tuning (nullable training_type, wandb_entity), files (remove LineCount, tighten FileResponse), and beta deployments/clusters/jig (structured autoscaling configs, volume versioning, queue response schemas).

Client/runtime fixes include extracting stringifyQuery to internal/utils/query, preserving existing URL query params when building URLs, adding application/x-www-form-urlencoded body encoding support, adjusting retry delay behavior to better respect server-provided Retry-After, and avoiding premature abort-listener cleanup.

Build/test/ops updates: CI skips artifact upload on stl/* internal branches, scripts/mock gains deterministic startup timeout/logging, several mock-server-incompatible tests are skipped/adjusted, and deps are pinned via minimatch overrides/resolutions (lockfile updated).

Written by Cursor Bugbot for commit 54abcc5. This will update automatically on new commits. Configure here.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 8bd7915 to e8ded67 Compare February 6, 2026 18:33
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from e8ded67 to 98fe444 Compare February 6, 2026 20:54
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 98fe444 to b62d5d4 Compare February 10, 2026 23:25
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from b62d5d4 to 14ff965 Compare February 11, 2026 14:05
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 14ff965 to ef22972 Compare February 12, 2026 19:14
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from ef22972 to 67b2c1e Compare February 12, 2026 20:16
@stainless-app stainless-app bot changed the title release: 0.37.1 release: 0.38.0 Feb 12, 2026
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 67b2c1e to dde6e53 Compare February 12, 2026 20:16
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from dde6e53 to e9717d6 Compare February 17, 2026 13:07
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from e9717d6 to f891d52 Compare February 17, 2026 17:35
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from f891d52 to c706e22 Compare February 18, 2026 17:46
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from c706e22 to cda41d6 Compare February 19, 2026 03:08
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from cda41d6 to 8920203 Compare February 19, 2026 15:11
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 6706f92 to daebcfe Compare March 4, 2026 10:57
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from daebcfe to e6aee21 Compare March 4, 2026 16:15
logprobs?: CompletionsAPI.LogProbs;

text?: string;
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prompt interface defined in wrong namespace breaks ChatCompletion

High Severity

The ChatCompletion interface references ChatCompletion.Prompt at line 67, but the Prompt interface was placed inside the ChatCompletionAssistantMessageParam namespace instead of the ChatCompletion namespace. The ChatCompletion namespace only contains Choice and Warning. By contrast, Completion.Prompt in src/resources/completions.ts is correctly placed inside the Completion namespace. This is a code generation error that will prevent compilation.

Additional Locations (1)

Fix in Cursor Fix in Web

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from e6aee21 to 8af489b Compare March 4, 2026 16:26
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 8af489b to 29dde16 Compare March 4, 2026 17:55
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 29dde16 to 3cf30de Compare March 5, 2026 09:28
if (!(timeoutMillis && 0 <= timeoutMillis && timeoutMillis < 60 * 1000)) {
// If the API asks us to wait a certain amount of time, just do what it
// says, but otherwise calculate a default
if (timeoutMillis === undefined) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Retry delay accepts NaN and negative timeout values

Medium Severity

The retry timeout guard was changed from if (!(timeoutMillis && 0 <= timeoutMillis && timeoutMillis < 60 * 1000)) to if (timeoutMillis === undefined). The old condition also caught NaN, negative, and zero values, falling back to the default exponential backoff. The new condition only catches undefined, so if Date.parse(retryAfterHeader) - Date.now() produces NaN (invalid date) or a negative number (past date), sleep receives that value, bypassing backoff and causing immediate rapid retries.

Fix in Cursor Fix in Web

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 3cf30de to ff6d308 Compare March 5, 2026 11:47
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from ff6d308 to 2981fbb Compare March 6, 2026 17:25
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 2981fbb to ce7192e Compare March 6, 2026 18:35
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from ce7192e to 71cb006 Compare March 7, 2026 12:59
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 71cb006 to e193864 Compare March 7, 2026 13:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from e193864 to 85451cf Compare March 7, 2026 13:58
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Free Tier Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

* `logprobs` is also provided, log probability information is provided on the
* prompt.
*/
prompt: Array<Completion.Prompt>;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conditional prompt field incorrectly marked as required

Medium Severity

The prompt field on Completion was changed from optional (prompt?) to required (prompt), but the docstring states "When echo is true, the prompt is included in the response." Since this field is only populated when echo is enabled, marking it as required misleads TypeScript users into assuming it's always present — leading to potential runtime TypeError when accessing completion.prompt without echo: true.

Fix in Cursor Fix in Web

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 85451cf to ef67ce3 Compare March 9, 2026 21:37
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from ef67ce3 to 54abcc5 Compare March 10, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants