Spaces:
Build error
Build error
Changelog
0.6.8 (2023-10-17)
Full Changelog: v0.6.7...v0.6.8
Bug Fixes
0.6.7 (2023-10-16)
Full Changelog: v0.6.6...v0.6.7
Bug Fixes
Chores
- add case insensitive get header function (#178) (13c398d)
- internal: add debug logs for stream responses (#182) (a1fa1b7)
- update comment (#179) (27a425e)
Documentation
Refactors
- streaming: change Stream constructor signature (#174) (1951824)
- test: refactor authentication tests (#176) (f59daad)
0.6.6 (2023-10-11)
Full Changelog: v0.6.5...v0.6.6
Chores
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
- api.md: add shared models (#158) (33e5518)
- declare Bun 1.0 officially supported (#154) (429d8f4)
- readme: remove incorrect wording in opening (#156) (01973fe)
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
0.6.3 (2023-08-28)
Full Changelog: v0.6.2...v0.6.3
Bug Fixes
Chores
0.6.2 (2023-08-26)
Bug Fixes
Refactors
Chores
- internal: add helper method (#133) (4c6950a)
- internal: export HeadersInit type shim (#129) (bcd51bd)
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)
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
0.5.10 (2023-08-01)
Refactors
Documentation
Chores
- internal: allow the build script to be run without yarn installed (#91) (9bd2b28)
- internal: fix deno build (#96) (3fdab4e)
0.5.9 (2023-07-29)
Bug Fixes
- client: handle undefined process in more places (#87) (d950c25)
- examples: avoid swallowing errors in example scripts (#82) (b27cfe9)
- fix undefined message in errors (#86) (5714a14)
Chores
Refactors
0.5.8 (2023-07-22)
Features
- streaming: make requests immediately throw an error if an aborted signal is passed in (#79) (5c86597)
0.5.7 (2023-07-19)
Features
- add flexible enum to model param (#73) (a6bbcad)
- client: export ClientOptions interface (#75) (0315ce1)
- deps: remove unneeded qs dep (#72) (0aea5a6)
Bug Fixes
- client: fix errors with file uploads in the browser (#76) (ac48fa7)
- fix error in environments without
TextEncoder
(#70) (5b78e05) - fix export map order (#74) (51e70cb)
0.5.6 (2023-07-15)
Bug Fixes
0.5.5 (2023-07-13)
Features
Bug Fixes
Documentation
- examples: bump model to claude-2 in example scripts (#57) (f85c05d)
- readme: improvements to formatting code snippets (#58) (67bae64)
Chores
- internal: add helper function for b64 (#62) (04e303c)
- internal: let
toFile
helper accept promises to objects with name/type properties (#63) (93f9af2) - internal: remove unneeded type var usage (#59) (42fc4a9)
0.5.4 (2023-07-11)
Features
- api: reference claude-2 in examples (#50) (7c53ded)
- client: support passing a custom
fetch
function (#46) (7d54366)