Change8

v0.76.0

📦 anthropic-sdkView on GitHub →
3 features🐛 4 fixes🔧 3 symbols

Summary

This release introduces support for raw JSON schema in streaming messages, binary request streaming, and server-side tools. It also includes several bug fixes, notably loosening auth header validation and ensuring streams are closed.

✨ New Features

  • Allow raw JSON schema to be passed to messages.stream().
  • Add support for binary request streaming to the client.
  • Add support for server-side tools in the tool runner.

🐛 Bug Fixes

  • Loosen authentication header validation in the client.
  • Ensure streams are always closed.
  • Allow pyright to infer TypedDict types within SequenceNotStr.
  • Use async_to_httpx_files in patch method.

Affected Symbols