Full Changelog: v2.3.3-rc.1...v3.0.0-rc.1
- 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/serverornpx package-namewill invoke code tools: changing your command to one of these is likely all you will need to do.
- api: Deprecate AI Detection, Medical Comprehend, and Context-Aware Text Splitting (91097e4)
- api: manual updates (0012f4c)
- api: manual updates (d9dd552)
- 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)
- 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)
- docs/contributing: correct pnpm link command (edcceda)
- docs: fix mcp installation instructions for remote servers (5248a83)
- fix request delays for retrying to be more respectful of high requested delays (b897aab)
- 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)
- break long lines in snippets into multiline (58a37e3)
- ci: escape input path in publish-npm workflow (5a5bf6b)
- 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)
- fix example snippet imports (4e80d76)
- fix typo in descriptions (2f6c30f)
- internal/client: fix form-urlencoded requests (69d4765)
- 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: cache fetch instruction calls in MCP server (6745b11)
- 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: 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: move stringifyQuery implementation to internal function (08e2c09)
- internal: refactor flag parsing for MCP servers and add debug flag (5291a9f)
- 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/checkoutversion (ac62b27) - internal: update dependencies to address dependabot vulnerabilities (96b9468)
- internal: update gitignore (a8a8b44)
- 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)
- 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)
- 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)
- update mock server docs (b21d0a5)
- update placeholder string (95ae007)
- use latest @modelcontextprotocol/sdk (08d8625)
- api: updates to API spec (535ef81)
- prominently feature MCP server setup in root SDK readmes (723e616)
- tests: switch from prism to steady (5d62789)
Full Changelog: v2.3.2...v2.3.3-rc.1
- api: Improve MCP tool descriptions (95aa714)
- mcp: add detail field to docs search tool (0c975f7)
- mcp: enable optional code execution tool on http mcp servers (cad37b7)
- client: incorrect offset pagination check (b7847ab)
- Fix linting errors. (#238) (12f49e6)
- mcpb: pin @anthropic-ai/mcpb version (43acbce)
- mcp: return tool execution error on jq failure (f833b8f)
- mcp: use raw responses for binary content (54da4f9)
- client: fix logger property type (20209b8)
- extract some types in mcp docs (de1e150)
- internal: codegen related update (35b1a8f)
- internal: codegen related update (5e30270)
- internal: grammar fix (it's -> its) (7dfbe17)
- internal: remove .eslintcache (f75e301)
- internal: use npm pack for build uploads (38c37a1)
- jsdoc: fix @link annotations to refer only to parts of the package‘s public interface (d227de6)
- mcp code tool explicit error message when missing a run function (16c1a44)
- mcp: add friendlier MCP code tool errors on incorrect method invocations (e6a4a0c)
- mcp: add line numbers to code tool errors (00af445)
- mcp: clarify http auth error (bd123e0)
- mcp: upgrade jq-web (9a0ac58)
- use structured error when code execution tool errors (e140047)
- api: updates to API spec (69b36c9)
- mcp: add a README button for one-click add to Cursor (062b7d7)
- mcp: add a README link to add server to VS Code or Claude Code (bb1991a)
Full Changelog: v2.3.2-rc.2...v2.3.2
Full Changelog: v2.3.2-rc.1...v2.3.2-rc.2
- faster formatting (06ae198)
- configure new SDK language (5776514)
- do not install brew dependencies in ./scripts/bootstrap by default (b35ef28)
- internal: codegen related update (8a14d99)
- internal: fix incremental formatting in some cases (fb5aa47)
- internal: ignore .eslintcache (670ff6e)
- internal: remove deprecated
compilerOptions.baseUrlfrom tsconfig.json (8c0e44e)
- api: updates to API spec (de1f80a)
Full Changelog: v2.3.1...v2.3.2-rc.1
- api: manual updates (6704d48)
- add package to package.json (e13a086)
- ci build action (505befa)
- client: qualify global Blob (a4d8c75)
- configure new SDK language (b42c277)
- internal: update global Error reference (ffe142e)
- update CI script (0e85a1f)
Full Changelog: v2.3.0...v2.3.1
- mcp: add code execution tool (60d2199)
- api: updates to API spec (e03824e)
Full Changelog: v2.3.0-rc.1...v2.3.0
Full Changelog: v2.2.1...v2.3.0-rc.1
- api: add web KG and web search (aec5c23)
- internal: move publish config (549fdb5)
- internal: remove redundant imports config (629582b)
- internal: update comment in script (0cbef20)
- update @stainless-api/prism-cli to v5.15.0 (4eb486f)
- api: updates to API spec (1bcdf1c)
- api: updates to API spec (b7625d0)
- api: updates to API spec (bd08c45)
Full Changelog: v2.2.0...v2.2.1
- client: add support for endpoint-specific base URLs (bdfd113)
- client: add withOptions helper (73cc2cc)
- avoid console usage (0939a4a)
- ci: release-doctor — report correct token name (d0f0be6)
- client: always overwrite when merging headers (0dc9410)
- client: explicitly copy fetch in withOptions (ea81361)
- client: get fetchOptions type more reliably (178185b)
- compat with more runtimes (a43506b)
- package.json format (2208eda)
- publish script — handle NPM errors correctly (39c4b77)
- add docs to RequestOptions type (3f7237f)
- adjust eslint.config.mjs ignore pattern (01dff7e)
- avoid type error in certain environments (5dd5df5)
- ci: enable for pull requests (1b3eb2c)
- ci: only run for pushes and fork pull requests (df2a7dd)
- client: drop support for EOL node versions (78f8359)
- client: improve path param validation (f457172)
- client: refactor imports (353a5a6)
- deps: bump eslint-plugin-prettier (9a1f18d)
- docs: grammar improvements (52b1f34)
- docs: use top-level-await in example snippets (7f5ac8c)
- improve publish-npm script --latest tag logic (7b778a5)
- internal: add pure annotations, make base APIResource abstract (ee0adb9)
- internal: codegen related update (debc99f)
- internal: fix format script (cab6ad2)
- internal: fix readablestream types in node 20 (c15bde3)
- internal: share typescript helpers (238294b)
- make some internal functions async (0a2239c)
- package: remove engines (85661a0)
- readme: update badges (9c1423c)
- readme: use better example snippet for undocumented params (617d2e6)
- ts: reorder package.json imports (80235f0)
- add examples to tsdocs (02ae649)
- api: updates to API spec (295a548)
- api: updates to API spec (bd53b17)
- types: replace Record with mapped types (6b89bde)
Full Changelog: v2.2.0-rc.1...v2.2.0
- internal: refactor utils (333de4b)
Full Changelog: v2.1.0...v2.2.0-rc.1
- api: add ai detect tool endpoint (d41c51e)
- api: add translation endpoint (2bd71ae)
- client: add parse method (#226) (da86456)
- client: send all configured auth headers (#222) (22d5e6f)
- internal: fix file uploads in node 18 jest (623fdd9)
- ci: add timeout thresholds for CI jobs (93abeda)
- ci: only use depot for staging repos (788c1d6)
- ci: run on more branches and use depot runners (8a5e6e8)
- client: minor internal fixes (a1c6989)
- internal: improve node 18 shims (#225) (7012687)
- internal: reduce CI branch coverage (afaeb00)
- internal: upload builds and expand CI branch coverage (#224) (76336c3)
- perf: faster base64 decoding (4e9eb5a)
- api: updates to API spec (4c495f6)
- api: updates to API spec (5014f1d)
- api: updates to API spec (94a7c72)
- api: updates to API spec (32c703f)
- swap examples used in readme (#220) (72d9f65)
Full Changelog: v2.1.0-rc.1...v2.1.0
- api: improve type resolution when importing as a package (#214) (0169d65)
- client: send
X-Stainless-Timeoutin seconds (#209) (6f6b153)
- docs: improve migration doc (#216) (b2880ad)
- internal: add aliases for Record and Array (#213) (af62acf)
Full Changelog: v2.0.0...v2.1.0-rc.1
- add chat streaming helpers (#190) (fb61df1)
- add SKIP_BREW env var to ./scripts/bootstrap (#187) (39fdb36)
- api: Add Vision endpoint. (#202) (ad5a874)
- api: Add Vision endpoint. (#203) (e628937)
- client: accept RFC6838 JSON content types (#188) (22721b6)
- client: fix TypeError with undefined File (#181) (50b448c)
- exports: ensure resource imports don't require /index (#192) (6a9e294)
- internal: add mts file + crypto shim types (#193) (881ff5e)
- internal: clean up undefined File test (#182) (490da8e)
- tests: manually reset node:buffer File (#183) (4fcf113)
- client: more accurate streaming errors (#205) (373e288)
- client: only accept standard types for file uploads (#178) (7dec96f)
- docs: fix typo (#197) (3fd6d5e)
- docs: improve docs for withResponse/asResponse (#185) (22f5e8d)
- docs: migration guide re-ordering (#198) (5f39d5d)
- exports: cleaner resource index imports (#195) (c568461)
- exports: stop using path fallbacks (#196) (3cc4c12)
- internal: codegen related update (#206) (afbf140)
- internal: constrain synckit dev dependency (#180) (9f99a49)
- internal: Fix README samples. (#200) (68e5023)
- internal: fix tests failing on node v18 (#179) (c8777ed)
- internal: minor client file refactoring (#194) (80629b0)
- internal: remove extra empty newlines (#191) (4f3f316)
- types: improved go to definition on fetchOptions (#184) (f4bf1f0)
- api: updates to API spec (#189) (2c07888)
- api: updates to API spec (#199) (01722fd)
- api: updates to API spec (#204) (eecd179)
- api: updates to API spec (#207) (a0e0f73)
- update URLs from stainlessapi.com to stainless.com (#176) (7a061f9)
Full Changelog: v2.0.0-rc.1...v2.0.0
Full Changelog: v0.0.1-alpha.0...v2.0.0-rc.1
- 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: 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: switch to new TypeScript package (#166) (c63e4b2)
- 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 (c5b1413)
- api: update via SDK Studio (775dbcf)
- api: update via SDK Studio (974e3de)
- api: update via SDK Studio (f9df401)
- api: update via SDK Studio (2c4aa57)
- 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)
- 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)
- compat: remove ReadableStream polyfill redundant since node v16 (#33) (2dac835)
- fix tool_choice schema (d3ade29)
- internal: fix tests for file uploads (534ec64)
- lint (18cf3c1)
- lint: format (032bc59)
- tests: stop using node:stream (#170) (9792c5e)
- tests: use new method (e822e8d)
- types: remove leftover polyfill usage (#60) (043939d)
- uploads: avoid making redundant memory copies (#55) (f864fb3)
- api: add Content-Type back to file uploads and example (89b148f)
- ci: bump prism mock server version (#47) (3b881e9)
- ci: minor changes (#46) (2cab651)
- docs: clean up example a bit (5766967)
- docs: fix incorrect client var names (#34) (186a9d9)
- go live (#1) (97d56db)
- internal: add constant for default timeout (#36) (b4220e2)
- internal: bump cross-spawn to v7.0.6 (#124) (b5ccd7c)
- 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: move LineDecoder to a separate file (#76) (f8c8855)
- internal: pass props through internal parser (#78) (bb1aae5)
- internal: remove unnecessary getRequestClient function (#123) (8e9e6f0)
- internal: update isAbsoluteURL (#126) (0a676eb)
- internal: version bump (#113) (37a3f70)
- internal: version bump (#115) (9309158)
- internal: version bump (#28) (254dd3c)
- internal: version bump (#9) (e8cc802)
- 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)
- sync repo (b56ae94)
- tests: update prism version (#32) (6ea2f59)
- types: nicer error class types + jsdocs (#125) (a94669a)
- Update completions-streaming.ts (303a7b4)
- Add file upload details to README. (#169) (0aba23f)
- add pagination example (#74) (09b3ee2)
- api: updates to API spec (#168) (af23ff6)
- api: updates to API spec (#44) (5b3f183)
- api: updates to API spec (#57) (73dddc8)
- api: updates to API spec (#63) (50a86f4)
- api: updates to API spec (#70) (7c0721d)
- api: updates to API spec (#75) (3fad6c7)
- api: updates to API spec (#77) (8749431)
- Update README. (#167) (13e0748)