Skip to content

release: 5.0.0#14

Open
stainless-app[bot] wants to merge 23 commits into
mainfrom
release-please--branches--main--changes--next--components--sdk
Open

release: 5.0.0#14
stainless-app[bot] wants to merge 23 commits into
mainfrom
release-please--branches--main--changes--next--components--sdk

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

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

Automated Release PR

5.0.0 (2026-05-13)

Full Changelog: v4.0.0...v5.0.0

⚠ BREAKING CHANGES

  • mcp: remove deprecated tool schemes
  • mcp: Migration: To migrate, simply modify the command used to invoke the MCP server. Currently, the only supported tool scheme is code mode. Now, starting the server with just node /path/to/mcp/server or npx package-name will invoke code tools: changing your command to one of these is likely all you will need to do.

Features

Bug Fixes

  • client: avoid memory leak with abort signals (c0840d2)
  • client: avoid removing abort listener too early (cee2854)
  • client: preserve URL params already embedded in path (0929142)
  • docs/contributing: correct pnpm link command (d0416d7)
  • docs: fix mcp installation instructions for remote servers (d13778e)
  • mcp: add client instantiation options to code tool (7de8435)
  • mcp: allow falling back for required env variables (6dacb3f)
  • mcp: correct code tool api output types (64ca460)
  • mcp: fix options parsing (ab1843d)
  • mcp: initialize SDK lazily to avoid failing the connection on init errors (adab0de)
  • mcp: pass base url to code tool (53997c5)
  • mcp: return tool execution error on api error (41e98aa)
  • mcp: return tool execution error on jq failure (afe36c4)
  • mcp: update code tool prompt (eaeb3a9)
  • mcp: update prompt (28b5758)
  • models: add element node stainless config (e99b19f)

Chores

  • avoid formatting file that gets changed during releases (1ceada7)
  • break long lines in snippets into multiline (ad0b059)
  • ci: escape input path in publish-npm workflow (fe77711)
  • ci: skip lint on metadata-only changes (e40f217)
  • ci: skip uploading artifacts on stainless-internal branches (f1fc2a9)
  • ci: upgrade actions/github-script (0b47b36)
  • client: do not parse responses with empty content-length (aa66bf3)
  • client: fix logger property type (b1f597d)
  • client: restructure abort controller binding (6cca76e)
  • configure new SDK language (d146166)
  • configure new SDK language (edb7a5a)
  • fix example snippet imports (18fb42a)
  • fix typo in descriptions (353d436)
  • format: run eslint and prettier separately (532cf52)
  • formatter: run prettier and eslint separately (b090da9)
  • internal/client: fix form-urlencoded requests (3a1ad33)
  • internal: add health check to MCP server when running in HTTP mode (5348ad9)
  • internal: allow basic filtering of methods allowed for MCP code mode (26c1bc5)
  • internal: allow setting x-stainless-api-key header on mcp server requests (2bd9e70)
  • internal: always generate MCP server dockerfiles and upgrade associated dependencies (68abad9)
  • internal: avoid type checking errors with ts-reset (ee377fd)
  • internal: cache fetch instruction calls in MCP server (07085d0)
  • internal: codegen related update (b793102)
  • internal: codegen related update (af8f267)
  • internal: codegen related update (3f99b6d)
  • internal: codegen related update (f2ffa3c)
  • internal: codegen related update (aa180af)
  • internal: codegen related update (e4d7c03)
  • internal: codegen related update (9bad6ba)
  • internal: codegen related update (3e8016f)
  • internal: codegen related update (d5655cf)
  • internal: codegen related update (f498daa)
  • internal: codegen related update (1de82ac)
  • internal: codegen related update (f03c979)
  • internal: codegen related update (33f3a99)
  • internal: codegen related update (e568d21)
  • internal: codegen related update (200e800)
  • internal: codegen related update (7c33d22)
  • internal: codegen related update (5b2ce4b)
  • internal: codegen related update (2569d97)
  • internal: codegen related update (8902feb)
  • internal: codegen related update (8199708)
  • internal: codegen related update (62e97f6)
  • internal: codegen related update (997201e)
  • internal: codegen related update (b5ac8a2)
  • internal: codegen related update (fe91176)
  • internal: codegen related update (4f00bb8)
  • internal: escape package name in pnpm workspace file (273a577)
  • internal: fix dockerfile (4f89806)
  • internal: fix MCP Dockerfiles so they can be built without buildkit (f818875)
  • internal: fix MCP Dockerfiles so they can be built without buildkit (6d6d99f)
  • internal: fix MCP server import ordering (d72ebab)
  • internal: fix MCP server TS errors that occur with required client options (9898ca9)
  • internal: improve import alias names (ab4ef94)
  • internal: improve layout of generated MCP server files (c02631b)
  • internal: improve local docs search for MCP servers (8a05130)
  • internal: improve local docs search for MCP servers (5765fe2)
  • internal: improve reliability of MCP servers when using local code mode execution (8e4dc2f)
  • internal: make generated MCP servers compatible with Cloudflare worker environments (bce6736)
  • internal: make MCP code execution location configurable via a flag (6d96cb6)
  • internal: more robust bootstrap script (f7d9f66)
  • internal: move stringifyQuery implementation to internal function (9bf3d50)
  • internal: refactor flag parsing for MCP servers and add debug flag (0e38b25)
  • internal: remove mock server code (ab69b21)
  • internal: show error causes in MCP servers when running in local mode (96e727c)
  • internal: support custom-instructions-path flag in MCP servers (ec3887e)
  • internal: support local docs search in MCP servers (53582e8)
  • internal: support oauth authorization code flow for MCP servers (e99360d)
  • internal: support type annotations when running MCP in local execution mode (a9d515b)
  • internal: support x-stainless-mcp-client-envs header in MCP servers (f22db02)
  • internal: support x-stainless-mcp-client-permissions headers in MCP servers (c135423)
  • internal: tweak CI branches (46b4120)
  • internal: update actions/checkout version (5ba72bb)
  • internal: update dependencies to address dependabot vulnerabilities (e68f3de)
  • internal: update docs ordering (a66495b)
  • internal: update gitignore (93959ec)
  • internal: update lock file (014c852)
  • internal: update lock file (29c950b)
  • internal: update lockfile (b7c7a14)
  • internal: upgrade @modelcontextprotocol/sdk and hono (09b655a)
  • internal: upgrade babel, qs, js-yaml (586449d)
  • internal: upgrade brace-expansion and @babel/helpers (30ce259)
  • internal: upgrade eslint (45d2eaa)
  • internal: upgrade pnpm (64af508)
  • internal: upgrade pnpm version (ee1ebdc)
  • internal: use x-stainless-mcp-client-envs header for MCP remote code tool calls (488ba1e)
  • mcp-server: add support for session id, forward client info (6bbd103)
  • mcp-server: improve instructions (bb255c4)
  • mcp-server: increase local docs search result count from 5 to 10 (3a6ece7)
  • mcp-server: log client info (3d873a2)
  • mcp: add intent param to execute tool (39c6613)
  • mcp: correctly update version in sync with sdk (754cb8d)
  • mcp: forward STAINLESS_API_KEY to docs search endpoint (3c091cf)
  • mcp: pass intent param to execute handler (0aeff52)
  • mcp: remove deprecated tool schemes (e5c7979)
  • mcp: up tsconfig lib version to es2022 (c8643f0)
  • mcp: upgrade dependencies (ef646fb)
  • mcp: upgrade jq-web (a678950)
  • redact api-key headers in debug logs (3fb0894)
  • restructure docs search code (8941b3c)
  • update CLI documentation (32f4b59)
  • update mock server docs (098a67b)
  • update SDK settings (8f6b73b)
  • update SDK settings (05697f8)
  • use latest @modelcontextprotocol/sdk (73f83dd)

