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.MessageParam | likely renamed to anthropic.types.UserMessageParam |
| anthropic.types.beta.BetaMessageParam | likely renamed to anthropic.types.beta.BetaUserMessageParam |
| anthropic.types.beta.beta_message_param.BetaMessageParam | removed from the public API |
| anthropic.types.message_param.MessageParam | removed from the public API |
| anthropic.resources.AsyncModels.list | keyword parameter 'betas' was removed |
| anthropic.resources.AsyncModels.retrieve | keyword parameter 'betas' was removed |
| anthropic.resources.Models.list | keyword parameter 'betas' was removed |
| anthropic.resources.Models.retrieve | keyword parameter 'betas' was removed |
| anthropic.resources.models.AsyncModels.list | keyword parameter 'betas' was removed |
| anthropic.resources.models.AsyncModels.retrieve | keyword parameter 'betas' was removed |
| anthropic.resources.models.Models.list | keyword parameter 'betas' was removed |
| anthropic.resources.models.Models.retrieve | keyword 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