Upgrading anthropic 0.73 to 0.74
Safe0.73.0 → 0.74.1New1Fixed3Other3
SafeUpgrade verdict
Only new features and fixes in this range.
In plain terms
- Nothing in this range needs changes to your code. It adds features and fixes.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
class AnthropicFoundry(BaseFoundryClient[httpx.Client, Stream[Any]], Anthropic) - added:
class AsyncAnthropicFoundry(BaseFoundryClient[httpx.AsyncClient, AsyncStream[Any]], AsyncAnthropic) - added:
class AsyncBetaFoundry(AsyncBeta) - added:
class AsyncBetaFoundryMessages(AsyncBetaMessages) - added:
class AsyncMessagesFoundry(AsyncMessages) - added:
class BaseFoundryClient(BaseClient[_HttpxClientT, _DefaultStreamT]) - added:
class BetaFoundry(Beta) - added:
class BetaFoundryMessages(BetaMessages) - added:
class MessagesFoundry(Messages) - added:
class MutuallyExclusiveAuthError(AnthropicError) - added:
constructor AnthropicFoundry(*, resource: str | None=…, api_key: str | None=…, azure_ad_token_provider: AzureADTokenProvider | None=…, timeout: float | Timeout | None | NotGiven=…, max_retries: int=…, default_headers: Mapping[str, str] | None=…, default_query: Mapping[str, object] | None=…, http_client: httpx.Client | None=…, _strict_response_validation: bool=…) -> None | (*, base_url: str, api_k… - added:
constructor AsyncAnthropicFoundry(*, resource: str | None=…, api_key: str | None=…, azure_ad_token_provider: AsyncAzureADTokenProvider | None=…, timeout: float | Timeout | None | NotGiven=…, max_retries: int=…, default_headers: Mapping[str, str] | None=…, default_query: Mapping[str, object] | None=…, http_client: httpx.AsyncClient | None=…, _strict_response_validation: bool=…) -> None | (*, base_… - added:
constructor MutuallyExclusiveAuthError() -> None - added:
field AnthropicFoundry.with_options - added:
field AsyncAnthropicFoundry.with_options - added:
method AnthropicFoundry.copy(*, api_key: str | None=…, azure_ad_token_provider: AzureADTokenProvider | None=…, auth_token: str | None=…, base_url: str | httpx.URL | None=…, timeout: float | Timeout | None | NotGiven=…, http_client: httpx.Client | None=…, max_retries: int | NotGiven=…, default_headers: Mapping[str, str] | None=…, set_default_headers: Mapping[str, str] | None=…, default_query: Mapp… - added:
method AsyncAnthropicFoundry.copy(*, api_key: str | None=…, azure_ad_token_provider: AsyncAzureADTokenProvider | None=…, auth_token: str | None=…, base_url: str | httpx.URL | None=…, timeout: float | Timeout | None | NotGiven=…, http_client: httpx.AsyncClient | None=…, max_retries: int | NotGiven=…, default_headers: Mapping[str, str] | None=…, set_default_headers: Mapping[str, str] | None=…, defa… - added:
property AnthropicFoundry.beta -> Beta - added:
property AnthropicFoundry.messages -> MessagesFoundry - added:
property AnthropicFoundry.models -> None - added:
property AsyncAnthropicFoundry.beta -> AsyncBetaFoundry - added:
property AsyncAnthropicFoundry.messages -> AsyncMessagesFoundry - added:
property AsyncAnthropicFoundry.models -> None - added:
property AsyncBetaFoundry.messages -> AsyncBetaMessages - added:
property AsyncBetaFoundryMessages.batches -> None - added:
property AsyncMessagesFoundry.batches -> None - added:
property BetaFoundry.messages -> BetaMessages - added:
property BetaFoundryMessages.batches -> None - added:
property MessagesFoundry.batches -> None - added:
variable AsyncAzureADTokenProvider - added:
variable AzureADTokenProvider