Change8

v0.43.0

Breaking Changes
📦 anthropic-sdkView on GitHub →
1 breaking2 features🐛 3 fixes🔧 5 symbols

Summary

This release introduces message batch deletion and beta streaming helpers, while cleaning up deprecated Vertex AI client options and improving stream handling internals.

⚠️ Breaking Changes

  • Removed deprecated HTTP client options in Vertex AI integration. Users should ensure they are using the standard client configuration methods.

Migration Steps

  1. Update Vertex AI client initializations to remove any legacy HTTP client options that were previously deprecated.

✨ New Features

  • api: add message batch delete endpoint
  • beta: add streaming helpers for beta messages

🐛 Bug Fixes

  • client: only call .close() when needed to prevent unnecessary resource management overhead
  • Correctly handle deserialising 'cls' fields in response objects
  • types: allow extra properties in input schemas to improve forward compatibility

Affected Symbols