[PR #144] [CLOSED] Update dependency @langchain/langgraph to v1.1.2 - autoclosed #130

Closed
opened 2026-03-03 13:59:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Kuingsmile/word-GPT-Plus/pull/144
Author: @renovate[bot]
Created: 1/9/2026
Status: Closed

Base: masterHead: renovate/langchain-langgraph-1.x-lockfile


📝 Commits (1)

  • e4d7ceb Update dependency @langchain/langgraph to v1.1.2

📊 Changes

1 file changed (+45 additions, -32 deletions)

View changed files

📝 yarn.lock (+45 -32)

📄 Description

This PR contains the following updates:

Package Change Age Confidence
@langchain/langgraph (source) 1.0.71.1.2 age confidence

Release Notes

langchain-ai/langgraphjs (@​langchain/langgraph)

v1.1.2

Compare Source

Patch Changes
  • #​1914 e60ec1b Thanks @​hntrl! - fix ConditionalEdgeRouter type rejection

  • #​1916 9f34c8c Thanks @​hntrl! - Add unified schema support for StateGraph constructor

    • Support mixing AnnotationRoot, Zod schemas, and StateSchema for state, input, and output definitions
    • Add { input, output } only pattern where state is inferred from input schema
    • Add per-node input schema support via addNode options
    • Deprecate stateSchema property in favor of state
    • Simplify constructor overloads with unified StateGraphInit type
  • #​1918 cc12263 Thanks @​hntrl! - Add type bag pattern for GraphNode and ConditionalEdgeRouter type utilities.

    New types:

    • GraphNodeTypes<InputSchema, OutputSchema, ContextSchema, Nodes> - Type bag interface for GraphNode
    • GraphNodeReturnValue<Update, Nodes> - Return type helper for node functions
    • ConditionalEdgeRouterTypes<InputSchema, ContextSchema, Nodes> - Type bag interface for ConditionalEdgeRouter

    Usage:

    Both GraphNode and ConditionalEdgeRouter now support two patterns:

    1. Single schema (backward compatible):

      const node: GraphNode<typeof AgentState, MyContext, "agent" | "tool"> = ...
      
    2. Type bag pattern (new):

      const node: GraphNode<{
        InputSchema: typeof InputSchema;
        OutputSchema: typeof OutputSchema;
        ContextSchema: typeof ContextSchema;
        Nodes: "agent" | "tool";
      }> = (state, runtime) => {
        // state type inferred from InputSchema
        // return type validated against OutputSchema
        // runtime.configurable type inferred from ContextSchema
        return { answer: "response" };
      };
      

    The type bag pattern enables nodes that receive a subset of state fields and return different fields, with full type safety.

v1.1.1

Compare Source

Patch Changes

v1.1.0

Compare Source

Minor Changes
  • #​1852 2ea3128 Thanks @​hntrl! - feat: add type utilities for authoring graph nodes and conditional edges

    New exported type utilities for improved TypeScript ergonomics:

    • ExtractStateType<Schema> - Extract the State type from any supported schema (StateSchema, AnnotationRoot, or Zod object)
    • ExtractUpdateType<Schema> - Extract the Update type (partial state for node returns) from any supported schema
    • GraphNode<Schema, Context?, Nodes?> - Strongly-typed utility for defining graph node functions with full inference for state, runtime context, and optional type-safe routing via Command
    • ConditionalEdgeRouter<Schema, Context?, Nodes?> - Type for conditional edge routing functions passed to addConditionalEdges

    These utilities enable defining nodes outside the StateGraph builder while maintaining full type safety:

    import {
      StateSchema,
      GraphNode,
      ConditionalEdgeRouter,
      END,
    } from "@&#8203;langchain/langgraph";
    import { z } from "zod/v4";
    
    const AgentState = new StateSchema({
      messages: MessagesValue,
      step: z.number().default(0),
    });
    
    interface MyContext {
      userId: string;
    }
    
    // Fully typed node function
    const processNode: GraphNode<typeof AgentState> = (state, runtime) => {
      return { step: state.step + 1 };
    };
    
    // Type-safe routing with Command
    const routerNode: GraphNode<
      typeof AgentState,
      MyContext,
      "agent" | "tool"
    > = (state) => new Command({ goto: state.needsTool ? "tool" : "agent" });
    
    // Conditional edge router
    const router: ConditionalEdgeRouter<
      typeof AgentState,
      MyContext,
      "continue"
    > = (state) => (state.done ? END : "continue");
    
  • #​1842 7ddf854 Thanks @​hntrl! - feat: StateSchema, ReducedValue, and UntrackedValue

    StateSchema provides a new API for defining graph state that works with any Standard Schema-compliant validation library (Zod, Valibot, ArkType, and others).

Standard Schema support

LangGraph now supports Standard Schema, an open specification implemented by Zod 4, Valibot, ArkType, and other schema libraries. This means you can use your preferred validation library without lock-in:

import { z } from "zod"; // or valibot, arktype, etc.
import {
  StateSchema,
  ReducedValue,
  MessagesValue,
} from "@&#8203;langchain/langgraph";

const AgentState = new StateSchema({
  messages: MessagesValue,
  currentStep: z.string(),
  count: z.number().default(0),
  history: new ReducedValue(
    z.array(z.string()).default(() => []),
    {
      inputSchema: z.string(),
      reducer: (current, next) => [...current, next],
    }
  ),
});

// Type-safe state and update types
type State = typeof AgentState.State;
type Update = typeof AgentState.Update;

const graph = new StateGraph(AgentState)
  .addNode("agent", (state) => ({ count: state.count + 1 }))
  .addEdge(START, "agent")
  .addEdge("agent", END)
  .compile();
New exports
  • StateSchema - Define state with any Standard Schema-compliant library
  • ReducedValue - Define fields with custom reducer functions for accumulating state
  • UntrackedValue - Define transient fields that are not persisted to checkpoints
  • MessagesValue - Pre-built message list channel with add/remove semantics
Patch Changes

v1.0.15

Compare Source

Patch Changes

v1.0.14

Compare Source

Patch Changes

v1.0.13

Compare Source

Patch Changes

v1.0.12

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Kuingsmile/word-GPT-Plus/pull/144 **Author:** [@renovate[bot]](https://github.com/apps/renovate) **Created:** 1/9/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `renovate/langchain-langgraph-1.x-lockfile` --- ### 📝 Commits (1) - [`e4d7ceb`](https://github.com/Kuingsmile/word-GPT-Plus/commit/e4d7cebf4fce2500ae4c52209ee36d30f4856b50) Update dependency @langchain/langgraph to v1.1.2 ### 📊 Changes **1 file changed** (+45 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `yarn.lock` (+45 -32) </details> ### 📄 Description This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@langchain/langgraph](https://redirect.github.com/langchain-ai/langgraphjs) ([source](https://redirect.github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core)) | [`1.0.7` → `1.1.2`](https://renovatebot.com/diffs/npm/@langchain%2flanggraph/1.0.7/1.1.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@langchain%2flanggraph/1.1.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@langchain%2flanggraph/1.0.7/1.1.2?slim=true) | --- ### Release Notes <details> <summary>langchain-ai/langgraphjs (@&#8203;langchain/langgraph)</summary> ### [`v1.1.2`](https://redirect.github.com/langchain-ai/langgraphjs/blob/HEAD/libs/langgraph-core/CHANGELOG.md#112) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/@langchain/langgraph@1.1.1...@langchain/langgraph@1.1.2) ##### Patch Changes - [#&#8203;1914](https://redirect.github.com/langchain-ai/langgraphjs/pull/1914) [`e60ec1b`](https://redirect.github.com/langchain-ai/langgraphjs/commit/e60ec1be6efc3b7fd1bde907de3d1d08fa2a0262) Thanks [@&#8203;hntrl](https://redirect.github.com/hntrl)! - fix ConditionalEdgeRouter type rejection - [#&#8203;1916](https://redirect.github.com/langchain-ai/langgraphjs/pull/1916) [`9f34c8c`](https://redirect.github.com/langchain-ai/langgraphjs/commit/9f34c8ce420f44c604f12468806be807f7b372c1) Thanks [@&#8203;hntrl](https://redirect.github.com/hntrl)! - Add unified schema support for `StateGraph` constructor - Support mixing `AnnotationRoot`, Zod schemas, and `StateSchema` for state, input, and output definitions - Add `{ input, output }` only pattern where state is inferred from input schema - Add per-node input schema support via `addNode` options - Deprecate `stateSchema` property in favor of `state` - Simplify constructor overloads with unified `StateGraphInit` type - [#&#8203;1918](https://redirect.github.com/langchain-ai/langgraphjs/pull/1918) [`cc12263`](https://redirect.github.com/langchain-ai/langgraphjs/commit/cc12263ad26804ef53760cabf1bd2fda0be575d6) Thanks [@&#8203;hntrl](https://redirect.github.com/hntrl)! - Add type bag pattern for `GraphNode` and `ConditionalEdgeRouter` type utilities. **New types:** - `GraphNodeTypes<InputSchema, OutputSchema, ContextSchema, Nodes>` - Type bag interface for GraphNode - `GraphNodeReturnValue<Update, Nodes>` - Return type helper for node functions - `ConditionalEdgeRouterTypes<InputSchema, ContextSchema, Nodes>` - Type bag interface for ConditionalEdgeRouter **Usage:** Both `GraphNode` and `ConditionalEdgeRouter` now support two patterns: 1. **Single schema** (backward compatible): ```typescript const node: GraphNode<typeof AgentState, MyContext, "agent" | "tool"> = ... ``` 2. **Type bag pattern** (new): ```typescript const node: GraphNode<{ InputSchema: typeof InputSchema; OutputSchema: typeof OutputSchema; ContextSchema: typeof ContextSchema; Nodes: "agent" | "tool"; }> = (state, runtime) => { // state type inferred from InputSchema // return type validated against OutputSchema // runtime.configurable type inferred from ContextSchema return { answer: "response" }; }; ``` The type bag pattern enables nodes that receive a subset of state fields and return different fields, with full type safety. ### [`v1.1.1`](https://redirect.github.com/langchain-ai/langgraphjs/blob/HEAD/libs/langgraph-core/CHANGELOG.md#111) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/@langchain/langgraph@1.1.0...@langchain/langgraph@1.1.1) ##### Patch Changes - [#&#8203;1912](https://redirect.github.com/langchain-ai/langgraphjs/pull/1912) [`4b2e448`](https://redirect.github.com/langchain-ai/langgraphjs/commit/4b2e448ed7c05be3a5f2cb07b28f3fabe4079c01) Thanks [@&#8203;hntrl](https://redirect.github.com/hntrl)! - fix StateSchema/ReducedValue type inference - Updated dependencies \[[`98c0f26`](https://redirect.github.com/langchain-ai/langgraphjs/commit/98c0f26f4cc2c246359914704278ff5e3ae46a01), [`a3669be`](https://redirect.github.com/langchain-ai/langgraphjs/commit/a3669be176c5bca4b5bbcc6a6245882a684fb12f)]: - [@&#8203;langchain/langgraph-sdk](https://redirect.github.com/langchain/langgraph-sdk)@&#8203;1.5.5 ### [`v1.1.0`](https://redirect.github.com/langchain-ai/langgraphjs/blob/HEAD/libs/langgraph-core/CHANGELOG.md#110) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/@langchain/langgraph@1.0.15...@langchain/langgraph@1.1.0) ##### Minor Changes - [#&#8203;1852](https://redirect.github.com/langchain-ai/langgraphjs/pull/1852) [`2ea3128`](https://redirect.github.com/langchain-ai/langgraphjs/commit/2ea3128ac48e52c9a180a9eb9d978dd9067ac80e) Thanks [@&#8203;hntrl](https://redirect.github.com/hntrl)! - feat: add type utilities for authoring graph nodes and conditional edges New exported type utilities for improved TypeScript ergonomics: - `ExtractStateType<Schema>` - Extract the State type from any supported schema (StateSchema, AnnotationRoot, or Zod object) - `ExtractUpdateType<Schema>` - Extract the Update type (partial state for node returns) from any supported schema - `GraphNode<Schema, Context?, Nodes?>` - Strongly-typed utility for defining graph node functions with full inference for state, runtime context, and optional type-safe routing via Command - `ConditionalEdgeRouter<Schema, Context?, Nodes?>` - Type for conditional edge routing functions passed to `addConditionalEdges` These utilities enable defining nodes outside the StateGraph builder while maintaining full type safety: ```typescript import { StateSchema, GraphNode, ConditionalEdgeRouter, END, } from "@&#8203;langchain/langgraph"; import { z } from "zod/v4"; const AgentState = new StateSchema({ messages: MessagesValue, step: z.number().default(0), }); interface MyContext { userId: string; } // Fully typed node function const processNode: GraphNode<typeof AgentState> = (state, runtime) => { return { step: state.step + 1 }; }; // Type-safe routing with Command const routerNode: GraphNode< typeof AgentState, MyContext, "agent" | "tool" > = (state) => new Command({ goto: state.needsTool ? "tool" : "agent" }); // Conditional edge router const router: ConditionalEdgeRouter< typeof AgentState, MyContext, "continue" > = (state) => (state.done ? END : "continue"); ``` - [#&#8203;1842](https://redirect.github.com/langchain-ai/langgraphjs/pull/1842) [`7ddf854`](https://redirect.github.com/langchain-ai/langgraphjs/commit/7ddf85468f01b8cfea62b1c513e04bd578580444) Thanks [@&#8203;hntrl](https://redirect.github.com/hntrl)! - feat: `StateSchema`, `ReducedValue`, and `UntrackedValue` **StateSchema** provides a new API for defining graph state that works with any [Standard Schema](https://redirect.github.com/standard-schema/standard-schema)-compliant validation library (Zod, Valibot, ArkType, and others). ##### Standard Schema support LangGraph now supports [Standard Schema](https://standardschema.dev/), an open specification implemented by Zod 4, Valibot, ArkType, and other schema libraries. This means you can use your preferred validation library without lock-in: ```typescript import { z } from "zod"; // or valibot, arktype, etc. import { StateSchema, ReducedValue, MessagesValue, } from "@&#8203;langchain/langgraph"; const AgentState = new StateSchema({ messages: MessagesValue, currentStep: z.string(), count: z.number().default(0), history: new ReducedValue( z.array(z.string()).default(() => []), { inputSchema: z.string(), reducer: (current, next) => [...current, next], } ), }); // Type-safe state and update types type State = typeof AgentState.State; type Update = typeof AgentState.Update; const graph = new StateGraph(AgentState) .addNode("agent", (state) => ({ count: state.count + 1 })) .addEdge(START, "agent") .addEdge("agent", END) .compile(); ``` ##### New exports - **`StateSchema`** - Define state with any Standard Schema-compliant library - **`ReducedValue`** - Define fields with custom reducer functions for accumulating state - **`UntrackedValue`** - Define transient fields that are not persisted to checkpoints - **`MessagesValue`** - Pre-built message list channel with add/remove semantics ##### Patch Changes - [#&#8203;1901](https://redirect.github.com/langchain-ai/langgraphjs/pull/1901) [`6d8f3ed`](https://redirect.github.com/langchain-ai/langgraphjs/commit/6d8f3ed4c879419d941a25ee48bed0d5545add4d) Thanks [@&#8203;dqbd](https://redirect.github.com/dqbd)! - Perform reference equality check on reducers before throwing "Channel already exists with a different type" error - Updated dependencies \[[`5629d46`](https://redirect.github.com/langchain-ai/langgraphjs/commit/5629d46362509f506ab455389e600eff7d9b34bb), [`78743d6`](https://redirect.github.com/langchain-ai/langgraphjs/commit/78743d6bca96945d574713ffefe32b04a4c04d29)]: - [@&#8203;langchain/langgraph-sdk](https://redirect.github.com/langchain/langgraph-sdk)@&#8203;1.5.4 ### [`v1.0.15`](https://redirect.github.com/langchain-ai/langgraphjs/blob/HEAD/libs/langgraph-core/CHANGELOG.md#1015) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/@langchain/langgraph@1.0.14...@langchain/langgraph@1.0.15) ##### Patch Changes - Updated dependencies \[[`344b2d2`](https://redirect.github.com/langchain-ai/langgraphjs/commit/344b2d2c1a6dca43e9b01e436b00bca393bc9538), [`84a636e`](https://redirect.github.com/langchain-ai/langgraphjs/commit/84a636e52f7d3a4b97ae69d050efd9ca0224c6ca), [`2b9f3ee`](https://redirect.github.com/langchain-ai/langgraphjs/commit/2b9f3ee83d0b8ba023e7a52b938260af3f6433d4)]: - [@&#8203;langchain/langgraph-sdk](https://redirect.github.com/langchain/langgraph-sdk)@&#8203;1.5.0 ### [`v1.0.14`](https://redirect.github.com/langchain-ai/langgraphjs/blob/HEAD/libs/langgraph-core/CHANGELOG.md#1014) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/@langchain/langgraph@1.0.13...@langchain/langgraph@1.0.14) ##### Patch Changes - [#&#8203;1862](https://redirect.github.com/langchain-ai/langgraphjs/pull/1862) [`e7aeffe`](https://redirect.github.com/langchain-ai/langgraphjs/commit/e7aeffeb72aaccd8c94f8e78708f747ce21bf23c) Thanks [@&#8203;dqbd](https://redirect.github.com/dqbd)! - retry release: improved Zod interop - Updated dependencies \[[`e7aeffe`](https://redirect.github.com/langchain-ai/langgraphjs/commit/e7aeffeb72aaccd8c94f8e78708f747ce21bf23c)]: - [@&#8203;langchain/langgraph-sdk](https://redirect.github.com/langchain/langgraph-sdk)@&#8203;1.4.6 ### [`v1.0.13`](https://redirect.github.com/langchain-ai/langgraphjs/blob/HEAD/libs/langgraph-core/CHANGELOG.md#1013) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/@langchain/langgraph@1.0.12...@langchain/langgraph@1.0.13) ##### Patch Changes - [#&#8203;1856](https://redirect.github.com/langchain-ai/langgraphjs/pull/1856) [`a9fa28b`](https://redirect.github.com/langchain-ai/langgraphjs/commit/a9fa28b6adad16050fcf5d5876a3924253664217) Thanks [@&#8203;christian-bromann](https://redirect.github.com/christian-bromann)! - retry release: improved Zod interop - Updated dependencies \[[`a9fa28b`](https://redirect.github.com/langchain-ai/langgraphjs/commit/a9fa28b6adad16050fcf5d5876a3924253664217)]: - [@&#8203;langchain/langgraph-sdk](https://redirect.github.com/langchain/langgraph-sdk)@&#8203;1.4.5 ### [`v1.0.12`](https://redirect.github.com/langchain-ai/langgraphjs/blob/HEAD/libs/langgraph-core/CHANGELOG.md#1012) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/a5e45e58cf001b09c82dce2b248e73eafb86351d...@langchain/langgraph@1.0.12) ##### Patch Changes - [#&#8203;1853](https://redirect.github.com/langchain-ai/langgraphjs/pull/1853) [`a84c1ff`](https://redirect.github.com/langchain-ai/langgraphjs/commit/a84c1ff18289653ff4715bd0db4ac3d06600556e) Thanks [@&#8203;christian-bromann](https://redirect.github.com/christian-bromann)! - retry release: improved Zod interop - Updated dependencies \[[`a84c1ff`](https://redirect.github.com/langchain-ai/langgraphjs/commit/a84c1ff18289653ff4715bd0db4ac3d06600556e)]: - [@&#8203;langchain/langgraph-sdk](https://redirect.github.com/langchain/langgraph-sdk)@&#8203;1.4.4 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/Kuingsmile/word-GPT-Plus). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 13:59:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/word-GPT-Plus#130
No description provided.