Change8

v0.46.0

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

Summary

Release 0.46.0 introduces a .close() method for JSONL handling, optimized pagination, and fixes for async execution on non-asyncio runtimes.

✨ New Features

  • client: send X-Stainless-Read-Timeout header
  • jsonl: add .close() method to JSONL reader/writer
  • pagination: avoid fetching next page when has_more is false

🐛 Bug Fixes

  • Fixed asyncify functionality on non-asyncio runtimes
  • internal: restored support for custom header naming
  • jsonl: lowered chunk size for better memory management

Affected Symbols