Skip to content

Releases: openai/openai-go

v3.34.0

04 May 17:36

Choose a tag to compare

3.34.0 (2026-05-01)

Full Changelog: v3.33.0...v3.34.0

Features

  • api: add group_type, external_key_id, user fields to admin organization models (460f400)
  • api: add support for Admin API Keys per endpoint (51a0561)
  • api: admin API updates (a0ad21e)
  • api: manual updates (b60b3bc)
  • api: manual updates (f4e0c1a)

Bug Fixes

  • auth: prefer admin keys for admin requests (d128349)
  • types: add format annotations to ChatKit timestamp and URL fields (0b7d7d0)
  • types: add format annotations to timestamp and URL fields across resources (0ff11a7)
  • types: change timestamp fields to float64 in Response (d714e3c)

v3.33.0

28 Apr 13:59

Choose a tag to compare

3.33.0 (2026-04-28)

Full Changelog: v3.32.0...v3.33.0

Features

  • go: add default http client with timeout (25dd39a)
  • support setting headers via env (b4eaa78)

Bug Fixes

  • types: change PromptCacheRetention enum in-memory to in_memory (15e7432)

Chores

  • internal: more robust bootstrap script (eb0cbcf)
  • tests: bump steady to v0.22.1 (ef28f59)

Documentation

  • api: add rate limit and vector store guidance to file upload (6c8c7fa)
  • api: update rate limit documentation in file upload method (54fde2c)

v3.32.0

16 Apr 17:42

Choose a tag to compare

3.32.0 (2026-04-16)

Full Changelog: v3.31.0...v3.32.0

Features

  • api: Add detail to InputFileContent (b8e782f)
  • api: add OAuthErrorCode type (d54fff1)
  • api: add prompt_cache_retention parameter to response compact (e2da10d)

Bug Fixes

  • fix for union type names (0bc8ad5)

Documentation

v3.31.0

08 Apr 21:05

Choose a tag to compare

3.31.0 (2026-04-08)

Full Changelog: v3.30.0...v3.31.0

Features

  • api: add phase field to conversation messages (563d747)
  • api: add web_search_call.results to ResponseIncludable (6ef5b20)
  • client: add support for short-lived tokens (#799) (038871e)
  • internal: support comma format in multipart form encoding (905b473)

Bug Fixes

  • fix issue with unmarshaling in some cases (a017bc6)
  • prevent duplicate ? in query params (cbb2c75)
  • types: remove web_search_call.results from ResponseIncludable (180597f)

Chores

  • ci: support opting out of skipping builds on metadata-only commits (12e3a5a)
  • remove unnecessary error check for url parsing (cfe9c41)
  • tests: bump steady to v0.20.1 (8e4ef11)
  • tests: bump steady to v0.20.2 (ad31f81)
  • update docs for api:"required" (2d16ebc)

Documentation

  • api: add multi-file ingestion guidance to vectorstorefile/filebatch params (dbba33f)

v3.30.0

25 Mar 22:09

Choose a tag to compare

3.30.0 (2026-03-25)

Full Changelog: v3.29.0...v3.30.0

Features

  • api: add keys field to computer action types (7abb3c4)

Bug Fixes

  • api: align SDK response types with expanded item schemas (324c584)
  • types: generate shared enum types that are not referenced by other schemas (e2f2920)
  • types: make Type required, correct enum in ResponseInputMessageItem (8c2c7a5)

Chores

  • ci: skip lint on metadata-only changes (40cf884)
  • client: fix multipart serialisation of Default() fields (06c04ae)
  • internal: support default value struct tag (f1afb2a)
  • internal: update gitignore (bde0a0d)
  • tests: bump steady to v0.19.4 (a0561c3)
  • tests: bump steady to v0.19.5 (56c5c36)
  • tests: bump steady to v0.19.6 (44ebe37)
  • tests: bump steady to v0.19.7 (1b04072)

Refactors

  • tests: switch from prism to steady (2185358)

v3.29.0

17 Mar 17:53

Choose a tag to compare

3.29.0 (2026-03-17)

Full Changelog: v3.28.0...v3.29.0

Features

  • api: 5.4 nano and mini model slugs (c4ebb48)
  • api: add in and nin values to comparison filter type (d060d44)

Chores

  • internal: tweak CI branches (6379626)

v3.28.0

14 Mar 16:11
0eb5c03

Choose a tag to compare

3.28.0 (2026-03-14)

Full Changelog: v3.27.0...v3.28.0

Features

  • api: add /v1/videos endpoint option to batch (7b2d67e)
  • api: add defer_loading field to function tools (6d4b683)
  • api: custom voices (d00b782)

⚠ BREAKING CHANGES

  • api: The voice param and resouce has changed from a string to a string | {id: string}. This is a breaking change for Go.

v3.27.0

13 Mar 19:16
b6d8afc

Choose a tag to compare

3.27.0 (2026-03-13)

Full Changelog: v3.26.0...v3.27.0

Features

  • api: add video character/edit/extend, remove Azure/webhook/polling/accumulator (20da043)
  • api: add video edits/extensions/character, remove Azure/webhook/polling helpers (fa9413f)
  • api: api update (c88c6c9)
  • api: sora api improvements: character api, video extensions/edits, higher resolution exports. (93f6779)

Chores

  • internal: codegen related update (d531232)
  • internal: codegen related update (1748c11)
  • internal: codegen related update (531ece1)
  • internal: codegen related update (ce9f435)

v3.26.0

05 Mar 23:21

Choose a tag to compare

3.26.0 (2026-03-05)

Full Changelog: v3.25.0...v3.26.0

Features

  • api: The GA ComputerTool now uses the CompuerTool class. The 'computer_use_preview' tool is moved to ComputerUsePreview (347418b)

v3.25.0

05 Mar 18:22

Choose a tag to compare

3.25.0 (2026-03-05)

Full Changelog: v3.24.0...v3.25.0

Features

  • api: gpt-5.4, tool search tool, and new computer tool (101826d)
  • api: remove Phase from input/output messages, PromptCacheKey from responses (961b8ca)

Bug Fixes

Chores

  • internal: codegen related update (ab733b9)
  • internal: codegen related update (23d1831)
  • internal: reduce warnings (2963312)