Skip to content

Releases

RealtimeAPIKit 0.2.0

Choose a tag to compare

@achudnovskiy achudnovskiy released this 06 Dec 04:14
81d4610

Changes

  • Added typed client and server Realtime events that preserve payloads, including unknown event types.
  • Added client-secret request helpers and a convenience initializer for authenticated clients.
  • Preserved the distinction between an omitted field and an explicit JSON null in nullable session fields.

Upgrading from 0.1.0

Update your SwiftPM dependency requirement to from: "0.2.0". For fields whose Swift type is now RealtimeNullable<T>?, wrap settings in .value(settings), use .null to send JSON null, or pass nil to omit the field.

Full changelog

RealtimeAPIKit 0.1.0

Choose a tag to compare

@achudnovskiy achudnovskiy released this 06 Dec 01:58
ec4b5bb

The first RealtimeAPIKit release includes a typed HTTP client and Codable event models for the OpenAI Realtime API. Install the RealtimeAPIKit SwiftPM product to build from committed Swift sources.

The generation workflow records the upstream specification and applies documented fixes for client-secret decoding, transcription session updates, and SDP response media types. It uses Apple Swift OpenAPI Generator 1.14.4.

Requires Swift 6.4 and iOS, macOS, watchOS, or visionOS 27 or later.