github anthropics/anthropic-sdk-go v2.6.0

3 hours ago

Features

  • api: add error details types and new error type values
  • api: add ids filter to list workspaces
  • client: add ErrorCode constants, and Message, ErrorCode and Details on Error

Bug Fixes

  • api: capitalize CMEK in error details type names
  • api: move some error details types to the resource they describe
  • client: refuse a path parameter that is empty, . or .. before a ;
  • client: send ! ' ( ) * , ; unescaped in path parameters

Chores

  • api: update example values for pattern-constrained string fields
  • client: make ErrorCode a method on Error
  • docs: clarify plugin reach values
  • docs: clarify plugin version description and plugin reach
  • docs: clarify plugin version description length
  • docs: clarify some API field descriptions
  • docs: clarify three error descriptions
  • docs: clarify which blocks to send back around a fallback block
  • docs: correct Claude Tag direct message notes in usage reports
  • docs: reword Dream and RBAC role permission descriptions
  • docs: update the telemetry destination headers description
  • docs: use the Claude Platform name in analytics filter docs
  • internal: accept changelog entry files in the changelog check
  • internal: export ValidateRequestPath for use within the module
  • internal: generate the OpenTelemetry span attribute reads

Documentation

  • api: show each field's own description for speed
  • clean up escapes and code spans in doc comments
  • keep links to pointer types in doc comments

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

NewReleases is sending notifications on new releases.