All areas Feed Weekly digests

sdk

The tracked changes tagged sdk, newest release first. Every sentence is an item's summary.

289 items from 99 releases, 27 breaking Sources: Claude Code, Claude Platform, MCP reference servers, MCP TypeScript SDK, MCP Python SDK, Codex, OpenAI Python SDK, Google GenAI Python SDK, Gemini CLI, Cursor Last change:

Goes with

Changes

Claude Code v2.1.332

  1. breaking Breaking

    SDK and claude -p mid-turn messages count as the user's where feature flags are not fetched, from Opus 4.8 on; relayed text must be marked isSynthetic: true.

  2. fix

    Fixed Remote Control showing a session in the desktop app, VS Code or the Agent SDK as running while it waited on a dialog or an MCP server's question.

  3. fix

    Fixed a usage limit being reported as reached to Remote Control, IDE and SDK clients after it had already reset.

  4. fix

    Fixed headless and cloud sessions reporting a foreground fork's Agent call as finished the moment the fork started.

  5. fix

    Fixed Code Mode not telling Claude when a slow command moved to the background with empty output, or about the time limit on background commands in claude -p and the Agent SDK.

+2 more
  1. fix

    Fixed Code Mode sessions in the Agent SDK and claude -p sometimes losing Claude's last reply on resume after being stopped while a script ran.

  2. performance

    Improved memory use of claude -p and SDK-hosted sessions at the start of a conversation.

Codex 0.172.0

  1. other

    Python formatting and SDK type generation verify dependency hashes against the repository lockfile.

OpenAI Python SDK v3.58.0

  1. feature

    Adds the ability to set and read agent session spending limits through the API.

Claude Code v2.1.330

  1. fix

    Fixed Claude waiting for a background agent that was stopped just as it finished, in sessions run by an app or the SDK.

OpenAI Python SDK v3.57.0

  1. feature

    Adds support for Live WebRTC standby in the API.

Claude Code v2.1.329

  1. performance

    Improved memory use of idle Claude Desktop and SDK sessions after a long turn, and after --resume or --continue of a session holding screenshots or large tool results.

OpenAI Python SDK v3.56.0

  1. feature

    Added gpt-live-1.1 as a Live model choice in the API.

Claude Code v2.1.328

  1. feature

    Apps that embed Claude Code can enable the policy plugin's allowManagedModsOnly option; admin managed settings still take precedence.

  2. fix

    The model no longer says background agents are still running after an SDK interrupt has stopped them.

  3. fix

    Send now in the desktop app and SDK hosts no longer tells Claude that a stopped web search found no results.

  4. performance

    claude -p and SDK sessions fetch managed-settings plugins that have their own git repository in the background, for a later session.

  5. performance

    Managed-settings plugins from a git marketplace load sooner on a fresh machine in claude -p, SDK and Claude Desktop sessions; a short run may exit up to 30 seconds later.

+3 more
  1. performance

    Long SDK and desktop sessions that run slow commands or tools use less memory and respond faster.

  2. other

    Subagents in claude -p, the Agent SDK, desktop and VS Code wait for their own subagents by default when CLAUDE_CODE_FORK_SUBAGENT=0 is set.

  3. other

    Claude Desktop and Agent SDK sessions on third-party providers, or with telemetry or feature flags off, end the turn when closed with a question open instead of continuing without an answer.

Google GenAI Python SDK v3.6.1

  1. fix

    Updated the SDK enum definitions.

    sdk

MCP reference servers v2.5.0

  1. feature

    All reference servers serve Streamable HTTP.

Google GenAI Python SDK v3.6.0

  1. feature

    Added tool retrieval and function result schemas to the public SDK.

    sdk

