Upgrading anthropic 0.111 to 0.112
Safe0.111.0 → 0.112.0New3Fixed1
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.
- changed:
async method AsyncBatches.create(*, requests: Iterable[batch_create_params.Request], betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch → async method AsyncBatches.create(*, requests: Iterable[batch_create_params.Request], betas: List[AnthropicBetaParam] | Omit=…, user_profile_id: str | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch - changed:
method Batches.create(*, requests: Iterable[batch_create_params.Request], betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch → method Batches.create(*, requests: Iterable[batch_create_params.Request], betas: List[AnthropicBetaParam] | Omit=…, user_profile_id: str | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch
- changed:
async method AsyncBatches.create(*, requests: Iterable[batch_create_params.Request], extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> MessageBatch → async method AsyncBatches.create(*, requests: Iterable[batch_create_params.Request], user_profile_id: str | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> MessageBatch - changed:
method Batches.create(*, requests: Iterable[batch_create_params.Request], extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> MessageBatch → method Batches.create(*, requests: Iterable[batch_create_params.Request], user_profile_id: str | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> MessageBatch
- changed:
field BetaFallbackRefusalTrigger.category: Optional[Literal['cyber', 'bio', 'frontier_llm', 'reasoning_extraction']] → field BetaFallbackRefusalTrigger.category: Optional[Literal['cyber', 'bio', 'frontier_llm', 'reasoning_extraction', 'military_weapons']]
- changed:
field BetaRefusalStopDetails.category: Optional[Literal['cyber', 'bio', 'frontier_llm', 'reasoning_extraction']] → field BetaRefusalStopDetails.category: Optional[Literal['cyber', 'bio', 'frontier_llm', 'reasoning_extraction', 'military_weapons']]
- changed:
field MessageCreateParamsBase.user_profile_id: Optional[str] → field MessageCreateParamsBase.user_profile_id: Annotated[str, PropertyInfo(alias=anthropic - user - profile - id)]
- changed:
field BatchCreateParams.user_profile_id: Optional[str] → field BatchCreateParams.user_profile_id: Annotated[str, PropertyInfo(alias=anthropic - user - profile - id)]
- added:
field MessageCreateParamsBase.user_profile_id: Annotated[str, PropertyInfo(alias=anthropic - user - profile - id)]
- added:
field BatchCreateParams.user_profile_id: Annotated[str, PropertyInfo(alias=anthropic - user - profile - id)]
- changed:
field RefusalStopDetails.category: Optional[Literal['cyber', 'bio', 'frontier_llm', 'reasoning_extraction']] → field RefusalStopDetails.category: Optional[Literal['cyber', 'bio', 'frontier_llm', 'reasoning_extraction', 'military_weapons']]