Source: raw/anthropic-watch-anthropic-sdk-python-tag-v2-{4,5,6}-0.md, raw/anthropic-watch-anthropic-sdk-typescript-tag-sdk-v1-{4,5,6}-0.md, the TypeScript cloud-package releases (aws-sdk-v1-1-2, bedrock-sdk-v1-1-1, foundry-sdk-v1-1-1, google-cloud-sdk-v1-1-2, google-cloud-sdk-v1-1-3, vertex-sdk-v1-1-1, vertex-sdk-v1-1-2), anthropics/anthropic-cookbook commits 41ce172f, 785d7a06, ce8b2629, d4bd2fb3, and anthropics/skills commit 2c5958ec (all 2026-11-02 to 2026-11-06). Updated 2026-11-11 with raw/anthropic-watch-anthropic-sdk-python-tag-v2-{7,8}-0.md, raw/anthropic-watch-anthropic-sdk-typescript-tag-sdk-v1-{7,8}-0.md and the cloud-package releases vertex-sdk-v1-1-3, bedrock-sdk-v1-1-2 and google-cloud-sdk-v1-1-4 (2026-11-09 and 2026-11-10). Continues SDK releases, October 2026, which ended at Python v2.3.0 and TypeScript sdk-v1.3.0.

Project: anthropics/anthropic-sdk-python, anthropics/anthropic-sdk-typescript · URL: https://github.com/anthropics/anthropic-sdk-python/releases · Version: Python v2.4.0 → v2.8.0; TypeScript sdk-v1.4.0 → sdk-v1.8.0

After October’s major versions, the first week of November was additive: Admin API methods for analytics, spend limits and role-based access control went GA (2026-11-02), both clients gained typed error classes with machine-readable error codes (2026-11-04), and new error codes plus an organization-wide sign-out arrived on 2026-11-05. Python and TypeScript shipped matching features on the same days. Two cloud-package fixes stop an ID or model name from changing the request path.

The second week added the claude-fable-5-2 and claude-mythos-5-2 model IDs (2026-11-09), parent-organization filters on the usage and cost reports, and Claude Tag metrics in the analytics reports (2026-11-10), with a further round of path hardening on Bedrock, Vertex and Google Cloud.

