Skip to main content
Module

x/openai/CHANGELOG.md

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
File

Changelog

4.24.3 (2024-01-10)

Full Changelog: v4.24.2…v4.24.3

Bug Fixes

  • use default base url if BASE_URL env var is blank (#615) (a27ad3d)

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

4.24.1 (2023-12-22)

Full Changelog: v4.24.0…v4.24.1

Bug Fixes

  • pagination: correct type annotation object field (#590) (4066eda)

Documentation

Refactors

4.24.0 (2023-12-19)

Full Changelog: v4.23.0…v4.24.0

Features

  • api: add additional instructions for runs (#586) (401d93e)

Chores

Documentation

  • upgrade models in examples to latest version (#585) (60101a4)

4.23.0 (2023-12-17)

Full Changelog: v4.22.1…v4.23.0

Features

  • api: add token logprobs to chat completions (#576) (8d4292e)

Chores

  • ci: run release workflow once per day (#574) (529f09f)

4.22.1 (2023-12-15)

Full Changelog: v4.22.0…v4.22.1

Chores

Documentation

  • replace runFunctions with runTools in readme (#570) (c3b9ad5)

4.22.0 (2023-12-15)

Full Changelog: v4.21.0…v4.22.0

Features

  • api: add optional name argument + improve docs (#569) (3b68ace)

Chores

4.21.0 (2023-12-11)

Full Changelog: v4.20.1…v4.21.0

Features

  • client: support reading the base url from an env variable (#547) (06fb68d)

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

  • internal: remove file import and conditionally run prepare (#533) (48cb729)

Documentation

  • readme: fix typo and add examples link (#529) (cf959b1)

4.20.0 (2023-11-22)

Full Changelog: v4.19.1…v4.20.0

Features

  • allow installing package directly from github (#522) (51926d7)

Chores

  • internal: don’t call prepare in dist (#525) (d09411e)

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

  • fix typo in docs and add request header for function calls (#494) (22ce244)

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

  • client: deprecate files.retrieveContent in favour of files.content (#474) (7c7bfc2)

4.17.0 (2023-11-08)

Full Changelog: v4.16.2…v4.17.0

Features

Refactors

  • api: rename FunctionObject to FunctionDefinition (#470) (f3990c7)

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

  • update deno deploy link to include v (#441) (47b13aa)

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

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

  • client: adjust retry behavior to be exponential backoff (#400) (2bc14ce)

Chores

4.13.0 (2023-10-22)

Full Changelog: v4.12.4…v4.13.0

Features

4.12.4 (2023-10-17)

Full Changelog: v4.12.3…v4.12.4

Bug Fixes

  • import web-streams-polyfill without overriding globals (#385) (be8e18b)

4.12.3 (2023-10-16)

Full Changelog: v4.12.2…v4.12.3

Documentation

  • organisation -> organization (UK to US English) (#382) (516f0ad)

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

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

  • prevent ReferenceError, update compatibility to ES2020 and Node 18+ (#356) (fc71a4b)

Chores

  • internal: minor formatting improvement (#354) (3799863)

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

Bug Fixes

  • api: add content_filter to chat completion finish reason (#344) (f10c757)

Chores

4.10.0 (2023-09-21)

Full Changelog: v4.9.1…v4.10.0

Features

  • api: add ‘gpt-3.5-turbo-instruct’, fine-tune error objects, update documentation (#329) (e5f3852)

4.10.0 (2023-09-21)

Full Changelog: v4.9.1…v4.10.0

Features

  • api: add ‘gpt-3.5-turbo-instruct’, fine-tune error objects, update documentation (#329) (e5f3852)

4.9.1 (2023-09-21)

Full Changelog: v4.9.0…v4.9.1

Documentation

  • README: fix variable names in some examples (#327) (5e05b31)

4.9.0 (2023-09-20)

Full Changelog: v4.8.0…v4.9.0

Features

  • client: support importing node or web shims manually (#325) (628f293)

4.8.0 (2023-09-15)

Full Changelog: v4.7.1…v4.8.0

Features

  • errors: add status code to error message (#315) (9341219)

4.7.1 (2023-09-15)

Full Changelog: v4.7.0…v4.7.1

Documentation

  • declare Bun 1.0 officially supported (#314) (a16e268)

4.7.0 (2023-09-14)

Full Changelog: v4.6.0…v4.7.0

Features

4.6.0 (2023-09-08)

Full Changelog: v4.5.0…v4.6.0

Features

  • types: extract ChatCompletionRole enum to its own type (#298) (5893e37)

Bug Fixes

  • fix module not found errors in Vercel edge (#300) (47c79fe)

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

  • revert import change which triggered circular import bug in webpack (#274) (6534e36)

4.3.1 (2023-08-29)

Full Changelog: v4.3.0…v4.3.1

Bug Fixes

  • types: improve getNextPage() return type (#262) (245a984)

Chores

  • ci: setup workflows to create releases and release PRs (#259) (290908c)

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)

Bug Fixes

  • stream: declare Stream.controller as public (#252) (81e5de7)

Documentation

Chores

4.2.0 (2023-08-23)

Features

Chores

  • internal: export HeadersInit type shim (#241) (cf9f672)