Packages

@langchain/langgraph-api

1.8.1 · 20 Nov 2026MIT193.1k / weekRepositoryHomepagenpmAtom feed

Your version

1.1.12

5 Feb 2026Where it was published

1.8.1 is the newest release of 1.x.

In short

3 changed1 internal

Release note

Patch Changes

  • Enhanced JSON schema extraction for Studio with multi-tier strategy:

    • StateSchema support: Extract schemas from StateSchema instances using getJsonSchema() and getInputJsonSchema() methods, preserving jsonSchemaExtra metadata (e.g., langgraph_type: "messages")

    • Improved Zod handling: Fall back to Zod registry extraction for withLangGraph() schemas, then direct Zod conversion for plain Zod schemas

    • Reduced reliance on TypeScript parser: Only fall back to the brittle TypeScript AST parser when all runtime extraction methods fail

    Extraction priority:

    1. StateSchema (handles jsonSchemaExtra via ReducedValue)

    2. Zod via schemaMetaRegistry (handles jsonSchemaExtra from withLangGraph())

    3. Direct Zod conversion (no jsonSchemaExtra, but better than static parsing)

    4. Static TypeScript parser (fallback)

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.