Commit 70650697
Changed files (4)
src/openai/_version.py
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
__title__ = "openai"
-__version__ = "1.109.1" # x-release-please-version
+__version__ = "2.0.0" # x-release-please-version
.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "1.109.1"
+ ".": "2.0.0"
}
\ No newline at end of file
CHANGELOG.md
@@ -1,5 +1,17 @@
# Changelog
+## 2.0.0 (2025-09-30)
+
+Full Changelog: [v1.109.1...v2.0.0](https://github.com/openai/openai-python/compare/v1.109.1...v2.0.0)
+
+### ⚠ BREAKING CHANGES
+
+* **api:** `ResponseFunctionToolCallOutputItem.output` and `ResponseCustomToolCallOutput.output` now return `string | Array<ResponseInputText | ResponseInputImage | ResponseInputFile>` instead of `string` only. This may break existing callsites that assume `output` is always a string.
+
+### Features
+
+* **api:** Support images and files for function call outputs in responses, BatchUsage ([4105376](https://github.com/openai/openai-python/commit/4105376a60293581371fd5635b805b717d24aa19))
+
## 1.109.1 (2025-09-24)
Full Changelog: [v1.109.0...v1.109.1](https://github.com/openai/openai-python/compare/v1.109.0...v1.109.1)
pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "openai"
-version = "1.109.1"
+version = "2.0.0"
description = "The official Python library for the openai API"
dynamic = ["readme"]
license = "Apache-2.0"