Documentation

  • prominently feature MCP server setup in root SDK readmes (3e64a3c)

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
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Apr 23, 2026

🧪 Testing

To try out this version of the SDK:

npm install 'https://pkg.stainless.com/s/droidrun-cloud-typescript/c11871f089bdf8ad84dc8afad5a8d9a7f1502659/dist.tar.gz'

Expires at: Fri, 12 Jun 2026 02:13:30 GMT
Updated at: Wed, 13 May 2026 02:13:30 GMT

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch 2 times, most recently from 13c63a5 to 201906b Compare April 23, 2026 02:30
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch 2 times, most recently from 757a83a to 957e011 Compare April 26, 2026 02:16
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 957e011 to e2a5856 Compare April 28, 2026 02:23
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from e2a5856 to 1a187f6 Compare April 29, 2026 07:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 1a187f6 to 0670c36 Compare April 29, 2026 17:37
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 0670c36 to c198157 Compare April 30, 2026 02:56
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from c198157 to 05cfc9a Compare April 30, 2026 04:16
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 05cfc9a to 5d73c0c Compare May 1, 2026 02:44
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch 2 times, most recently from ac1849f to a8d44cb Compare May 5, 2026 10:23
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch 2 times, most recently from 8689483 to 901937a Compare May 5, 2026 11:13
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 901937a to 565b511 Compare May 8, 2026 02:34
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 565b511 to e971f1b Compare May 8, 2026 09:17
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from e971f1b to 990020a Compare May 11, 2026 15:17
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 990020a to 843c2ba Compare May 11, 2026 17:17
stainless-app Bot added 2 commits May 13, 2026 02:12
Pin all GitHub Actions referenced in generated workflows (both
first-party `actions/*` and third-party) to immutable commit SHAs.
Updating pinned actions is now a deliberate codegen-side bump rather
than implicit on every workflow run.
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 843c2ba to c556c03 Compare May 13, 2026 02:16
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