Upgrading anthropic 0.36 to 0.37
Review needed0.36.2 → 0.37.1New3Changed1Fixed3Other3
Review neededUpgrade verdict
1 changed default.
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 AsyncMessages.create(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, metadata: BetaMetadataParam | NotGiven=…, stop_sequences: List[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, system: Union[str, Iterable[BetaTextBlockParam]] | NotGiven=…, temperature: float | NotGiven=…, tool_choice: BetaToolChoiceParam | NotGiven=…, tools: Iterable[BetaToolPa… → async method AsyncMessages.create(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, metadata: BetaMetadataParam | NotGiven=…, stop_sequences: List[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, system: Union[str, Iterable[BetaTextBlockParam]] | NotGiven=…, temperature: float | NotGiven=…, tool_choice: BetaToolChoiceParam | NotGiven=…, tools: Iterable[BetaToolUn… - changed:
method Messages.create(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, metadata: BetaMetadataParam | NotGiven=…, stop_sequences: List[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, system: Union[str, Iterable[BetaTextBlockParam]] | NotGiven=…, temperature: float | NotGiven=…, tool_choice: BetaToolChoiceParam | NotGiven=…, tools: Iterable[BetaToolParam] | NotG… → method Messages.create(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, metadata: BetaMetadataParam | NotGiven=…, stop_sequences: List[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, system: Union[str, Iterable[BetaTextBlockParam]] | NotGiven=…, temperature: float | NotGiven=…, tool_choice: BetaToolChoiceParam | NotGiven=…, tools: Iterable[BetaToolUnionParam] |…
- added:
export BetaToolBash20241022Param - added:
export BetaToolComputerUse20241022Param - added:
export BetaToolTextEditor20241022Param - added:
export BetaToolUnionParam
- added:
class BetaToolBash20241022Param(TypedDict) - added:
field BetaToolBash20241022Param.cache_control: Optional[BetaCacheControlEphemeralParam] - added:
field BetaToolBash20241022Param.name: Required[Literal['bash']] - added:
field BetaToolBash20241022Param.type: Required[Literal['bash_20241022']]
- added:
class BetaToolComputerUse20241022Param(TypedDict) - added:
field BetaToolComputerUse20241022Param.cache_control: Optional[BetaCacheControlEphemeralParam] - added:
field BetaToolComputerUse20241022Param.display_height_px: Required[int] - added:
field BetaToolComputerUse20241022Param.display_number: Optional[int] - added:
field BetaToolComputerUse20241022Param.display_width_px: Required[int] - added:
field BetaToolComputerUse20241022Param.name: Required[Literal['computer']] - added:
field BetaToolComputerUse20241022Param.type: Required[Literal['computer_20241022']]
- added:
field BetaToolParam.type: Optional[Literal['custom']]
- added:
class BetaToolTextEditor20241022Param(TypedDict) - added:
field BetaToolTextEditor20241022Param.cache_control: Optional[BetaCacheControlEphemeralParam] - added:
field BetaToolTextEditor20241022Param.name: Required[Literal['str_replace_editor']] - added:
field BetaToolTextEditor20241022Param.type: Required[Literal['text_editor_20241022']]
- added:
variable BetaToolUnionParam: TypeAlias
- changed:
field MessageCreateParamsBase.tools: Iterable[BetaToolParam] → field MessageCreateParamsBase.tools: Iterable[BetaToolUnionParam]
- added:
field BetaMessageBatch.archived_at: Optional[datetime]