unstale

npm / @langchain/groq

@langchain/groq

What changed in @langchain/groq 0.3 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

3 breaking3 security5 new APIs and options1 behavior and defaults3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

@langchain/groq 114 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 1

  • 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