Releases: anthropics/anthropic-sdk-typescript
Releases · anthropics/anthropic-sdk-typescript
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)
Refactors
v0.5.10
v0.5.9
v0.5.8
v0.5.7
v0.5.6
v0.5.5
v0.5.4
What's Changed
- fix(client): properly handle multi-byte characters in Content-Length
- feat(client): support passing a custom fetch function
- refactor(streaming): make response body streaming polyfill more spec-compliant
- docs(api): reference claude-2
- docs(readme): update examples to use claude-2
Full Changelog: v0.5.3...v0.5.4
v0.5.3
What's Changed
- fix(streaming): fix response body streaming in non-Chrome environments #38
- feat(client): improve timeout handling to reuse agent #37
- fix: fix errors in package source files when users go to definition in VSCode #36
- fix: support PromiseLike input to toFile #35
- refactor: improve streaming implementation #34
Full Changelog: v0.5.2...v0.5.3