Skip to content

Upgrading anthropic 0.95 to 0.96

Safe0.95.0 → 0.96.0New1Other1

SafeUpgrade verdict

Only new features and fixes in this range.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: export AsyncUserProfiles
  • added: export AsyncUserProfilesWithRawResponse
  • added: export AsyncUserProfilesWithStreamingResponse
  • added: export UserProfiles
  • added: export UserProfilesWithRawResponse
  • added: export UserProfilesWithStreamingResponse
  • added: property AsyncBeta.user_profiles -> AsyncUserProfiles
  • added: property Beta.user_profiles -> UserProfiles
  • added: async method AsyncUserProfiles.create(*, external_id: Optional[str] | Omit=…, metadata: Dict[str, str] | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaUserProfile
  • added: async method AsyncUserProfiles.create_enrollment_url(user_profile_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaUserProfileEnrollmentURL
  • added: async method AsyncUserProfiles.retrieve(user_profile_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaUserProfile
  • added: async method AsyncUserProfiles.update(user_profile_id: str, *, external_id: Optional[str] | Omit=…, metadata: Dict[str, str] | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaUserProfile
  • added: class AsyncUserProfiles(AsyncAPIResource)
  • added: class UserProfiles(SyncAPIResource)
  • added: method AsyncUserProfiles.list(*, limit: int | Omit=…, order: Literal['asc', 'desc'] | Omit=…, page: str | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[BetaUserProfile, AsyncPageCursor[BetaUserProfile]]
  • added: method UserProfiles.create(*, external_id: Optional[str] | Omit=…, metadata: Dict[str, str] | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaUserProfile
  • added: method UserProfiles.create_enrollment_url(user_profile_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaUserProfileEnrollmentURL
  • added: method UserProfiles.list(*, limit: int | Omit=…, order: Literal['asc', 'desc'] | Omit=…, page: str | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPageCursor[BetaUserProfile]
  • added: method UserProfiles.retrieve(user_profile_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaUserProfile
  • added: method UserProfiles.update(user_profile_id: str, *, external_id: Optional[str] | Omit=…, metadata: Dict[str, str] | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaUserProfile
  • added: property AsyncUserProfiles.with_raw_response -> AsyncUserProfilesWithRawResponse
  • added: property AsyncUserProfiles.with_streaming_response -> AsyncUserProfilesWithStreamingResponse
  • added: property UserProfiles.with_raw_response -> UserProfilesWithRawResponse
  • added: property UserProfiles.with_streaming_response -> UserProfilesWithStreamingResponse
  • added: export BetaTokenTaskBudgetParam
  • added: export BetaUserProfile
  • added: export BetaUserProfileEnrollmentURL
  • added: export BetaUserProfileTrustGrant
  • added: export UserProfileCreateParams
  • added: export UserProfileListParams
  • added: export UserProfileUpdateParams
  • added: field BetaCompactionBlock.encrypted_content: Optional[str]
  • added: field BetaCompactionBlockParam.encrypted_content: Optional[str]
  • added: field BetaCompactionContentBlockDelta.encrypted_content: Optional[str]
  • added: field BetaEffortCapability.xhigh: Optional[BetaCapabilitySupport]
  • changed: field BetaOutputConfigParam.effort: Optional[Literal['low', 'medium', 'high', 'max']] → field BetaOutputConfigParam.effort: Optional[Literal['low', 'medium', 'high', 'xhigh', 'max']]
  • added: field BetaOutputConfigParam.task_budget: Optional[BetaTokenTaskBudgetParam]
  • added: class BetaTokenTaskBudgetParam(TypedDict)
  • added: field BetaTokenTaskBudgetParam.remaining: Optional[int]
  • added: field BetaTokenTaskBudgetParam.total: Required[int]
  • added: field BetaTokenTaskBudgetParam.type: Required[Literal['tokens']]
  • added: class BetaUserProfile(BaseModel)
  • added: field BetaUserProfile.created_at: datetime
  • added: field BetaUserProfile.external_id: Optional[str]
  • added: field BetaUserProfile.id: str
  • added: field BetaUserProfile.metadata: Dict[str, str]
  • added: field BetaUserProfile.trust_grants: Dict[str, BetaUserProfileTrustGrant]
  • added: field BetaUserProfile.type: Literal['user_profile']
  • added: field BetaUserProfile.updated_at: datetime
  • added: class BetaUserProfileEnrollmentURL(BaseModel)
  • added: field BetaUserProfileEnrollmentURL.expires_at: datetime
  • added: field BetaUserProfileEnrollmentURL.type: Literal['enrollment_url']
  • added: field BetaUserProfileEnrollmentURL.url: str
  • added: class BetaUserProfileTrustGrant(BaseModel)
  • added: field BetaUserProfileTrustGrant.status: Literal['active', 'pending', 'rejected']
  • added: field MessageCreateParamsBase.user_profile_id: Optional[str]
  • added: class UserProfileCreateParams(TypedDict)
  • added: field UserProfileCreateParams.betas: Annotated[List[AnthropicBetaParam], PropertyInfo(alias=anthropic - beta)]
  • added: field UserProfileCreateParams.external_id: Optional[str]
  • added: field UserProfileCreateParams.metadata: Dict[str, str]
  • added: class UserProfileListParams(TypedDict)
  • added: field UserProfileListParams.betas: Annotated[List[AnthropicBetaParam], PropertyInfo(alias=anthropic - beta)]
  • added: field UserProfileListParams.limit: int
  • added: field UserProfileListParams.order: Literal['asc', 'desc']
  • added: field UserProfileListParams.page: str
  • added: class UserProfileUpdateParams(TypedDict)
  • added: field UserProfileUpdateParams.betas: Annotated[List[AnthropicBetaParam], PropertyInfo(alias=anthropic - beta)]
  • added: field UserProfileUpdateParams.external_id: Optional[str]
  • added: field UserProfileUpdateParams.metadata: Dict[str, str]
  • added: field EffortCapability.xhigh: Optional[CapabilitySupport]
  • changed: field OutputConfigParam.effort: Optional[Literal['low', 'medium', 'high', 'max']] → field OutputConfigParam.effort: Optional[Literal['low', 'medium', 'high', 'xhigh', 'max']]