Skip to content

Releases: openai/openai-node

v4.2.0

23 Aug 14:52
d1fee33
Compare
Choose a tag to compare

4.2.0 (2023-08-23)

Features

Chores

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

v4.1.0

23 Aug 17:18
Compare
Choose a tag to compare

Full Changelog: v4.0.1...v4.1.0

v4.0.1

19 Aug 01:50
Compare
Choose a tag to compare

Full Changelog: v4.0.0...v4.0.1

v4.0.0

16 Aug 18:24
3ec43ee
Compare
Choose a tag to compare

Version 4 is a complete rewrite of the SDK, offering a huge set of improvements.

What's new

  • Streaming support for completions and chat completions!
  • Improved typescript types for responses & errors
  • Support for ESM, CloudFlare Workers, Vercel edge functions, Deno, and more
  • Better file upload API for Whisper, fine-tune files, & DALL·E images
  • Improved error handling through automatic retries & error classes
  • Improved latency through reusing TCP connections
  • Simpler initialization logic

Getting started

npm install [email protected]

Migration guide

➡️ View the v3 to v4 migration guide

v4.0.0-beta.12

15 Aug 01:01
Compare
Choose a tag to compare
v4.0.0-beta.12 Pre-release
Pre-release

v4.0.0 Beta – Learn more

v4.0.0-beta.11

13 Aug 15:56
Compare
Choose a tag to compare
v4.0.0-beta.11 Pre-release
Pre-release

v4.0.0 Beta – Learn more

v4.0.0-beta.10

12 Aug 18:55
Compare
Choose a tag to compare
v4.0.0-beta.10 Pre-release
Pre-release

v4.0.0 Beta – Learn more

v4.0.0-beta.9

11 Aug 16:27
Compare
Choose a tag to compare
v4.0.0-beta.9 Pre-release
Pre-release

v4.0.0 Beta – Learn more

v4.0.0-beta.8

05 Aug 15:29
Compare
Choose a tag to compare
v4.0.0-beta.8 Pre-release
Pre-release

v4.0.0 Beta – Learn more

v4.0.0-beta.7

29 Jul 20:48
Compare
Choose a tag to compare
v4.0.0-beta.7 Pre-release
Pre-release

v4.0.0 Beta – Learn more