npm / @langchain/cohere
@langchain/cohere
What changed in @langchain/cohere 0.3 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-22.
1 security1 new APIs and options1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@langchain/cohere 14 changes
New APIs and options 1
Adds conversion of native Cohere events for streamEvents.
Behavior and default changes 1
Each package stamps its version into runnable trace metadata at construction time, making version information available in LangSmith traces.
Fixes and other changes 2
Cohere chat model invoke and stream operations now check and propagate abort signals, enabling cancellation and allowing fallback chains to proceed after an aborted runnable.
Fixed compatibility with moduleResolution set to node.
@langchain/cohere 0.31 changes
Security 1
Fixes CVE 2025 12735.