Releases: anthropics/anthropic-sdk-typescript
Releases · anthropics/anthropic-sdk-typescript
v0.6.5
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
- internal: bump lock file (#159) (e6030fa)
- internal: minor formatting improvement (#168) (6447608)
- internal: update lock file (#161) (370ce3c)
- internal: update lock file (#163) (4a37181)
- internal: update lock file (#164) (939c155)
Documentation
v0.6.4
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
v0.6.2
v0.6.1
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
v0.6.0
0.6.0 (2023-08-12)
Features
- client: add support for accessing the raw response object (#105) (c86b059)
- client: detect browser usage (#101) (f4cae3f)
- types: improve streaming params types (#102) (cdf808c)
Documentation
- readme: minor updates (#107) (406fd97)
- readme: remove beta status + document versioning policy (#100) (e9ef3d2)
Chores
- docs: remove trailing spaces (#108) (4ba2c6f)
- internal: conditionally include bin during build output (#109) (58ac305)
- internal: fix deno build (#98) (f011e04)
- internal: remove deno build (#103) (9af1527)