Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented May 9, 2025

Automated Release PR

0.1.0-alpha.1 (2025-05-09)

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

⚠ BREAKING CHANGES

  • client: uri encode path parameters
  • client: document proxy use + clean up old code

Features

  • add beta message streaming helpers (#655) (a63cb88)
  • add migration guide (b10d942)
  • add SKIP_BREW env var to ./scripts/bootstrap (fc020ee)
  • add SKIP_BREW env var to ./scripts/bootstrap (#710) (a9ac621)
  • api: add citations (718442e)
  • api: add citations (#668) (5f8d65c)
  • api: add claude-3.7 + support for thinking (456e7d5)
  • api: add claude-3.7 + support for thinking (75f4afe)
  • api: add claude-3.7 + support for thinking (01a985b)
  • api: add message batch delete endpoint (08cfa8b)
  • api: add message batch delete endpoint (#640) (ec607ec)
  • api: add message batches api (1c404b2)
  • api: add message token counting & PDFs support (#582) (affdd31)
  • api: add new haiku model (#587) (f7913f7)
  • api: add new model and computer-use-2024-10-22 beta (b9fa45a)
  • api: add support for disabling tool calls (58d6b52)
  • api: add support for disabling tool calls (#701) (ad88966)
  • api: add URL source blocks for images and PDFs (32f5659)
  • api: add URL source blocks for images and PDFs (#698) (8d2aeac)
  • api: adds web search capabilities to the Claude API (b36623f)
  • api: adds web search capabilities to the Claude API (fae7e52)
  • api: extract ContentBlockDelta events into their own schemas (c95a850)
  • api: extract ContentBlockDelta events into their own schemas (#732) (45e979e)
  • api: general availability updates (7fd4830)
  • api: manual updates (80d5daa)
  • api: manual updates (3124e2b)
  • api: manual updates (cb70dd4)
  • api: manual updates (4e289d5)
  • api: manual updates (ebd963b)
  • api: manual updates (09739db)
  • api: manual updates (0b78711)
  • api: manual updates (4eb2fea)
  • api: support disabling parallel tool use (#540) (4618d3e)
  • bedrock: add beta.messages.create() method (faf8484)
  • client: accept RFC6838 JSON content types (9d3411a)
  • client: accept RFC6838 JSON content types (#713) (1678ac4)
  • client: add ._request_id property to object responses (#596) (14a4a68)
  • client: add withOptions helper (caab783)
  • client: allow overriding retry count header (#536) (e59d283)
  • client: improve debug logs (ce58162)
  • client: improve logging (b4da340)
  • client: send X-Stainless-Timeout header (78f7b2c)
  • client: send X-Stainless-Timeout header (#679) (7b27672)
  • client: support results endpoint (caedce7)
  • client: support results endpoint (#666) (4fbade7)
  • initial alpha refactor (05b96ad)
  • internal: make git install file structure match npm (#617) (3b75442)
  • mcp: allow opt-in mcp resources and endpoints (#720) (c1001d3)
  • pagination: avoid fetching when has_more: false (845cd5d)
  • pagination: avoid fetching when has_more: false (#680) (b2bb137)
  • stream: add .withResponse() (#654) (85a763c)
  • stream: expose response property as well (496f9d1)
  • streaming: add .request_id getter (e1fd091)
  • vertex: add beta.messages.create() (08a8928)
  • vertex: support token counting (a4a3729)

Bug Fixes

  • api: improve type resolution when importing as a package (59bac50)
  • api: improve type resolution when importing as a package (#738) (0ed83a3)
  • avoid type error in certain environments (#723) (50dc492)
  • bedrock,vertex: update to new SDK version (cb620bb)
  • bedrock: correct messages beta handling (f34d67a)
  • bedrock: don't mutate request body inputs (4523ca9)
  • bedrock: update streaming util import (01d03bf)
  • beta: merge betas param with the default value (#556) (d713fcc)
  • client: deduplicate stop reason type (48e7585)
  • client: deduplicate stop reason type (#726) (af86794)
  • client: fix export map for index exports (#684) (7dba0c7)
  • client: fix export map for index exports, accept BunFile (1aa0f00)
  • client: fix TypeError with undefined File (9e617f1)
  • client: normalize method (1a5a31f)
  • client: normalize method (#639) (f55e419)
  • client: respect x-stainless-retry-count default headers (#562) (ef52b8d)
  • client: send X-Stainless-Timeout in seconds (1fa560a)
  • client: send X-Stainless-Timeout in seconds (#733) (222a096)
  • client: send all configured auth headers (3961628)
  • client: send all configured auth headers (#742) (e39e471)
  • client: uri encode path parameters (943af34)
  • correctly decode multi-byte characters over multiple chunks (3b6caa7)
  • correctly decode multi-byte characters over multiple chunks (#681) (2f17662)
  • correctly send default header values (2063781)
  • countTokens: correctly set beta header (3002c2e)
  • docs: add missing await to pagination example (#609) (0a9ed2b)
  • docs: correct results return type (#657) (4378d07)
  • don't require deno to run build-deno (#586) (21fa500)
  • examples: add token counting example (151fe16)
  • exports: ensure resource imports don't require /index (64a8e40)
  • exports: ensure resource imports don't require /index (#717) (43e2284)
  • internal: add mts file + crypto shim types (3786fd0)
  • internal: clean up undefined File test (6c44d9c)
  • internal: fix file uploads in node 18 jest (1071b34)
  • internal: support pnpm git installs (#579) (4f861d0)
  • internal: work around turbopack removes side effects, breaking module initialization. vercel/next.js#76881 (#727) (5365b30)
  • mcp: remove unused tools.ts (4c4d763)
  • mcp: remove unused tools.ts (#740) (6c41f86)
  • messages: updates for server tools (c2709b2)
  • optimize sse chunk reading off-by-one error (e047225)
  • optimize sse chunk reading off-by-one error (#686) (4093dea)
  • remove duplicate exports (daa89d4)
  • remove duplicate exports (8c3685c)
  • send correct Accept header for certain endpoints (6aa53d1)
  • send correct Accept header for certain endpoints (#651) (5668abf)
  • streaming: accumulate citations (#675) (d3e9d37)
  • streaming: handle more AbortError cases (521d6cd)
  • tests: manually reset node:buffer File (e7ec787)
  • tests: migrate last ReadableStreamFrom (102fc22)
  • tests: stop using node:stream (2260eaf)
  • types: add missing token-counting-2024-11-01 (f99a700)
  • types: add missing token-counting-2024-11-01 (#583) (86c5ade)
  • types: remove anthropic-instant-1.2 model (#599) (0f9db5c)
  • types: remove misleading betas TypedDict property for the Batch API (#559) (d80b407)
  • update old links (f33a68a)
  • vertex,bedrock: correct build script (df895a7)
  • vertex: add beta.messages.countTokens method (2cbeabc)
  • vertex: correct messages beta handling (a41193d)
  • vertex: don't mutate request body inputs (2709c1f)
  • vertex: remove anthropic_version deletion for token counting (beefeb7)

Reverts

  • disable isolatedModules and change imports (#575) (007ff79)

Chores

  • add hash of OpenAPI spec/config inputs to .stats.yml (635dc4f)
  • add hash of OpenAPI spec/config inputs to .stats.yml (#725) (19827c6)
  • api: add title (#564) (665ebae)
  • api: update openapi spec url (fe71a7e)
  • api: update openapi spec url (#678) (e26b592)
  • api: update spec version (#607) (08ad02f)
  • api: update spec version (#629) (1f072f8)
  • bedrock,vertex: remove unsupported countTokens method (#597) (6f6db16)
  • bedrock: add skipAuth option to allow users to let authorization be handled elsewhere (ee58772)
  • bedrock: bump @aws-sdk dependencies (ff925db)
  • bedrock: bump @aws-sdk dependencies (9891107)
  • bedrock: bump @aws-sdk/credential-providers (9f611d6)
  • bedrock: bump @aws-sdk/credential-providers (491646e)
  • bedrock: bump dependency on @anthropic-ai/sdk (2d0d4b6)
  • bedrock: remove unsupported methods (8bb04ed)
  • bump testing data uri (61aaaf6)
  • bump testing data uri (#637) (135cb8b)
  • bump version to 0.34.0-alpha.0 (0eae77a)
  • bump version to 0.40.0-beta.0 (fa6378e)
  • ci: add timeout thresholds for CI jobs (385f900)
  • ci: add timeout thresholds for CI jobs (15c0793)
  • ci: bump node version for release workflows (3502747)
  • ci: only use depot for staging repos (1f05880)
  • ci: only use depot for staging repos (97eaeec)
  • ci: remove unneeded workflow (#594) (4890611)
  • ci: run on more branches and use depot runners (7176150)
  • ci: run on more branches and use depot runners (a31dd8c)
  • client: clean up file helpers (ab38e8a)
  • client: detect node and deno timeout errors (bacfc30)
  • client: document proxy use + clean up old code (ab17fbc)
  • client: drop support for EOL node versions (ffbb2da)
  • client: drop unused devDependency (#610) (9f07abc)
  • client: handle expo fetch abort errors (25a7fdb)
  • client: improve node-fetch file upload errors (b55025f)
  • client: make jsonl methods consistent with other streaming methods (38f264c)
  • client: minor internal fixes (595678f)
  • client: minor internal fixes (d80ed3c)
  • client: more accurate streaming errors (cbd31b4)
  • client: move misc public files to new core/ directory, deprecate old paths (3233254)
  • client: only accept standard types for file uploads (b4cea5a)
  • deprecate more models (ab8ed5f)
  • docs: fix typo (c8fb3ea)
  • docs: improve docs for withResponse/asResponse (e999123)
  • docs: improve migration doc (a115b94)
  • docs: updates (b077319)
  • docs: updates (#673) (3312ddd)
  • improve browser error message (#613) (4307bef)
  • internal: add aliases for Record and Array (18c5b40)
  • internal: add aliases for Record and Array (#735) (4034f71)
  • internal: add back release workflow (680d4e7)
  • internal: add explicit export type modifier (b8251fd)
  • internal: add missing return type annotation (2ab37e5)
  • internal: add missing return type annotation (#685) (fee1ba2)
  • internal: add test (#660) (e670066)
  • internal: bump cross-spawn to v7.0.6 (#624) (2f75798)
  • internal: bumps eslint and related dependencies (#570) (0f8b00c)
  • internal: codegen related update (a6ae129)
  • internal: codegen related update (#737) (91b1b47)
  • internal: fix devcontainers setup (28d3e35)
  • internal: fix devcontainers setup (#689) (ed69db5)
  • internal: fix eslint rules (ecf84dd)
  • internal: fix format script (9ce30ba)
  • internal: fix import (20a6c6e)
  • internal: fix lint (fa1c70e)
  • internal: fix some typos (#633) (ed64904)
  • internal: fix tests (0e53ab2)
  • internal: fix tests failing on node v18 (4c217aa)
  • internal: fix tests not always being type checked (fa9213b)
  • internal: formatting fixes (7bd4594)
  • internal: import ordering changes (#708) (38a037b)
  • internal: improve index signature formatting (7dc3e19)
  • internal: improve index signature formatting (#739) (8f7c02b)
  • internal: improve node 18 shims (c6780dd)
  • internal: migrate to eslint v9 (1141664)
  • internal: minor client file refactoring (af7911d)
  • internal: minor restructuring (4a4f9a1)
  • internal: minor restructuring (#664) (da63d89)
  • internal: minor sync (d89476f)
  • internal: move LineDecoder to a separate file (#541) (ef81591)
  • internal: pass props through internal parser (#549) (d225d1d)
  • internal: reduce CI branch coverage (464431d)
  • internal: reduce CI branch coverage (313b55a)
  • internal: refactor utils (b3dee57)
  • internal: remove CI condition (7db3acd)
  • internal: remove CI condition (#730) (388e8f5)
  • internal: remove extra empty newlines (#716) (afb5cf9)
  • internal: remove unnecessary getRequestClient function (#623) (e1791a0)
  • internal: remove unnecessary todo (569e55e)
  • internal: remove unused isRequestOptions() function (e1d9513)
  • internal: reorder model constants (9953466)
  • internal: reorder model constants (#676) (8a1f560)
  • internal: share typescript helpers (74187db)
  • internal: temporarily disable updated for 3p clients (0c844f9)
  • internal: update config (be3406a)
  • internal: update config (#728) (ec99113)
  • internal: update examples (b054245)
  • internal: update examples (#649) (106ddfd)
  • internal: update isAbsoluteURL (#627) (43f6929)
  • internal: update models used in tests (8a1f560)
  • internal: update spec (#566) (36fb9c1)
  • internal: update spec (#630) (327b611)
  • internal: update spec (#692) (b5f87f6)
  • internal: update spec URL (#554) (93d24c0)
  • internal: update spec version (#571) (ac5d51b)
  • internal: upload builds and expand CI branch coverage (bbda5d3)
  • internal: upload builds and expand CI branch coverage (#744) (169d63a)
  • internal: use reexports not destructuring (#604) (9f2d9b1)
  • perf: faster base64 decoding (975795a)
  • remove InputJsonDelta properly (4cebdf1)
  • remove redundant index exports (9d87254)
  • remove redundant word in comment (#615) (ff0a318)
  • remove unused build-deno condition (#585) (461e300)
  • sync repo (508e385)
  • tests: fix types (af6b782)
  • tests: improve enum examples (66cf6d4)
  • tests: improve enum examples (#743) (4234cb7)
  • tests: limit array example length (#611) (b0cd4a9)
  • types: add | undefined to client options properties (6485bc7)
  • types: add | undefined to client options properties (#656) (9de3762)
  • types: improved go to definition on fetchOptions (ad2e92b)
  • types: nicer error class types + jsdocs (#626) (b07be1d)
  • types: remove type-level dependency on some platform specifics (9c5e457)
  • unknown commit message (845cd5d)
  • unknown commit message (943af34)
  • unknown commit message (78f7b2c)
  • unknown commit message (e1d9513)
  • unknown commit message (bacfc30)
  • unknown commit message (fe71a7e)
  • unknown commit message (25a7fdb)
  • unknown commit message (b8251fd)
  • unknown commit message (9953466)
  • unknown commit message (9c5e457)
  • unknown commit message (b077319)
  • unknown commit message (718442e)
  • unknown commit message (caedce7)
  • unknown commit message (4a4f9a1)
  • unknown commit message (2063781)
  • unknown commit message (ab17fbc)
  • unknown commit message (b55025f)
  • unknown commit message (6485bc7)
  • unknown commit message (ab38e8a)
  • unknown commit message (6aa53d1)
  • unknown commit message (ce58162)
  • unknown commit message (d6e83f7)
  • unknown commit message (4775c06)
  • unknown commit message (b054245)
  • use more explicit type re-exports (d6e83f7)
  • vertex: bump dependency on @anthropic-ai/sdk (5795a68)

Documentation

Refactors


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 requested a review from a team as a code owner May 9, 2025 18:26
@stainless-app stainless-app bot enabled auto-merge (rebase) May 9, 2025 18:26
@RobertCraigie RobertCraigie disabled auto-merge May 9, 2025 18:26
@stainless-app stainless-app bot closed this May 9, 2025
@stainless-app stainless-app bot deleted the release-please--branches--main--changes--next--components--sdk branch May 9, 2025 18:27
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