Skip to content

v2.4.0

Choose a tag to compare

@anthropic-sdks-releaser anthropic-sdks-releaser released this 02 Nov 19:18
· 230 commits to main since this release

Features

  • api: add GA methods for analytics, spend limits and RBAC
  • api: add named beta types for unified metrics and RBAC delete responses
  • api: add shared analytics order and increase request actor types
  • api: add tool_use_limit_reached_error and compaction_limit_reached_error session error types
  • api: add types for analytics group_by and spend limit period filters
  • api: add user_profile_id to External Keys and Workspaces

Bug Fixes

  • api: make spend_limit nullable in the spend limit increase request approve response
  • api: require always-sent analytics fields and drop the unused project product field
  • client: raise the typed API error, not TypeError, when the error in an error response is not a hash

Chores

  • ci: remove unused build upload steps
  • docs: clarify the Slack channel id description
  • docs: clarify what disabling the Compliance API stops
  • docs: clarify what the capability_access_all role action grants
  • docs: link Dreams model fields to the supported models section
  • docs: update example user ID in Admin API examples
  • internal: add a section for each repository's own review rules

Documentation

  • add a description to the AnthropicBeta type
  • correct the error class documented for next_page and fix typos
  • examples: use current model IDs
  • readme: point to the docs site for documentation