@langchain/langgraph-api
1.8.1 · 20 Nov 2026MIT193.1k / weekRepositoryHomepagenpmAtom feed
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
StateSchemainstances usinggetJsonSchema()andgetInputJsonSchema()methods, preservingjsonSchemaExtrametadata (e.g.,langgraph_type: "messages")Improved Zod handling: Fall back to Zod registry extraction for
withLangGraph()schemas, then direct Zod conversion for plain Zod schemasReduced reliance on TypeScript parser: Only fall back to the brittle TypeScript AST parser when all runtime extraction methods fail
Extraction priority:
StateSchema (handles
jsonSchemaExtraviaReducedValue)Zod via
schemaMetaRegistry(handlesjsonSchemaExtrafromwithLangGraph())Direct Zod conversion (no
jsonSchemaExtra, but better than static parsing)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.