Changelog
4.33.0 (2024-04-05)
Full Changelog: v4.32.2…v4.33.0
Features
4.32.2 (2024-04-04)
Full Changelog: v4.32.1…v4.32.2
Bug Fixes
- streaming: handle special line characters and fix multi-byte character decoding (#757) (8dcdda2)
- tests: update wrangler to v3.19.0 (CVE-2023-7080) (#755) (47ca41d)
Chores
4.32.1 (2024-04-02)
Full Changelog: v4.32.0…v4.32.1
Chores
4.32.0 (2024-04-01)
Full Changelog: v4.31.0…v4.32.0
Features
- api: add support for filtering messages by run_id (#747) (9a397ac)
- api: run polling helpers (#749) (02920ae)
Chores
Documentation
Refactors
- rename createAndStream to stream (02920ae)
4.31.0 (2024-03-30)
Full Changelog: v4.30.0…v4.31.0
Features
Bug Fixes
4.30.0 (2024-03-28)
Full Changelog: v4.29.2…v4.30.0
Features
Bug Fixes
- client: correctly send deno version header (#736) (b7ea175)
- example: correcting example (#739) (a819551)
- handle process.env being undefined in debug func (#733) (2baa149)
- internal: make toFile use input file’s options (#727) (15880d7)
Chores
Documentation
- readme: consistent use of sentence case in headings (#729) (7e515fd)
- readme: document how to make undocumented requests (#730) (a06d861)
4.29.2 (2024-03-19)
Full Changelog: v4.29.1…v4.29.2
Chores
Documentation
4.29.1 (2024-03-15)
Full Changelog: v4.29.0…v4.29.1
Documentation
4.29.0 (2024-03-13)
Full Changelog: v4.28.5…v4.29.0
Features
4.28.5 (2024-03-13)
Full Changelog: v4.28.4…v4.28.5
Bug Fixes
- ChatCompletionStream: abort on async iterator break and handle errors (#699) (ac417a2)
- streaming: correctly handle trailing new lines in byte chunks (#708) (4753be2)
Chores
- api: update docs (#703) (e1db98b)
- docs: mention install from git repo (#700) (c081bdb)
- fix error handler in readme (#704) (4ff790a)
- internal: add explicit type annotation to decoder (#712) (d728e99)
- types: fix accidental exposure of Buffer type to cloudflare (#709) (0323ecb)
Documentation
- contributing: improve wording (#696) (940d569)
- readme: fix https proxy example (#705) (d144789)
- readme: fix typo in custom fetch implementation (#698) (64041fd)
- remove extraneous –save and yarn install instructions (#710) (8ec216d)
- use @deprecated decorator for deprecated params (#711) (4688ef4)
4.28.4 (2024-02-28)
Full Changelog: v4.28.3…v4.28.4
Features
Chores
- ci: update actions/setup-node action to v4 (#685) (f2704d5)
- internal: fix ecosystem tests (#693) (616624d)
- types: extract run status to a named type (#686) (b3b3b8e)
- update @types/react to 18.2.58, @types/react-dom to 18.2.19 (#688) (2a0d0b1)
- update dependency @types/node to v20.11.20 (#690) (4ca005b)
- update dependency @types/ws to v8.5.10 (#683) (a617268)
- update dependency next to v13.5.6 (#689) (abb3b66)
4.28.3 (2024-02-20)
Full Changelog: v4.28.2…v4.28.3
Bug Fixes
4.28.2 (2024-02-19)
Full Changelog: v4.28.1…v4.28.2
Bug Fixes
4.28.1 (2024-02-19)
Full Changelog: v4.28.0…v4.28.1
Chores
- ci: move github release logic to github app (#671) (ecca6bc)
- internal: refactor release environment script (#674) (27d3770)
4.28.0 (2024-02-13)
Full Changelog: v4.27.1…v4.28.0
Features
4.27.1 (2024-02-12)
Full Changelog: v4.27.0…v4.27.1
4.27.0 (2024-02-08)
Full Changelog: v4.26.1…v4.27.0
Features
Chores
- internal: fix retry mechanism for ecosystem-test (#663) (0eb7ed5)
- respect
application/vnd.api+json
content-type header (#664) (f4fad54)
4.26.1 (2024-02-05)
Full Changelog: v4.26.0…v4.26.1
Chores
- internal: enable building when git installed (#657) (8c80a7d)
- internal: re-order pagination import (#656) (21ae54e)
- internal: support pre-release versioning (#653) (0c3859f)
- test: add delay between ecosystem tests retry (#651) (6a4cc5c)
Documentation
4.26.0 (2024-01-25)
Full Changelog: v4.25.0…v4.26.0
Features
Chores
- internal: add internal helpers & improve build scripts (#643) (9392f50)
- internal: adjust ecosystem-tests logging in CI (#646) (156084b)
- internal: don’t re-export streaming type (#648) (4c4be94)
- internal: fix binary files (#645) (e1fbc39)
- internal: minor streaming updates (#647) (2f073e4)
- internal: pin deno version (#649) (7e4b903)
4.25.0 (2024-01-21)
Full Changelog: v4.24.7…v4.25.0
Features
Bug Fixes
- allow body type in RequestOptions to be null (#637) (c4f8a36)
- handle system_fingerprint in streaming helpers (#636) (f273530)
- types: accept undefined for optional client options (#635) (e48cd57)
Chores
- internal: debug logging for retries; speculative retry-after-ms support (#633) (fd64971)
- internal: update comment (#631) (e109d40)
4.24.7 (2024-01-13)
Full Changelog: v4.24.6…v4.24.7
Chores
- ecosystem-tests: fix flaky vercel-edge, cloudflare-worker, and deno tests (#626) (ae412a5)
- ecosystem-tests: fix typo in deno test (#628) (048ec94)
4.24.6 (2024-01-12)
Full Changelog: v4.24.5…v4.24.6
Chores
- ecosystem-tests: fix flaky tests and remove fine tuning calls (#623) (258d79f)
- ecosystem-tests: fix flaky tests and remove fine tuning calls (#625) (58e5fd8)
4.24.5 (2024-01-12)
Full Changelog: v4.24.4…v4.24.5
Refactors
4.24.4 (2024-01-11)
Full Changelog: v4.24.3…v4.24.4
Chores
4.24.3 (2024-01-10)
Full Changelog: v4.24.2…v4.24.3
Bug Fixes
4.24.2 (2024-01-08)
Full Changelog: v4.24.1…v4.24.2
Bug Fixes
- headers: always send lowercase headers and strip undefined (BREAKING in rare cases) (#608) (4ea159f)
Chores
- add .keep files for examples and custom code directories (#612) (5e0f733)
- internal: bump license (#605) (045ee74)
- internal: improve type signatures (#609) (e1ccc82)
Documentation
- fix docstring typos (#600) (1934fa1)
- improve audio example to show how to stream to a file (#598) (e950ad9)
4.24.1 (2023-12-22)
Full Changelog: v4.24.0…v4.24.1
Bug Fixes
Documentation
- messages: improvements to helpers reference + typos (#595) (96a59b9)
- reformat README.md (#592) (8ffc7f8)
Refactors
4.24.0 (2023-12-19)
Full Changelog: v4.23.0…v4.24.0
Features
Chores
- deps: update dependency start-server-and-test to v2.0.3 (#580) (8e1aca1)
- deps: update dependency ts-jest to v29.1.1 (#578) (a6edb7b)
- deps: update jest (#582) (e49e471)
- internal: bump deps (#583) (2e07b4c)
- internal: update deps (#581) (7b690dc)
Documentation
4.23.0 (2023-12-17)
Full Changelog: v4.22.1…v4.23.0
Features
Chores
4.22.1 (2023-12-15)
Full Changelog: v4.22.0…v4.22.1
Chores
Documentation
4.22.0 (2023-12-15)
Full Changelog: v4.21.0…v4.22.0
Features
Chores
4.21.0 (2023-12-11)
Full Changelog: v4.20.1…v4.21.0
Features
Bug Fixes
- correct some runTools behavior and deprecate runFunctions (#562) (f5cdd0f)
- prevent 400 when using runTools/runFunctions with Azure OpenAI API (#544) (735d9b8)
Documentation
Build System
4.20.1 (2023-11-24)
Full Changelog: v4.20.0…v4.20.1
Chores
Documentation
4.20.0 (2023-11-22)
Full Changelog: v4.19.1…v4.20.0
Features
Chores
4.19.1 (2023-11-20)
Full Changelog: v4.19.0…v4.19.1
4.19.0 (2023-11-15)
Full Changelog: v4.18.0…v4.19.0
Features
4.18.0 (2023-11-14)
Full Changelog: v4.17.5…v4.18.0
Features
4.17.5 (2023-11-13)
Full Changelog: v4.17.4…v4.17.5
Chores
4.17.4 (2023-11-10)
Full Changelog: v4.17.3…v4.17.4
Chores
4.17.3 (2023-11-09)
Full Changelog: v4.17.2…v4.17.3
4.17.2 (2023-11-09)
Full Changelog: v4.17.1…v4.17.2
Chores
4.17.1 (2023-11-09)
Full Changelog: v4.17.0…v4.17.1
Refactors
4.17.0 (2023-11-08)
Full Changelog: v4.16.2…v4.17.0
Features
Refactors
4.16.2 (2023-11-08)
Full Changelog: v4.16.1…v4.16.2
Bug Fixes
- api: accidentally required params, add new models & other fixes (#463) (1cb403e)
- api: update embedding response object type (#466) (53b7e25)
- asssitant_deleted -> assistant_deleted (#452) (ef89bd7)
- types: ensure all code paths return a value (#458) (19402c3)
Chores
Documentation
4.16.1 (2023-11-06)
Full Changelog: v4.16.0…v4.16.1
Bug Fixes
Documentation
4.16.0 (2023-11-06)
Full Changelog: v4.15.4…v4.16.0
Features
- api: releases from DevDay; assistants, multimodality, tools, dall-e-3, tts, and more (#433) (fb92f5e)
Bug Fixes
Documentation
4.15.4 (2023-11-05)
Full Changelog: v4.15.3…v4.15.4
Documentation
4.15.3 (2023-11-04)
Full Changelog: v4.15.2…v4.15.3
Bug Fixes
4.15.2 (2023-11-04)
Full Changelog: v4.15.1…v4.15.2
Documentation
4.15.1 (2023-11-04)
Full Changelog: v4.15.0…v4.15.1
Documentation
4.15.0 (2023-11-03)
Full Changelog: v4.14.2…v4.15.0
Features
- beta: add streaming and function calling helpers (#409) (510c1f3)
- client: allow binary returns (#416) (02f7ad7)
- github: include a devcontainer setup (#413) (fb2996f)
- streaming improvements (#411) (37b622c)
4.14.2 (2023-10-30)
Full Changelog: v4.14.1…v4.14.2
Chores
4.14.1 (2023-10-27)
Full Changelog: v4.14.0…v4.14.1
Bug Fixes
- deploy deno in a github workflow instead of postpublish step (#405) (3a6dba0)
- typo in build script (#403) (76c5c96)
Chores
4.14.0 (2023-10-25)
Full Changelog: v4.13.0…v4.14.0
Features
Chores
4.13.0 (2023-10-22)
Full Changelog: v4.12.4…v4.13.0
Features
- api: add embeddings encoding_format (#390) (cf70dea)
- handle 204 No Content gracefully (#391) (2dd005c)
4.12.4 (2023-10-17)
Full Changelog: v4.12.3…v4.12.4
Bug Fixes
4.12.3 (2023-10-16)
Full Changelog: v4.12.2…v4.12.3
Documentation
4.12.2 (2023-10-16)
Full Changelog: v4.12.1…v4.12.2
Bug Fixes
- client: correctly handle errors during streaming (#377) (09233b1)
- client: correctly handle errors during streaming (#379) (9ced580)
- improve status code in error messages (#381) (68dfb17)
Chores
- add case insensitive get header function (#373) (b088998)
- internal: add debug logs for stream responses (#380) (689db0b)
- show deprecation notice on re-export (#368) (b176703)
- update comment (#376) (a06c685)
- update comment (#378) (b04031d)
Refactors
- streaming: change Stream constructor signature (#370) (71984ed)
- test: refactor authentication tests (#371) (e0d459f)
4.12.1 (2023-10-11)
Full Changelog: v4.12.0…v4.12.1
Bug Fixes
4.12.0 (2023-10-11)
Full Changelog: v4.11.1…v4.12.0
Features
- api: remove
content_filter
stop_reason and update documentation (#352) (a4b401e) - re-export chat completion types at the top level, and work around webpack limitations (#365) (bb815d0)
Bug Fixes
Chores
4.11.1 (2023-10-03)
Full Changelog: v4.11.0…v4.11.1
4.11.0 (2023-09-29)
Full Changelog: v4.10.0…v4.11.0
Features
- client: handle retry-after with a date (#340) (b6dd384)
- package: export a root error type (#338) (462bcda)
Bug Fixes
Chores
- internal: bump lock file (#334) (fd2337b)
- internal: update lock file (#339) (1bf84b6)
- internal: update lock file (#342) (0001f06)
- internal: update lock file (#343) (a02ac8e)
4.10.0 (2023-09-21)
Full Changelog: v4.9.1…v4.10.0
Features
4.10.0 (2023-09-21)
Full Changelog: v4.9.1…v4.10.0
Features
4.9.1 (2023-09-21)
Full Changelog: v4.9.0…v4.9.1
Documentation
4.9.0 (2023-09-20)
Full Changelog: v4.8.0…v4.9.0
Features
4.8.0 (2023-09-15)
Full Changelog: v4.7.1…v4.8.0
Features
4.7.1 (2023-09-15)
Full Changelog: v4.7.0…v4.7.1
Documentation
4.7.0 (2023-09-14)
Full Changelog: v4.6.0…v4.7.0
Features
- client: retry on 408 Request Timeout (#310) (1f98eac)
- make docs urls in comments absolute (#306) (9db3819)
4.6.0 (2023-09-08)
Full Changelog: v4.5.0…v4.6.0
Features
Bug Fixes
4.5.0 (2023-09-06)
Full Changelog: v4.4.0…v4.5.0
Features
- client: add files.waitForProcessing() method (#292) (ef59010)
- fixes tests where an array has to have unique enum values (#290) (a10b895)
- make docs more readable by eliminating unnecessary escape sequences (#287) (a068043)
Bug Fixes
- client: fix TS errors that appear when users Go to Source in VSCode (#281) (8dc59bc), closes #249
- client: handle case where the client is instantiated with a undefined baseURL (#285) (5095cf3)
- client: use explicit file extensions in _shims imports (#276) (16fe929)
Documentation
4.4.0 (2023-09-01)
Full Changelog: v4.3.1…v4.4.0
Features
- package: add Bun export map (#269) (16f239c)
- re-export chat completion types at the top level (#268) (1a71a39)
- tests: unskip multipart form data tests (#275) (47d3e18)
- types: fix ambiguous auto-import for chat completions params (#266) (19c99fb)
Bug Fixes
4.3.1 (2023-08-29)
Full Changelog: v4.3.0…v4.3.1
Bug Fixes
Chores
4.3.0 (2023-08-27)
Features
- client: add auto-pagination to fine tuning list endpoints (#254) (5f89c5e)
- cli: rewrite in JS for better compatibility (#244) (d8d7c05)