release: 0.21.0 - #4387
Open
seratch wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release readiness review (v0.20.0 -> TARGET HEAD)
This is a release readiness report done by
$final-release-reviewskill.Diff
v0.20.0...97fe036
Release intent
Release call
🟢 GREEN LIGHT TO SHIP The candidate is correctly versioned, preserves the released API and durable-state contracts, and contains a consistent three-file release manifest over current
origin/main.Scope summary
Risk assessment (ordered by impact)
OpenAI Python 3 and HTTPX2 migration
openai>=3.0.0,<4; OpenAI provider, Voice, tracing, retry, and WebSocket paths use HTTPX2; default-client behavior is retained; explicitly installed legacy HTTPX remains a temporary OpenAI Python migration bridge.pyproject.toml,uv.lock,src/agents/_httpx_compat.py,src/agents/models/,src/agents/voice/models/openai_model_provider.py,src/agents/tracing/processors.pyNew provider-neutral testing APIs are frozen
agents.testing,agents.testing.model,agents.testing.sandbox,agents.realtime.testing, andagents.voice.testingare explicitly covered by the release-contract policy and generated v0.21.0 contract, including canonical imports, signatures, module exports, and optional Voice bindings.src/agents/testing/,src/agents/realtime/testing.py,src/agents/voice/testing.py,tests/fixtures/released_api_contract_policy.json,tests/fixtures/released_api_contract.jsonMCP compatibility and lifecycle changes remain bounded
mcp>=1.19.0,<3range remains intact, compatibility code selects the installed HTTP family, and the new optional retry ceiling is appended to public constructors without changing previous positional meanings.src/agents/mcp/_compat.py,src/agents/mcp/manager.py,src/agents/mcp/server.py,docs/mcp.mdRuntime and durable-state fixes preserve released paths
RunState.interruptionsnow returns a detached list, and the release adds focused regression coverage for the affected paths.src/agents/run_state.py,src/agents/run_internal/,src/agents/apply_diff.py,src/agents/memory/openai_conversations_session.py,src/agents/voice/input.pyDocumentation coverage (non-blocking)
ba6bf6b7591734cf7a412ac15d7a0499aea5d745, plus documentation already present in the release target.docs/config.mdand the 0.21.0 entry indocs/release.md: HTTPX2 uses the operating-system trust store instead of the previouscertifidefault, so minimal containers and TLS-inspecting environments may need system CA certificates,SSL_CERT_FILE,SSL_CERT_DIR, or an explicitssl.SSLContext.Key Changes draft
Key Changes
Version 0.21.0 is a minor release because it introduces substantial provider-neutral testing APIs and migrates the SDK to OpenAI Python 3 and HTTPX2. The HTTP migration can require changes for applications that customize the OpenAI transport or depend on the previous TLS trust-store behavior; default API workflows otherwise retain their existing Agents SDK configuration.
Highlights:
openai>=3.0.0,<4and use HTTPX2 across the default OpenAI provider, Voice provider, tracing exporter, Responses WebSocket support, and provider retry normalization. Custom HTTP integrations should migrate to HTTPX2; an explicitly installed legacyhttpxclient remains a temporary OpenAI Python migration bridge.agents.testing, Realtime sessions underagents.realtime.testing, and Voice pipelines underagents.voice.testing.retry_backoff_seconds_maxceiling.RunloopExistingSecret.Notes
origin/main.pyproject.toml,uv.lock, andtests/fixtures/released_api_contract.json.