Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release main #662

Closed

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Jan 21, 2025

✨ Stainless prepared a new release

sdk: 0.36.0

0.36.0 (2025-01-21)

Full Changelog: sdk-v0.35.0...sdk-v0.36.0

⚠ BREAKING CHANGES

  • api: messages is generally available (#287)

Features

  • add back compat alias for InputJsonDelta (711d1d5)
  • add beta message streaming helpers (#655) (a63cb88)
  • api/types: add stream event type aliases with a Raw prefix (#428) (590f45a)
  • api: add tool_choice param, image block params inside tool_result.content, and streaming for tool_use blocks (#418) (2c7cc70)
  • api: add enum to model param for message (#315) (672d977)
  • api: add haiku model (#333) (446353b)
  • 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 claude-3-5-sonnet-20240620 model (#438) (6868e83)
  • api: add new haiku model (#587) (f7913f7)
  • api: add new model and computer-use-2024-10-22 beta (b9fa45a)
  • api: add new usage response fields (#281) (22c4047)
  • api: add prompt caching beta (5a27430)
  • api: general availability updates (7fd4830)
  • api: messages is generally available (#287) (57b7135)
  • api: support disabling parallel tool use (#540) (4618d3e)
  • api: tool use beta (#374) (5bcaddb)
  • api: tool use is GA and available on 3P (#429) (5d2b183)
  • bedrock: add beta.messages.create() method (faf8484)
  • bedrock: add messages API (#305) (072a5ed)
  • bedrock: support tools (2aeff91)
  • client: add ._request_id property to object responses (#596) (14a4a68)
  • client: add streaming helpers (a3ff1ff)
  • client: add support for browser usage (#504) (e91d291)
  • client: allow overriding retry count header (#536) (e59d283)
  • client: make request-id header more accessible (#462) (6caae55)
  • client: send retry count header (#533) (02d0754)
  • internal: make git install file structure match npm (#617) (3b75442)
  • messages: add support for image inputs (#303) (1b87d9e)
  • stream: add .withResponse() (#654) (85a763c)
  • streaming: add .request_id getter (e1fd091)
  • streaming: add tools support (a1c2fbd)
  • support application/octet-stream request bodies (#436) (0ee32d7)
  • vertex: add beta.messages.create() (08a8928)
  • vertex: add support for google vertex (#265) (96f9b55)
  • vertex: add support for overriding google auth (#338) (f268237)
  • vertex: api is no longer in private beta (#344) (a151de7)
  • vertex: support token counting (a4a3729)
  • vertex: support tools (d9e9e3c)

Bug Fixes

  • allow body type in RequestOptions to be null (#259) (55f19d9)
  • allow git imports for pnpm (#433) (729b0bb)
  • api: add string to tool result block (#448) (d67f287)
  • bedrock: correct messages beta handling (f34d67a)
  • bedrock: don't mutate request body inputs (4523ca9)
  • beta: merge betas param with the default value (#556) (d713fcc)
  • ci: ignore stainless-app edits to release PR title (#258) (e92bfaf)
  • client: correct File construction from node-fetch Responses (#518) (859d585)
  • client: correctly send deno version header (#354) (1b69cee)
  • client: normalize method (#639) (f55e419)
  • client: respect x-stainless-retry-count default headers (#562) (ef52b8d)
  • compat: remove ReadableStream polyfill redundant since node v16 (#478) (5e9ac2c)
  • 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)
  • handle process.env being undefined in debug func (#351) (bf942f8)
  • internal: make toFile use input file's options (#343) (3ef7ac4)
  • internal: support pnpm git installs (#579) (4f861d0)
  • MessageStream: handle errors more gracefully in async iterator (#301) (95232ed)
  • package: revert recent client file change (#409) (26147bf)
  • partial-json: don't error on unknown tokens (75e6dd9)
  • partial-json: handle null token properly (8479a30)
  • send correct Accept header for certain endpoints (#651) (5668abf)
  • streaming: correct accumulation of output tokens (#361) (6e78091)
  • streaming: correct error message serialisation (#524) (45b0018)
  • streaming: correctly handle trailing new lines in byte chunks (#317) (c5385a1)
  • streaming: handle special line characters and fix multi-byte character decoding (#370) (255c91f)
  • types: accept undefined for optional client options (#257) (3af0266)
  • types: add missing token-counting-2024-11-01 (f99a700)
  • types: add missing token-counting-2024-11-01 (#583) (86c5ade)
  • types: avoid errors on certain TS versions (8a8a23f)
  • types: correct typo claude-2.1' to claude-2.1 (#352) (01a1fa0)
  • types: correctly mark type as a required property in requests (#371) (06fc0f7)
  • types: remove anthropic-instant-1.2 model (#599) (0f9db5c)
  • types: remove leftover polyfill usage (#532) (369bac0)
  • types: remove misleading betas TypedDict property for the Batch API (#559) (d80b407)
  • uploads: avoid making redundant memory copies (#520) (abdb763)
  • use default base url if BASE_URL env var is blank (#250) (76b1429)
  • use relative paths (#475) (dfd0eca)
  • vertex: add beta.messages.countTokens method (2cbeabc)
  • vertex: correct core client dependency constraint (#384) (10b9334)
  • 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

Documentation

Refactors

  • api: mark completions API as legacy (#291) (eb210e2)
  • enable isolatedModules and change imports (#573) (20864db)
  • extract model out to a named type and rename partialjson (#477) (e64cd50)
  • types: improve metadata types (#546) (d1be006)
  • types: improve tool type names (#543) (0c26a5b)
  • types: improve tool type names (#544) (e21e129)
  • use type imports for type-only imports (#580) (029e485)

Build System

  • configure UTF-8 locale in devcontainer (#393) (6aeb955)
vertex-sdk: 0.7.0

0.7.0 (2025-01-21)

Full Changelog: vertex-sdk-v0.6.3...vertex-sdk-v0.7.0

⚠ BREAKING CHANGES

  • api: messages is generally available (#287)

Features

  • api: messages is generally available (#287) (57b7135)
  • vertex: add beta.messages.create() (08a8928)
  • vertex: add support for google vertex (#265) (96f9b55)
  • vertex: add support for overriding google auth (#338) (f268237)
  • vertex: api is no longer in private beta (#344) (a151de7)
  • vertex: support token counting (a4a3729)
  • vertex: support tools (d9e9e3c)

Bug Fixes

  • types: correctly mark type as a required property in requests (#371) (06fc0f7)
  • vertex: add beta.messages.countTokens method (2cbeabc)
  • vertex: correct core client dependency constraint (#384) (10b9334)
  • vertex: correct messages beta handling (a41193d)
  • vertex: don't mutate request body inputs (2709c1f)
  • vertex: remove anthropic_version deletion for token counting (beefeb7)

Chores

  • bedrock,vertex: remove unsupported countTokens method (#597) (6f6db16)
  • deps: remove unused dependency digest-fetch (#368) (62790cb)
  • internal: don't re-export streaming type (#267) (a5b0ab1)
  • internal: fix generated version numbers (#413) (471430d)
  • internal: refactor scripts (#404) (60d1d00)
  • internal: remove old reference to check-test-server (e31a467)
  • internal: temporary revert commit (#643) (5e992e1)
  • internal: update lock files (#377) (0029ce4)
  • internal: update release-please config (#269) (74719fc)

Documentation

  • readme: mention tool use (#375) (c08bdd4)
  • remove extraneous --save and yarn install instructions (#323) (57f8656)
  • update models in vertex examples (#331) (0e1b5c0)
  • use latest sonnet in example snippets (#625) (a965791)
bedrock-sdk: 0.13.0

0.13.0 (2025-01-21)

Full Changelog: bedrock-sdk-v0.12.2...bedrock-sdk-v0.13.0

Features

  • bedrock: add beta.messages.create() method (faf8484)
  • bedrock: add messages API (#305) (072a5ed)
  • bedrock: support tools (2aeff91)
  • messages: add support for image inputs (#303) (1b87d9e)

Bug Fixes

  • bedrock: correct messages beta handling (f34d67a)
  • bedrock: don't mutate request body inputs (4523ca9)
  • types: correctly mark type as a required property in requests (#371) (06fc0f7)

Chores

  • bedrock,vertex: remove unsupported countTokens method (#597) (6f6db16)
  • bedrock: move bedrock SDK to the main repo (#274) (1a565fe)
  • bedrock: remove unsupported methods (8bb04ed)
  • bedrock: use chunk for internal SSE parsing instead of completion (#472) (9515f60)
  • deps: remove unused dependency digest-fetch (#368) (62790cb)
  • docs: rename anthropic const to client (#471) (8274f4b)
  • internal: fix generated version numbers (#413) (471430d)
  • internal: refactor scripts (#404) (60d1d00)
  • internal: remove old reference to check-test-server (e31a467)
  • internal: replace deprecated aws-sdk packages with @smithy (#447) (e21df2d)
  • internal: temporary revert commit (#643) (5e992e1)
  • internal: update lock files (#377) (0029ce4)

Documentation


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 January 21, 2025 16:55
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 2 times, most recently from 8677da6 to 5e992e1 Compare January 21, 2025 17:05
@stainless-app stainless-app bot closed this Jan 21, 2025
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