Packages

@langchain/langgraph-sdk

1.17.0 · 17 Nov 2026MIT5.6M / weekRepositoryHomepagenpmAtom feed

Your version

215 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.x · latest line
  2. 1.9.3

    18 May 2026
    • Coalesce RootMessageProjection store writes through a single setTimeout(0) flush so long messages-channel replays (on refresh, mid-run join, or rapid subagent streaming) no longer drain as a per-event microtask chain that trips React's Maximum update depth exceeded guard. Replaces the previous MessageChannel-based batching, which deferred initial-submit events past the first render and left the UI looking frozen until refresh.

    • Fix subagent message routing to prefer the stream event namespace over checkpoint metadata when filtering subagent messages.

    • Batch RootMessageProjection store writes through a macrotask

  3. 1.9.2

    11 May 2026
    • sdk: Support metadata filter for crons search/count

    • sdk: Preserve AI content blocks during message projection

  4. 1.9.1

    5 May 2026
    • sdk: Update endpoints

  5. 1.9.0

    5 May 2026
    • Add the framework-agnostic event streaming SDK.

      The SDK now includes a thread-focused streaming client built around ThreadStream, SubscriptionHandle, message assembly, media assembly, typed stream extensions, and pluggable protocol transports. Applications can stream over SSE or WebSocket, provide custom agent-server adapters, subscribe to values/messages/tools/custom/lifecycle/checkpoint channels, inspect and fork state, respond to interrupts, and replay or dedupe ordered event streams.

      This release also adds the reusable stream runtime used by the React, Vue, Svelte, and Angular packages: StreamController, StreamStore, ChannelRegistry, projection factories, subagent/subgraph discovery, submission queue coordination, message metadata tracking, root message projection, media projections, and helper types for agent/deep-agent state and tool-call inference.

      The client package has been reorganized into focused modules for assistants, threads, runs, store, protocol streaming, transports, media, messages, and UI helpers. New SDK documentation covers configuration, assistants, threads, runs, store, streaming, transports, extensions, interrupts, messages, media, subagents, and subgraphs.

    • Add a returnMinimal option to threads.update.

  6. 1.8.13

    17 Nov 2026
    • useStream from @langchain/langgraph-sdk/react now calls the onError passed to submit() when that run fails, after the hook's own onError. It was typed and documented but never called, on both the LangGraph server and the custom transport paths.

  7. 1.8.12

    7 Nov 2026
    • Deprecated

      client.runs.joinStream takes a checkpointId option, sent as the checkpoint_id query parameter: servers that support it send only the run's events after that checkpoint, or the whole run when it is not one of the run's, and other servers ignore it. With reconnectOnMount, useStream now rejoins a running run once the thread state has loaded, from the loaded head's checkpoint, so a reload no longer replays the run from its start over the state it just loaded. A streamed message now updates the message with its id wherever it is in the list, so one the loaded state already holds, or one a values event moved, is not appended again or written over another. MessageTupleManager.get's defaultIndex argument and the index field of its entries are deprecated: StreamManager no longer reads them, and they will be removed in 2.0.

    • useStream ignores a tools event of a kind it doesn't know, such as langgraph's own tool-started payload, instead of throwing Unexpected tool event inside a state update, which crashed the app's render.

  8. 1.8.11

    20 Oct 2026
    • Runs that StreamOrchestrator.submit() queues while another run is streaming now request the same stream modes as a direct submit. Previously the queued run was created without streamMode, so the server only produced values events for it: once the queue drained, replies arrived in one piece instead of token by token, and updates, custom, tool and message-tuple consumers received nothing.

  9. 1.8.10

    29 Apr 2026
    • Respect fetchStateHistory when restoring subagent history.

  10. 1.8.9

    16 Apr 2026
    • sdk: Preserve messages on interrupt values events

      Add a regression test for interrupt-only values payloads to ensure
      previously streamed messages are not overwritten when __interrupt__ is emitted.

  11. 1.8.8

    6 Apr 2026
    • sdk: Buffer subagent messages instead of dropping them

  12. 1.8.7

    4 Apr 2026
    • sdk: Detect interrupt for Python agents

  13. 1.8.6

    4 Apr 2026
    • sdk: Bump all packages

  14. 1.8.5

    3 Apr 2026
    • sdk: Better type inferrence

    • vue: Make subagents accessible once they are spun up

  15. 1.8.4

    2 Apr 2026
    • Restore deprecated snake_case aliases on human-in-the-loop interrupt payloads
      while preserving the newer camelCase fields so older apps can migrate to
      @langchain/react without breaking interrupt handling.

  16. 1.8.3

    1 Apr 2026
    • sdk: Accumulate parallel interrupts in StreamManager

  17. 1.8.2

    28 Mar 2026
    • sdk: Skip post-stream getHistory for zero-arity onFinish

  18. 1.8.1

    26 Mar 2026
    • Extract shared WithClassMessages<T> type to @langchain/langgraph-sdk/ui

    • skd: Normalize interrupts between JS and Python

  19. 1.8.0

    20 Mar 2026
    • Extract shared orchestrator to eliminate duplicated code across SDK packages

  20. 1.7.5

    20 Mar 2026
    • Support onFinish callback in custom transport, ensuring it is called when the stream completes.

    • sdk: Fetch subagent history

    • Forward streamSubgraphs in custom transports

  21. 1.7.4

    18 Mar 2026
    • Add checkpointId support to threads.updateState, runs.create, and runs.wait methods

  22. 1.7.3

    17 Mar 2026
    • Fix getSubagentsByMessage returning empty array for OpenAI models by updating aiMessageId when the provider replaces it during streaming.

    • Add cancelMany method to sdk

    • Adds threads.prune and updates SDK methods to have latest values.

  23. 1.7.2

    11 Mar 2026
    • sdk: Revert dependency between old SDK and new react package

  24. 1.7.1

    11 Mar 2026
    • Use optimistic threadId in a custom stream

    • sdk: Convert history messages to BaseMessage instances in framework SDKs

      When accessing stream.history in the framework SDK packages (React,
      Svelte, Angular, Vue), messages within thread state values are now
      converted to proper @langchain/core BaseMessage class instances (e.g.
      HumanMessage, AIMessage) instead of being returned as plain objects.

      The base @langchain/langgraph-sdk package is intentionally unchanged
      and continues to return plain Message dicts for backward compatibility.

  25. 1.7.0

    10 Mar 2026
  26. 1.6.5

    26 Feb 2026
    • Add tools stream mode for tool lifecycle events

    • sdk: Add extract parameter to threads.search()

  27. 1.6.4

    19 Feb 2026
    • Export stream error class

    • sdk: Resolve UseStream type incompatibility with useStream return type

    • sdk: Abort previous stream in useStream when using interrupt/rollback multitask strategy

  28. 1.6.3

    18 Feb 2026
    • Add 'state_updated_at' field to threads

  29. 1.6.2

    11 Feb 2026
    • sdk: Make SubagentStream and SubagentToolCall generic for type-safe subagent inference

  30. 1.6.1

    11 Feb 2026
    • stream: Add interrupts array to useStream for multi-interrupt support

  31. 1.6.0

    7 Feb 2026
    • sdk: Add multi-subagent tracking to useStream

  32. 1.5.6

    5 Feb 2026
    • sdk-js: Add support for pausing/unpausing crons

  33. 1.5.5

    20 Jan 2026
    • sdk: Infer agent types in stream.values

    • Make sure we always pass URL as a string to fetch

  34. 1.5.4

    16 Jan 2026
    • sdk: Allow client-side filtering of events when joining a stream.

    • Cannot convert undefined or null to object error in useStream

  35. 1.5.3

    13 Jan 2026
    • Made JS SSE reconnect logic match Python by retrying based on Location (even before a first event) and retry on Undici connection errors.

  36. 1.5.2

    11 Jan 2026
    • Fix bug in UseStream export.

  37. 1.5.1

    11 Jan 2026
    • Readd UseStream instance exports

  38. 1.5.0

    10 Jan 2026
    • Add onRunCompleted parameter to CronsClient.create() for controlling thread cleanup behavior in stateless crons. Options are "delete" (default) to automatically clean up threads, or "keep" to preserve threads for later retrieval.

    • Expose and pass down interrupt generic type

    • Add delete_threads query parameter to delete assistants API.

  39. 1.4.6

    9 Jan 2026
    • Retry release: add type-safe tool call streaming with agent type inference, provide proper error message when failing to connect to a server, expose Thread["config"] and Thread["error"]

  40. 1.4.5

    9 Jan 2026
    • Retry release: add type-safe tool call streaming with agent type inference, provide proper error message when failing to connect to a server, expose Thread["config"] and Thread["error"]

  41. 1.4.4

    9 Jan 2026
    • Retry release: add type-safe tool call streaming with agent type inference, provide proper error message when failing to connect to a server, expose Thread["config"] and Thread["error"]

  42. 1.3.1

    16 Dec 2025
    • Adding retry support for stream methods on network issues

  43. 1.3.0

    15 Dec 2025
    • sdk: Add support for enqueuing useStream().submit(...) calls while the agent is still running

  44. 1.2.0

    5 Dec 2025
    • Fix tool calls arguments not being streamed to the client

    • Add support for sending AbortSignal to all SDK methods

    • Fix useStream().stop() not cancelling creation of thread.

  45. 1.1.0

    3 Dec 2025
    • Rename experimental_thread to thread, allowing replacing built-in history fetching hook with React Query / SWR

    • Add throttle option to useStream and batch updates in a macrotask to prevent Maximum update depth exceeded error

    • Add name parameter to assistants count API.

  46. 1.0.3

    26 Nov 2025
    • Adding support to skip auto loading api key when set to null on sdk client create

  47. 1.0.2

    24 Nov 2025
    • Ensure isLoading is set to false when cancelling the stream due to thread ID change

  48. 1.0.1

    21 Nov 2025
    • Adding functionality to search assistants by name in the in-memory server implementation.

    • Add values parameter to thread search

  49. 1.0.0

    18 Oct 2025
    • Breaking

      This release updates the package for compatibility with LangGraph v1.0. See the v1.0 release notes for details on what's new.

  50. 0.1.x
  51. 0.1.10

    12 Oct 2025

    Reading the note…

  52. 0.1.9

    30 Sep 2025

    Reading the note…

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.