Migrating to Anthropic SDK v0.59.0
Version v0.59.0 introduces 1 breaking change. This guide details how to update your code.
Released: 7/23/2025
1
Breaking Changes
1
Migration Steps
2
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
anthropic.types.model_listanthropic.resources.messagesBreaking Changes
●Issue #1
Removal of older deprecated models from the API. Requests using these model identifiers will now fail.
Migration Steps
- 1Identify and replace any references to legacy/deprecated model strings with current supported models (e.g., Claude 3.5 Sonnet or Claude 3 Opus).
Release Summary
Release 0.59.0 removes support for older deprecated models and improves response parsing for metadata and extra field types.
Need More Details?
View the full release notes and all changes for Anthropic SDK v0.59.0.
View Full Changelog