Skip to content

Latest commit

 

History

History
735 lines (455 loc) · 55.1 KB

File metadata and controls

735 lines (455 loc) · 55.1 KB

Changelog

0.29.0 (2026-01-18)

Full Changelog: v0.28.0...v0.29.0

Features

Chores

  • internal: update actions/checkout version (eff5d28)

0.28.0 (2026-01-15)

Full Changelog: v0.27.0...v0.28.0

Features

0.27.0 (2026-01-15)

Full Changelog: v0.26.0...v0.27.0

Features

Chores

  • internal: upgrade babel, qs, js-yaml (8dee709)

0.26.0 (2026-01-14)

Full Changelog: v0.25.0...v0.26.0

Features

0.25.0 (2026-01-11)

Full Changelog: v0.24.0...v0.25.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

  • mcp: add client instantiation options to code tool (9af9932)
  • mcp: correct code tool api output types (197ce20)
  • mcp: fix env parsing (8a5559a)
  • mcp: fix options parsing (ea70ab3)
  • mcp: pass base url to code tool (3ad4714)
  • mcp: update code tool prompt (79cec40)

Chores

  • break long lines in snippets into multiline (749834d)
  • internal: codegen related update (7992c52)
  • mcp: remove deprecated tool schemes (6d54339)
  • mcp: update lockfile (06783ad)

Documentation

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

0.24.0 (2025-12-08)

Full Changelog: v0.23.0...v0.24.0

Features

  • api: manual updates (533552d)
  • mcp: add detail field to docs search tool (8f77fc6)
  • mcp: add typescript check to code execution tool (7578b49)
  • mcp: handle code mode calls in the Stainless API (42fd808)
  • mcp: return logs on code tool errors (709d568)

Bug Fixes

  • mcp: correct code tool API endpoint (42ff072)
  • mcp: return correct lines on typescript errors (4597857)
  • mcp: return tool execution error on api error (53a87cf)

Chores

  • client: fix logger property type (78eb993)
  • internal: codegen related update (07d7563)
  • internal: codegen related update (8e7dd46)
  • internal: upgrade eslint (6b56a2d)
  • use latest @modelcontextprotocol/sdk (430a047)

0.23.0 (2025-11-25)

Full Changelog: v0.22.0...v0.23.0

Features

  • api: manual updates (1a19816)
  • api: update via SDK Studio (539f4c4)
  • mcp: enable optional code execution tool on http mcp servers (090ca8f)

Bug Fixes

  • mcpb: pin @anthropic-ai/mcpb version (c8bf746)
  • mcp: return tool execution error on jq failure (047276b)

