Radar

← digest 2026-10-26

anthropic-sdk-typescript google-cloud-sdk-v1.0.0

breaking signal 76 anthropic

anthropic Python SDK 2.0.0 removes the `betas` keyword parameter from Models.list/retrieve (sync and async, under both `anthropic.resources.*` and `anthropic.resources.models.*`) and from ModelListParams.__init__. `anthropic.types.MessageParam` is likely renamed to `anthropic.types.UserMessageParam` (beta equivalent `BetaUserMessageParam`), and the `anthropic.types.message_param.MessageParam` / `anthropic.types.beta.beta_message_param.BetaMessageParam` module paths are removed from the public API. The TypeScript SDK packages also ship v1.0.0 releases adding API version 2026-10-21.

Action: Pin anthropic<2.0.0 until call sites are updated, then drop `betas=` from Models.list/retrieve calls and switch MessageParam imports to UserMessageParam.

Migration effort: medium

Entities: anthropic

Migration (python)

Before

from anthropic.types import MessageParam

client.models.list(betas=["my-beta"])

After

from anthropic.types import UserMessageParam

client.models.list()

Facts

pypi:anthropic 1.17.0 → 2.0.0: breaking API changes
anthropic.types.MessageParamlikely renamed to anthropic.types.UserMessageParam
anthropic.types.beta.BetaMessageParamlikely renamed to anthropic.types.beta.BetaUserMessageParam
anthropic.types.beta.beta_message_param.BetaMessageParamremoved from the public API
anthropic.types.message_param.MessageParamremoved from the public API
anthropic.resources.AsyncModels.listkeyword parameter 'betas' was removed
anthropic.resources.AsyncModels.retrievekeyword parameter 'betas' was removed
anthropic.resources.Models.listkeyword parameter 'betas' was removed
anthropic.resources.Models.retrievekeyword parameter 'betas' was removed
anthropic.resources.models.AsyncModels.listkeyword parameter 'betas' was removed
anthropic.resources.models.AsyncModels.retrievekeyword parameter 'betas' was removed
anthropic.resources.models.Models.listkeyword parameter 'betas' was removed
anthropic.resources.models.Models.retrievekeyword parameter 'betas' was removed
anthropic.types.ModelListParams.__init__keyword parameter 'betas' was removed
anthropic.types.model_list_params.ModelListParams.__init__keyword parameter 'betas' was removed

Cited

anthropic-sdk-typescript google-cloud-sdk-v1.0.0 gh-anthropic-typescript · official · 2026-10-21

anthropic-sdk-typescript aws-sdk-v1.0.0 gh-anthropic-typescript · official · 2026-10-21

anthropic-sdk-typescript foundry-sdk-v1.0.0 gh-anthropic-typescript · official · 2026-10-21

anthropic-sdk-typescript bedrock-sdk-v1.0.0 gh-anthropic-typescript · official · 2026-10-21

anthropic-sdk-typescript vertex-sdk-v1.0.0 gh-anthropic-typescript · official · 2026-10-21

anthropic-sdk-typescript sdk-v1.0.0 gh-anthropic-typescript · official · 2026-10-21

Other items

anthropic-sdk-python v2.0.0 gh-anthropic-python · official · 2026-10-21

Report an error