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_byand spend-limit period filters, shared analytics ordering, anduser_profile_idon External Keys and Workspaces. - Two new Managed Agents session error types (same release):
tool_use_limit_reached_errorandcompaction_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,detailsandapi_messageon Python’sAPIStatusError(errorCode,details,apiMessageon TypeScript’sAPIError). You can branch on a code instead of parsing message text. List Workspaces gained anidsfilter. - 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-sdkv1.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-sdkv1.1.3 percent-encodes the project, location and workspace ID in the derived base URL and throws anAnthropicErrorfor.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_updatedwebhook event, accepted on organization webhook endpoints, and asandbox_egress_restrictederror on Admin API write methods. - Structured output schemas keep
const(same release): Python’sparsekeepsconstand dropstypebesideconstandenum; TypeScript’s helpers keepconstandenum. - 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_modeon 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
%3Band 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
| Version | Date (UTC) | Changes |
|---|---|---|
| v2.4.0 | 2026-11-02 | GA 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.0 | 2026-11-04 | Error 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.0 | 2026-11-05 | Error code for ramp limit errors; error codes for External Key validation failures; support for signing organization members out everywhere |
| v2.7.0 | 2026-11-09 | claude-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.0 | 2026-11-10 | Claude 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-sdkv1.1.2,bedrock-sdkv1.1.1,foundry-sdkv1.1.1,google-cloud-sdkv1.1.2 andvertex-sdkv1.1.1 (all 2026-11-02) type-check the published declarations of every subpackage;foundry-sdkv1.1.1 also makesclient.d.tstype-check withskipLibCheckoff. The two percent-encoding fixes above shipped invertex-sdkv1.1.2 andgoogle-cloud-sdkv1.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
constandenumin structured output schemas,api.mdlists error code types, and the examples import fromzod/v4for Zod 3.25 users. -
Cloud packages, 2026-11-10:
vertex-sdkv1.1.3 sends a ”;” in the model as%3Band throws anAnthropicErrorfor a project ID, region or model such as;x,.;xor..;x;bedrock-sdkv1.1.2 throws for a model of that shape;google-cloud-sdkv1.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
- 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.
- Replace message-text matching in your error handling with
error_code(Python) orerrorCode(TypeScript) from v2.5.0 / sdk-v1.5.0, and add a branch for the ramp-limit code from v2.6.0. - On Vertex or Google Cloud with user-supplied model or project names, upgrade to
vertex-sdkv1.1.2 /google-cloud-sdkv1.1.3 for the path-encoding fixes. - If you redistribute the Office skills in a product, re-check the license: they are now Apache 2.0.
- 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-2model ID. - If you pass user-supplied model, project or region strings to Bedrock, Vertex or Google Cloud, upgrade to Python v2.8.0 or
vertex-sdkv1.1.3 /bedrock-sdkv1.1.2 /google-cloud-sdkv1.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_updatedevent report, and which program? The changelog names the event only. - What values does Claude Tag
reply_modetake? Not listed in the release notes.
Related
- Anthropic SDK releases, October 2026 — the API version 2026-10-21 majors and message threads.
- What’s New — Week 45 — the Claude Code releases of the same week, including
/claude-api latency-optimize. - What’s New — Week 46 — Claude Code v2.1.321, which made Fable 5.2 the default Fable model.
- Claude Fable 5.2 + Mythos 5.2 — the models behind the new IDs; Mythos 5.2 is the same underlying model with restricted access.
- Claude Tag — the product behind the new analytics metrics and
reply_mode. - Managed Agents — session error types and dreaming.
- Claude apps gateway — the gateway-side cost report and pooled budgets.
- Agent SDK — the agent framework built on these clients.