Skip to content

release: 3.0.0#241

Merged
adeweaver merged 23 commits into
mainfrom
release-please--branches--main--changes--next--components--writer-sdk
Jun 2, 2026
Merged

release: 3.0.0#241
adeweaver merged 23 commits into
mainfrom
release-please--branches--main--changes--next--components--writer-sdk

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

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

Automated Release PR

3.0.0 (2026-06-02)

Full Changelog: v3.0.0...v3.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

  • api: add model graphs.Question (#67) (af195e9)
  • api: add new endpoints (#94) (b0dcac4)
  • api: add streaming to application generation (#122) (c85d6c6)
  • api: add streaming to kg question (#101) (0279ffc)
  • api: add support for graphs and files endpoints (#13) (52f462c)
  • api: added method to generate applications content (#43) (09b2657)
  • api: api update (#100) (a7c6e10)
  • api: api update (#121) (f4adda0)
  • api: api update (#81) (d61a1db)
  • api: api update (#84) (dfbb999)
  • api: api update (#87) (eabef89)
  • api: default timeout increase to 3 min (#111) (e0d48dc)
  • api: Deprecate AI Detection, Medical Comprehend, and Context-Aware Text Splitting (91097e4)
  • api: manual updates (0012f4c)
  • api: manual updates (d9dd552)
  • api: manual updates (#102) (eea7dcc)
  • api: manual updates (#105) (9158a6d)
  • api: manual updates (#119) (37f2a16)
  • api: manual updates (#62) (d9dedc4)
  • api: manual updates (#64) (d072c4d)
  • api: manual updates (#95) (26f13bd)
  • api: OpenAPI spec update via Stainless API (#11) (e742ffe)
  • api: OpenAPI spec update via Stainless API (#19) (00d9929)
  • api: OpenAPI spec update via Stainless API (#22) (b3b9223)
  • api: OpenAPI spec update via Stainless API (#23) (1e9c082)
  • api: OpenAPI spec update via Stainless API (#25) (cc8dca0)
  • api: rename kg question and add text-to-graph (#103) (5e651e2)
  • api: rename to chat_completion_chunk (#73) (e4d5ac4)
  • api: update models in readme (#79) (19b7851)
  • api: update tools api methods (#99) (991f955)
  • api: update via SDK Studio (f0c7afd)
  • api: update via SDK Studio (a700263)
  • api: update via SDK Studio (4ea2214)
  • api: update via SDK Studio (b3c74ab)
  • api: update via SDK Studio (f3018fc)
  • api: update via SDK Studio (b42882d)
  • api: update via SDK Studio (27e23b1)
  • api: update via SDK Studio (3504f6d)
  • api: update via SDK Studio (ad2a87f)
  • api: update via SDK Studio (#14) (88e43b2)
  • api: update via SDK Studio (#15) (11d170b)
  • api: update via SDK Studio (#16) (455b64a)
  • api: update via SDK Studio (#17) (fcd684d)
  • api: update via SDK Studio (#20) (4f863a4)
  • api: update via SDK Studio (#21) (19a6a2c)
  • api: update via SDK Studio (#24) (04c9642)
  • api: update via SDK Studio (#3) (514a183)
  • api: update via SDK Studio (#37) (978cf26)
  • api: update via SDK Studio (#4) (c57666a)
  • api: update via SDK Studio (#41) (6e08bc0)
  • api: update via SDK Studio (#42) (2c54f4a)
  • api: update via SDK Studio (#6) (4e3a404)
  • api: update via SDK Studio (#7) (8bacaeb)
  • client: send retry count header (#61) (c0a3dde)
  • feat: joint method uploadAndAddFileToGraph (49ae4ba)
  • fix: lint (4a363dc)
  • fix(api/files): remove unintentional Content-Length header param (00aa0e8)
  • internal: make git install file structure match npm (#118) (407d303)
  • joint method uploadAndAddFileToGraph (d9e933a)
  • mcp: add an option to disable code tool (fa96ea5)
  • mcp: add initial server instructions (d52d098)
  • mcp: add typescript check to code execution tool (7ecde82)
  • mcp: handle code mode calls in the Stainless API (a705a1b)
  • mcp: return logs on code tool errors (76551d3)
  • support setting headers via env (775860c)

Bug Fixes

  • add content type to file uploads param (cb5531a)
  • api/files: remove unintentional Content-Length header param (82e9f9b)
  • change file content type to Core.Uploadable (64c3ac9)
  • client: avoid memory leak with abort signals (325c9ca)
  • client: avoid removing abort listener too early (8a3f29d)
  • client: preserve URL params already embedded in path (c650393)
  • compat: remove ReadableStream polyfill redundant since node v16 (#33) (2dac835)
  • docs/contributing: correct pnpm link command (edcceda)
  • docs: fix mcp installation instructions for remote servers (5248a83)
  • Fix linting error (dea914e)
  • Fix linting errors. (adf5ccb)
  • Fix linting errors. (#246) (dea914e)
  • fix request delays for retrying to be more respectful of high requested delays (b897aab)
  • fix tool_choice schema (d3ade29)
  • lint (18cf3c1)
  • lint: format (032bc59)
  • mcp: add client instantiation options to code tool (761c3b1)
  • mcp: allow falling back for required env variables (7e8d2fc)
  • mcp: correct code tool API endpoint (6cd6857)
  • mcp: correct code tool api output types (9b088bc)
  • mcp: fix env parsing (a8328e7)
  • mcp: fix options parsing (6690d22)
  • mcp: initialize SDK lazily to avoid failing the connection on init errors (49df35f)
  • mcp: pass base url to code tool (59063c0)
  • mcp: return correct lines on typescript errors (c7e0c9b)
  • mcp: return tool execution error on api error (b62c6ba)
  • mcp: update code tool prompt (382ffb1)
  • mcp: update prompt (dddad93)
  • mcp: use pure-lockfile when building mcp server (1e77ebc)
  • treat text/plan with format: binary as raw upload (5f3799d)
  • typescript: upgrade tsc-multi so that it works with Node 26 (c4f21ed)
  • types: remove leftover polyfill usage (#60) (043939d)
  • uploads: avoid making redundant memory copies (#55) (f864fb3)

Chores

  • avoid formatting file that gets changed during releases (6a45720)
  • break long lines in snippets into multiline (58a37e3)
  • ci: bump prism mock server version (#47) (3b881e9)
  • ci: escape input path in publish-npm workflow (5a5bf6b)
  • ci: minor changes (#46) (2cab651)
  • ci: skip lint on metadata-only changes (01c3e15)
  • ci: skip uploading artifacts on stainless-internal branches (51bf9fc)
  • ci: upgrade actions/github-script (c84c7b9)
  • client: do not parse responses with empty content-length (6802838)
  • client: restructure abort controller binding (3204f51)
  • docs: fix incorrect client var names (#34) (186a9d9)
  • fix example snippet imports (4e80d76)
  • fix typo in descriptions (2f6c30f)
  • format: run eslint and prettier separately (be7d4a0)
  • formatter: run prettier and eslint separately (b671b3d)
  • go live (#1) (97d56db)
  • internal/client: fix form-urlencoded requests (69d4765)
  • internal: add constant for default timeout (#36) (b4220e2)
  • internal: add health check to MCP server when running in HTTP mode (cbb4461)
  • internal: allow basic filtering of methods allowed for MCP code mode (a07d4aa)
  • internal: allow setting x-stainless-api-key header on mcp server requests (ec7acc0)
  • internal: always generate MCP server dockerfiles and upgrade associated dependencies (dc3398b)
  • internal: avoid type checking errors with ts-reset (d32477d)
  • internal: bump @modelcontextprotocol/sdk, @hono/node-server, and minimatch (85c4851)
  • internal: bump cross-spawn to v7.0.6 (#124) (b5ccd7c)
  • internal: cache fetch instruction calls in MCP server (6745b11)
  • internal: codegen related update (88197ba)
  • internal: codegen related update (7f46854)
  • internal: codegen related update (c959300)
  • internal: codegen related update (f120aae)
  • internal: codegen related update (757eeae)
  • internal: codegen related update (56fc7c7)
  • internal: codegen related update (e12403b)
  • internal: codegen related update (1be7281)
  • internal: codegen related update (4807744)
  • internal: codegen related update (e56fb21)
  • internal: codegen related update (c549df2)
  • internal: codegen related update (220705b)
  • internal: codegen related update (cf8a0ac)
  • internal: codegen related update (5958ab9)
  • internal: codegen related update (30d1025)
  • internal: codegen related update (#116) (d632f68)
  • internal: codegen related update (#31) (c3ba095)
  • internal: codegen related update (#45) (5c54eb9)
  • internal: codegen related update (#48) (d908809)
  • internal: codegen related update (#49) (d057479)
  • internal: codegen related update (#51) (fcebf50)
  • internal: codegen related update (#58) (0b0a85d)
  • internal: codegen related update (#69) (4fdbf70)
  • internal: codegen related update (#72) (611a33b)
  • internal: dependency updates (#53) (ab3c399)
  • internal: fix MCP docker image builds in yarn projects (4a40b93)
  • internal: fix MCP Dockerfiles so they can be built without buildkit (2e39b4f)
  • internal: fix MCP Dockerfiles so they can be built without buildkit (2aa7960)
  • internal: fix MCP server import ordering (1a45a48)
  • internal: fix MCP server TS errors that occur with required client options (64520aa)
  • internal: fix pagination internals not accepting option promises (302c9ab)
  • internal: improve layout of generated MCP server files (da6f525)
  • internal: improve local docs search for MCP servers (bf2441f)
  • internal: improve local docs search for MCP servers (d1710b0)
  • internal: make generated MCP servers compatible with Cloudflare worker environments (d8af505)
  • internal: make MCP code execution location configurable via a flag (8b197f0)
  • internal: more robust bootstrap script (af77915)
  • internal: move LineDecoder to a separate file (#76) (f8c8855)
  • internal: move stringifyQuery implementation to internal function (08e2c09)
  • internal: pass props through internal parser (#78) (bb1aae5)
  • internal: refactor flag parsing for MCP servers and add debug flag (5291a9f)
  • internal: remove unnecessary getRequestClient function (#123) (8e9e6f0)
  • internal: show error causes in MCP servers when running in local mode (6faf2cc)
  • internal: support custom-instructions-path flag in MCP servers (8d2f3d0)
  • internal: support local docs search in MCP servers (f479ec6)
  • internal: support oauth authorization code flow for MCP servers (96ba350)
  • internal: support type annotations when running MCP in local execution mode (7282ea3)
  • internal: support x-stainless-mcp-client-envs header in MCP servers (29ec150)
  • internal: support x-stainless-mcp-client-permissions headers in MCP servers (5cacf5f)
  • internal: switch MCP servers to use pino for logging (a2693a7)
  • internal: tweak CI branches (700bb90)
  • internal: update actions/checkout version (ac62b27)
  • internal: update dependencies to address dependabot vulnerabilities (96b9468)
  • internal: update docs ordering (dec3f3d)
  • internal: update gitignore (a8a8b44)
  • internal: update isAbsoluteURL (#126) (0a676eb)
  • internal: update lock file (8872b80)
  • internal: update multipart form array serialization (5be2c2b)
  • internal: upgrade @modelcontextprotocol/sdk and hono (e62fb6c)
  • internal: upgrade babel, qs, js-yaml (5717a02)
  • internal: upgrade eslint (4ae73b1)
  • internal: use link instead of file in MCP server package.json files (245c089)
  • internal: use x-stainless-mcp-client-envs header for MCP remote code tool calls (368815e)
  • internal: version bump (#113) (37a3f70)
  • internal: version bump (#115) (9309158)
  • internal: version bump (#28) (254dd3c)
  • internal: version bump (#9) (e8cc802)
  • mcp-server: add support for session id, forward client info (9fa5781)
  • mcp-server: improve instructions (50343c5)
  • mcp-server: increase local docs search result count from 5 to 10 (f87e6b9)
  • mcp-server: log client info (a946922)
  • mcp-server: return access instructions for 404 without API key (30ceb2d)
  • mcp: add intent param to execute tool (c988c65)
  • mcp: correctly update version in sync with sdk (b93d491)
  • mcp: forward STAINLESS_API_KEY to docs search endpoint (dde1184)
  • mcp: pass intent param to execute handler (58fa431)
  • mcp: remove deprecated tool schemes (e376d65)
  • mcp: up tsconfig lib version to es2022 (cb421df)
  • mcp: update lockfile (8d1106e)
  • mcp: upgrade dependencies (5766d6c)
  • rebuild project due to codegen change (#104) (e1c82c3)
  • rebuild project due to codegen change (#107) (f053183)
  • rebuild project due to codegen change (#109) (7f35e1b)
  • rebuild project due to codegen change (#110) (fc9e0e0)
  • rebuild project due to codegen change (#90) (89fa5b3)
  • rebuild project due to codegen change (#91) (3657edb)
  • rebuild project due to codegen change (#92) (a60408e)
  • rebuild project due to codegen change (#93) (0f9276c)
  • rebuild project due to codegen change (#96) (25327f5)
  • rebuild project due to codegen change (#97) (6df076b)
  • rebuild project due to codegen change (#98) (890c742)
  • redact api-key headers in debug logs (7b2b3a9)
  • restructure docs search code (6eeaf25)
  • test: do not count install time for mock server timeout (a345373)
  • tests: bump steady to v0.19.4 (dad22a4)
  • tests: bump steady to v0.19.5 (b51c69d)
  • tests: bump steady to v0.19.6 (241c42d)
  • tests: bump steady to v0.19.7 (518baf9)
  • tests: bump steady to v0.20.1 (32f3fb9)
  • tests: bump steady to v0.20.2 (b54c180)
  • tests: bump steady to v0.22.1 (3a42ea2)
  • tests: remove redundant File import (c4c7f9e)
  • tests: update prism version (#32) (6ea2f59)
  • types: nicer error class types + jsdocs (#125) (a94669a)
  • Update completions-streaming.ts (303a7b4)
  • update mock server docs (b21d0a5)
  • update placeholder string (95ae007)
  • use latest @modelcontextprotocol/sdk (08d8625)

Documentation

Refactors

  • tests: switch from prism to steady (5d62789)

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--components--writer-sdk branch from 4f4406c to f32be2d Compare April 22, 2026 10:34
@hackerone-code
Copy link
Copy Markdown

hackerone-code Bot commented Apr 22, 2026

HackerOne Code Security Review

🟢 Scan Complete: ✔️ No issues detected

Here's how the code changes were interpreted and info about the tools used for scanning.

📖 Summary of Changes The repository has been updated to version 3.0.0-rc.2, with version increments across multiple configuration and source files. Minor improvements include a more robust bootstrap script and a test dependency update. The changes appear to be primarily version-related, with no significant alterations to core functionality or implementation.
File Summary
.release-please-manifest.json The version number in the file has been updated from 3.0.0-rc.1 to 3.0.0-rc.2, indicating a minor release candidate revision.
CHANGELOG.md The changelog has been updated with a new version 3.0.0-rc.2, adding internal improvements like more robust bootstrap script, docs ordering updates, and a test dependency bump. The core functionality remains largely unchanged.
packages/mcp-server/package.json The package version was updated from 3.0.0-rc.1 to 3.0.0-rc.2, with no other changes observed in the package.json file.
packages/mcp-server/manifest.json The only change is the version number, which was updated from "3.0.0-rc.1" to "3.0.0-rc.2" in the package configuration file.
packages/mcp-server/src/server.ts The version number for the 'writer_sdk_api' in the newMcpServer function was updated from '3.0.0-rc.1' to '3.0.0-rc.2', which is the only observable change in this file.
scripts/bootstrap The script now uses ${SKIP_BREW:-} instead of $SKIP_BREW, which provides a default empty value if the variable is unset, improving shell script robustness.
scripts/mock The script's only change is updating the @stdy/cli package version from 0.20.2 to 0.22.1 in both the pre-install and main execution commands, while maintaining identical overall structure and functionality.
src/version.ts The version number has been incremented from '3.0.0-rc.1' to '3.0.0-rc.2' in the version constant export.
🧰 Analysis tools

⏱️ Latest scan covered changes up to commit 32c051b (latest)

@hackerone-code
Copy link
Copy Markdown

✅ Jacques reviewed all the included code changes and associated automation findings and determined that there were no immediately actionable security flaws. Note that they will continue to be notified of any new commits or comments and follow up as needed throughout the duration of this pull request's lifecycle.

Image of Jacques Jacques


Reviewed with ❤️ by HackerOne Code

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from f32be2d to ea4cc88 Compare April 22, 2026 14:00
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from ea4cc88 to 32c051b Compare April 24, 2026 13:34
@hackerone-code
Copy link
Copy Markdown

Due to inactivity, HackerOne Code has cancelled this review job. You can reactivate the code review job from the HackerOne Code dashboard.

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from 32c051b to 8ec25c9 Compare June 2, 2026 17:18
@adeweaver adeweaver changed the title release: 3.0.0-rc.2 release: 3.0.0 Jun 2, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from 8ec25c9 to 273744e Compare June 2, 2026 17:39
@stainless-app stainless-app Bot changed the title release: 3.0.0 release: 3.0.0-rc.2 Jun 2, 2026
@adeweaver adeweaver changed the title release: 3.0.0-rc.2 release: 3.0.0 Jun 2, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from 273744e to ed38711 Compare June 2, 2026 17:39
@stainless-app stainless-app Bot changed the title release: 3.0.0 release: 3.0.0-rc.2 Jun 2, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from ed38711 to 244fc6e Compare June 2, 2026 17:40
@adeweaver adeweaver changed the title release: 3.0.0-rc.2 release: 3.0.0 Jun 2, 2026
@stainless-app stainless-app Bot changed the title release: 3.0.0 release: 3.0.0-rc.2 Jun 2, 2026
@adeweaver adeweaver changed the title release: 3.0.0-rc.2 release: 3.0.0 Jun 2, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from 244fc6e to 47ea6ed Compare June 2, 2026 17:40
@stainless-app stainless-app Bot changed the title release: 3.0.0 release: 3.0.0-rc.2 Jun 2, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch 2 times, most recently from 11119ce to 0a437e4 Compare June 2, 2026 17:41
@adeweaver adeweaver changed the title release: 3.0.0-rc.2 release: 3.0.0 Jun 2, 2026
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Jun 2, 2026

Release version edited manually

The Pull Request version has been manually set to 3.0.0 and will be used for the release.

If you instead want to use the version number 3.0.0-rc.2 generated from conventional commits, just remove the label autorelease: custom version from this Pull Request.

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from 0a437e4 to cf7d6d1 Compare June 2, 2026 17:55
stainless-app Bot added 2 commits June 2, 2026 17:55
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--writer-sdk branch from cf7d6d1 to 35d18ab Compare June 2, 2026 17:55
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from 35d18ab to 17ee639 Compare June 2, 2026 17:55
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from 17ee639 to dd900af Compare June 2, 2026 17:56
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--writer-sdk branch from dd900af to 98dbaa3 Compare June 2, 2026 17:56
@adeweaver adeweaver merged commit 0c00211 into main Jun 2, 2026
10 checks passed
@adeweaver adeweaver deleted the release-please--branches--main--changes--next--components--writer-sdk branch June 2, 2026 18:26
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Jun 2, 2026

🤖 Release is at https://github.com/writer/writer-node/releases/tag/v3.0.0 🌻

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.

1 participant