Skip to content

release: 2.12.0#348

Merged
stainless-app[bot] merged 21 commits intomainfrom
release-please--branches--main--changes--next
May 1, 2026
Merged

release: 2.12.0#348
stainless-app[bot] merged 21 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Apr 28, 2026

Automated Release PR

2.12.0 (2026-05-01)

Full Changelog: v2.11.0...v2.12.0

Features

  • Add default retrieve handler when passing an id to commands (#345) (984519c)
  • add the pronunciation dict (f59d672)
  • api: add cached_input field to Pricing model (c03fb18)
  • api: Update server url to .ai (2ea6a2d)
  • ENG-87042: clarify TTS language parameter supports lowercase locales (95cf65b)
  • ENG-87042: document language on TTS WebSocket and simplify locale note (14b429f)
  • MOSH-2181: Add default note on max-seq-length (b1edd58)
  • Show cache input token pricing in models list cli output (#350) (1476f70)

Bug Fixes

  • Properly handle unlinking temp file during fine-tuning download (#352) (2f1c458)
  • types: remove eval-sample, eval-output, eval-summary, batch-generated from FilePurpose (ea1d61a)

Chores

  • Improve --json support accross multiple commands (#347) (949bfa4)
  • internal: reformat pyproject.toml (a52e64b)
  • Pass agent name in request headers when detected (#351) (1668cf4)
  • Update references from .xyz to .ai domain (#349) (0c33450)

Documentation

  • polish CLI help text; introduce Options + Global Options panels (#346) (4905c1a)

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

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 15a5036 to 244b5ec Compare April 28, 2026 20:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 244b5ec to 01d1bcd Compare April 29, 2026 15:12
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 01d1bcd to b628b16 Compare April 29, 2026 16:17
* chore: Improve --json support accross multiple commands

* fix file usage with combined params
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from b628b16 to 86ab629 Compare April 29, 2026 16:33
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 86ab629 to 4a479d4 Compare April 29, 2026 18:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 4a479d4 to 36b8d97 Compare April 29, 2026 20:40
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 36b8d97 to 32810d4 Compare April 30, 2026 12:38
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 32810d4 to 8f99f21 Compare April 30, 2026 15:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 8f99f21 to 46e2096 Compare April 30, 2026 16:04
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 46e2096 to 4938a95 Compare April 30, 2026 16:28
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 4938a95 to a995720 Compare April 30, 2026 18:41
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from a995720 to 4e7fee7 Compare April 30, 2026 19:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 4e7fee7 to faecccf Compare April 30, 2026 20:00
…#346)

* Update help text

* Update get_credentials.py

* Rename Global Parameters → Global Options

In CLI terminology, "options" is the established term for named --foo
arguments (kubectl, docker, git, aws, cargo); "parameters" is generic
and formally includes positional arguments. Switching to "Global
Options" matches convention and stays correct if a value-taking global
is added later.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Polish help text further; rename Parameters panel to Options

- Rename the per-command `Parameters` panel to `Options` (matches the
  `Global Options` rename and aligns with kubectl/docker/git/aws CLI
  conventions).
- Hoist the `Model` group to the top of `tg fine-tuning create -h` via
  `sort_key=0` — it's the primary mutually-exclusive decision.
- Render `[default: X]` in the help formatter when cyclopts populates
  `entry.default`. Suppress noisy False/None/"" defaults so opt-in bool
  flags don't get cluttered.
- Drop inline `(defaults to X)` parentheticals; rephrase as
  `; uses X if unset` clauses.
- Trim long descriptions and split into `\n\n` paragraphs where
  appropriate.
- Standardize `(e.g.,` → `(e.g.` (dominant form in this codebase).
- Fix a stray mid-sentence period in `--from-checkpoint` and the
  trailing period on `tg files upload`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Add return type annotation to _description_renderer

Fixes mypy no-untyped-def error.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ruff format

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix error

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from faecccf to c69f524 Compare April 30, 2026 20:03
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from c69f524 to 6961fab Compare April 30, 2026 21:01
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 6961fab to c5fc808 Compare May 1, 2026 03:26
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from c5fc808 to 307ff11 Compare May 1, 2026 18:51
@stainless-app stainless-app Bot merged commit 789d9a4 into main May 1, 2026
10 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented May 1, 2026

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.

2 participants