Chores

  • internal: codegen related update (f45deec)
  • internal: codegen related update (d8c690d)
  • internal: grammar fix (it's -> its) (ceea4b0)
  • mcp code tool explicit error message when missing a run function (9f95cba)
  • mcp: add friendlier MCP code tool errors on incorrect method invocations (69bd7b0)
  • mcp: add line numbers to code tool errors (48cfd3a)
  • mcp: clarify http auth error (8a6a2cb)
  • mcp: upgrade jq-web (51ca5f4)
  • use structured error when code execution tool errors (20cc664)

Documentation

  • mcp: add a README button for one-click add to Cursor (d0679c8)
  • mcp: add a README link to add server to VS Code or Claude Code (5526204)

0.22.0 (2025-10-18)

Full Changelog: v0.21.0...v0.22.0

Features

  • api: pre-launch SDK release (dcfff9e)
  • clean up environment call outs (6dd40c6)
  • mcp: add code execution tool (b6cd343)
  • mcp: add logging when environment variable is set (1a342dd)
  • mcp: add option to infer mcp client (79eb017)
  • mcp: add unix socket option for remote MCP (d9046c9)
  • mcp: parse query string as mcp client options in mcp server (4595852)
  • mcp: remote server with passthru auth (3790db5)
  • mcp: support filtering tool results by a jq expression (b6fb8e2)

Bug Fixes

  • ci: release-doctor — report correct token name (51f10bf)
  • client: get fetchOptions type more reliably (f992b90)
  • mcp: avoid sending jq_filter to base API (47e138e)
  • mcp: fix bug in header handling (b02cec9)
  • mcp: fix tool description of jq_filter (a3c1124)
  • mcp: generate additionalProperties=true for map schemas to avoid validation issues (7a8aefb)
  • mcp: include required section for top-level properties and support naming transformations (d954143)
  • mcp: relax input type for asTextContextResult (4eb359e)
  • mcp: reverse validJson capability option and limit scope (0114889)
  • mcp: support jq filtering on cloudflare workers (1cb62d7)

Chores

  • add docs to RequestOptions type (5673bd9)
  • add package to package.json (4e57a8f)
  • ci: only run for pushes and fork pull requests (7133a67)
  • client: improve path param validation (40bf088)
  • client: qualify global Blob (cd495ee)
  • deps: update dependency @types/node to v20.17.58 (7de8c26)
  • internal: codegen related update (1fee692)
  • internal: codegen related update (0b5da41)
  • internal: codegen related update (5cc2ae0)
  • internal: codegen related update (a3b57a4)
  • internal: formatting change (57a4460)
  • internal: make mcp-server publishing public by defaut (dedddc8)
  • internal: move publish config (65be443)
  • internal: refactor array check (88ca819)
  • internal: remove redundant imports config (62fbf68)
  • internal: update comment in script (ecd3afd)
  • make some internal functions async (d14a6a0)
  • mcp: add cors to oauth metadata route (1a638e6)
  • mcp: document remote server in README.md (13d6332)
  • mcp: formatting (30ba925)
  • mcp: minor cleanup of types and package.json (53ee586)
  • mcp: refactor streamable http transport (537cc07)
  • mcp: rework imports in tools (4fb589d)
  • mcp: update package.json (3e6dbd9)
  • mcp: update README (8640f1b)
  • mcp: update types (fa495cb)
  • ts: reorder package.json imports (75a2591)
  • update @stainless-api/prism-cli to v5.15.0 (1a848b0)
  • update CI script (7958db2)

0.21.0 (2025-06-25)

Full Changelog: v0.20.0...v0.21.0

Features

  • api: activate subscription checkout session (9a2a56e)

Refactors

  • types: replace Record with mapped types (560e1a4)

0.20.0 (2025-06-23)

Full Changelog: v0.19.3...v0.20.0

Features

  • client: add support for endpoint-specific base URLs (5a82f21)
  • client: add withOptions helper (ccd3f8d)

Bug Fixes

  • client: always overwrite when merging headers (be6125e)
  • client: explicitly copy fetch in withOptions (a075167)
  • compat with more runtimes (c6e2c80)
  • publish script — handle NPM errors correctly (58f80d7)

Chores

  • adjust eslint.config.mjs ignore pattern (17914a2)
  • avoid type error in certain environments (f8edd17)
  • ci: enable for pull requests (3742f46)
  • client: drop support for EOL node versions (fe63be8)
  • client: refactor imports (7ccd8cd)
  • configure new SDK language (fc92220)
  • deps: bump eslint-plugin-prettier (cad7a60)
  • docs: grammar improvements (381cb9f)
  • docs: use top-level-await in example snippets (fa4d484)
  • improve publish-npm script --latest tag logic (25c4a83)
  • internal: add pure annotations, make base APIResource abstract (3c796f4)
  • internal: codegen related update (46cb6de)
  • internal: fix readablestream types in node 20 (7e9b2bc)
  • internal: refactor utils (c77f96e)
  • internal: share typescript helpers (3d4da28)
  • internal: update jest config (fc657ba)
  • package: remove engines (fc2699b)
  • readme: update badges (aeeecfb)
  • readme: use better example snippet for undocumented params (830a80c)

Documentation

0.19.3 (2025-04-28)

Full Changelog: v0.19.2...v0.19.3

Bug Fixes

  • api: lift targetSubscriptionId on add payment method checkout session (13835f2)
  • internal: fix file uploads in node 18 jest (12f59fa)

Chores

  • ci: add timeout thresholds for CI jobs (4c5276b)
  • ci: only use depot for staging repos (0821ddd)
  • client: minor internal fixes (5d814c8)
  • internal: codegen related update (d032c38)
  • perf: faster base64 decoding (7e3a28c)

0.19.2 (2025-04-10)

Full Changelog: v0.19.1...v0.19.2

Bug Fixes

  • api: fix trialEnd timestamp issue (9f75ccf)

0.19.1 (2025-04-10)

Full Changelog: v0.19.0...v0.19.1

Bug Fixes

  • api: fix missing priceId on CheckoutSessionCreateParams (e48ce4e)
  • api: fix refund payment, better types on checkout session creation (862204c)

0.19.0 (2025-04-10)

Full Changelog: v0.18.3...v0.19.0

Features

  • api: create subscription (a7966f4)

Bug Fixes

Chores

  • internal: improve node 18 shims (ea417c1)
  • internal: reduce CI branch coverage (cdf1059)
  • internal: upload builds and expand CI branch coverage (28e6aaf)

0.18.3 (2025-04-05)

Full Changelog: v0.18.2...v0.18.3

Bug Fixes

  • api: manual updates on checkout session (#156) (c1fdb86)
  • api: manual updates to checkout sessions create params (#153) (555cda9)

0.18.2 (2025-04-04)

Full Changelog: v0.18.1...v0.18.2

Bug Fixes

0.18.1 (2025-04-04)

Full Changelog: v0.18.0...v0.18.1

Bug Fixes

  • api: improve type resolution when importing as a package (#145) (cd14ac4)
  • client: send X-Stainless-Timeout in seconds (#143) (3b3077d)
  • pluralize list response variables (#141) (99ed092)

Chores

  • internal: add aliases for Record and Array (#144) (8f6f3c7)

0.18.0 (2025-04-01)

Full Changelog: v0.17.0...v0.18.0

Features

  • api: add usage meters to catalog type, add cru operations for usage events and usage meters (#137) (e72e0f2)

0.17.0 (2025-04-01)

Full Changelog: v0.16.1...v0.17.0

Features

  • api: add usage meter aggregation types and price + usage meter associations (#133) (780dd04)

0.16.1 (2025-03-29)

Full Changelog: v0.16.0...v0.16.1

Bug Fixes

  • api: add checkout quantity, subscription.current (#129) (ba73464)

0.16.0 (2025-03-27)

Full Changelog: v0.15.0...v0.16.0

Features

  • api: add default price to product object (#124) (01deb5d)

Bug Fixes

  • api: add better docs on discriminated unions (#127) (6ad4e61)
  • api: add better docs on prices (#125) (3a10830)

Chores

  • client: move misc public files to new core/ directory, deprecate old paths (#122) (e799b65)

0.15.0 (2025-03-26)

Full Changelog: v0.14.0...v0.15.0

Features

  • api: add output name to checkout session (#119) (e13aabb)

0.14.0 (2025-03-25)

Full Changelog: v0.13.0...v0.14.0

Features

  • api: add checkout session outputmetadata (#116) (13103bb)

0.13.0 (2025-03-25)

Full Changelog: v0.12.0...v0.13.0

Features

  • api: add outputMetadata to checkoutSessions (#113) (6dca5fd)

0.12.0 (2025-03-24)

Full Changelog: v0.11.1...v0.12.0

Features

0.11.1 (2025-03-24)

Full Changelog: v0.11.0...v0.11.1

Bug Fixes

  • api: improve catalog detail response in customer billing (#105) (b207ad2)

0.11.0 (2025-03-24)

Full Changelog: v0.10.0...v0.11.0

Features

Chores

0.10.0 (2025-03-19)

Full Changelog: v0.9.1...v0.10.0

Features

  • add SKIP_BREW env var to ./scripts/bootstrap (#65) (028f384)
  • api: add invoice creation (#97) (67972ee)
  • api: add payment methods (#53) (d2868ba)
  • api: add payment methods to openapi spec (#56) (9e61941)
  • api: add url to open api purchase session response schema (#45) (58e5eaf)
  • api: all camel case everything (#68) (489ed56)
  • api: clean up ambiguous types, rm installment amounts (#7) (4d683db)
  • api: Config update for agreea/dev (#8) (5e67321)
  • api: fix final price (#82) (3e281ab)
  • api: Fix flowglad API key (#5) (8664078)
  • api: fix payment method return type (#59) (1ba2778)
  • api: invoice with line items in customer (#72) (79ebcdb)
  • api: manual updates (#13) (37db566)
  • api: manual updates (#14) (a27b272)
  • api: manual updates (#15) (fb3698c)
  • api: manual updates (#16) (3efc62d)
  • api: manual updates (#20) (b249e61)
  • api: manual updates (#21) (6ec9521)
  • api: manual updates (#22) (3f416e7)
  • api: manual updates (#23) (f095ec1)
  • api: manual updates (#25) (4473988)
  • api: manual updates (#26) (8af9281)
  • api: manual updates (#27) (1c67bba)
  • api: manual updates (#28) (b7daa1f)
  • api: move to v2 for better esm generations (#75) (2786497)
  • api: pluralize all resource calls (#38) (0afdff4)
  • api: pluralize customer profile billing (#40) (85be3a2)
  • api: pluralize subscriptions (#41) (d17de86)
  • api: purchase session to checkout session, variant to price (#78) (b50474f)
  • api: purchase session to checkout session, variant to price (#81) (cbc6b02)
  • api: rename customer profiles to customers in config (#86) (e4eab9d)
  • api: rename customer profiles to customers in config (#86) (b9e5925)
  • api: rename customer profiles to customers in config (#88) (042a09a)
  • api: rename customer profiles to customers in config (#88) (567a279)
  • api: rename customer profiles to customers in config (#90) (f0433d7)
  • api: rename customer profiles to customers in config (#90) (7a9a41d)
  • api: rename customer profiles to customers in config (#92) (822cbf9)
  • api: retrieve billing (#35) (42fc320)
  • api: rich subscriptions (#31) (c0bce44)
  • api: rich subscriptions only have subscription variants (#33) (5d203f8)
  • api: update environments (#4) (89660fa)
  • api: update README (#3) (f85399a)
  • api: update via SDK Studio (ad440b3)
  • api: update via SDK Studio (eed05a8)
  • api: update via SDK Studio (25bf945)
  • api: update via SDK Studio (5101375)
  • client: accept RFC6838 JSON content types (#67) (e5edaf1)
  • client: send X-Stainless-Timeout header (#10) (012d02c)
  • fix union member generations (0af702b)
  • patch (dd21299)

Bug Fixes

  • api: get customer profile return type (#62) (488457d)
  • client: correct type to enum (#91) (892f6d7)
  • client: fix export map for index exports (#12) (fafa815)

Chores

Documentation

  • update URLs from stainlessapi.com to stainless.com (#51) (b8483ef)

0.9.1 (2025-03-19)

Full Changelog: v0.9.0...v0.9.1

Bug Fixes

  • Fix the UnionMember generated type names on various types

0.9.0 (2025-03-19)

Full Changelog: v0.8.1...v0.9.0

Features

  • api: rename customer profiles to customers in config (#86) (e4eab9d)
  • api: rename customer profiles to customers in config (#88) (042a09a)
  • api: rename customer profiles to customers in config (#90) (f0433d7)
  • api: rename customer profiles to customers in config (#92) (822cbf9)

Bug Fixes

0.8.1 (2025-03-19)

Full Changelog: v0.8.0...v0.8.1

Chores

  • internal: minor client file refactoring (#85) (da121e7)

0.8.0 (2025-03-18)

Full Changelog: v0.7.0...v0.8.0

Features

  • api: fix final price (#82) (3e281ab)
  • api: purchase session to checkout session, variant to price (#78) (b50474f)
  • api: purchase session to checkout session, variant to price (#81) (cbc6b02)

Documentation

  • update URLs from stainlessapi.com to stainless.com (#51) (b8483ef)

0.7.0 (2025-03-17)

Full Changelog: v0.6.0...v0.7.0

Features

  • api: move to v2 for better esm generations (#75) (2786497)

0.6.0 (2025-03-14)

Full Changelog: v0.5.0...v0.6.0

Features

  • api: invoice with line items in customer (#72) (79ebcdb)

Chores

  • internal: remove extra empty newlines (#70) (c1992ec)

0.5.0 (2025-03-13)

Full Changelog: v0.4.1...v0.5.0

Features

  • add SKIP_BREW env var to ./scripts/bootstrap (#65) (028f384)
  • api: all camel case everything (#68) (489ed56)
  • client: accept RFC6838 JSON content types (#67) (e5edaf1)

0.4.1 (2025-03-04)

Full Changelog: v0.4.0...v0.4.1

Bug Fixes

  • api: get customer profile return type (#62) (488457d)

0.4.0 (2025-03-04)

Full Changelog: v0.3.0...v0.4.0

Features

  • api: fix payment method return type (#59) (1ba2778)

0.3.0 (2025-03-04)

Full Changelog: v0.2.0...v0.3.0

Features

  • api: add payment methods to openapi spec (#56) (9e61941)

0.2.0 (2025-03-04)

Full Changelog: v0.1.1...v0.2.0

Features

0.1.1 (2025-02-27)

Full Changelog: v0.1.0...v0.1.1

Chores

0.1.0 (2025-02-21)

Full Changelog: v0.1.0-alpha.5...v0.1.0

Features

  • api: add url to open api purchase session response schema (#45) (58e5eaf)

0.1.0-alpha.5 (2025-02-21)

Full Changelog: v0.1.0-alpha.4...v0.1.0-alpha.5

Features

  • api: pluralize all resource calls (#38) (0afdff4)
  • api: pluralize customer profile billing (#40) (85be3a2)
  • api: pluralize subscriptions (#41) (d17de86)

0.1.0-alpha.4 (2025-02-21)

Full Changelog: v0.1.0-alpha.3...v0.1.0-alpha.4

Features

0.1.0-alpha.3 (2025-02-20)

Full Changelog: v0.1.0-alpha.2...v0.1.0-alpha.3

Features

  • api: rich subscriptions (#31) (c0bce44)
  • api: rich subscriptions only have subscription variants (#33) (5d203f8)

0.1.0-alpha.2 (2025-02-18)

Full Changelog: v0.1.0-alpha.1...v0.1.0-alpha.2

Features

Bug Fixes

  • client: fix export map for index exports (#12) (fafa815)

Chores

0.1.0-alpha.1 (2025-01-24)

Full Changelog: v0.0.1-alpha.0...v0.1.0-alpha.1

Features

  • api: clean up ambiguous types, rm installment amounts (#7) (4d683db)
  • api: Fix flowglad API key (#5) (8664078)
  • api: update environments (#4) (89660fa)
  • api: update README (#3) (f85399a)
  • api: update via SDK Studio (ad440b3)
  • api: update via SDK Studio (eed05a8)
  • api: update via SDK Studio (25bf945)
  • api: update via SDK Studio (5101375)

Chores