diff --git a/docs/release.md b/docs/release.md index a86103f96..8498c8b17 100644 --- a/docs/release.md +++ b/docs/release.md @@ -19,6 +19,10 @@ We will increment `Z` for non-breaking changes: ## Breaking change changelog +### 0.2.0 + +In this version, a few places that used to take `Agent` as an arg, now take `AgentBase` as an arg instead. For example, the `list_tools()` call in MCP servers. This is a purely typing change, you will still receive `Agent` objects. To update, just fix type errors by replacing `Agent` with `AgentBase`. + ### 0.1.0 In this version, [`MCPServer.list_tools()`][agents.mcp.server.MCPServer] has two new params: `run_context` and `agent`. You'll need to add these params to any classes that subclass `MCPServer`. diff --git a/pyproject.toml b/pyproject.toml index dfceb88f9..0f9b70852 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openai-agents" -version = "0.1.0" +version = "0.2.0" description = "OpenAI Agents SDK" readme = "README.md" requires-python = ">=3.9" diff --git a/uv.lock b/uv.lock index c6d04a424..7d0621d88 100644 --- a/uv.lock +++ b/uv.lock @@ -1480,7 +1480,7 @@ wheels = [ [[package]] name = "openai-agents" -version = "0.1.0" +version = "0.2.0" source = { editable = "." } dependencies = [ { name = "griffe" },