github anthropics/anthropic-sdk-go v2.16.0

one hour ago

Features

  • api: add api_key_requester_unconfirmed error code to the Admin API
  • api: add error codes for cost report size limits
  • api: add the user_profile_cleared error code to workspace updates

Bug Fixes

  • client: refuse the Admin API on Vertex and Bedrock with a clear error

  • client: show the method, host and path that were sent in API errors

    An error from a client whose middleware changes the URL, such as the Bedrock and Vertex clients, used to show the URL from before that change.

Chores

  • api: remove retired Claude Sonnet 4.5 models
  • docs: clarify which speed needs the fast mode beta header
  • docs: explain the compliance review policy category values

Don't miss a new anthropic-sdk-go release

NewReleases is sending notifications on new releases.