Skip to content

Releases: activescott/typescript-openai-realtime-api

v2.0.0

21 Feb 05:07
a7b8dc9
Compare
Choose a tag to compare

2.0.0 (2025-02-21)

Features

  • The "session request" is no longer managed by the client. The hosting application is expected to manage the session request. This has presented a cleaner and more reliable API for us in production. (a7b8dc9)

BREAKING CHANGES

  • The sessionRequest argument is no longer part of the constructor. The sessionRequested argument is no longe provided to the getRealtimeEphemeralAPIKey callback. The host application should know what session it wants and can always request whatever session it wants in the getRealtimeEphemeralAPIKey. See the WebRTC example for how to do this.

v1.5.0

21 Feb 03:43
Compare
Choose a tag to compare

1.5.0 (2025-02-21)

Features

  • shows the hydrated conversation from the client in WebRTC SDK (fc41b39)

v1.4.1

21 Feb 01:59
e2e3345
Compare
Choose a tag to compare

1.4.1 (2025-02-21)

Bug Fixes

  • WebRTC demo event filtering wasn't working. It now shows all the event types again (e2e3345)

v1.4.0

17 Feb 07:18
Compare
Choose a tag to compare

1.4.0 (2025-02-17)

Bug Fixes

  • updated the example styling (fc08231)

Features

  • Examples demonstrate specifying transcription and instructions. Update to the latest OpenAI OpenAPI types. (3931de4)

v1.3.0

17 Feb 01:32
Compare
Choose a tag to compare

1.3.0 (2025-02-17)

Features

  • OpenAI Realtime API types are now exported from the package so that they can easily be used in a consuming project (859acdb)
  • RealtimeClient.start will not resolve until the data channel is open and client events are safe to send. Also some improvements around detecting a session that was different than the requested session that will make it less likely to update the session automatically. (fb28856)
  • the example project provides a button to download all the events as json - useful for debugging. (8cc1c80)

v1.2.0

10 Feb 19:36
9c29d15
Compare
Choose a tag to compare

1.2.0 (2025-02-10)

Features

  • Migrates to the more browser-familiar EventTarget rather than the node-like EventEmitter. Also misc minor fixes from production usage (9c29d15)

v1.1.0

10 Feb 19:31
9947bc4
Compare
Choose a tag to compare

1.1.0 (2025-02-10)

Features

  • Migrates to the more browser-familiar EventTarget rather than the node-like EventEmitter. Also misc minor fixes made throughout as it is used in production (bbb9d11)

v1.0.0

31 Jan 19:46
37e5ec1
Compare
Choose a tag to compare

1.0.0 (2025-01-31)

Bug Fixes

  • add description to demo pages to explain what is shown (aa8e909)
  • make asset links in the example bundle relative with vite (37e5ec1)

Features

  • initial working WebRTC client for OpenAI Realtime API and demos (89e205b)
  • publish release notes to github automatically (cc27009)