Google GenAI Python SDK v3.5.0

  1. feature

    Introduces a self-hosted BYOS mode, system_instruction, custom_config, and environment_key in the SDKs and CLI.

  2. feature

    Generates Live Interactions types and an auth-token client in the public SDKs.

  3. feature

    Adds experimental Live Interactions support over WebSocket and WebRTC in the SDK.

  4. fix

    Parses datetime, date, time, timedelta, and UUID string arguments in automatic function calling (refs #3331).

Claude Code v2.1.327

  1. fix

    Fixed headless sessions losing stored messages on resume when a message was sent again with the same UUID after the process was killed.

  2. fix

    Fixed a new artifact being refused after an Agent SDK app approved it, in organizations requiring approval of each new artifact.

OpenAI Python SDK v3.54.0

  1. feature

    Added typed definitions for Managed Agents budget events in the API types.

Claude Code v2.1.326

  1. breaking Breaking

    Commands in a permission hook or SDK host rewrite stay in the sandbox if the original was checked as sandboxed; the approver can add dangerouslyDisableSandbox: true.

  2. breaking Breaking

    The Claude Code /claude-api skill builds agents on Managed Agents by default unless the agent loop is hosted directly.

  3. fix

    A tool call to an MCP server an SDK host just removed no longer reconnects to it or reports that it needs authentication.

  4. other

    Claude Code Desktop and Agent SDK apps apply managed autoMode.environment replacement as described for managed settings.

Google GenAI Python SDK v3.4.0

  1. feature

    Adds tool search types to the Interactions SDKs.

  2. deprecation

    Deprecates non-interactions names in google.genai.interactions.

  3. feature

    Exposes static file processing options in the interactions module.

  4. feature

    Adds support for batch inputs and usage metadata for Gemini embedding models on the Gemini Enterprise API.

  5. fix

    Awaits asyncio.sleep in the async HTTPX upload retry backoff.

+10 more
  1. fix

    Escapes backslashes and delimiter-breaking quotes in generated Python docstrings.

  2. fix

    Ignores braces inside JSON strings when buffering raw stream lines.

  3. fix

    Keeps one httpx connection pool per event loop in AsyncHttpxClient and AsyncHttpx2Client.

  4. fix

    Merges case variants of User-Agent and x-goog-api-client headers.

  5. fix

    Removes the per-line length cap when reading aiohttp SSE streams.

  6. fix

    Resolves $defs references per path in process_schema for recursive union schemas.

  7. fix

    Resolves Vertex Live connect auth off the event loop and caches ADC credentials.

  8. fix

    Splits SSE stream lines on CR, LF and CRLF only.

  9. fix

    Stops the async client finalizer from scheduling an unawaited aclose task.

  10. docs

    Notes that some models are not available on v1.

OpenAI Python SDK v3.51.0

  1. feature

    Expanded API support for agents, images, Live, and external keys.

Claude Code v2.1.325

  1. breaking Breaking

    Changed -p and SDK runs in a worktree or submodule mounted into a container to apply .claude/settings.local.json allow rules only once the folder is trusted.

  2. fix

    Fixed one invalid value in an Agent SDK applyFlagSettings() call silently discarding settings from earlier calls; such a call is now refused with an error.

  3. fix

    Fixed Desktop and SDK sessions listing a folder's own .mcp.json MCP servers as host-added or not at all, and not connecting WebSocket ones, after a folder move or pre-warmed start.

  4. fix

    Fixed MCP tool calls from an SDK host answering Not connected after a tool call had reconnected the MCP server.

  5. other

    Changed Always allow in Desktop, IDE, and SDK hosts so a rule alone is offered only when saving it would allow that command again, so a scheduled task relying on one may now wait for the user.

+1 more
  1. other

    Changed /cost, $.session.usage(), --max-budget-usd, and cost and token metrics to count a mod's $.model.complete and $.model.classify calls.

Claude Code v2.1.323

  1. feature

    Added a progress heartbeat every 30 seconds while hooks run long in claude -p and SDK sessions, so hosts do not treat the turn as hung once they include this version.

  2. fix

    Fixed claude -p and the Agent SDK running Bash unsandboxed when sandbox-enabling settings fail validation; start-up now stops and names the invalid setting.

  3. fix

    Fixed load errors of managed-settings plugins in SDK and Desktop sessions going only to the debug log; init.plugin_errors now lists them.

  4. fix

    Fixed a Stop pressed right after sending a message showing as an error in remote and SDK sessions while a UserPromptSubmit or plugin prompt hook was running.

  5. fix

    Fixed an MCP server staying disconnected with no tools after an SDK app or claude -p caller removed and re-added it while a tool call tried to reach it.

+5 more
  1. fix

    Fixed SDK sessions giving an MCP server less than 2 seconds before the first turn when settings lowered CLAUDE_CODE_MCP_STARTUP_WAIT_MS after start-up.

  2. fix

    Fixed headless sessions ending when an SDK host sent a null entry in an MCP server's tools list.

  3. fix

    Fixed the Agent SDK managedSettings ignoring the Remote Control, agent view, Workflows, and Artifact off switches.

  4. fix

    Fixed an approved plan being answered with You are not in plan mode when approval arrived after the process restarted in cloud, self-hosted runner, and SDK sessions.

  5. other

    Improved the Fable limit message in -p, SDK, IDE, and cloud sessions to say when the limit resets and how to continue.

Google GenAI Python SDK v3.3.0

  1. feature

    Adds a --flavor=interactions-eap packaging option and scrubs private exports.

  2. feature

    Adds XHIGH and xhigh values to the ThinkingLevel enum across GenAI SDKs and CLI.

  3. feature

    Adds missing enum values to FinishReason and ReinforcementTuningThinkingLevel.

    sdk
  4. feature

    Adds gemini-4-hydrogen to the interactions Model enum.

Google GenAI Python SDK v3.2.0

  1. feature

    Adds the Decisions API, accessible as client.decisions.create, to the GenAI SDKs.

  2. feature

    Introduces self-hosted BYOS mode, system_instruction, custom_config, and environment_key in the SDKs and CLI.

Gemini CLI Release v0.68.0

  1. other

    SDK tests now run in PR CI, and the AgentLoopContext mock in session.test.ts was fixed.

Google GenAI Python SDK v3.1.0

  1. feature

    Adds the gemini-omni-1.2-flash model and makes it the default model for the gemini-api video.

  2. feature

    Adds proactive_video to ProactivityConfig for the Live API.

  3. feature

    Adds the xhigh thinking level to the Interactions ThinkingLevel enum.

  4. feature

    Adds usage_metadata (including traffic_type) and truncated fields to EmbedContentResponse for the Gemini Enterprise API.

  5. feature

    Adds gemini-4-carbon and gemini-omni-1.2-flash to the Interactions Model enum.

OpenAI Python SDK v3.49.0

  1. feature

    Adds typed async function tools to the API.

  2. fix

    Microphone recordings are now encoded as valid PCM WAV.

Claude Code v2.1.321

  1. breaking Breaking

    AskUserQuestion in claude -p and SDK sessions now denies a host's permission answer that sets the undocumented afkTimeoutMs input field.

  2. fix

    Apps embedding Claude Code now get their own PreToolUse hook's ask reason instead of another hook's when both asked.

  3. fix

    Project skills, commands and agents no longer disappear from the menu in SDK and desktop sessions after Claude enters a worktree.

  4. fix

    New messages are now saved, and claude -p, SDK and VS Code sessions no longer hang, when memory runs out while the transcript is read.

OpenAI Python SDK v3.48.0

  1. feature

    Adds stream options for agent sessions in the API.

  2. feature

    Recognizes the gpt-6-rosalind model in beta Responses.

Claude Code v2.1.319

  1. feature

    Added the /claude-api latency-optimize command to find slow spots in Claude API code and try faster settings against an eval.

  2. fix

    Fixed text being dropped from informational messages sent to SDK clients.

    sdk
  3. fix

    Fixed Agent SDK hosts getting a generic exit-code error instead of a failed run's own error message when the disk was full.

    sdk
  4. fix

    Fixed the /claude-api skill saying Console web settings don't apply to Managed Agents sessions, and tightened its credential and permission examples.

  5. fix

    Fixed the OpenTelemetry claude_code.session.count metric counting Agent SDK prewarm() processes that were never claimed; a pre-started process now counts once, when claimed.

+1 more
  1. other

    Updated /claude-api managed-agents-onboard templates to match the Claude Console: removed Performance tuner, renamed two, and turned off web search and fetch in five.

Codex 0.167.0

  1. feature

    Host-inherited thread instructions and execution policies are added.

  2. feature

    Non-consuming input activity waits are exposed to hosts.

    sdk

OpenAI Python SDK v3.47.0

  1. feature

    Added a model option for Responses in the API.

Claude Code v2.1.318

  1. fix

    Fixes custom slash commands that fail, or that only Claude can invoke, printing nothing in claude -p and SDK sessions.

  2. fix

    Fixes claude -p and Agent SDK sessions reporting success when an API error cut off a reply while a mod hooked turn.step.

  3. fix

    Fixes a message sent right after a model change still running after Stop in headless sessions; Stop now cancels or stops it as it would a queued message.

  4. performance

    Improves unattended runs (claude -p, SDK apps) by no longer rewriting ~/.claude.json on every run when nothing in it changed.

Claude Platform Claude Platform release notes — November 4, 2026

  1. feature

    The SDK now exposes API error codes: each API error carries the error code, message, and details, and each error code has its own exception class (a constant in Go), so callers can handle an error cause without parsing the response body.

Claude Code v2.1.317

  1. feature

    Adds onFailure set to block for Agent SDK hook callbacks, so a callback that fails blocks the action instead of letting it run.

  2. fix

    Fixes Remote Control and SDK hosts offering don't ask again on a mod's tool calls.

Claude Code v2.1.316

  1. fix

    Fixed the SDK register_repo_root control request not loading the CLAUDE.md of a directory outside the working directory when CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1.

    sdkclaude-md

Claude Code v2.1.314

  1. fix

    Fixed prompts containing tags such as bash-stdout or local-command-stdout not being acknowledged to a local stream-json host.

    sdkstream-json
  2. performance

    Improved memory use in long headless and SDK turns running many subagents, since the parent session no longer keeps each subagent's tool results until the turn ends.

Codex 0.166.0

  1. other

    Made thread item timestamps optional in TypeScript exports.

Google GenAI Python SDK v2.34.0

  1. feature

    Adds automatic_continuation to interactions.create in the Python SDK.

  2. feature

    Adds support for base_url, api_version and headers in LiveConnectConfig.http_options.

  3. feature

    Adds support for video understanding in the Gemini Developer API.

  4. fix

    Aligns SDK User-Agent and x-goog-api-client headers.

  5. fix

    Resolves PEP 563 string annotations when invoking AFC tools (refs #3156).

+1 more
  1. fix

    Stops per-request Authorization and X-Server-Timeout headers from leaking into client default headers (refs #3158).

OpenAI Python SDK v3.41.0

  1. feature

    Realtime response inputs now accept typed references.

  2. feature

    Response tool usage models were added.

  3. feature

    Agent sessions can now be filtered by metadata.

Codex 0.165.0

  1. feature

    Allowed callers to set the thread source for sampling.

    sdk
  2. other

    Bumped @modelcontextprotocol/sdk to 1.32.0.

  3. other

    Upgraded Python SDK model generation to datamodel-code-generator 0.64.0.

    sdk

OpenAI Python SDK v3.40.0

  1. other

    Updates generated-code verification and preserves SDK helpers.

Claude Code v2.1.311

  1. fix

    Fixed claude -p and SDK sessions saving transcript messages out of order or keeping messages that were taken back.

OpenAI Python SDK v3.38.0

  1. other

    Preserves client and resource compatibility.

  2. other

    Enforces zero custom code in generated Python files.

    sdk

MCP reference servers v2.1.0

  1. other

    The MCP TypeScript SDK is upgraded to 2.4.0 and the Node.js adapter to 2.1.2.

Claude Code v2.1.310

  1. performance

    Non-interactive sessions (-p, Agent SDK) use less memory during compaction when the transcript file is very large.

MCP TypeScript SDK 2.4.0

  1. breaking Breaking

    A x-mcp-header annotation on a number parameter is now rejected: the client does not list such a tool and the server answers calls to it with -32020; use z.int() or remove the annotation.

  2. breaking Breaking

    On a 2025-11-25 connection, outputSchema from z.object(...).meta({ id }) no longer wraps the result in { result }, so callers must read structuredContent instead of structuredContent.result.

  3. breaking Breaking

    The bundled Ajv validator now uses fast-uri 3.1.8, which rejects a $id or $ref with an invalid URI scheme such as my_tool:output.

  4. feature

    Adds skills over MCP (SEP-2640): servers publish a folder of skills with loadSkills(folder) and skills.attach(server), and clients list, read and verify them with SkillsClient; works on 2025-11-25 and 2026-07-28, and attach is experimental and may change in a minor release.

  5. feature

    Adds an opt-in scopeForRefresh(tokens) method on OAuthClientProvider so token refresh can include scope for authorization servers that require it; the default refresh request is unchanged.

+6 more
  1. feature

    ServerEvent now accepts optional params, allowing change notifications to be forwarded with their _meta.

  2. docs

    The v1 to v2 upgrade guide is now also available as an installable agent skill.

  3. fix

    update({ title }) on a resource or resource template now appears in list responses.

    sdkresources
  4. fix

    A Server connected to a per-request transport at a modern revision now binds that revision instead of answering -32022.

  5. fix

    createMcpHandler now sends Allow: POST on every 405 response.

  6. fix

    @modelcontextprotocol/node now accepts @hono/node-server 1.x or 2.x, and a new install resolves 2.x.

MCP TypeScript SDK @modelcontextprotocol/server@2.4.0

  1. feature

    ServerEvent accepts optional params, which the subscriptions/listen router delivers with its own subscription ID so a gateway can forward change notifications with their _meta and extension params.

    sdksubscriptions
  2. feature

    Adds the Skills extension (SEP-2640) under new ext/skills subpaths for the server, client and core packages; package root exports are unchanged.

  3. feature

    SkillsExtension.attach is marked experimental and may change in a minor release; the rest of the Skills API is stable.

  4. feature

    The Skills extension works on protocol versions 2025-11-25 and 2026-07-28, and on 2026-07-28 the server sends ttlMs and cacheScope caching fields that SkillsClient requires and returns.

  5. fix

    The bundled Ajv validator is built with fast-uri 3.1.8 instead of 3.1.0, so schemas whose $id or $ref text before the first colon is not a valid URI scheme, or whose URN namespace is invalid, no longer compile and tools using them fail with an invalid-schema error.

+1 more
  1. other

    Updates the dependency @modelcontextprotocol/core to 2.4.0.

MCP TypeScript SDK @modelcontextprotocol/node@2.1.2

  1. other

    Updates dependency @modelcontextprotocol/server to version 2.4.0.

MCP TypeScript SDK @modelcontextprotocol/core@2.4.0

  1. feature

    Adds the Skills extension (SEP-2640), available through new ext/skills subpaths; package root exports are unchanged.

MCP TypeScript SDK 1.32.2

  1. fix

    Allowed registering handlers after connect() when the capability was declared.

Google GenAI Python SDK v2.33.0

  1. feature

    Adds a store option to GenerateContentConfig (Gemini Developer API only) and a labels option to LiveConnectConfig.

  2. feature

    Adds support for Python 3.15.

  3. feature

    Adds support for httpx2 through the GOOGLE_GENAI_HTTP_CLIENT configuration.

  4. feature

    Includes AudioContent, DocumentContent, and VideoContent in FunctionResultSubContent.

Claude Code v2.1.309

  1. fix

    A disabled MCP server is no longer reconnected by a later permission prompt in print and SDK sessions.

Claude Code v2.1.307

  1. fix

    Fixed a turn sometimes starting without the latest tools of an SDK MCP server while a background task was running.

  2. fix

    Fixed Agent SDK setModel() refusing model switches when the API took more than 5 seconds to confirm; Claude Code now waits up to 15 seconds.

    sdk

Google GenAI Python SDK v2.32.0

  1. feature

    Adds base_voice to PromptedVoice in the GAOS SDK.

  2. feature

    Adds generation_output_config to GenerateContentConfig.

    sdkcontent-generation
  3. feature

    Adds Live API in-session context updates via send_context_update and related types across GenAI SDKs.

  4. other

    Enables the fixes.openSingleValueEnumsOct2026 flag across all SDKs.

    sdk
  5. other

    Updates the discovery document.

    sdkdiscovery
+1 more
  1. fix

    Stops response parsing from crashing on JSON objects in Any-typed fields.

    sdkparsing

Claude Platform Claude Platform release notes — October 21, 2026

  1. breaking Breaking

    The new SDK and CLI versions include breaking changes that do not depend on the API version.

  2. other

    Released new SDK and ant CLI versions that send API version 2026-10-21 by default: Python SDK 2.0.0, TypeScript SDK 1.0.0, C# SDK 13.0.0, Go SDK 2.0.0, Java SDK 3.0.0, PHP SDK 1.0.0, Ruby SDK 2.0.0, and ant CLI 2.0.0.

  3. other

    The new SDK and CLI versions are licensed under Apache 2.0 instead of the MIT License.

Claude Code v2.1.305

  1. fix

    Fixed an MCP server passed by a cloud session or by the SDK's setMcpServers being replaced later in the session by a same-named server from user settings.

Claude Platform Claude Platform release notes — October 20, 2026

  1. feature

    User profiles were launched so API requests can be tagged with the end customer they are for, letting a safety enforcement action apply to one end customer instead of the whole organization, with SDK and ant CLI support for the /v1/user_profiles endpoints.

    apiuser-profilessdk

Cursor Agent SDK

  1. feature

    The Agent SDK is now generally available, letting users define an agent as a folder of code, test it with evals, and deploy it to Cursor or their own infrastructure.

    sdk
  2. feature

    A new init command scaffolds an agent project, optionally from a template (security reviewer, owners-policy approver, PR autofixer, or Linear or Jira triager), and a dev command runs the bot locally with a playground.

  3. feature

    A deploy command builds an agent, assigns it a URL, and runs it on Cursor infrastructure, with secrets and integrations managed from the dashboard.

  4. feature

    Agents are defined as projects with instructions.md as the prompt, tools/ for typed actions, skills/ for on-demand procedures, mcp-connections/ for MCP server tools, and channels/ for message routing.

    sdk
  5. feature

    A validate command checks an agent project, and an info command prints what was discovered in it.

+4 more
  1. feature

    Agents can be triggered by pull request, comment, and CI events from GitHub, GitLab, and Bitbucket, by Slack mentions and DMs, by webhooks from any provider, and by a cron schedule.

  2. feature

    GitHub events are delivered through the user's Cursor account, so no public webhook URL is required.

  3. feature

    Each conversation keeps its own session and a full record of messages and tool calls, and follow-ups on a pull request or Slack thread resume the same session.

  4. docs

    Documentation for the Agent SDK is available at cursor.com/docs.

    sdk

Claude Code v2.1.304

  1. fix

    Fixed model switches, messages and interrupts waiting behind a context usage check in SDK and desktop sessions.

  2. fix

    Fixed a PreToolUse hook's deny reason being replaced by a timeout error when an Agent SDK callback hook on the same tool call timed out.

  3. performance

    Improved resume of large compacted sessions in SDK and headless mode so the first request after resuming is sent sooner.

MCP reference servers v2.0.0

  1. breaking Breaking

    The Python servers (fetch, git, time) require mcp>=2.3,<3, so the mcp package must be upgraded to that range.

  2. other

    The TypeScript servers are migrated to TS SDK v2 using a codemod.

    typescriptsdk

OpenAI Python SDK v3.35.1

  1. fix

    Preserves beta Realtime byte reads when using websockets 13.

Claude Code v2.1.302

  1. breaking Breaking

    Changed claude -p and Agent SDK sessions with no permission mode to start in default mode on third-party providers, with telemetry off or on a fresh install; --permission-mode auto keeps auto.

  2. feature

    Changed fork subagents (subagent_type: "fork") to be on by default in claude -p, the Agent SDK, the desktop app and VS Code; CLAUDE_CODE_FORK_SUBAGENT=0 turns them off, and claude mcp serve never offers them.

  3. other

    Changed the desktop app and VS Code to always run the main conversation's subagents in the background, as the terminal does; subagent Agent calls in claude -p, the Agent SDK, the desktop app and VS Code now run in the foreground by default.

OpenAI Python SDK v3.32.0

  1. other

    Shares WebSocket connection handling across the SDK.

Google GenAI Python SDK v2.31.0

  1. feature

    Added gemini-4-argon to the Model enum in the interactions module.

  2. fix

    Continuation state is cleared and prompt feedback is preserved when a continuation hop returns no candidates.

  3. fix

    The function declaration parser now handles union types correctly (fixes issue #3060).

    function-declarationssdk
  4. fix

    Grounding metadata merging for automatic continuation is fixed in generate content and generate content stream.

  5. fix

    Continuation streams now retry dropped hops, stop on prompt_feedback, and keep real errors in generate_content.

+1 more
  1. fix

    The mTLS endpoint is matched to each transport's SSL context, including plain aiohttp.

Claude Code v2.1.300

  1. fix

    Resuming a headless or Agent SDK session no longer loses recent messages kept by a compaction that followed a reply cut at the output token limit (compactions from this version on).

  2. fix

    Resuming a headless or Agent SDK session no longer loses its compaction summary or brings back pre-compaction history when the compaction followed a retried or unfinished reply in the same turn.

OpenAI Python SDK v3.31.0

  1. feature

    Adds browser and computer toolsets (part 1 of 4).

Claude Code v2.1.299

  1. fix

    Fixed scheduled wakeups (ScheduleWakeup) not firing while a background task ran in Agent SDK, IDE and claude remote-control sessions.

  2. fix

    Fixed SDK and headless sessions staying in auto mode after the host switched to a model that does not support auto mode.

  3. fix

    Fixed MCP servers added to a running headless or SDK session connecting before some policy checks ran; a blocked server is now reported as failed without contact.

  4. fix

    Fixed queued prompts sent as content blocks over --input-format stream-json running together without a line break when merged into one turn.

  5. fix

    Fixed a prompt starting with / sent with the Agent SDK verbatimPrompts option running as a slash command when CLAUDE_CODE_RESUME_INTERRUPTED_TURN re-ran it after restart.

+1 more
  1. fix

    Fixed MCP tool calls in headless and SDK sessions sometimes failing or running twice when a background reconnect closed their connection.

Claude Platform Claude Platform release notes — October 14, 2026

  1. feature

    The Claude SDK emits OpenTelemetry spans in Python, TypeScript, C#, Go, Java, PHP, and Ruby.

Google GenAI Python SDK v2.30.1

  1. fix

    Concatenates output_text across multi-step model responses within a turn.

    sdk

MCP reference servers v1.0.0

  1. breaking Breaking

    git removes the raise_exceptions parameter from server.run.

Claude Code v2.1.296

  1. fix

    Fixed /code-review ending on a raw JSON array in cloud sessions, the Agent SDK and IDE integrations; findings now print as a numbered list.

  2. other

    Updated /cost, the status line, --max-budget-usd and the SDK's cost figures to price Sonnet 5.5 cache reads at $0.10 per million tokens (was $0.20).

OpenAI Python SDK v3.27.0

  1. feature

    Adds prewarmed hosted environments to the API.

Claude Code v2.1.295

  1. fix

    Fixed remote MCP servers in headless and SDK sessions staying disconnected after outages over 15 seconds or reconnecting in a tight loop; repeated drops now back off up to 30s.

  2. fix

    Fixed generated type files being written into a --plugin-dir plugin folder in -p and SDK sessions; they are now written only where a mod is being developed.

  3. fix

    Fixed mod hot-reloading turning off for the session when an SDK host closed its enable question unanswered; the question is now asked up to three times.

  4. fix

    Fixed Desktop and SDK sessions refusing to switch back to auto mode until restart after disableAutoMode was removed from settings.

  5. fix

    Fixed a late MCP sign-in or reconnect in headless and SDK sessions relisting a server set from setMcpServers() as the user's own.

Google GenAI Python SDK v2.29.0

  1. feature

    Support for "allowlist": "disabled" in the environment network config was added.

  2. feature

    The discovery document was updated.

    sdk
  3. fix

    The direct AFC warning is now logged only when functions are present in the config.

    sdkafc
  4. docs

    Generated SDK docstring examples were updated to use gemini-flash-latest.

Claude Platform Claude Platform release notes — October 7, 2026

  1. feature

    Python and TypeScript SDKs add beta classes for the browser use tool and computer use tool, where developers subclass one and implement a method per tool.

Claude Code v2.1.292

  1. fix

    Fixed one-shot claude -p and Agent SDK runs stopping a background command 5 seconds after the final result, and dropping a scheduled wakeup; both are now waited for.

  2. performance

    Improved startup of claude -p and SDK sessions: the first turn no longer waits for HTTP and SSE MCP servers to answer resources/list.

Claude Code v2.1.290

  1. fix

    Fixed slow or failed startup since 2.1.285 under SDK hosts when managed settings deny many paths on a slow filesystem.

  2. fix

    Fixed SDK hosts with --include-partial-messages seeing replies stay open after cut or fallback streams.

    sdk

MCP TypeScript SDK @modelcontextprotocol/server@2.3.1

  1. other

    Updated the dependency @modelcontextprotocol/core to version 2.3.1 with no other listed changes.

MCP TypeScript SDK 1.32.1

  1. docs

    README now points to v2 and states what v1.x supports.

  2. other

    Version bumped to 1.32.1.

    sdk

Claude Code v2.1.288

  1. fix

    Fixed Claude reporting a held message to another session as delivered; the notice now says it wasn't delivered and names the session, and SDK sessions can learn of it mid-turn.

  2. fix

    Fixed headless (-p / SDK) sessions occasionally ignoring SIGTERM when sent alongside SIGCONT.

MCP TypeScript SDK 2.3.0

  1. breaking Breaking

    Server.connect() now rejects while the instance is already connected, and a stateless Streamable HTTP transport handles one request, so McpServer and the transport should be created per request.

  2. breaking Breaking

    HTTP client transports follow redirects only when they stay on the same origin (same scheme, host and port; http to https on the same host is allowed), so deployments redirecting to another host or port must set the final URL or redirectPolicy 'follow', and browser redirected requests fail unless that option is set.

  3. breaking Breaking

    prompts/get without arguments is now validated as {}, so a top-level .optional() or .default(...) on a prompt's argsSchema no longer sees undefined.

  4. breaking Breaking

    The client requires eventsource-parser 3.0.8 or later.

  5. feature

    Added maxToolInputElements option on McpServer to limit array elements and object members in tool call arguments; off unless set.

+7 more
  1. feature

    Added expectedResource option on requireBearerAuth and verifyBearerToken to accept only tokens issued for this server (token audience); off unless set, and Express users should upgrade @modelcontextprotocol/express together with @modelcontextprotocol/server.

    sdkauthexpress
  2. feature

    tasks/get and tasks/cancel of the Tasks extension can be served and called on a 2026-07-28 connection.

  3. fix

    prompts/get without arguments no longer fails when every argument of the prompt is optional.

  4. performance

    registerTool no longer converts tool schemas up front, so a server built per request no longer converts every tool on every request.

  5. fix

    A server/discover probe answered with an unusable 2xx reply now reports that problem instead of appearing as a network failure.

  6. fix

    McpServer.registerPrompt() types the callback correctly when no argsSchema is given.

  7. fix

    The license field of the package manifests is Apache-2.0.

Google GenAI Python SDK v2.27.0

  1. feature

    Adds support for continuation_token in GenerateContent.

    sdkgeneratecontent

Claude Code v2.1.287

  1. fix

    Fixed tool heartbeats not reaching SDK hosts while the model response stream was stalled.

    sdk
  2. fix

    Fixed claude -p and SDK sessions repeating a model fallback on every later message after the model was switched mid-reply.

  3. fix

    Fixed --include-partial-messages sending a cut-short reply's message_stop late or never.

  4. fix

    Fixed stream-json output and the SDK not streaming turns of a context: fork skill invoked via /<skill> as the prompt.

  5. fix

    Fixed repositories added mid-session in cloud and SDK sessions not loading skills and plugins and loading CLAUDE.md late.

+1 more
  1. feature

    SDK messages sent with priority "now" no longer cancel a running web fetch or search, which continues in the background.

    sdk

Google GenAI Python SDK v2.26.0

  1. feature

    Adds an environments dedicated module and from_environment support in the genai SDK.

  2. fix

    Builds a model before reading its field annotations when pruning extra fields.

    sdk
  3. fix

    Reaps aiohttp sessions and auth locks that belong to closed event loops.

Claude Code v2.1.286

  1. performance

    Improved responsiveness of SDK and -p sessions when a host re-sends an MCP server enable for an already connected server.

Claude Platform Claude Platform release notes — September 30, 2026

  1. other

    Admin API methods for organization info, members, invites, workspaces, API keys, rate limits, service accounts, workload identity federation, customer-managed encryption keys, and compliance settings are out of beta and are now called under client.organization and ant organization in the listed SDK and CLI versions.

  2. other

    The beta organization namespaces client.beta.organization and ant beta:organization are still kept in these releases.

Claude Code v2.1.285

  1. breaking Breaking

    claude -p and Python Agent SDK sessions on third-party providers or with telemetry off now start in auto mode when no permission mode is configured; --permission-mode still overrides it.

  2. fix

    Fixed switching models mid-session via set_model leaving the new model on the built-in output-token limit and auto-compact window until restart.

  3. fix

    Fixed switching off an MCP server added mid-session in SDK and -p sessions leaving its tools available.

  4. fix

    Fixed hooks and SDK permission callbacks seeing a missing or outdated plan on ExitPlanMode when the plan was written in the same response.

  5. fix

    Fixed /cost and SDK modelUsage reporting a turn under the wrong model when the server answered a refusal with an unexpected fallback model.

+1 more
  1. feature

    With partial messages on, a ping stream event is now sent every 30 seconds during a non-streaming fallback request on the Anthropic API, Claude Platform on AWS and gateways.

Claude Code v2.1.284

  1. fix

    Fixed Agent SDK sessions crashing on images with a malformed source and failing after malformed document blocks; malformed images are now replaced with a note.

    sdk

Claude Code v2.1.283

  1. feature

    Added path to --plugin-dir load-failure entries in stream-json system/init plugin_errors.

  2. fix

    Fixed SDK sessions losing a deferred tool call or finished tool result on early turn end, a held approval prompt after worker restart, and a non-streaming fallback's result.usage.

    sdk

Claude Code v2.1.282

  1. fix

    Fixed an unanswered Fable usage-credits prompt switching models in SDK-hosted sessions; the turn now ends instead and Remote Control clients see the model-switch notice.

Google GenAI Python SDK v2.25.0

  1. feature

    Adds sample_audio to Voice in the GAOS SDK.

  2. feature

    Adds a Voices API resource to the GAOS SDK.

  3. feature

    Exposes SpeechMetadata, VoiceConfig.voice, and SpeechAnnotation in the public GenAI SDKs.

  4. feature

    Adds support for field.value_field syntax in map add_union_value annotations.

    sdk
  5. feature

    Updates the discovery document.

    sdk
+2 more
  1. feature

    Wires voice into the SDK.

  2. fix

    Sanitizes path parameter descriptions in GAOS OpenAPI generation.

    sdk

Google GenAI Python SDK v2.24.0

  1. feature

    Implements environments files upload and download across the Python and TypeScript SDKs.

  2. feature

    Wires the credential APIs resource to the SDK.

    credentialssdk
  3. docs

    Updates the Python Gen AI SDK README for Gemini 3.8 Flash.

Google GenAI Python SDK v2.23.0

  1. feature

    Added from_environment support for environment copying.

    sdk
  2. feature

    live.py receive() now supports dynamic turn completion via interaction_status.

  3. fix

    Removed an unused field from FunctionResultDelta.

    sdk

MCP Python SDK v1.30.0

  1. breaking Breaking

    streamable_http_client and sse_client now follow redirects only within the same scheme, host and port (or http-to-https upgrade on the same host); other redirects fail with httpx.HTTPStatusError.

  2. breaking Breaking

    The follow_redirects setting on a user-supplied httpx.AsyncClient is no longer used for MCP requests.

  3. breaking Breaking

    OAuthClientProvider applies the same same-origin redirect rule to its own requests.

Claude Platform Claude Platform release notes — August 27, 2026

  1. breaking Breaking

    In Python SDK 1.2.0, TypeScript SDK 0.122.0, Go SDK 1.68.0, Java SDK 2.59.0, Ruby SDK 1.67.0, and C# SDK 12.44.0, client.beta.files and client.beta.skills no longer send the files-api-2025-04-14 and skills-2025-10-02 beta headers and return the same shapes as client.files and client.skills, while requests still sending those beta headers keep receiving beta shapes.

  2. breaking Breaking

    In the same SDK releases, the beta Messages type BetaSkill (the container Skill reference) is renamed BetaContainerSkill.

  3. feature

    In the same SDK releases, client.beta.skills.delete() now deletes a Skill together with all of its versions.

Claude Platform Claude Platform release notes — August 26, 2026

  1. feature

    The Admin API is now available in the ant CLI and the Python, TypeScript, C#, Go, Java, PHP, and Ruby SDKs under client.beta.organization, covering organization info, members, invites, workspaces and workspace members, API keys, rate limits, service accounts, workload identity federation issuers and rules, and customer-managed encryption keys.

  2. other

    The ant CLI and SDKs read an Admin API key from ANTHROPIC_API_KEY or an org:admin OAuth token from ANTHROPIC_AUTH_TOKEN.

MCP Python SDK v2.1.1

  1. docs

    Imports of mcp.server.fastmcp now point to the migration guide.

MCP Python SDK v1.29.1

  1. fix

    FastMCP Settings model is now completed at import time.

  2. fix

    Recursive tool return types now get an object-rooted output schema.

Claude Platform Claude Platform release notes — August 20, 2026

  1. breaking Breaking

    Python SDK v1.0 requires Python 3.10 or later.

  2. breaking Breaking

    Python SDK v1.0 removes the legacy Text Completions API, the temperature, top_p, and top_k parameters on Messages methods, and the tool runner's client-side compaction_control.

  3. breaking Breaking

    Python SDK HTTP layer moves from httpx to httpx2, so custom http_client, Timeout, and transport objects must be built from httpx2, and httpx2.alias_httpx() must be called at startup for tracing or mocking libraries that patch httpx.

  4. breaking Breaking

    On the Python SDK async client, .with_raw_response results now require await response.parse().

  5. breaking Breaking

    Python SDK AnthropicBedrock now raises an error when no AWS region is configured instead of defaulting to us-east-1.

+1 more
  1. feature

    Released v1.0 of the Python SDK.

Claude Platform Claude Platform release notes — August 19, 2026

  1. feature

    Managed Agents sessions running in a self-hosted sandbox can now attach memory stores, which the Python, TypeScript, and Go SDK workers download into the sandbox at mount_path and sync back.

Claude Platform Claude Platform release notes — August 18, 2026

  1. feature

    Playground shows the full SDK request and the API response for each run.