Skip to content

Releases: anthropics/anthropic-sdk-typescript

v0.8.0

24 Oct 20:06
Compare
Choose a tag to compare

0.8.0 (2023-10-24)

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

Features

  • client: adjust retry behavior to be exponential backoff (#192) (747afe2)

v0.7.0

22 Oct 18:48
Compare
Choose a tag to compare

0.7.0 (2023-10-19)

Full Changelog: v0.6.8...v0.7.0

Features

v0.6.8

18 Oct 21:00
Compare
Choose a tag to compare

0.6.8 (2023-10-17)

Full Changelog: v0.6.7...v0.6.8

Bug Fixes

  • import web-streams-polyfill without overriding globals (#186) (e774e17)

v0.6.7

16 Oct 21:06
Compare
Choose a tag to compare

0.6.7 (2023-10-16)

Full Changelog: v0.6.6...v0.6.7

Bug Fixes

  • improve status code in error messages (#183) (7d3bbd4)

Chores

Documentation

  • organisation -> organization (UK to US English) (#185) (70257d4)

Refactors

  • streaming: change Stream constructor signature (#174) (1951824)
  • test: refactor authentication tests (#176) (f59daad)

v0.6.6

11 Oct 22:06
Compare
Choose a tag to compare

0.6.6 (2023-10-11)

Full Changelog: v0.6.5...v0.6.6

Chores

v0.6.5

11 Oct 20:37
Compare
Choose a tag to compare

0.6.5 (2023-10-11)

Full Changelog: v0.6.4...v0.6.5

Features

  • client: handle retry-after with a date (#162) (31bd609)
  • client: retry on 408 Request Timeout (#151) (3523ffe)
  • client: support importing node or web shims manually (#157) (c1237fe)
  • errors: add status code to error message (#155) (76cf128)
  • package: export a root error type (#160) (51d8d60)

Bug Fixes

  • client: eliminate circular imports, which cause runtime errors in webpack dev bundles (#170) (4a86733)
  • fix namespace exports regression (#171) (0689a91)
  • prevent ReferenceError, update compatibility to ES2020 and Node 18+ (#169) (9753314)

Chores

Documentation

v0.6.4

12 Sep 17:59
Compare
Choose a tag to compare

0.6.4 (2023-09-08)

Full Changelog: v0.6.3...v0.6.4

Features

Bug Fixes

  • client: fix TS errors that appear when users Go to Source in VSCode (#142) (f7bfbea)
  • client: handle case where the client is instantiated with a undefined baseURL (#143) (10e5203)
  • client: use explicit file extensions in _shims imports (#141) (10fd687)
  • fix module not found errors in Vercel edge (#148) (72e51a1)
  • readme: update link to api.md to use the correct branch (#145) (5db78ed)

Chores

Documentation

v0.6.3

06 Sep 17:21
Compare
Choose a tag to compare

0.6.3 (2023-08-28)

Full Changelog: v0.6.2...v0.6.3

Bug Fixes

  • types: improve getNextPage() return type (#137) (713d603)

Chores

  • ci: setup workflows to create releases and release PRs (#135) (56229d9)

v0.6.2

26 Aug 18:53
Compare
Choose a tag to compare

0.6.2 (2023-08-26)

Bug Fixes

  • stream: declare Stream.controller as public (#132) (ff33a89)

Refactors

  • remove unnecessary line in constructor (#131) (dcdf5e5)

Chores

v0.6.1

23 Aug 12:57
Compare
Choose a tag to compare

0.6.1 (2023-08-23)

Features

  • allow a default timeout to be set for clients (#113) (1c5b2e2)
  • client: improve compatibility with Bun (#119) (fe4f5d5)
  • docs: add documentation to the client constructor (#118) (79303f9)
  • types: export RequestOptions type (#127) (9769751)
  • types: remove footgun with streaming params (#125) (3ed67b6)

Bug Fixes

  • client: fix TypeError when a request gets retried (#117) (0ade979)
  • core: fix navigator check for strange environments (#124) (c783604)
  • types: add catch-all overload to streaming methods (#123) (7c229a2)

Documentation

Chores

  • assign default reviewers to release PRs (#115) (1df3965)
  • internal: add missing eslint-plugin-prettier (#122) (66bede0)
  • internal: fix error happening in CloudFlare pages (#116) (b0dc7b3)
  • internal: minor reformatting of code (#120) (4bcaf9e)