npm / @langchain/groq
@langchain/groq
What changed in @langchain/groq 0.1 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
3 breaking3 security6 new APIs and options2 behavior and defaults3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@langchain/groq 115 changes
Breaking changes 3
The peer dependency now requires @langchain/core >=1.1.30, preventing module-resolution failures caused by incompatible older versions.
Tightens the peer dependency range to ^1.1.30 because ChatGroq imports export subpaths introduced in that version; earlier versions can cause module-not-found build failures.
When aborted during streaming with streaming callback handlers, invoke() throws ModelAbortError with accumulated partialOutput.
Security 2
LangChain: MongoDBChatMessageHistory query injection can allow cross-session access
LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values
New APIs and options 5
Adds native OpenAI-compatible events to streamEvents.
ChatGroq adds support for reasoning_effort.
Structured output now supports standard schemas.
Runnable traces now include package version metadata, making version information available in LangSmith trace metadata.
Adds an error class that contains partial output when a model invocation is aborted mid-stream.
Behavior and default changes 2
The default recursion limit changes to 10,007 steps starting in version 1.1.4.
Model profiles were updated, which may affect the profile information available to developers.
Fixes and other changes 3
When aborted, stream() throws a regular AbortError because chunks have already been yielded to the caller.
Reasoning tokens are now properly elevated.
Fixed compatibility with the Node module resolution setting.
@langchain/groq 0.31 changes
Security 1
A fix for CVE 2025 12735 was included.
@langchain/groq 0.11 changes
New APIs and options 1
Adds a GET endpoint that resolves an AGENT, EXPERIMENT, or EVALUATOR address to a tracing project session_id. Not supported on BYOC data planes; self-hosted deployments need LangSmith v0.18 or later.