Skip to content

v2.7.0-alpha.1

Choose a tag to compare

@stainless-app stainless-app released this 26 Feb 00:52
5523796

2.7.0-alpha.1 (2026-02-26)

Full Changelog: v2.6.0...v2.7.0-alpha.1

Features

Bug Fixes

  • ci: release-doctor — report correct token name (8e59beb)
  • client: don't send Content-Type for bodyless methods (bfe46e8)
  • coerce nullable values to undefined (6108dc5)
  • docs/contributing: correct pnpm link command (fa166b7)
  • internal: skip tests that depend on mock server (efbf3ab)
  • mcp: correct code tool API endpoint (e28c890)
  • mcp: return correct lines on typescript errors (80ae079)
  • publish script — handle NPM errors correctly (87c245e)

Performance Improvements

Chores

  • break long lines in snippets into multiline (48d6458)
  • ci build action (4fe59cd)
  • ci: enable for pull requests (132825d)
  • ci: only run for pushes and fork pull requests (a166050)
  • ci: upgrade actions/github-script (8818cfb)
  • client: do not parse responses with empty content-length (c9d1b79)
  • deps: update dependency node-fetch to v2.6.13 (b657cbe)
  • do not install brew dependencies in ./scripts/bootstrap by default (ea703c8)
  • docs: grammar improvements (985f2fe)
  • docs: use top-level-await in example snippets (24c7006)
  • improve publish-npm script --latest tag logic (88ce3e3)
  • internal: codegen related update (6eabc90)
  • internal: codegen related update (3dd3df4)
  • internal: codegen related update (eb99387)
  • internal: fix incremental formatting in some cases (4057bd2)
  • internal: formatting change (29b57d4)
  • internal: ignore .eslintcache (adee655)
  • internal: make base APIResource abstract (6ec9d38)
  • internal: move publish config (2fb47ce)
  • internal: remove deprecated compilerOptions.baseUrl from tsconfig.json (80a6db7)
  • internal: remove redundant imports config (ddf4087)
  • internal: update actions/checkout version (dfe82a1)
  • internal: update comment in script (a549d56)
  • internal: upgrade babel, qs, js-yaml (fe654da)
  • internal: use npm pack for build uploads (b1ddfd9)
  • internal: version bump (690777f)
  • make some internal functions async (f8111cb)
  • mention unit type in timeout docs (8d864d1)
  • update @stainless-api/prism-cli to v5.15.0 (d4ac1f1)
  • update CI script (2cd3501)
  • update mock server docs (54a36bf)

Refactors

  • types: replace Record with mapped types (3e0bfd3)