@langchain/anthropic
1.6.6 · 20 Nov 2026MIT2.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @langchain/anthropic From 1.3.12 to 1.3.13
1 release in betweenevery note read
Release by release
- New
Added
ModelAbortErrorclass in@langchain/core/errorsthat contains partial output when a model invocation is aborted mid-stream - New
Added standard tests for abort signal behavior
- Fixed
Handle standard file content blocks
- Fixed
providers: Add proper abort signal handling for invoke and stream operations
- New
3 other lines we could not sort, mostly version bumps
- 1.3.13
invoke()now throwsModelAbortErrorwith accumulatedpartialOutputwhen aborted during streaming (when using streaming callback handlers) - 1.3.13
stream()throws a regularAbortErrorwhen aborted (since chunks are already yielded to the caller) - 1.3.13
All provider implementations now properly check and propagate abort signals in both
_generate()and_streamResponseChunks()methods
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.