unstale

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

@unstale/cli on npm

@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.

    1.3.1release notes

  • 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.

    1.3.0release notes

  • When aborted during streaming with streaming callback handlers, invoke() throws ModelAbortError with accumulated partialOutput.

    1.0.4release notes

Security 2

  • LangChain: MongoDBChatMessageHistory query injection can allow cross-session access

    1.3.1security advisory

  • LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values

    1.1.1security advisory

New APIs and options 5

  • Adds native OpenAI-compatible events to streamEvents.

    1.3.0release notes

  • ChatGroq adds support for reasoning_effort.

    1.1.5release notes

  • Structured output now supports standard schemas.

    1.1.4release notes

  • Runnable traces now include package version metadata, making version information available in LangSmith trace metadata.

    1.1.3release notes

  • Adds an error class that contains partial output when a model invocation is aborted mid-stream.

    1.0.4release notes

Behavior and default changes 2

  • The default recursion limit changes to 10,007 steps starting in version 1.1.4.

    1.1.4docs

  • Model profiles were updated, which may affect the profile information available to developers.

    1.1.1release notes

Fixes and other changes 3

  • When aborted, stream() throws a regular AbortError because chunks have already been yielded to the caller.

    1.0.4release notes

  • Reasoning tokens are now properly elevated.

    1.0.3release notes

  • Fixed compatibility with the Node module resolution setting.

    1.0.2release notes

@langchain/groq 0.31 changes

Security 1

@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.

    0.1.0docs