|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 2.24.0 (2026-02-24) |
| 4 | + |
| 5 | +Full Changelog: [v2.23.0...v2.24.0](https://github.com/openai/openai-python/compare/v2.23.0...v2.24.0) |
| 6 | + |
| 7 | +### Features |
| 8 | + |
| 9 | +* **api:** add phase ([391deb9](https://github.com/openai/openai-python/commit/391deb99f6a92e51bffb25efd8dfe367d144bb9d)) |
| 10 | + |
| 11 | + |
| 12 | +### Bug Fixes |
| 13 | + |
| 14 | +* **api:** fix phase enum ([42ebf7c](https://github.com/openai/openai-python/commit/42ebf7c30b7e27a175c0d75fcf42c8dc858e56d6)) |
| 15 | +* **api:** phase docs ([7ddc61c](https://github.com/openai/openai-python/commit/7ddc61cd0f7825d5e7f3a10daf809135511d8d20)) |
| 16 | + |
| 17 | + |
| 18 | +### Chores |
| 19 | + |
| 20 | +* **internal:** make `test_proxy_environment_variables` more resilient to env ([65af8fd](https://github.com/openai/openai-python/commit/65af8fd8550e99236e3f4dcb035312441788157a)) |
| 21 | +* **internal:** refactor sse event parsing ([2344600](https://github.com/openai/openai-python/commit/23446008f06fb474d8c75d14a1bce26f4c5b95d8)) |
| 22 | + |
| 23 | +## 2.23.0 (2026-02-24) |
| 24 | + |
| 25 | +Full Changelog: [v2.22.0...v2.23.0](https://github.com/openai/openai-python/compare/v2.22.0...v2.23.0) |
| 26 | + |
| 27 | +### Features |
| 28 | + |
| 29 | +* **api:** add gpt-realtime-1.5 and gpt-audio-1.5 model options to realtime calls ([3300b61](https://github.com/openai/openai-python/commit/3300b61e1d5a34c9d28ec9cebbebd0de1fa93aa6)) |
| 30 | + |
| 31 | + |
| 32 | +### Chores |
| 33 | + |
| 34 | +* **internal:** make `test_proxy_environment_variables` more resilient ([6b441e2](https://github.com/openai/openai-python/commit/6b441e2c43df60a773f62308e918d76b8eb3c4d3)) |
| 35 | + |
| 36 | +## 2.22.0 (2026-02-23) |
| 37 | + |
| 38 | +Full Changelog: [v2.21.0...v2.22.0](https://github.com/openai/openai-python/compare/v2.21.0...v2.22.0) |
| 39 | + |
| 40 | +### Features |
| 41 | + |
| 42 | +* **api:** websockets for responses api ([c01f6fb](https://github.com/openai/openai-python/commit/c01f6fb0d55b7454f73c4904ea7a1954553085dc)) |
| 43 | + |
| 44 | + |
| 45 | +### Chores |
| 46 | + |
| 47 | +* **internal:** add request options to SSE classes ([cdb4315](https://github.com/openai/openai-python/commit/cdb4315ee29d5260bb373625d74cb523b4e3859c)) |
| 48 | +* update mock server docs ([91f4da8](https://github.com/openai/openai-python/commit/91f4da80ec3dba5d3566961560dfd6feb9c2feb0)) |
| 49 | + |
| 50 | + |
| 51 | +### Documentation |
| 52 | + |
| 53 | +* **api:** add batch size limit to file_batches parameter descriptions ([16ae76a](https://github.com/openai/openai-python/commit/16ae76a20a47f94c91ee2ca0b2ada274633abab3)) |
| 54 | +* **api:** enhance method descriptions across audio, chat, realtime, skills, uploads, videos ([21f9e5a](https://github.com/openai/openai-python/commit/21f9e5aaf6ae27f0235fddb3ffa30fe73337f59b)) |
| 55 | +* **api:** update safety_identifier documentation in chat completions and responses ([d74bfff](https://github.com/openai/openai-python/commit/d74bfff62c1c2b32d4dc88fd47ae7b1b2a962017)) |
| 56 | + |
| 57 | +## 2.21.0 (2026-02-13) |
| 58 | + |
| 59 | +Full Changelog: [v2.20.0...v2.21.0](https://github.com/openai/openai-python/compare/v2.20.0...v2.21.0) |
| 60 | + |
| 61 | +### Features |
| 62 | + |
| 63 | +* **api:** container network_policy and skills ([d19de2e](https://github.com/openai/openai-python/commit/d19de2ee5c74413f9dc52684b650df1898dee82b)) |
| 64 | + |
| 65 | + |
| 66 | +### Bug Fixes |
| 67 | + |
| 68 | +* **structured outputs:** resolve memory leak in parse methods ([#2860](https://github.com/openai/openai-python/issues/2860)) ([6dcbe21](https://github.com/openai/openai-python/commit/6dcbe211f12f8470db542a5cb95724cb933786dd)) |
| 69 | +* **webhooks:** preserve method visibility for compatibility checks ([44a8936](https://github.com/openai/openai-python/commit/44a8936d580b770f23fae79659101a27eadafad6)) |
| 70 | + |
| 71 | + |
| 72 | +### Chores |
| 73 | + |
| 74 | +* **internal:** fix lint error on Python 3.14 ([534f215](https://github.com/openai/openai-python/commit/534f215941f504443d63509e872409a0b1236452)) |
| 75 | + |
| 76 | + |
| 77 | +### Documentation |
| 78 | + |
| 79 | +* split `api.md` by standalone resources ([96e41b3](https://github.com/openai/openai-python/commit/96e41b398a110212ddec71436b2439343bea87d4)) |
| 80 | +* update comment ([63def23](https://github.com/openai/openai-python/commit/63def23b7acd5c6dacf03337fe1bd08439d1dba8)) |
| 81 | + |
| 82 | +## 2.20.0 (2026-02-10) |
| 83 | + |
| 84 | +Full Changelog: [v2.19.0...v2.20.0](https://github.com/openai/openai-python/compare/v2.19.0...v2.20.0) |
| 85 | + |
| 86 | +### Features |
| 87 | + |
| 88 | +* **api:** support for images in batch api ([28edb6e](https://github.com/openai/openai-python/commit/28edb6e1b7eb30dbb7be49979cee7882e8889264)) |
| 89 | + |
| 90 | +## 2.19.0 (2026-02-10) |
| 91 | + |
| 92 | +Full Changelog: [v2.18.0...v2.19.0](https://github.com/openai/openai-python/compare/v2.18.0...v2.19.0) |
| 93 | + |
| 94 | +### Features |
| 95 | + |
| 96 | +* **api:** skills and hosted shell ([27fdf68](https://github.com/openai/openai-python/commit/27fdf6820655b5994e3c1eddb3c8d9344a8be744)) |
| 97 | + |
| 98 | + |
| 99 | +### Chores |
| 100 | + |
| 101 | +* **internal:** bump dependencies ([fae10fd](https://github.com/openai/openai-python/commit/fae10fd6e936a044f8393a454a39906aa325a893)) |
| 102 | + |
| 103 | +## 2.18.0 (2026-02-09) |
| 104 | + |
| 105 | +Full Changelog: [v2.17.0...v2.18.0](https://github.com/openai/openai-python/compare/v2.17.0...v2.18.0) |
| 106 | + |
| 107 | +### Features |
| 108 | + |
| 109 | +* **api:** add context_management to responses ([137e992](https://github.com/openai/openai-python/commit/137e992b80956401d1867274fa7a0969edfdba54)) |
| 110 | +* **api:** responses context_management ([c3bd017](https://github.com/openai/openai-python/commit/c3bd017318347af0a0105a7e975c8d91e22f7941)) |
| 111 | + |
| 112 | +## 2.17.0 (2026-02-05) |
| 113 | + |
| 114 | +Full Changelog: [v2.16.0...v2.17.0](https://github.com/openai/openai-python/compare/v2.16.0...v2.17.0) |
| 115 | + |
| 116 | +### Features |
| 117 | + |
| 118 | +* **api:** add shell_call_output status field ([1bbaf88](https://github.com/openai/openai-python/commit/1bbaf8865000b338c24c9fdd5e985183feaca10f)) |
| 119 | +* **api:** image generation actions for responses; ResponseFunctionCallArgumentsDoneEvent.name ([7d96513](https://github.com/openai/openai-python/commit/7d965135f93f41b0c3dbf3dc9f01796bd9645b6c)) |
| 120 | +* **client:** add custom JSON encoder for extended type support ([9f43c8b](https://github.com/openai/openai-python/commit/9f43c8b1a1641db2336cc6d0ec0c6dc470a89103)) |
| 121 | + |
| 122 | + |
| 123 | +### Bug Fixes |
| 124 | + |
| 125 | +* **client:** undo change to web search Find action ([8f14eb0](https://github.com/openai/openai-python/commit/8f14eb0a74363fdfc648c5cd5c6d34a85b938d3c)) |
| 126 | +* **client:** update type for `find_in_page` action ([ec54dde](https://github.com/openai/openai-python/commit/ec54ddeb357e49edd81cc3fe53d549c297e59a07)) |
| 127 | + |
| 128 | +## 2.16.0 (2026-01-27) |
| 129 | + |
| 130 | +Full Changelog: [v2.15.0...v2.16.0](https://github.com/openai/openai-python/compare/v2.15.0...v2.16.0) |
| 131 | + |
| 132 | +### Features |
| 133 | + |
| 134 | +* **api:** api update ([b97f9f2](https://github.com/openai/openai-python/commit/b97f9f26b9c46ca4519130e60a8bf12ad8d52bf3)) |
| 135 | +* **api:** api updates ([9debcc0](https://github.com/openai/openai-python/commit/9debcc02370f5b76a6a609ded18fbf8dea87b9cb)) |
| 136 | +* **client:** add support for binary request streaming ([49561d8](https://github.com/openai/openai-python/commit/49561d88279628bc400d1b09aa98765b67018ef1)) |
| 137 | + |
| 138 | + |
| 139 | +### Bug Fixes |
| 140 | + |
| 141 | +* **api:** mark assistants as deprecated ([0419cbc](https://github.com/openai/openai-python/commit/0419cbcbf1021131c7492321436ed01ca4337835)) |
| 142 | + |
| 143 | + |
| 144 | +### Chores |
| 145 | + |
| 146 | +* **ci:** upgrade `actions/github-script` ([5139f13](https://github.com/openai/openai-python/commit/5139f13ef35e64dadc65f2ba2bab736977985769)) |
| 147 | +* **internal:** update `actions/checkout` version ([f276714](https://github.com/openai/openai-python/commit/f2767144c11833070c0579063ed33918089b4617)) |
| 148 | + |
| 149 | + |
| 150 | +### Documentation |
| 151 | + |
| 152 | +* **examples:** update Azure Realtime sample to use v1 API ([#2829](https://github.com/openai/openai-python/issues/2829)) ([3b31981](https://github.com/openai/openai-python/commit/3b319819544d629c5b8c206b8b1f6ec6328c6136)) |
| 153 | + |
| 154 | +## 2.15.0 (2026-01-09) |
| 155 | + |
| 156 | +Full Changelog: [v2.14.0...v2.15.0](https://github.com/openai/openai-python/compare/v2.14.0...v2.15.0) |
| 157 | + |
| 158 | +### Features |
| 159 | + |
| 160 | +* **api:** add new Response completed_at prop ([f077752](https://github.com/openai/openai-python/commit/f077752f4a8364a74f784f8fb1cbe31277e1762b)) |
| 161 | + |
| 162 | + |
| 163 | +### Chores |
| 164 | + |
| 165 | +* **internal:** codegen related update ([e7daba6](https://github.com/openai/openai-python/commit/e7daba6662a3c30f73d991e96cb19d2b54d772e0)) |
| 166 | + |
| 167 | +## 2.14.0 (2025-12-19) |
| 168 | + |
| 169 | +Full Changelog: [v2.13.0...v2.14.0](https://github.com/openai/openai-python/compare/v2.13.0...v2.14.0) |
| 170 | + |
| 171 | +### Features |
| 172 | + |
| 173 | +* **api:** slugs for new audio models; make all `model` params accept strings ([e517792](https://github.com/openai/openai-python/commit/e517792b58d1768cfb3432a555a354ae0a9cfa21)) |
| 174 | + |
| 175 | + |
| 176 | +### Bug Fixes |
| 177 | + |
| 178 | +* use async_to_httpx_files in patch method ([a6af9ee](https://github.com/openai/openai-python/commit/a6af9ee5643197222f328d5e73a80ab3515c32e2)) |
| 179 | + |
| 180 | + |
| 181 | +### Chores |
| 182 | + |
| 183 | +* **internal:** add `--fix` argument to lint script ([93107ef](https://github.com/openai/openai-python/commit/93107ef36abcfd9c6b1419533a1720031f03caec)) |
| 184 | + |
| 185 | +## 2.13.0 (2025-12-16) |
| 186 | + |
| 187 | +Full Changelog: [v2.12.0...v2.13.0](https://github.com/openai/openai-python/compare/v2.12.0...v2.13.0) |
| 188 | + |
| 189 | +### Features |
| 190 | + |
| 191 | +* **api:** gpt-image-1.5 ([1c88f03](https://github.com/openai/openai-python/commit/1c88f03bb48aa67426744e5b74f6197f30f61c73)) |
| 192 | + |
| 193 | + |
| 194 | +### Chores |
| 195 | + |
| 196 | +* **ci:** add CI job to detect breaking changes with the Agents SDK ([#1436](https://github.com/openai/openai-python/issues/1436)) ([237c91e](https://github.com/openai/openai-python/commit/237c91ee6738b6764b139fd7afa68294d3ee0153)) |
| 197 | +* **internal:** add missing files argument to base client ([e6d6fd5](https://github.com/openai/openai-python/commit/e6d6fd5989d76358ea5d9abb5949aa87646cbef6)) |
| 198 | + |
| 199 | +## 2.12.0 (2025-12-15) |
| 200 | + |
| 201 | +Full Changelog: [v2.11.0...v2.12.0](https://github.com/openai/openai-python/compare/v2.11.0...v2.12.0) |
| 202 | + |
| 203 | +### Features |
| 204 | + |
| 205 | +* **api:** api update ([a95c4d0](https://github.com/openai/openai-python/commit/a95c4d0952ff5eb767206574e687cb029a49a4ab)) |
| 206 | +* **api:** fix grader input list, add dated slugs for sora-2 ([b2c389b](https://github.com/openai/openai-python/commit/b2c389bf5c3bde50bac2d9f60cce58f4aef44a41)) |
| 207 | + |
| 208 | +## 2.11.0 (2025-12-11) |
| 209 | + |
| 210 | +Full Changelog: [v2.10.0...v2.11.0](https://github.com/openai/openai-python/compare/v2.10.0...v2.11.0) |
| 211 | + |
| 212 | +### Features |
| 213 | + |
| 214 | +* **api:** gpt 5.2 ([dd9b8e8](https://github.com/openai/openai-python/commit/dd9b8e85cf91fe0d7470143fba10fe950ec740c4)) |
| 215 | + |
| 216 | +## 2.10.0 (2025-12-10) |
| 217 | + |
| 218 | +Full Changelog: [v2.9.0...v2.10.0](https://github.com/openai/openai-python/compare/v2.9.0...v2.10.0) |
| 219 | + |
| 220 | +### Features |
| 221 | + |
| 222 | +* **api:** make model required for the responses/compact endpoint ([a12936b](https://github.com/openai/openai-python/commit/a12936b18cf19009d4e6d586c9b1958359636dbe)) |
| 223 | + |
| 224 | + |
| 225 | +### Bug Fixes |
| 226 | + |
| 227 | +* **types:** allow pyright to infer TypedDict types within SequenceNotStr ([8f0d230](https://github.com/openai/openai-python/commit/8f0d23066c1edc38a6e9858b054dceaf92ae001b)) |
| 228 | + |
| 229 | + |
| 230 | +### Chores |
| 231 | + |
| 232 | +* add missing docstrings ([f20a9a1](https://github.com/openai/openai-python/commit/f20a9a18a421ba69622c77ab539509d218e774eb)) |
| 233 | +* **internal:** update docstring ([9a993f2](https://github.com/openai/openai-python/commit/9a993f2261b6524aa30b955e006c7ea89f086968)) |
| 234 | + |
| 235 | +## 2.9.0 (2025-12-04) |
| 236 | + |
| 237 | +Full Changelog: [v2.8.1...v2.9.0](https://github.com/openai/openai-python/compare/v2.8.1...v2.9.0) |
| 238 | + |
| 239 | +### Features |
| 240 | + |
| 241 | +* **api:** gpt-5.1-codex-max and responses/compact ([22f646e](https://github.com/openai/openai-python/commit/22f646e985b7c93782cf695edbe643844cae7017)) |
| 242 | + |
| 243 | + |
| 244 | +### Bug Fixes |
| 245 | + |
| 246 | +* **client:** avoid mutating user-provided response config object ([#2700](https://github.com/openai/openai-python/issues/2700)) ([e040d22](https://github.com/openai/openai-python/commit/e040d22c2df068e908f69dc6b892e7f8b3fe6e99)) |
| 247 | +* ensure streams are always closed ([0b1a27f](https://github.com/openai/openai-python/commit/0b1a27f08639d14dfe40bf80b48e2b8a1a51593c)) |
| 248 | +* **streaming:** correct indentation ([575bbac](https://github.com/openai/openai-python/commit/575bbac13b3a57731a4e07b67636ae94463d43fa)) |
| 249 | + |
| 250 | + |
| 251 | +### Chores |
| 252 | + |
| 253 | +* **deps:** mypy 1.18.1 has a regression, pin to 1.17 ([22cd586](https://github.com/openai/openai-python/commit/22cd586dbd5484b47f625da55db697691116b22b)) |
| 254 | +* **docs:** use environment variables for authentication in code snippets ([c2a3cd5](https://github.com/openai/openai-python/commit/c2a3cd502bfb03f68f62f50aed15a40458c0996e)) |
| 255 | +* **internal:** codegen related update ([307a066](https://github.com/openai/openai-python/commit/307a0664383b9d1d4151bc1a05a78c4fdcdcc9b0)) |
| 256 | +* update lockfile ([b4109c5](https://github.com/openai/openai-python/commit/b4109c5fcf971ccfb25b4bdaef0bf36999f9eca5)) |
| 257 | + |
3 | 258 | ## 2.8.1 (2025-11-17) |
4 | 259 |
|
5 | 260 | Full Changelog: [v2.8.0...v2.8.1](https://github.com/openai/openai-python/compare/v2.8.0...v2.8.1) |
|
0 commit comments