Skip to content

Releases: openai/openai-ruby

v0.8.0

10 Jun 16:50

Choose a tag to compare

0.8.0 (2025-06-10)

Full Changelog: v0.7.0...v0.8.0

Features

  • api: Add o3-pro model IDs (025845a)

v0.7.0

09 Jun 16:50
e9811ac

Choose a tag to compare

0.7.0 (2025-06-09)

Full Changelog: v0.6.0...v0.7.0

Features

  • api: Add tools and structured outputs to evals (6ee3392)

Bug Fixes

  • default content-type for text in multi-part formdata uploads should be text/plain (105cf47)
  • tool parameter mapping for chat completions (#156) (5999b9f)
  • tool parameter mapping for responses (#704) (ac8bf11)

v0.6.0

03 Jun 17:13
58e8bde

Choose a tag to compare

0.6.0 (2025-06-03)

Full Changelog: v0.5.1...v0.6.0

Features

  • api: add new realtime and audio models, realtime session options (315f0b0)

Bug Fixes

  • to_sorbet_type should not return branded types (4a1f14b)

Chores

v0.5.1

02 Jun 19:40
7e2e96b

Choose a tag to compare

0.5.1 (2025-06-02)

Full Changelog: v0.5.0...v0.5.1

Bug Fixes

  • api: Fix evals and code interpreter interfaces (24a9100)

v0.5.0

29 May 16:16
5160a5d

Choose a tag to compare

0.5.0 (2025-05-29)

Full Changelog: v0.4.1...v0.5.0

Features

  • api: Config update for pakrym-stream-param (214e516)

Bug Fixes

  • client: return binary content from get /containers/{container_id}/files/{file_id}/content (2b7122a)
  • sorbet types for enums, and make tapioca detection ignore tapioca dsl (0e24b3e)

Chores

  • deprecate Assistants API (4ce7530)

v0.4.1

23 May 17:13
a8af268

Choose a tag to compare

0.4.1 (2025-05-23)

Full Changelog: v0.4.0-beta.1...v0.4.1

Bug Fixes

  • prevent rubocop from mangling === to is_a? check (c3a61c9)

v0.4.0-beta.1

23 May 15:35
471f541

Choose a tag to compare

v0.4.0-beta.1 Pre-release
Pre-release

0.4.0-beta.1 (2025-05-23)

Full Changelog: v0.1.0-beta.2...v0.4.0-beta.1

Features

  • structured output for responses API (text) (#688) (282ec24)
  • structured output for responses API (tools) (#691) (5e524ea)

Chores

  • internal: fix release workflows (e1b31a6)
  • internal: version bump (b2dd8dd)
  • update README for public release (#145) (64e3849)

v0.1.0-beta.2

22 May 20:42
2dea19a

Choose a tag to compare

v0.1.0-beta.2 Pre-release
Pre-release

0.1.0-beta.2 (2025-05-22)

Full Changelog: v0.1.0-beta.1...v0.1.0-beta.2

Features

  • api: add container endpoint (8be52a2)
  • api: further updates for evals API (ae7a8b8)
  • api: new API tools (9105b8b)
  • api: new streaming helpers for background responses (91a278e)
  • api: Updating Assistants and Evals API schemas (690b6a7)
  • RBI type defs for structured output (#684) (00b25bd)

Bug Fixes

  • correctly instantiate sorbet type aliases for enums and unions (15a2b2b)
  • structured output union decorations (05b69d1)

Chores

  • disable sorbet typecheck for WIP sorbet annotations in examples (#678) (a340356)
  • docs: grammar improvements (c4ef024)
  • force utf-8 locale via RUBYOPT when formatting (746abf4)
  • internal: version bump (b35ea63)
  • refine Yard and Sorbet types and ensure linting is turned on for examples (a16dd00)
  • use fully qualified names for yard annotations and rbs aliases (26db76d)
  • use sorbet union aliases where available (600f499)

Documentation

  • grammar improvements (15511fc)
  • grammar improvements in README.md (d43db56)

v0.1.0-beta.1

17 May 01:40
968db1d

Choose a tag to compare

v0.1.0-beta.1 Pre-release
Pre-release

0.1.0-beta.1 (2025-05-16)

Full Changelog: v0.1.0-alpha.5...v0.1.0-beta.1

Features

  • api: add image sizes, reasoning encryption (c4565ed)
  • api: Add reinforcement fine-tuning api support (65834c6)
  • api: adding new image model support (641f4eb)
  • api: manual updates (c4989d6)
  • bump default connection pool size limit to minimum of 99 (3fc0971)
  • expose base client options as read only attributes (1d53fee)
  • expose recursive #to_h conversion (734833c)
  • initial structured outputs support (#565) (a613a39)
  • support sorbet aliases at the runtime (0ef168a)
  • support specifying content-type with FilePart class (ece942c)
  • support webmock for testing (9e1a0f1)

Bug Fixes

  • ensure gem release is unaffected by renaming (513acd8)
  • fix workflow syntax (b5d45ce)
  • internal: ensure formatting always uses c.utf-8 locale (3d51f78)
  • internal: fix formatting script for macos (6784709)
  • JSON.fast_generate is deprecated (591fdf0)
  • make a typo for FilePart.content (c78ea0f)

Chores

  • add generator safe directory (5c9767e)
  • always check if current page is empty in next_page? (8e8464e)
  • broadly detect json family of content-type headers (77f7239)
  • bump minimum supported Ruby version to 3.2 (41ce053)
  • ci: add timeout thresholds for CI jobs (6fba7b2)
  • ci: only use depot for staging repos (57a10b0)
  • ci: run on more branches and use depot runners (0ae14a8)
  • consistently use string in examples, even for enums (cec4b05)
  • ensure examples have busybox compat shebangs (7720dca)
  • explicitly mark apis public under Internal module (ca0d841)
  • fix misc linting / minor issues (918ac6b)
  • internal: annotate request options with type aliases in sorbet (4918836)
  • internal: codegen related update (139a140)
  • internal: codegen related update (ebf0cae)
  • internal: codegen related update (71cf48f)
  • internal: codegen related update (f3fc915)
  • internal: improve response envelope unwrap functionality (a05d2c5)
  • internal: minor type annotation improvements (67b0e35)
  • internal: remove unnecessary rbi/lib folder (df9e099)
  • internal: touch up formatting (d3c5587)
  • internal: version bump (ef2a5d4)
  • loosen rubocop rules that don't always make sense (4244f89)
  • migrate away from deprecated JSON#fast_generate (3be700f)
  • more accurate type annotations and aliases (04b111d)
  • re-export top level models under library namespace (8c5e78a)
  • remove Gemfile.lock (2306cb4)
  • remove Gemfile.lock during bootstrap (c248f15)
  • reorganize type aliases (1815c45)
  • revert ignoring Gemfile.lock (9a2827b)
  • show truncated parameter docs in yard (bf84473)
  • validate request option coercion correctness (c5b4f52)

Documentation

  • fix out of place README snippet (39d155f)
  • illustrate environmental defaults for auth variables (7d8ee4f)
  • readme: fix typo (a6c7609)
  • rewrite much of README.md for readability (f3c721e)

v0.1.0-alpha.5

19 Apr 02:20

Choose a tag to compare

v0.1.0-alpha.5 Pre-release
Pre-release

0.1.0-alpha.5 (2025-04-18)

Full Changelog: v0.1.0-alpha.4...v0.1.0-alpha.5

Features

  • implement #hash for data containers (924fcb4)

Bug Fixes

  • always send idempotency header when specified as a request option (548bfaf)
  • client: send correct HTTP path (896142a)

Chores

  • documentation improvements (ff43d73)
  • internal: configure releases (7eb9185)
  • internal: contribute.md and contributor QoL improvements (d060adf)
  • make sorbet enums easier to read (7c03213)
  • refine #inspect and #to_s for model classes (84308a6)
  • simplify yard annotations by removing most @!parse directives (16ec2e3)
  • update README with recommended editor plugins (c745aef)
  • update readme with temporary install instructions (8a79cc0)
  • use @!method instead of @!parse for virtual method type definitions (b5fba2e)