Key Takeaways

  • Admin analytics, spend limits and RBAC are GA (Python v2.4.0 / sdk-v1.4.0, 2026-11-02): “add GA methods for analytics, spend limits and RBAC”, plus analytics group_by and spend-limit period filters, shared analytics ordering, and user_profile_id on External Keys and Workspaces.
  • Two new Managed Agents session error types (same release): tool_use_limit_reached_error and compaction_limit_reached_error. Handle them if your agent runs long sessions.
  • Typed error classes (Python v2.5.0 / sdk-v1.5.0, 2026-11-04): error classes for HTTP statuses and API error codes, with error_code, details and api_message on Python’s APIStatusError (errorCode, details, apiMessage on TypeScript’s APIError). You can branch on a code instead of parsing message text. List Workspaces gained an ids filter.
  • More error codes and global sign-out (Python v2.6.0 / sdk-v1.6.0, 2026-11-05): an error code for ramp limit errors, codes for External Key validation failures, and support for “signing organization members out everywhere”.
  • Path-injection hardening in cloud packages (2026-11-04): vertex-sdk v1.1.2 percent-encodes the project ID, region and model in the request path “so a / in the model can’t move the request outside /publishers/anthropic/models/”; google-cloud-sdk v1.1.3 percent-encodes the project, location and workspace ID in the derived base URL and throws an AnthropicError for . or ...
  • Cookbook: a latency optimization cookbook (#957) and a Managed Agents “dreaming” cookbook (#959) were added; existing cookbooks were brought up to Haiku 5.5 and the 2.0 SDK (#944).
  • Fable 5.2 and Mythos 5.2 model IDs (Python v2.7.0 / sdk-v1.7.0, 2026-11-09): “add claude-fable-5-2 and claude-mythos-5-2”. Claude Code v2.1.321 made Fable 5.2 its default Fable model the same day (see What’s New — Week 46).
  • Usage and cost reports by parent organization (same release): “add parent organization filtering and grouping to the usage and cost reports”. Also a user_profile.program_status_updated webhook event, accepted on organization webhook endpoints, and a sandbox_egress_restricted error on Admin API write methods.
  • Structured output schemas keep const (same release): Python’s parse keeps const and drops type beside const and enum; TypeScript’s helpers keep const and enum.
  • Claude Tag in the Admin API (Python v2.8.0 / sdk-v1.8.0, 2026-11-10): Claude Tag metrics in the analytics summaries and users reports, and a reply_mode on Claude Tag Slack channel settings. The docs now note that Claude Tag settings accept self-hosted runner pools.
  • More path hardening (2026-11-10): Bedrock sends ”;” in a model ID as is and refuses a model ID whose part before the first ”;” is empty, ”.” or ”..”; Vertex sends ”;” in the model as %3B and refuses an empty model, project ID or region; Google Cloud refuses an empty project, location or workspace ID.
  • Office skills are now Apache 2.0 (anthropics/skills #2146, 2026-11-06): docx, pdf, pptx and xlsx “now use the same Apache 2.0 license as most other skills here”.

Python v2.4.0 → v2.8.0

VersionDate (UTC)Changes
v2.4.02026-11-02GA methods for analytics, spend limits and RBAC; named beta types for unified metrics and RBAC delete responses; analytics group_by and spend-limit period filter types; tool_use_limit_reached_error and compaction_limit_reached_error session error types; user_profile_id on External Keys and Workspaces. Fixes: spend_limit nullable in the spend-limit increase approve response; pydantic validates params types that accept omit. Docs: the message threads example kept valid on Sonnet 5.5; examples use current model IDs
v2.5.02026-11-04Error details types and new error type values; ids filter on list workspaces; error classes for HTTP statuses and API error codes, with error_code, details and api_message on APIStatusError
v2.6.02026-11-05Error code for ramp limit errors; error codes for External Key validation failures; support for signing organization members out everywhere
v2.7.02026-11-09claude-fable-5-2 and claude-mythos-5-2 model IDs; parent organization filtering and grouping on the usage and cost reports; user_profile.program_status_updated webhook event, accepted on organization webhook endpoints; sandbox_egress_restricted error on Admin API write methods. Fixes: parse and count_tokens added to beta.messages.with_raw_response and with_streaming_response on Bedrock and Vertex; Bedrock signs requests that have no Connection header instead of raising KeyError; Bedrock Mantle clients write a query list as a[]=1&a[]=2; API errors can be unpickled and copied; ANTHROPIC_CUSTOM_HEADERS is read on the Bedrock, Bedrock Mantle and Vertex clients; Foundry copy, with_options and with_middleware no longer raise when ANTHROPIC_FOUNDRY_RESOURCE is set; parse keeps const in structured output schemas
v2.8.02026-11-10Claude Tag metrics in the analytics summaries and users reports; reply_mode on Claude Tag Slack channel settings. Fixes: Bedrock model IDs with ”;”; Google Cloud percent-encodes and refuses empty project, location or workspace IDs; Vertex refuses an empty model, project ID or region and sends ”;” as %3B. Docs: display_name for RBAC Roles created by Anthropic, plugin delete and skill name conflicts, when to omit user_profile_id on external keys; a multiagent example when creating a Managed Agents agent

TypeScript

  • sdk-v1.4.0 (2026-11-02), sdk-v1.5.0 (2026-11-04) and sdk-v1.6.0 (2026-11-05) mirror Python v2.4.0, v2.5.0 and v2.6.0 feature for feature. The error fields are camelCase on APIError: apiMessage, errorCode, details.

  • Cloud packages: aws-sdk v1.1.2, bedrock-sdk v1.1.1, foundry-sdk v1.1.1, google-cloud-sdk v1.1.2 and vertex-sdk v1.1.1 (all 2026-11-02) type-check the published declarations of every subpackage; foundry-sdk v1.1.1 also makes client.d.ts type-check with skipLibCheck off. The two percent-encoding fixes above shipped in vertex-sdk v1.1.2 and google-cloud-sdk v1.1.3 on 2026-11-04.

  • sdk-v1.7.0 (2026-11-09) and sdk-v1.8.0 (2026-11-10) mirror the features of Python v2.7.0 and v2.8.0. TypeScript-only changes in sdk-v1.7.0: the body of a failed response is included in debug logs, the helpers keep const and enum in structured output schemas, api.md lists error code types, and the examples import from zod/v4 for Zod 3.25 users.

  • Cloud packages, 2026-11-10: vertex-sdk v1.1.3 sends a ”;” in the model as %3B and throws an AnthropicError for a project ID, region or model such as ;x, .;x or ..;x; bedrock-sdk v1.1.2 throws for a model of that shape; google-cloud-sdk v1.1.4 throws for a project, location or workspace ID of that shape.

Cookbook and skills

  • Latency optimization cookbook (41ce172f, #957, 2026-11-02). The same week Claude Code v2.1.319 added /claude-api latency-optimize, which “find[s] where your Claude API code makes people wait and tr[ies] faster settings against your eval” (see What’s New — Week 45).
  • Haiku 5.5 and the 2.0 SDK (785d7a06, #944, 2026-11-02): cookbooks brought up to date.
  • Managed Agents dreaming cookbook (d4bd2fb3, #959, 2026-11-04). The commit title is all the stub carries; see Managed Agents for the feature.
  • Registry cleanup (ce8b2629, #958): a duplicate agent security review entry was removed.
  • Office skills relicensed (2c5958ec, #2146, 2026-11-06): docx, pdf, pptx and xlsx move to Apache 2.0 and the README was updated to match.

Try It

  1. If you run Admin API scripts, move them from beta to the GA analytics, spend-limit and RBAC methods in Python v2.4.0 or TypeScript sdk-v1.4.0.
  2. Replace message-text matching in your error handling with error_code (Python) or errorCode (TypeScript) from v2.5.0 / sdk-v1.5.0, and add a branch for the ramp-limit code from v2.6.0.
  3. On Vertex or Google Cloud with user-supplied model or project names, upgrade to vertex-sdk v1.1.2 / google-cloud-sdk v1.1.3 for the path-encoding fixes.
  4. If you redistribute the Office skills in a product, re-check the license: they are now Apache 2.0.
  5. To call Fable 5.2 from code, upgrade to Python v2.7.0 or TypeScript sdk-v1.7.0 for the typed claude-fable-5-2 model ID.
  6. If you pass user-supplied model, project or region strings to Bedrock, Vertex or Google Cloud, upgrade to Python v2.8.0 or vertex-sdk v1.1.3 / bedrock-sdk v1.1.2 / google-cloud-sdk v1.1.4.

Open Questions

  • What is a “ramp limit”? v2.6.0 adds an error code for it; the changelog does not define it.
  • What did the Office skills use before Apache 2.0? The commit says only that they now match “most other skills here”.
  • What does the dreaming cookbook show? Only the commit title was captured.
  • What does the user_profile.program_status_updated event report, and which program? The changelog names the event only.
  • What values does Claude Tag reply_mode take? Not listed in the release notes.