Skip to content

v0.26.1

Latest

Choose a tag to compare

@openai-sdks openai-sdks released this 30 Nov 18:53
a1e3ff2

0.26.1 (2026-11-30)

Bug Fixes

  • deps: update httpx2 requirement from >=2.16.0 to >=2.16.2 in /examples/realtime/twilio (#6196) (cd68216)
  • deps: update httpx2 requirement from >=2.16.0 to >=2.16.2 in /examples/realtime/twilio_sip (#6198) (0d10b5d)
  • deps: update httpx2 requirement in /examples/realtime/twilio (cd68216)
  • deps: update httpx2 requirement in /examples/realtime/twilio_sip (0d10b5d)
  • deps: update openai requirement from <4,>=3.48.0 to >=3.52.0,<4 in /examples/realtime/twilio_sip (#6200) (4e162c7)
  • deps: update openai requirement in /examples/realtime/twilio_sip (4e162c7)
  • deps: update python-multipart requirement (1b56a40)
  • deps: update python-multipart requirement from >=0.0.33 to >=0.0.34 in /examples/realtime/twilio (#6197) (1b56a40)
  • Keep placeholder response IDs out of continuation and compaction (#6258) (39bf318)
  • memory: Match SQLite branch content in the copy transaction (#6259) (080369d)
  • Preserve annotated recursive references and wrap non-object RootModel outputs (#6251) (e1969b8)
  • Preserve named function choices in streamed Chat Completions (#6256) (653fea2)
  • Replay Chat Completions handoffs with null reasoning content (#6254) (6a088af)
  • Stream quoted, Chinese, and Japanese sentences before the voice turn ends (#6250) (693aa22)

Release readiness review (v0.26.0 → 0.26.1)

Final candidate for #6206 · $final-release-review

Diff

v0.26.0...fbc2279

Release intent

Intended release Minimum required Versioning verdict
0.26.1 (patch) Patch Compatible

Release call

🟢 GREEN LIGHT TO SHIP — Compatible fixes to tool approvals, session history, structured outputs and streaming. No application migration required.

Scope summary

90 files (+4,315/−1,810) across the SDK, tests, examples, docs and release metadata. The installed wheel has been passing the v0.26.0 public API checks. Python requirement of 3.10 or newer. New Twilio dependency bounds limited to the examples.

Risk assessment

  1. 🟢 LOW — Tool decisions and saved runs. With always_approve=True, the runner has been preserving explicit rejections of other calls to the same function. Nested runs have been keeping their pending approvals separate, even with the same local call ID. In upgrade checks, both versions have been resuming each other's saved approvals.

    • Application guidance — Same RunState approval and resume APIs.
    • Files — src/agents/run_context.py, src/agents/run_state.py, src/agents/run_internal/turn_resolution.py.
  2. 🟢 LOW — SQLite branch lifetime. After a pop of the last item, AdvancedSQLiteSession has been keeping the branch available until deletion or session clear. In upgrade checks, both versions have been reading and updating each other's populated branches.

    • Application guidance — Automatic upgrade on opening an existing database. A new branch ID after deletion or clear.
    • File — src/agents/extensions/memory/advanced_sqlite_session.py.
  3. 🟢 LOW — Structured outputs and strict tool inputs. The SDK has been wrapping strict scalar and list RootModel output schemas in an object. It has also been accepting bare values from custom providers and returning the declared Python model. Strict date and UUID parameters have been accepting their JSON strings.

    • Provider guidance — Example JSON for RootModel[list[int]] under the new schema — {"response":[1,2]}.
    • Files — src/agents/agent_output.py, src/agents/_function_tool_arguments.py, src/agents/strict_schema.py.

Documentation coverage (non-blocking)

Partially covered. English approval and rejection example in docs/testing.md. Japanese, Korean and Chinese versions in open PR #6272 (5ab3ce7004672eae105a5658102eeace6042d743).

Suggested additions after release

  • Output types in docs/agents.md — The JSON example above alongside the Python return type.
  • Conversation branching and Database schema in docs/sessions/advanced_sqlite_session.md — Branch lifetime after the last pop and the new active_since, clear_generation and is_empty columns.

Notes

Local compatibility checks with scripted models, SQLite files and the installed wheel. Live providers outside the scope of these checks.