diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4e31c15179..fc5553b079 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.23.1" + ".": "0.24.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 01acb2874f..df0ef95215 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,64 @@ # Changelog +## [0.24.0](https://github.com/openai/openai-agents-python/compare/v0.23.1...v0.24.0) (2026-10-15) + + +### Features + +* expose MCP annotations on converted tools ([#5356](https://github.com/openai/openai-agents-python/issues/5356)) ([75813f8](https://github.com/openai/openai-agents-python/commit/75813f83997b249e5f4b53cccaff0d8a03aa179f)) +* support run-wide tool exception formatting ([#5326](https://github.com/openai/openai-agents-python/issues/5326)) ([8fd9a7c](https://github.com/openai/openai-agents-python/commit/8fd9a7cd19a4c495c438d39c83fb03ea3fb5a7e0)) + + +### Bug Fixes + +* batch OpenAI conversation session writes within the API limit ([#5334](https://github.com/openai/openai-agents-python/issues/5334)) ([26345c1](https://github.com/openai/openai-agents-python/commit/26345c1e45ebede8e2fc9b0bc7341dedab5e01fc)) +* defer automatic compaction for pending approvals ([#5363](https://github.com/openai/openai-agents-python/issues/5363)) ([5eb47a5](https://github.com/openai/openai-agents-python/commit/5eb47a5bdeab8ba9f6087de288c7e606816c76c6)) +* **deps-dev:** bump fastapi from 0.139.2 to 0.141.1 ([#5312](https://github.com/openai/openai-agents-python/issues/5312)) ([cdf23bd](https://github.com/openai/openai-agents-python/commit/cdf23bd513b1fa2d26a1057784d64fdc43c8468a)) +* **deps-dev:** bump grpcio from 1.83.1 to 1.84.0 ([#5310](https://github.com/openai/openai-agents-python/issues/5310)) ([a85487e](https://github.com/openai/openai-agents-python/commit/a85487ebf1b9b52cabeac6afa6c4c9110214b414)) +* **deps-dev:** bump pymdown-extensions from 11.0.2 to 12.1 ([#5314](https://github.com/openai/openai-agents-python/issues/5314)) ([d9758b0](https://github.com/openai/openai-agents-python/commit/d9758b00b53f0b0cac68955717331c943a6c2620)) +* **deps-dev:** bump pymongo from 4.18.1 to 4.18.2 ([#5313](https://github.com/openai/openai-agents-python/issues/5313)) ([858856f](https://github.com/openai/openai-agents-python/commit/858856f1f3b65d9b4a3a299b69ee5cdef4b9b8bb)) +* **deps:** bump boto3 from 1.42.75 to 1.43.109 ([#5378](https://github.com/openai/openai-agents-python/issues/5378)) ([7da6a92](https://github.com/openai/openai-agents-python/commit/7da6a927cc42d955c2fdc8f2cb9a7443fefa4f46)) +* **deps:** bump filelock from 3.20.3 to 4.0.12 ([#5375](https://github.com/openai/openai-agents-python/issues/5375)) ([14f4553](https://github.com/openai/openai-agents-python/commit/14f4553e288ad5df2c4097c823f3d91f333a1f84)) +* **deps:** bump fsspec from 2025.7.0 to 2026.6.0 ([#5317](https://github.com/openai/openai-agents-python/issues/5317)) ([66504e9](https://github.com/openai/openai-agents-python/commit/66504e953ae49b9d884c638e7bd32b9fa1157fe0)) +* **deps:** bump redis from 7.0.1 to 8.1.0 ([#5379](https://github.com/openai/openai-agents-python/issues/5379)) ([24ebf1c](https://github.com/openai/openai-agents-python/commit/24ebf1cb0f4b3107d5350b13a1308637d3dec9ca)) +* **deps:** bump temporalio from 1.33.0 to 1.34.0 ([#5377](https://github.com/openai/openai-agents-python/issues/5377)) ([c148280](https://github.com/openai/openai-agents-python/commit/c148280f8f748552cc5b385802ef6dedd8ab6576)) +* **deps:** bump vercel-sandbox from 0.7.0 to 0.8.0 ([#5374](https://github.com/openai/openai-agents-python/issues/5374)) ([2938d87](https://github.com/openai/openai-agents-python/commit/2938d87a2837537138dc7839003317a27ed3441f)) +* **deps:** update fastapi requirement from >=0.141.1 to >=0.142.2 in /examples/realtime/twilio_sip ([#5372](https://github.com/openai/openai-agents-python/issues/5372)) ([f47d2c3](https://github.com/openai/openai-agents-python/commit/f47d2c3771f0aa2299f0cd63c2cbebae95f6599a)) +* **deps:** update fastapi requirement in /examples/realtime/twilio_sip ([f47d2c3](https://github.com/openai/openai-agents-python/commit/f47d2c3771f0aa2299f0cd63c2cbebae95f6599a)) +* **deps:** update openai requirement from <4,>=3.19.1 to >=3.20.0,<4 in /examples/realtime/twilio_sip ([#5308](https://github.com/openai/openai-agents-python/issues/5308)) ([f346950](https://github.com/openai/openai-agents-python/commit/f3469502299006f49a84cbba66c658cadf39cccc)) +* **deps:** update openai requirement from <4,>=3.20.0 to >=3.26.0,<4 in /examples/realtime/twilio_sip ([#5376](https://github.com/openai/openai-agents-python/issues/5376)) ([172ff5e](https://github.com/openai/openai-agents-python/commit/172ff5e1dbc5b42f5b302e3f66226eac1a54b96d)) +* **deps:** update openai requirement in /examples/realtime/twilio_sip ([172ff5e](https://github.com/openai/openai-agents-python/commit/172ff5e1dbc5b42f5b302e3f66226eac1a54b96d)) +* **deps:** update openai requirement in /examples/realtime/twilio_sip ([f346950](https://github.com/openai/openai-agents-python/commit/f3469502299006f49a84cbba66c658cadf39cccc)) +* **deps:** update pyjwt requirement from >=2.15.0 to >=2.15.1 in /examples/realtime/twilio ([#5306](https://github.com/openai/openai-agents-python/issues/5306)) ([7ca3c44](https://github.com/openai/openai-agents-python/commit/7ca3c444857ed5316a9c9782d121ab6500201c11)) +* **deps:** update pyjwt requirement in /examples/realtime/twilio ([7ca3c44](https://github.com/openai/openai-agents-python/commit/7ca3c444857ed5316a9c9782d121ab6500201c11)) +* **deps:** update python-dotenv requirement ([408c33f](https://github.com/openai/openai-agents-python/commit/408c33fec202c8260c83236e2f09e0f8f802e025)) +* **deps:** update python-dotenv requirement from >=1.2.3 to >=1.2.4 in /examples/realtime/twilio ([#5373](https://github.com/openai/openai-agents-python/issues/5373)) ([c4cc409](https://github.com/openai/openai-agents-python/commit/c4cc409d057893eccbddc609c79499f1ac227958)) +* **deps:** update python-dotenv requirement from >=1.2.3 to >=1.2.4 in /examples/realtime/twilio_sip ([#5371](https://github.com/openai/openai-agents-python/issues/5371)) ([408c33f](https://github.com/openai/openai-agents-python/commit/408c33fec202c8260c83236e2f09e0f8f802e025)) +* **deps:** update python-dotenv requirement in /examples/realtime/twilio ([c4cc409](https://github.com/openai/openai-agents-python/commit/c4cc409d057893eccbddc609c79499f1ac227958)) +* **deps:** update twilio requirement from <10,>=9.11.1 to >=9.11.2,<10 in /examples/realtime/twilio ([#5307](https://github.com/openai/openai-agents-python/issues/5307)) ([cb03652](https://github.com/openai/openai-agents-python/commit/cb03652e59eedb2a9979fa40260511e26e942956)) +* **deps:** update twilio requirement in /examples/realtime/twilio ([cb03652](https://github.com/openai/openai-agents-python/commit/cb03652e59eedb2a9979fa40260511e26e942956)) +* **deps:** update uvicorn requirement from >=0.53.0 to >=0.54.0 in /examples/realtime/twilio_sip ([#5309](https://github.com/openai/openai-agents-python/issues/5309)) ([f84fe73](https://github.com/openai/openai-agents-python/commit/f84fe73873e0497938ac0370a5a6bf2020b470ad)) +* **deps:** update uvicorn requirement in /examples/realtime/twilio_sip ([f84fe73](https://github.com/openai/openai-agents-python/commit/f84fe73873e0497938ac0370a5a6bf2020b470ad)) +* **examples:** render realtime tool events as text ([#5283](https://github.com/openai/openai-agents-python/issues/5283)) ([81f0ccf](https://github.com/openai/openai-agents-python/commit/81f0ccf20c6e24063b9da36fa37f2bdb6a43d8d3)) +* honor Runner tracing opt-out inside caller traces ([#5296](https://github.com/openai/openai-agents-python/issues/5296)) ([8c4aa08](https://github.com/openai/openai-agents-python/commit/8c4aa0814fa19fb9f20f6f020d860b8439e60d64)) +* **memory:** replace Redis compaction history atomically ([#5354](https://github.com/openai/openai-agents-python/issues/5354)) ([f50525c](https://github.com/openai/openai-agents-python/commit/f50525c8d7a77fd0935a01f27cb8231ed6e53670)) +* omit unserializable dataclass run contexts ([#5303](https://github.com/openai/openai-agents-python/issues/5303)) ([d7e52c3](https://github.com/openai/openai-agents-python/commit/d7e52c375021248973f60ccbea8e7b69bc5b16e3)) +* preserve caller-owned exceptions during sandbox redaction ([#5367](https://github.com/openai/openai-agents-python/issues/5367)) ([2244e9f](https://github.com/openai/openai-agents-python/commit/2244e9fe302a91b9e9ca97624e273166b8d8bca1)) +* preserve completed tool outputs when a sibling fails ([#5332](https://github.com/openai/openai-agents-python/issues/5332)) ([1c1a28d](https://github.com/openai/openai-agents-python/commit/1c1a28df92f359dded4eed83976301c2f9850e89)) +* preserve embedded separators in sandbox patches ([#5365](https://github.com/openai/openai-agents-python/issues/5365)) ([67d4f8a](https://github.com/openai/openai-agents-python/commit/67d4f8ab893ec41e1fac2393c610a1f6e1f4e0b7)) +* preserve function-call aliases across RunState restoration ([#5358](https://github.com/openai/openai-agents-python/issues/5358)) ([f093ced](https://github.com/openai/openai-agents-python/commit/f093ced7b0112b0f9c6e8962bc930102bf5af98b)) +* Preserve parameter descriptions in Args-only docstrings ([#5302](https://github.com/openai/openai-agents-python/issues/5302)) ([a726a9c](https://github.com/openai/openai-agents-python/commit/a726a9c99d4d9d7168ea85c8942f65a4cac13a7b)) +* preserve RunState agent ownership across hook state changes ([#5362](https://github.com/openai/openai-agents-python/issues/5362)) ([d8e0a76](https://github.com/openai/openai-agents-python/commit/d8e0a769b6a32ab580f9c55bf9bc2a85512c0754)) +* preserve tool outputs after callback failures ([#5318](https://github.com/openai/openai-agents-python/issues/5318)) ([71c2da4](https://github.com/openai/openai-agents-python/commit/71c2da4de47159ccc37905b8fe781be805dbfa66)) +* recover from invalid sandbox tool arguments ([#5321](https://github.com/openai/openai-agents-python/issues/5321)) ([6ba967b](https://github.com/openai/openai-agents-python/commit/6ba967bbf4bf4c6a939e14492bbdc63511022817)) +* reject pending input when completed stop tools end resume ([#5366](https://github.com/openai/openai-agents-python/issues/5366)) ([5a30187](https://github.com/openai/openai-agents-python/commit/5a30187df904533fe2dbb500d6a6425f0c98b3a2)) +* reject unsupported Redis Cluster session clients early ([#5323](https://github.com/openai/openai-agents-python/issues/5323)) ([911f106](https://github.com/openai/openai-agents-python/commit/911f106d9987a61a59654b046b6e891b212b00e3)) +* scope Redis Cluster rejection to transactional writes ([#5361](https://github.com/openai/openai-agents-python/issues/5361)) ([8068c37](https://github.com/openai/openai-agents-python/commit/8068c37388e2b39268f0aa7e5b9fb0f35d25b73a)) +* **sessions:** persist deferred approval history across resumes ([#4828](https://github.com/openai/openai-agents-python/issues/4828)) ([c757a43](https://github.com/openai/openai-agents-python/commit/c757a4346214ac8641e68f5cf5880530344d0520)) +* trace approved tools inside the resumed agent span ([#5294](https://github.com/openai/openai-agents-python/issues/5294)) ([cf89d7e](https://github.com/openai/openai-agents-python/commit/cf89d7ebdae8641bfca8f0152e08f62b12396c10)) +* **tracing:** omit caller data from lifecycle debug logs ([#5299](https://github.com/openai/openai-agents-python/issues/5299)) ([d27abe8](https://github.com/openai/openai-agents-python/commit/d27abe8972408a638e97422e9fd8066445bb7b21)) +* warn about unhandled computer safety checks ([#5305](https://github.com/openai/openai-agents-python/issues/5305)) ([2c11c22](https://github.com/openai/openai-agents-python/commit/2c11c224f4cd2a500d064814269c25c0b2a01029)) + ## [0.23.1](https://github.com/openai/openai-agents-python/compare/v0.23.0...v0.23.1) (2026-10-02) diff --git a/pyproject.toml b/pyproject.toml index 13b925cace..2fda55bf0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openai-agents" -version = "0.23.1" +version = "0.24.0" description = "OpenAI Agents SDK" readme = "README.md" requires-python = ">=3.10" diff --git a/src/agents/version.py b/src/agents/version.py index 5c4963f3b0..39dead730b 100644 --- a/src/agents/version.py +++ b/src/agents/version.py @@ -4,4 +4,4 @@ __version__ = importlib.metadata.version("openai-agents") except importlib.metadata.PackageNotFoundError: # Fallback if running from source without being installed - __version__ = "0.23.1" + __version__ = "0.24.0" diff --git a/tests/fixtures/released_api_contract.json b/tests/fixtures/released_api_contract.json index 78b7e0fecb..268af7ece3 100644 --- a/tests/fixtures/released_api_contract.json +++ b/tests/fixtures/released_api_contract.json @@ -1,6 +1,6 @@ { - "baseline": "v0.23.1", - "baseline_commit": "b31b9f8d13d49142a64f8873f2cc2ee40441a795", + "baseline": "v0.24.0", + "baseline_commit": "7d7f70391ce12ac86d39deaff5d5d25b9e9c24c1", "callables": { "Agent": { "dataclass_fields": [ @@ -2912,6 +2912,15 @@ }, "kind": "KEYWORD_ONLY", "name": "_mcp_tool_binding" + }, + { + "default": { + "kind": "literal", + "type": "builtins.NoneType", + "value": null + }, + "kind": "KEYWORD_ONLY", + "name": "_mcp_annotations" } ] }, @@ -11755,6 +11764,15 @@ }, "init": true, "name": "run_context" + }, + { + "default": { + "kind": "literal", + "type": "builtins.NoneType", + "value": null + }, + "init": true, + "name": "error" } ], "kind": "class", @@ -11801,6 +11819,15 @@ }, "kind": "POSITIONAL_OR_KEYWORD", "name": "run_context" + }, + { + "default": { + "kind": "literal", + "type": "builtins.NoneType", + "value": null + }, + "kind": "POSITIONAL_OR_KEYWORD", + "name": "error" } ] }, diff --git a/uv.lock b/uv.lock index 451f205d38..412e6374dc 100644 --- a/uv.lock +++ b/uv.lock @@ -2735,7 +2735,7 @@ wheels = [ [[package]] name = "openai-agents" -version = "0.23.1" +version = "0.24.0" source = { editable = "." } dependencies = [ { name = "griffelib" },