github anthropics/anthropic-sdk-go v0.2.0-alpha.11

latest releases: v1.11.0, v1.10.0, v1.9.1...
pre-release6 months ago

0.2.0-alpha.11 (2025-02-24)

Full Changelog: v0.2.0-alpha.10...v0.2.0-alpha.11

Features

  • api: add claude-3.7 + support for thinking (cc7ddcc)
  • client: send X-Stainless-Timeout header (#114) (66f2aec)
  • pagination: avoid fetching when has_more: false (#118) (6d90a30)

Bug Fixes

  • client: don't truncate manually specified filenames (#121) (ce64cf5)
  • do not call path.Base on ContentType (#120) (5f20f48)
  • fix early cancel when RequestTimeout is provided for streaming requests (#119) (20af10e)
  • fix unicode encoding for json (#111) (699e5cd)
  • stream: ensure .Close() doesn't panic (#113) (2125563)
  • update stream error handling (#117) (40d1ea2)

Chores

  • add UnionUnmarshaler for responses that are interfaces (#116) (93f533c)
  • api: update openapi spec url (#108) (8f291ed)
  • docs: add docstring explaining streaming pattern (#115) (862c3d4)
  • internal: fix devcontainers setup (#123) (6f9dcc1)

Documentation

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

NewReleases is sending notifications on new releases.