Bumps the minor-and-patch group in /libs/cli/js-examples with 9 updates: | Package | From | To | | --- | --- | --- | | [@langchain/core](https://github.com/langchain-ai/langchainjs) | `1.2.13` | `1.3.1` | | [@langchain/langgraph](https://github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core) | `1.4.18` | `1.5.3` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.70.1` | `8.72.1` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.70.1` | `8.72.1` | | [dotenv](https://github.com/motdotla/dotenv) | `18.0.4` | `18.0.9` | | [eslint](https://github.com/eslint/eslint) | `10.11.0` | `10.13.0` | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.5.6` | `5.5.7` | | [prettier](https://github.com/prettier/prettier) | `3.9.9` | `3.9.10` | | [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.4.14` | `29.4.15` | Updates `@langchain/core` from 1.2.13 to 1.3.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">@langchain/core's releases</a>.</em></p> <blockquote> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.3.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/12026">#12026</a> <a href="https://github.com/langchain-ai/langchainjs/commit/178af31ee41b7e36fa2971af61ade6a5460b6d2e"><code>178af31</code></a> Thanks <a href="https://github.com/eliornl"><code>@eliornl</code></a>! - fix(core): deliver callbacks once to a handler registered twice by merged configs</p> <p>Merging two runnable configs that both carry the same callback handler, as happens when an agent's <code>streamEvents()</code> runs inside a LangGraph node with tracing on, registered that handler twice, so it received every callback twice: every streamed chunk arrived twice. The configured callback manager now keeps each handler once, in order, including a handler passed as a plain object of methods that merged configs wrapped twice.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/12042">#12042</a> <a href="https://github.com/langchain-ai/langchainjs/commit/50343ba94c2388b3d3a7d4d6cd0977fa60a90294"><code>50343ba</code></a> Thanks <a href="https://github.com/sera-wi"><code>@sera-wi</code></a>! - fix(core): include node <code>metadata</code> in <code>Graph.toJSON()</code> output when set, matching Python</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/12048">#12048</a> <a href="https://github.com/langchain-ai/langchainjs/commit/304d190a30343ecb8ae5f06081a2b5a6d93d9968"><code>304d190</code></a> Thanks <a href="https://github.com/sera-wi"><code>@sera-wi</code></a>! - fix(core): escape <code>drawMermaid</code> node metadata labels and leave out object values, so metadata with brackets or objects no longer breaks Mermaid parsing</p> </li> </ul> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.3.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11986">#11986</a> <a href="https://github.com/langchain-ai/langchainjs/commit/2caf64da3f02730f3cd2aab0c15de6eab41a01da"><code>2caf64d</code></a> Thanks <a href="https://github.com/richardscarrott"><code>@richardscarrott</code></a>! - feat: stream tool-call args as <code>tool-call-delta</code> slices</p> <p>Tool-call and server-tool-call args now stream as <code>tool-call-delta</code> events, which carry only the new slice of the args, instead of <code>block-delta</code> snapshots of the args so far. A large tool call now costs about the same bytes on the wire as the same length of text.</p> <ul> <li>This covers the compat bridge (any model that only implements <code>_streamResponseChunks</code>), the OpenAI-compatible converter (OpenAI Completions, Groq, Mistral, IBM, OpenRouter, Perplexity, DeepSeek, Fireworks, Together AI and xAI Completions), OpenAI and xAI Responses, Anthropic (client and server tool calls) and Bedrock Converse. Google and Ollama still send one complete snapshot per call.</li> <li>A tool call's <code>id</code>, <code>name</code> and <code>index</code> go on <code>content-block-start</code>, which carries no args. An <code>id</code> or <code>name</code> that arrives later reaches consumers on <code>content-block-finish</code>.</li> <li>If you read raw events and their <code>block-delta</code> <code>fields.args</code> mid-stream, or write agent stream transformers that do, read <code>tool-call-delta</code> instead. <code>await stream</code>, <code>.toolCalls</code> and the assembled message are unchanged.</li> <li>Upgrade your clients first. Older clients mishandle <code>tool-call-delta</code>. You need <code>@langchain/langgraph-sdk</code> 1.12.6 or later; <code>@langchain/react</code>, <code>@langchain/vue</code>, <code>@langchain/svelte</code> or <code>@langchain/angular</code> 1.2.6 or later; and <code>langchain-core</code> 1.6.13 or later for Python clients.</li> <li>To hold back, pin <code>@langchain/core</code> below 1.3.0. That also keeps you on <code>@langchain/openai</code>, <code>@langchain/anthropic</code>, <code>@langchain/aws</code> and <code>@langchain/xai</code> versions that send snapshots.</li> </ul> </li> </ul> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.2.20</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11922">#11922</a> <a href="https://github.com/langchain-ai/langchainjs/commit/d71c542fb1d9cd1ceb310a4759591c024cf0d57d"><code>d71c542</code></a> Thanks <a href="https://github.com/richardscarrott"><code>@richardscarrott</code></a>! - feat(core): add <code>midConversationSystemMessages</code> and <code>midConversationTools</code> to <code>ModelProfile</code>. They say whether a chat model sends a system message after the first turn in place, and whether it can add a tool through a message rather than the request's tool list. Either way the prompt prefix before it stays unchanged.</li> </ul> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.2.19</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11982">#11982</a> <a href="https://github.com/langchain-ai/langchainjs/commit/5af4684bd19a16bb59950801da92245733482fb3"><code>5af4684</code></a> Thanks <a href="https://github.com/richardscarrott"><code>@richardscarrott</code></a>! - feat(core): read <code>tool-call-delta</code> in <code>ChatModelStream</code></p> <ul> <li><code>ChatModelStream</code> appends <code>tool-call-delta</code> slices to a tool call's args, and still replaces them on <code>block-delta</code></li> <li>It ignores delta types it doesn't recognize instead of throwing <code>Unknown delta type</code></li> </ul> </li> </ul> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.2.18</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11956">#11956</a> <a href="https://github.com/langchain-ai/langchainjs/commit/93d62b008e13e10f28724a5ab09ab6eda584f1cb"><code>93d62b0</code></a> Thanks <a href="https://github.com/hntrl"><code>@hntrl</code></a>! - Require langsmith >=0.11.0 to include the restored NullableHeaders type declarations.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11822">#11822</a> <a href="https://github.com/langchain-ai/langchainjs/commit/d3e6fe66a5f902fa615f076ca71d9541f1291166"><code>d3e6fe6</code></a> Thanks <a href="https://github.com/dqbd"><code>@dqbd</code></a>! - Add explicit agent address support to <code>LangChainTracer</code>, inherit project and address destinations together, and delegate default destination resolution to the LangSmith SDK.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11150">#11150</a> <a href="https://github.com/langchain-ai/langchainjs/commit/cea15cf9ef5216125b24f23bb5ad06b7c1a91b33"><code>cea15cf</code></a> Thanks <a href="https://github.com/mdnanocom"><code>@mdnanocom</code></a>! - fix(core): defer tool call chunk collapsing in AIMessageChunk to fix O(n²) streaming aggregation</p> <p><code>AIMessageChunk</code> eagerly re-ran <code>collapseToolCallChunks</code> in its constructor on every streamed delta <code>concat</code>, re-parsing all accumulated tool args each time — O(n²) over a stream, which can block the event loop for seconds on long tool-call streams. Collapsing now runs lazily, once, on first read of <code>tool_calls</code> / <code>invalid_tool_calls</code>.</p> </li> </ul> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.2.17</h2> <h3>Patch Changes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/e8c5dc82ba52cff3bc08cd71f963a69596d7ea4d"><code>e8c5dc8</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/12047">#12047</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/b5135cc189adbf313f4e92c1527f96a40a546977"><code>b5135cc</code></a> feat(openai,langchain): support Decisions API and agent middleware (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11930">#11930</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/52d2ba8ea50149f2314df63b79582f8508034a3b"><code>52d2ba8</code></a> fix(aws): use this.caller in ChatBedrockConverse to support retries (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11463">#11463</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/178af31ee41b7e36fa2971af61ade6a5460b6d2e"><code>178af31</code></a> fix(core): deliver callbacks once to a handler registered twice by merged con...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/304d190a30343ecb8ae5f06081a2b5a6d93d9968"><code>304d190</code></a> fix(core): make drawMermaid node metadata labels safe (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/12048">#12048</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/50343ba94c2388b3d3a7d4d6cd0977fa60a90294"><code>50343ba</code></a> fix(core): include node metadata in Graph.toJSON() (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/12042">#12042</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/d1d0692d8498d7e1521c854d90af0395535df4d8"><code>d1d0692</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/12044">#12044</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/95b191b1928ee8f4e20e51aa821f5c5fd4b8b3da"><code>95b191b</code></a> feat(openai): refresh model profiles from models.dev (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/12046">#12046</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/81577b3e84c3f38581e76e8335faa89511e99d74"><code>81577b3</code></a> fix(langchain): re-throw a drained tool from the agent's ToolNode (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/12043">#12043</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/4cbf0f5938710ce1669c679febdbea41b733a100"><code>4cbf0f5</code></a> chore(deps): bump the npm_and_yarn group across 2 directories with 1 update (...</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/core@1.2.13...@langchain/core@1.3.1">compare view</a></li> </ul> </details> <br /> Updates `@langchain/langgraph` from 1.4.18 to 1.5.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langgraphjs/releases">@langchain/langgraph's releases</a>.</em></p> <blockquote> <h2><code>@langchain/langgraph-api</code><a href="https://github.com/1"><code>@1</code></a>.5.3</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/2961">#2961</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/1631fd895723c4553345ceb5d9fc425b68bda959"><code>1631fd8</code></a> Thanks <a href="https://github.com/soarez"><code>@soarez</code></a>! - order parallel writes by task path, like langgraph (Python) — one sort key for live execution and every saver, instead of the task-id order <a href="https://redirect.github.com/langchain-ai/langgraphjs/issues/2544">#2544</a> added for DeltaChannel writes</p> <p>When two or more tasks in one superstep write the same <code>DeltaChannel</code>, their writes are now applied and replayed in <code>(task_path, task_id, idx)</code> order — the order Python's langgraph#8544 established — instead of task-id order. Task ids are uuid5 hashes that include the checkpoint id, so the old order permuted parallel writers from run to run and disagreed with Python.</p> <ul> <li><code>BaseCheckpointSaver.putWrites</code> takes an optional <code>taskPath</code> (the serialized task path, <code>taskPathStr</code>), and <code>getTuple</code>/<code>list</code> must return <code>pendingWrites</code> in the new <code>writesSortKey</code> order. <code>writesSortKey</code> and <code>compareWritesSortKeys</code> are new exports of <code>@langchain/langgraph-checkpoint</code>; every saver (memory, SQLite, Postgres, Redis incl. ShallowRedisSaver, MongoDB) stores the path and sorts in JS — no database collation is involved.</li> <li>SQLite and Postgres gain a <code>task_path</code> column (migrated automatically on <code>setup()</code>; read-only pre-column SQLite databases keep reading, with their rows keeping the old order). Redis and MongoDB documents gain a <code>task_path</code> field. Rows written before the upgrade keep their old order.</li> <li>Exit-durability resumes replay delta writes in live order (port of langgraph#9114): the resumed superstep's writes interleave with the loaded ones by task path, later supersteps sort after every real write, and writes loaded with the checkpoint are no longer stored twice.</li> <li><code>bulkUpdateState</code> seals the first update superstep: DeltaChannels touched by the base checkpoint's pending writes (and whose version moved) snapshot on the update checkpoint, so a finished sibling's writes and the update's can't replay in the wrong order (partial port of langgraph#8548).</li> <li><code>bulkUpdateState</code>/<code>updateState</code> update tasks carry <code>(__interrupt__, i)</code> task paths, as in langgraph#9128, so several updates in one superstep writing the same DeltaChannel replay in the order given.</li> <li>Send task paths become <code>[PUSH, i, false]</code> and node-error-handler paths become <code>[*failedTask.path[:3], "node_error_handler", false]</code> (the failed task's first three path elements), matching Python's shapes — <code>langgraph_path</code> task metadata changes accordingly, and task ids of functional <code>task()</code> calls under a Send or handler task change with them. The SDK's Send-task detection accepts both the old and new shapes.</li> </ul> <p>Upgrade notes:</p> <ul> <li><code>PostgresSaver</code>: run <code>setup()</code> once after upgrading, from one process, before the new version serves traffic. The <code>task_path</code> column comes from the first new migration since the saver shipped, and until it runs, reads and writes fail with <code>column "task_path" does not exist</code>. Several processes running <code>setup()</code> at once on a database that still needs the migration can fail with a duplicate key error on <code>checkpoint_migrations</code>.</li> <li>Third-party checkpoint savers remain source-compatible but must now persist the <code>taskPath</code> they are given and return <code>pendingWrites</code> in <code>writesSortKey</code> order; the conformance suite's new base tests enforce this. A saver that ignores the new argument replays in task-id order and can rebuild a different DeltaChannel value than the run produced.</li> <li>An incomplete superstep containing stored delta writes that must interleave with resumed or retried task writes is affected by the upgrade, whether the incompleteness came from an interrupt, a task error, a crash, or a drain: finish such threads with the old runtime before upgrading writers. A single interrupted node with no finished delta-writing siblings is safe to resume. The same applies to resuming work that includes functional <code>task()</code> calls under a Send or error-handler task, whose child task ids change.</li> <li><code>@langchain/langgraph-checkpoint</code> 1.2.0 must be released before any package requiring its new exports; the consumers' minimum ranges are raised accordingly.</li> </ul> </li> <li> <p>Updated dependencies []:</p> <ul> <li><code>@langchain/langgraph-ui</code><a href="https://github.com/1"><code>@1</code></a>.5.3</li> </ul> </li> </ul> <h2><code>@langchain/langgraph-cli</code><a href="https://github.com/1"><code>@1</code></a>.5.3</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/langchain-ai/langgraphjs/commit/1631fd895723c4553345ceb5d9fc425b68bda959"><code>1631fd8</code></a>]: <ul> <li><code>@langchain/langgraph-api</code><a href="https://github.com/1"><code>@1</code></a>.5.3</li> </ul> </li> </ul> <h2><code>@langchain/langgraph-ui</code><a href="https://github.com/1"><code>@1</code></a>.5.3</h2> <p>No changes in this release.</p> <h2><code>@langchain/langgraph</code><a href="https://github.com/1"><code>@1</code></a>.5.3</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/3125">#3125</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/e24ec8c3ff3cf4191c4988e84a26c405816976cd"><code>e24ec8c</code></a> Thanks <a href="https://github.com/eliornl"><code>@eliornl</code></a>! - Change the default <code>DeltaChannel</code> snapshot frequency from 1000 to 100 updates, matching Python. Channels now persist full snapshots more frequently to reduce replay latency at the cost of increased storage. Set <code>snapshotFrequency: 1000</code> explicitly to retain the previous cadence.</li> <li>Updated dependencies [<a href="https://github.com/langchain-ai/langgraphjs/commit/f3dfbb2c3f6c4ff5d30aceca027ab19fca021bde"><code>f3dfbb2</code></a>]: <ul> <li><code>@langchain/langgraph-sdk</code><a href="https://github.com/1"><code>@1</code></a>.12.8</li> </ul> </li> </ul> <h2><code>@langchain/langgraph-api</code><a href="https://github.com/1"><code>@1</code></a>.5.2</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies []: <ul> <li><code>@langchain/langgraph-ui</code><a href="https://github.com/1"><code>@1</code></a>.5.2</li> </ul> </li> </ul> <h2><code>@langchain/langgraph-cli</code><a href="https://github.com/1"><code>@1</code></a>.5.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/2887">#2887</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/8f8eaa8686dab8ba9d35eac9934c590ecbbe11f6"><code>8f8eaa8</code></a> Thanks <a href="https://github.com/syachamaneni-lc"><code>@syachamaneni-lc</code></a>! - add --agent-id and --agent-environment flags</li> <li>Updated dependencies []:</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langgraphjs/blob/main/libs/langgraph-core/CHANGELOG.md">@langchain/langgraph's changelog</a>.</em></p> <blockquote> <h2>1.5.3</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/3125">#3125</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/e24ec8c3ff3cf4191c4988e84a26c405816976cd"><code>e24ec8c</code></a> Thanks <a href="https://github.com/eliornl"><code>@eliornl</code></a>! - Change the default <code>DeltaChannel</code> snapshot frequency from 1000 to 100 updates, matching Python. Channels now persist full snapshots more frequently to reduce replay latency at the cost of increased storage. Set <code>snapshotFrequency: 1000</code> explicitly to retain the previous cadence.</li> <li>Updated dependencies [<a href="https://github.com/langchain-ai/langgraphjs/commit/f3dfbb2c3f6c4ff5d30aceca027ab19fca021bde"><code>f3dfbb2</code></a>]: <ul> <li><code>@langchain/langgraph-sdk</code><a href="https://github.com/1"><code>@1</code></a>.12.8</li> </ul> </li> </ul> <h2>1.5.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/3022">#3022</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/a17f6098a853d1051c810f2c8dffa15e4de8f083"><code>a17f609</code></a> Thanks <a href="https://github.com/richardscarrott"><code>@richardscarrott</code></a>! - Depend on <code>@langchain/protocol</code> 0.0.20, the version <code>@langchain/langgraph-sdk</code> uses, so installs resolve a single copy and the protocol event types stay compatible.</li> <li>Updated dependencies [<a href="https://github.com/langchain-ai/langgraphjs/commit/6e845706b9a7d12f85e9477722908cc9f7003521"><code>6e84570</code></a>, <a href="https://github.com/langchain-ai/langgraphjs/commit/a17f6098a853d1051c810f2c8dffa15e4de8f083"><code>a17f609</code></a>]: <ul> <li><code>@langchain/langgraph-checkpoint</code><a href="https://github.com/1"><code>@1</code></a>.2.1</li> <li><code>@langchain/langgraph-sdk</code><a href="https://github.com/1"><code>@1</code></a>.12.6</li> </ul> </li> </ul> <h2>1.5.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/3017">#3017</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/61b00495dd13da035d6c92a68f3294f60ca54bd7"><code>61b0049</code></a> Thanks <a href="https://github.com/eliornl"><code>@eliornl</code></a>! - A field that changes from a DeltaChannel to a plain reducer, for example to <code>MessagesAnnotation</code>, keeps its value on threads written under the DeltaChannel: reads rebuild it from the stored writes instead of returning the empty default, and the next run adds to it instead of replacing it.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/3027">#3027</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/af7e421cd35766296cef05d9cdc50b12a794fbeb"><code>af7e421</code></a> Thanks <a href="https://github.com/eliornl"><code>@eliornl</code></a>! - With <code>durability: "exit"</code>, resuming parallel interrupts one at a time no longer applies a finished task's output twice: the save at exit keeps only the writes made during that run, instead of storing the ones loaded with the checkpoint again under new indexes.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/2986">#2986</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/53cc6274ee6cdb0ad7cfbbc3cc53e6f6b1af4410"><code>53cc627</code></a> Thanks <a href="https://github.com/byhow"><code>@byhow</code></a>! - When one answer in a multi-answer resume fails its interrupt's <code>responseSchema</code>, the other tasks in the step now finish before the <code>ZodError</code> is thrown, instead of being aborted. A task aborted after its side effects kept its answer and ran again on the next resume. The error is unchanged, and the new <code>isInvalidResume(error)</code> tells it apart from other errors, as <code>is_invalid_resume</code> does in langgraph (Python).</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/3038">#3038</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/bc010237d9904bedf411c965d14343222e300d74"><code>bc01023</code></a> Thanks <a href="https://github.com/eliornl"><code>@eliornl</code></a>! - <code>messagesStateReducer</code> and <code>messagesDeltaReducer</code> store message chunks as their non-chunk class, as Python's <code>add_messages</code> does. A graph run with <code>streamMode: "messages"</code> or <code>streamEvents</code> now checkpoints the same <code>AIMessage</code> as <code>invoke</code>, without a duplicate <code>tool_call_chunks</code> copy of every tool call, and an in-place edit to <code>tool_calls</code> (for example a rejected call in <code>humanInTheLoopMiddleware</code>) is no longer undone when the thread is reloaded.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/3028">#3028</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/ec1854a53bc5c6d88f3922a80085ca05678d4532"><code>ec1854a</code></a> Thanks <a href="https://github.com/eliornl"><code>@eliornl</code></a>! - Resuming after some parallel interrupts were answered no longer reruns the nodes and <code>task()</code> calls that already finished, in a subgraph or when the resume is sent with the id of the thread's latest checkpoint. Finished tasks now rerun only on time travel, or on a resume at a checkpoint the thread has moved past.</p> </li> <li> <p>Updated dependencies [<a href="https://github.com/langchain-ai/langgraphjs/commit/2e1fe5b3fffd87b2f7ba260da3726a2c03c2f72f"><code>2e1fe5b</code></a>, <a href="https://github.com/langchain-ai/langgraphjs/commit/0acf88db9fdc6441c8b3a162b7a328b9b91e115e"><code>0acf88d</code></a>, <a href="https://github.com/langchain-ai/langgraphjs/commit/9cc54cce575ae00deb0bb5946aa457f44f485427"><code>9cc54cc</code></a>, <a href="https://github.com/langchain-ai/langgraphjs/commit/4690a5b9a59f4f96790fdce45160f744272ca054"><code>4690a5b</code></a>]:</p> <ul> <li><code>@langchain/langgraph-sdk</code><a href="https://github.com/1"><code>@1</code></a>.12.5</li> </ul> </li> </ul> <h2>1.5.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langgraphjs/pull/2961">#2961</a> <a href="https://github.com/langchain-ai/langgraphjs/commit/1631fd895723c4553345ceb5d9fc425b68bda959"><code>1631fd8</code></a> Thanks <a href="https://github.com/soarez"><code>@soarez</code></a>! - order parallel writes by task path, like langgraph (Python) — one sort key for live execution and every saver, instead of the task-id order <a href="https://redirect.github.com/langchain-ai/langgraphjs/issues/2544">#2544</a> added for DeltaChannel writes</p> <p>When two or more tasks in one superstep write the same <code>DeltaChannel</code>, their writes are now applied and replayed in <code>(task_path, task_id, idx)</code> order — the order Python's langgraph#8544 established — instead of task-id order. Task ids are uuid5 hashes that include the checkpoint id, so the old order permuted parallel writers from run to run and disagreed with Python.</p> <ul> <li><code>BaseCheckpointSaver.putWrites</code> takes an optional <code>taskPath</code> (the serialized task path, <code>taskPathStr</code>), and <code>getTuple</code>/<code>list</code> must return <code>pendingWrites</code> in the new <code>writesSortKey</code> order. <code>writesSortKey</code> and <code>compareWritesSortKeys</code> are new exports of <code>@langchain/langgraph-checkpoint</code>; every saver (memory, SQLite, Postgres, Redis incl. ShallowRedisSaver, MongoDB) stores the path and sorts in JS — no database collation is involved.</li> <li>SQLite and Postgres gain a <code>task_path</code> column (migrated automatically on <code>setup()</code>; read-only pre-column SQLite databases keep reading, with their rows keeping the old order). Redis and MongoDB documents gain a <code>task_path</code> field. Rows written before the upgrade keep their old order.</li> <li>Exit-durability resumes replay delta writes in live order (port of langgraph#9114): the resumed superstep's writes interleave with the loaded ones by task path, later supersteps sort after every real write, and writes loaded with the checkpoint are no longer stored twice.</li> <li><code>bulkUpdateState</code> seals the first update superstep: DeltaChannels touched by the base checkpoint's pending writes (and whose version moved) snapshot on the update checkpoint, so a finished sibling's writes and the update's can't replay in the wrong order (partial port of langgraph#8548).</li> <li><code>bulkUpdateState</code>/<code>updateState</code> update tasks carry <code>(__interrupt__, i)</code> task paths, as in langgraph#9128, so several updates in one superstep writing the same DeltaChannel replay in the order given.</li> <li>Send task paths become <code>[PUSH, i, false]</code> and node-error-handler paths become <code>[*failedTask.path[:3], "node_error_handler", false]</code> (the failed task's first three path elements), matching Python's shapes — <code>langgraph_path</code> task metadata changes accordingly, and task ids of functional <code>task()</code> calls under a Send or handler task change with them. The SDK's Send-task detection accepts both the old and new shapes.</li> </ul> <p>Upgrade notes:</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langgraphjs/commit/b09eb0662358457955131fe0bfec1d7c11e7d7c5"><code>b09eb06</code></a> chore: version packages (<a href="https://github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core/issues/3117">#3117</a>)</li> <li><a href="https://github.com/langchain-ai/langgraphjs/commit/e24ec8c3ff3cf4191c4988e84a26c405816976cd"><code>e24ec8c</code></a> fix(langgraph): default delta snapshots to 100 updates (<a href="https://github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core/issues/3125">#3125</a>)</li> <li><a href="https://github.com/langchain-ai/langgraphjs/commit/10e72bc10a7f1f98b4e115e0617ae7bc8162718d"><code>10e72bc</code></a> chore(deps): bump vite, vitest, and launch-editor security fixes (<a href="https://github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core/issues/3091">#3091</a>)</li> <li><a href="https://github.com/langchain-ai/langgraphjs/commit/0c12d5c429c97dc69d6f72cceb269a4dc920f9a5"><code>0c12d5c</code></a> chore: version packages (<a href="https://github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core/issues/3059">#3059</a>)</li> <li><a href="https://github.com/langchain-ai/langgraphjs/commit/a17f6098a853d1051c810f2c8dffa15e4de8f083"><code>a17f609</code></a> feat(sdk): read <code>tool-call-delta</code> and ignore unknown delta variants (<a href="https://github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core/issues/3022">#3022</a>)</li> <li><a href="https://github.com/langchain-ai/langgraphjs/commit/cc29753d529caa5eed97a65e765ba26c0f88c631"><code>cc29753</code></a> chore: version packages (<a href="https://github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core/issues/3018">#3018</a>)</li> <li><a href="https://github.com/langchain-ai/langgraphjs/commit/53cc6274ee6cdb0ad7cfbbc3cc53e6f6b1af4410"><code>53cc627</code></a> fix(langgraph): let other tasks finish when a resume value is invalid (<a href="https://github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core/issues/2986">#2986</a>)</li> <li><a href="https://github.com/langchain-ai/langgraphjs/commit/ec1854a53bc5c6d88f3922a80085ca05678d4532"><code>ec1854a</code></a> fix(langgraph): stop a subgraph from rerunning its finished tasks on resume (...</li> <li><a href="https://github.com/langchain-ai/langgraphjs/commit/af7e421cd35766296cef05d9cdc50b12a794fbeb"><code>af7e421</code></a> fix(langgraph): save a resumed exit run's pending writes once (<a href="https://github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core/issues/3027">#3027</a>)</li> <li><a href="https://github.com/langchain-ai/langgraphjs/commit/bc010237d9904bedf411c965d14343222e300d74"><code>bc01023</code></a> fix(langgraph): store message chunks as messages in the messages reducers (<a href="https://github.com/langchain-ai/langgraphjs/tree/HEAD/libs/langgraph-core/issues/3">#3</a>...</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langgraphjs/commits/@langchain/langgraph@1.5.3/libs/langgraph-core">compare view</a></li> </ul> </details> <br /> Updates `@typescript-eslint/eslint-plugin` from 8.70.1 to 8.72.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases">@typescript-eslint/eslint-plugin's releases</a>.</em></p> <blockquote> <h2>v8.72.1</h2> <h2>8.72.1 (2026-10-26)</h2> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] false positives on unresolved conditional types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13062">#13062</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-type-assertion] bound recursive type traversal instead of catching stack overflows (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13039">#13039</a>)</li> <li><strong>typescript-estree:</strong> use one Program per tsconfig for the project service in single-run mode (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12988">#12988</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Evyatar Daud <a href="https://github.com/StyleShit"><code>@StyleShit</code></a></li> <li>Josh Ghoulberg 👻</li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.72.1">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>v8.72.0</h2> <h2>8.72.0 (2026-10-19)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> lazy load rules (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13010">#13010</a>)</li> <li><strong>eslint-plugin:</strong> [await-thenable] add <code>allowMixedPromiseArrays</code> option (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12992">#12992</a>)</li> <li><strong>typescript-estree:</strong> error on abstract keyword that precedes export (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13019">#13019</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>ast-spec:</strong> add <code>JSXFragment</code> to <code>JSXAttribute['value']</code> (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13051">#13051</a>)</li> <li><strong>eslint-plugin:</strong> [prefer-readonly-parameter-types] check where allowed type aliases are declared (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13016">#13016</a>)</li> <li><strong>eslint-plugin:</strong> [no-deprecated] report deprecated properties in object literals (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12704">#12704</a>)</li> <li><strong>eslint-plugin:</strong> use isTypeLiteralType instead of type.isLiteral() to include bigint literals on TS < 5.0 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13053">#13053</a>)</li> <li><strong>eslint-plugin:</strong> [require-array-sort-compare] check tuples (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13058">#13058</a>)</li> <li><strong>eslint-plugin:</strong> [require-array-sort-compare] ignore extra this type argument on TS < 5.1 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13055">#13055</a>)</li> <li><strong>type-utils:</strong> discriminateAnyType crashes when calling getAwaitedType on awaited type in TS < 5.0 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13054">#13054</a>)</li> <li><strong>typescript-estree:</strong> include leading and trailing comments & whitespace in Program range (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12991">#12991</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Evyatar Daud <a href="https://github.com/StyleShit"><code>@StyleShit</code></a></li> <li>Junichiro Kasuya <a href="https://github.com/jksy"><code>@jksy</code></a></li> <li>Mitch Fultz <a href="https://github.com/fitchmultz"><code>@fitchmultz</code></a></li> <li>Shaan GS <a href="https://github.com/ShaanGS"><code>@ShaanGS</code></a></li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.72.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>v8.71.2</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md">@typescript-eslint/eslint-plugin's changelog</a>.</em></p> <blockquote> <h2>8.72.1 (2026-10-26)</h2> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [no-unnecessary-type-assertion] bound recursive type traversal instead of catching stack overflows (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13039">#13039</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] false positives on unresolved conditional types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13062">#13062</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Evyatar Daud <a href="https://github.com/StyleShit"><code>@StyleShit</code></a></li> <li>Josh Ghoulberg 👻</li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.72.1">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>8.72.0 (2026-10-19)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [await-thenable] add <code>allowMixedPromiseArrays</code> option (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12992">#12992</a>)</li> <li><strong>eslint-plugin:</strong> lazy load rules (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13010">#13010</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>type-utils:</strong> discriminateAnyType crashes when calling getAwaitedType on awaited type in TS < 5.0 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13054">#13054</a>)</li> <li><strong>eslint-plugin:</strong> [require-array-sort-compare] ignore extra this type argument on TS < 5.1 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13055">#13055</a>)</li> <li><strong>eslint-plugin:</strong> [require-array-sort-compare] check tuples (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13058">#13058</a>)</li> <li><strong>eslint-plugin:</strong> use isTypeLiteralType instead of type.isLiteral() to include bigint literals on TS < 5.0 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13053">#13053</a>)</li> <li><strong>eslint-plugin:</strong> [no-deprecated] report deprecated properties in object literals (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12704">#12704</a>)</li> <li><strong>eslint-plugin:</strong> [prefer-readonly-parameter-types] check where allowed type aliases are declared (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13016">#13016</a>)</li> <li><strong>typescript-estree:</strong> include leading and trailing comments & whitespace in Program range (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12991">#12991</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Evyatar Daud <a href="https://github.com/StyleShit"><code>@StyleShit</code></a></li> <li>Junichiro Kasuya <a href="https://github.com/jksy"><code>@jksy</code></a></li> <li>Mitch Fultz <a href="https://github.com/fitchmultz"><code>@fitchmultz</code></a></li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.72.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>8.71.2 (2026-10-12)</h2> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [prefer-optional-chain] safe fix when the chain ends with a strict null comparison (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12805">#12805</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-type-parameters] parenthesize constraint in optional tuple elements (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12995">#12995</a>)</li> <li><strong>eslint-plugin:</strong> [no-unused-vars] ignore type-only refs for after-used (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12977">#12977</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/4ad6b7553781fa3c93fc26642d7219d2e6624504"><code>4ad6b75</code></a> chore(release): publish 8.72.1</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/77576945345c1537635e617ea0d4b34b003b15ff"><code>7757694</code></a> chore: cleanup typecheck & build and fix race condition (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/13071">#13071</a>)</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/1166ba20e9e484167ebfe216fdb38e605e3f7598"><code>1166ba2</code></a> chore(type-utils): detect methods in isTypeReadonly without reading the inter...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/2f0343a694bee1ba9815e4a0f946295452deb082"><code>2f0343a</code></a> fix(eslint-plugin): [no-unnecessary-type-assertion] bound recursive type trav...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c49d287f046c794133b12fa94207e5ee3b846ddd"><code>c49d287</code></a> chore: [ci] test on oldest supported TS version (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/13024">#13024</a>)</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/594fe286ec518c6899a9b89141cf3220bcfb9f72"><code>594fe28</code></a> fix(eslint-plugin): [no-unnecessary-condition] false positives on unresolved ...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/a4c2603d3e4fd43b33bc25b82457716e9f7cef71"><code>a4c2603</code></a> chore(release): publish 8.72.0</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c6eb98c17cbeee540d3c48d1406098430b2f0660"><code>c6eb98c</code></a> feat(eslint-plugin): [await-thenable] add <code>allowMixedPromiseArrays</code> option (#...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/b382b74579e5514c247ed54d0dfc428f3a173f3a"><code>b382b74</code></a> fix(type-utils): discriminateAnyType crashes when calling getAwaitedType on a...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/79edd896790b031457fc0ca6f81c732b29921c9d"><code>79edd89</code></a> fix(eslint-plugin): [require-array-sort-compare] ignore extra this type argum...</li> <li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.1/packages/eslint-plugin">compare view</a></li> </ul> </details> <br /> Updates `@typescript-eslint/parser` from 8.70.1 to 8.72.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases">@typescript-eslint/parser's releases</a>.</em></p> <blockquote> <h2>v8.72.1</h2> <h2>8.72.1 (2026-10-26)</h2> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] false positives on unresolved conditional types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13062">#13062</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-type-assertion] bound recursive type traversal instead of catching stack overflows (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13039">#13039</a>)</li> <li><strong>typescript-estree:</strong> use one Program per tsconfig for the project service in single-run mode (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12988">#12988</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Evyatar Daud <a href="https://github.com/StyleShit"><code>@StyleShit</code></a></li> <li>Josh Ghoulberg 👻</li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.72.1">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>v8.72.0</h2> <h2>8.72.0 (2026-10-19)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> lazy load rules (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13010">#13010</a>)</li> <li><strong>eslint-plugin:</strong> [await-thenable] add <code>allowMixedPromiseArrays</code> option (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12992">#12992</a>)</li> <li><strong>typescript-estree:</strong> error on abstract keyword that precedes export (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13019">#13019</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>ast-spec:</strong> add <code>JSXFragment</code> to <code>JSXAttribute['value']</code> (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13051">#13051</a>)</li> <li><strong>eslint-plugin:</strong> [prefer-readonly-parameter-types] check where allowed type aliases are declared (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13016">#13016</a>)</li> <li><strong>eslint-plugin:</strong> [no-deprecated] report deprecated properties in object literals (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12704">#12704</a>)</li> <li><strong>eslint-plugin:</strong> use isTypeLiteralType instead of type.isLiteral() to include bigint literals on TS < 5.0 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13053">#13053</a>)</li> <li><strong>eslint-plugin:</strong> [require-array-sort-compare] check tuples (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13058">#13058</a>)</li> <li><strong>eslint-plugin:</strong> [require-array-sort-compare] ignore extra this type argument on TS < 5.1 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13055">#13055</a>)</li> <li><strong>type-utils:</strong> discriminateAnyType crashes when calling getAwaitedType on awaited type in TS < 5.0 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13054">#13054</a>)</li> <li><strong>typescript-estree:</strong> include leading and trailing comments & whitespace in Program range (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12991">#12991</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Evyatar Daud <a href="https://github.com/StyleShit"><code>@StyleShit</code></a></li> <li>Junichiro Kasuya <a href="https://github.com/jksy"><code>@jksy</code></a></li> <li>Mitch Fultz <a href="https://github.com/fitchmultz"><code>@fitchmultz</code></a></li> <li>Shaan GS <a href="https://github.com/ShaanGS"><code>@ShaanGS</code></a></li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.72.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>v8.71.2</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md">@typescript-eslint/parser's changelog</a>.</em></p> <blockquote> <h2>8.72.1 (2026-10-26)</h2> <p>This was a version bump only for parser to align it with other projects, there were no code changes.</p> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.72.1">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>8.72.0 (2026-10-19)</h2> <p>This was a version bump only for parser to align it with other projects, there were no code changes.</p> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.72.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>8.71.2 (2026-10-12)</h2> <p>This was a version bump only for parser to align it with other projects, there were no code changes.</p> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.71.2">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>8.71.1 (2026-10-05)</h2> <p>This was a version bump only for parser to align it with other projects, there were no code changes.</p> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.71.1">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>8.71.0 (2026-09-28)</h2> <p>This was a version bump only for parser to align it with other projects, there were no code changes.</p> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.71.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/4ad6b7553781fa3c93fc26642d7219d2e6624504"><code>4ad6b75</code></a> chore(release): publish 8.72.1</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/77576945345c1537635e617ea0d4b34b003b15ff"><code>7757694</code></a> chore: cleanup typecheck & build and fix race condition (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser/issues/13071">#13071</a>)</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/a4c2603d3e4fd43b33bc25b82457716e9f7cef71"><code>a4c2603</code></a> chore(release): publish 8.72.0</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/7488d681f6e0e96c2aaa1eee9c3d1b9b1ef077cb"><code>7488d68</code></a> chore(release): publish 8.71.2</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/d57b8da272375b6a45270639894a793933208a91"><code>d57b8da</code></a> chore(release): publish 8.71.1</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/8695664c5ee3fbb8fd76907fc45e148579cc3162"><code>8695664</code></a> chore(release): publish 8.71.0</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.1/packages/parser">compare view</a></li> </ul> </details> <br /> Updates `dotenv` from 18.0.4 to 18.0.9 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md">dotenv's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/motdotla/dotenv/compare/v18.0.8...v18.0.9">18.0.9</a> (2026-10-14)</h2> <h3>Changed</h3> <ul> <li>Permit DOTENV_PATH being empty string with the CLI (<a href="https://redirect.github.com/motdotla/dotenv/pull/1076">#1076</a>)</li> </ul> <h2><a href="https://github.com/motdotla/dotenv/compare/v18.0.7...v18.0.8">18.0.8</a> (2026-10-14)</h2> <h3>Changed</h3> <ul> <li>Fast parser should strip appended extra quotes (<a href="https://redirect.github.com/motdotla/dotenv/pull/1073">#1073</a>)</li> <li>Type detail improvement (<a href="https://redirect.github.com/motdotla/dotenv/pull/1074">#1074</a>)</li> </ul> <h2><a href="https://github.com/motdotla/dotenv/compare/v18.0.6...v18.0.7">18.0.7</a> (2026-10-09)</h2> <h3>Changed</h3> <ul> <li>Treat undefined settings like <code>quiet: true</code> as null rather than falsey (<a href="https://redirect.github.com/motdotla/dotenv/pull/1070">#1070</a>)</li> <li>CLI should honor <code>DOTENV_QUIET</code> setting in <code>.env</code> file (<a href="https://redirect.github.com/motdotla/dotenv/pull/1071">#1071</a>)</li> </ul> <h2><a href="https://github.com/motdotla/dotenv/compare/v18.0.5...v18.0.6">18.0.6</a> (2026-10-06)</h2> <h3>Changed</h3> <ul> <li>Use smarter <code>parseBoolean</code> not Boolean() to fix override (<a href="https://redirect.github.com/motdotla/dotenv/pull/1069">#1069</a>)</li> </ul> <h2><a href="https://github.com/motdotla/dotenv/compare/v18.0.4...v18.0.5">18.0.5</a> (2026-09-30)</h2> <h3>Changed</h3> <ul> <li>Fix missing typescript module declaration (<a href="https://redirect.github.com/motdotla/dotenv/pull/1068">#1068</a>)</li> <li>Improve performance for large .env files (<a href="https://redirect.github.com/motdotla/dotenv/pull/1066">#1066</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/motdotla/dotenv/commit/8d1ab850aa628781929f08bfd0d71ba1d1bf0a23"><code>8d1ab85</code></a> 18.0.9</li> <li><a href="https://github.com/motdotla/dotenv/commit/59a40ce5876a661d3964cc0269208267174ea39b"><code>59a40ce</code></a> changelog</li> <li><a href="https://github.com/motdotla/dotenv/commit/88228bd02b9ce98a79442ddcd619e4c31199474c"><code>88228bd</code></a> Merge pull request <a href="https://redirect.github.com/motdotla/dotenv/issues/1076">#1076</a> from Enesuygurs/fix/cli-empty-dotenv-path</li> <li><a href="https://github.com/motdotla/dotenv/commit/bc6ef941200c2015ffcc17d40c4f8f76ffe24026"><code>bc6ef94</code></a> fix(cli): load the default .env when DOTENV_PATH is empty</li> <li><a href="https://github.com/motdotla/dotenv/commit/6d6e6c58074adc12131ec6ab6eac92fb92484dbc"><code>6d6e6c5</code></a> Merge pull request <a href="https://redirect.github.com/motdotla/dotenv/issues/1075">#1075</a> from kory-kaai/test/fast-parser-branch-coverage</li> <li><a href="https://github.com/motdotla/dotenv/commit/10218f1b0fa1f83f0714dc3c8133d0daa54752ff"><code>10218f1</code></a> test(parse-fast): cover the size-dependent and export-prefix branches</li> <li><a href="https://github.com/motdotla/dotenv/commit/e2fe95e8e952e881787d8207b654c80326f821d8"><code>e2fe95e</code></a> 18.0.8</li> <li><a href="https://github.com/motdotla/dotenv/commit/7aa712ab2914c0cf128ea8ccdaf5e918a867db59"><code>7aa712a</code></a> type detail improvement</li> <li><a href="https://github.com/motdotla/dotenv/commit/53405b0b140debc002e41c5abb671d5da5f3e8f9"><code>53405b0</code></a> Merge pull request <a href="https://redirect.github.com/motdotla/dotenv/issues/1074">#1074</a> from himanshu748/codex/fix-dotenv-populate-undefined...</li> <li><a href="https://github.com/motdotla/dotenv/commit/0b4843a90d6d70b110d1f1a309f209c3d8d7cb6e"><code>0b4843a</code></a> changelog</li> <li>Additional commits viewable in <a href="https://github.com/motdotla/dotenv/compare/v18.0.4...v18.0.9">compare view</a></li> </ul> </details> <br /> Updates `eslint` from 10.11.0 to 10.13.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/eslint/eslint/releases">eslint's releases</a>.</em></p> <blockquote> <h2>v10.13.0</h2> <h2>Features</h2> <ul> <li><a href="https://github.com/eslint/eslint/commit/48d5cc47e43478670ccf95a74f7a73e8408152b5"><code>48d5cc4</code></a> feat: report references inside IIFEs in <code>no-use-before-define</code> (<a href="https://redirect.github.com/eslint/eslint/issues/21238">#21238</a>) (Irfan fandi)</li> <li><a href="https://github.com/eslint/eslint/commit/a39d9fb1fdb5db546f6407580cac531ba3370450"><code>a39d9fb</code></a> feat: add <code>globalThis</code> to <code>no-obj-calls</code> (<a href="https://redirect.github.com/eslint/eslint/issues/21382">#21382</a>) (synthex-byte)</li> <li><a href="https://github.com/eslint/eslint/commit/66ac58383e076940c11a5d7213ad079028d1140e"><code>66ac583</code></a> feat: check <code>yield*</code> expressions in <code>no-unsafe-optional-chaining</code> (<a href="https://redirect.github.com/eslint/eslint/issues/21399">#21399</a>) (xbinaryx)</li> </ul> <h2>Bug Fixes</h2> <ul> <li><a href="https://github.com/eslint/eslint/commit/87bd2cef7b2309739c29598fb2be335f4bed71a3"><code>87bd2ce</code></a> fix: avoid redeclared <code>let</code> when <code>no-var</code> and <code>one-var</code> fix together (<a href="https://redirect.github.com/eslint/eslint/issues/21389">#21389</a>) (Daniel Pinto)</li> </ul> <h2>Documentation</h2> <ul> <li><a href="https://github.com/eslint/eslint/commit/4783a6806fb73ea4843ac46c6ae3d8285f56c288"><code>4783a68</code></a> docs: Update README (GitHub Actions Bot)</li> <li><a href="https://github.com/eslint/eslint/commit/43f0ac90e7858a834a0e68309e6397fb4cfa72dd"><code>43f0ac9</code></a> docs: clarify parameter description in <code>getText</code> (<a href="https://redirect.github.com/eslint/eslint/issues/21287">#21287</a>) (lumir)</li> </ul> <h2>Chores</h2> <ul> <li><a href="https://github.com/eslint/eslint/commit/b59d889c7c18d8c73144e6ba46e9e7f3e7da0196"><code>b59d889</code></a> chore: update github/codeql-action action to v4.38.3 (<a href="https://redirect.github.com/eslint/eslint/issues/21412">#21412</a>) (renovate[bot])</li> <li><a href="https://github.com/eslint/eslint/commit/95e51a0518b15015304eca9844b3f64c1fc167ca"><code>95e51a0</code></a> ci: re-enable <code>@typescript-eslint/typescript-eslint</code> in ecosystem tests (<a href="https://redirect.github.com/eslint/eslint/issues/21410">#21410</a>) (Francesco Trotta)</li> <li><a href="https://github.com/eslint/eslint/commit/317fcb365f19e912a60d171a9d5a8d1f16fe4660"><code>317fcb3</code></a> chore: update ecosystem plugins (<a href="https://redirect.github.com/eslint/eslint/issues/21409">#21409</a>) (ESLint Bot)</li> <li><a href="https://github.com/eslint/eslint/commit/b92decf8ead7cc4082a18a4a0ab28f3c7c589887"><code>b92decf</code></a> perf: skip no-redeclare scan for single-declaration variables (<a href="https://redirect.github.com/eslint/eslint/issues/21365">#21365</a>) (James Ross)</li> <li><a href="https://github.com/eslint/eslint/commit/47b7063b3f3f7bc7a5bcb87c082577e4e8b96e24"><code>47b7063</code></a> chore: update dependency <code>@eslint/json</code> to ^2.1.1 (<a href="https://redirect.github.com/eslint/eslint/issues/21398">#21398</a>) (renovate[bot])</li> <li><a href="https://github.com/eslint/eslint/commit/e5aea414cc00555ecd43f6e608bf80e0f9a6d4d6"><code>e5aea41</code></a> chore: update ecosystem plugins (<a href="https://redirect.github.com/eslint/eslint/issues/21390">#21390</a>) (ESLint Bot)</li> </ul> <h2>v10.12.0</h2> <h2>Features</h2> <ul> <li><a href="https://github.com/eslint/eslint/commit/4618052eed6bb3ef420cf0db0490bbda2fd835a5"><code>4618052</code></a> feat: handle astral letters in <code>new-cap</code> (<a href="https://redirect.github.com/eslint/eslint/issues/21357">#21357</a>) (sary)</li> <li><a href="https://github.com/eslint/eslint/commit/4ec5168d6d6888e3f7b163eb82963d40e45a75fa"><code>4ec5168</code></a> feat: allow <code>SourceCode#getText()</code> to accept tokens and comments (<a href="https://redirect.github.com/eslint/eslint/issues/21340">#21340</a>) (electrohyun)</li> </ul> <h2>Bug Fixes</h2> <ul> <li><a href="https://github.com/eslint/eslint/commit/bc51eee6e3e816622b2dd1bc08acb9cfb2d3a6a7"><code>bc51eee</code></a> fix: <code>prefer-arrow-callback</code> false positive in conditional test (<a href="https://redirect.github.com/eslint/eslint/issues/21373">#21373</a>) (Daniel Pinto)</li> <li><a href="https://github.com/eslint/eslint/commit/bbff86c41521cc435e20754e26007f657a843038"><code>bbff86c</code></a> fix: skip lines with multiple comments in <code>max-lines-per-function</code> (<a href="https://redirect.github.com/eslint/eslint/issues/21332">#21332</a>) (xbinaryx)</li> <li><a href="https://github.com/eslint/eslint/commit/efc4d6bdc4c4d1dfba8bdab6a8f44f27a1b1d00a"><code>efc4d6b</code></a> fix: astral letters in <code>consistent-return</code>, <code>no-eval</code>, <code>no-invalid-this</code> (<a href="https://redirect.github.com/eslint/eslint/issues/21360">#21360</a>) (lumir)</li> <li><a href="https://github.com/eslint/eslint/commit/93de066d4125f8df013d40305e8009f4634a5cba"><code>93de066</code></a> fix: prefer-exponentiation-operator autofix for async function base (<a href="https://redirect.github.com/eslint/eslint/issues/21322">#21322</a>) (Vladimir Babin)</li> <li><a href="https://github.com/eslint/eslint/commit/02e34ffba6adbed72365177c7caee71d950834e5"><code>02e34ff</code></a> fix: add missing space after <code>else</code> in <code>curly</code> autofix (<a href="https://redirect.github.com/eslint/eslint/issues/21355">#21355</a>) (Pixel)</li> <li><a href="https://github.com/eslint/eslint/commit/b14b8bc213ccfc19d3edcfa9ce6af62622661160"><code>b14b8bc</code></a> fix: correct <code>id-length</code> message for long private names (<a href="https://redirect.github.com/eslint/eslint/issues/21348">#21348</a>) (Pixel)</li> <li><a href="https://github.com/eslint/eslint/commit/69aac01d898837a934c9e735e0b7881cc1df09e8"><code>69aac01</code></a> fix: support <code>TSFunctionType</code> in <code>getFunctionHeadLoc</code> (<a href="https://redirect.github.com/eslint/eslint/issues/21335">#21335</a>) (xbinaryx)</li> <li><a href="https://github.com/eslint/eslint/commit/686630eb34ec1cddf399a4e6eaeebb080116a532"><code>686630e</code></a> fix: <code>no-loss-of-precision</code> false positive with <code>0.e5</code> (<a href="https://redirect.github.com/eslint/eslint/issues/21337">#21337</a>) (sethamus)</li> </ul> <h2>Documentation</h2> <ul> <li><a href="https://github.com/eslint/eslint/commit/67eb586e2eda290813b329d4f40e605ad696bc4f"><code>67eb586</code></a> docs: Update README (GitHub Actions Bot)</li> <li><a href="https://github.com/eslint/eslint/commit/5370d7ee35a6523873f798e87f3ccc73779d5d21"><code>5370d7e</code></a> docs: clarify <code>one-var</code> <code>separateRequires</code> matches any <code>require()</code> call (<a href="https://redirect.github.com/eslint/eslint/issues/21192">#21192</a>) (sethamus)</li> <li><a href="https://github.com/eslint/eslint/commit/8816c1ddfcfa31318ad17cddcfb68acffa30940f"><code>8816c1d</code></a> docs: Update README (GitHub Actions Bot)</li> <li><a href="https://github.com/eslint/eslint/commit/3d2e7cedb7409d8a2c5f2c2fafb14fa22790e40e"><code>3d2e7ce</code></a> docs: fix typo in no-unused-expressions documentation (<a href="https://redirect.github.com/eslint/eslint/issues/21346">#21346</a>) (bytedoe)</li> </ul> <h2>Chores</h2> <ul> <li><a href="https://github.com/eslint/eslint/commit/152067f0f81f08b6cce9cf8eeaddb8558731b4f6"><code>152067f</code></a> chore: update ecosystem plugins (<a href="https://redirect.github.com/eslint/eslint/issues/21362">#21362</a>) (ESLint Bot)</li> <li><a href="https://github.com/eslint/eslint/commit/b56d58e0b1f3c919a6b7661254af760cdd909d6e"><code>b56d58e</code></a> chore: update github/codeql-action action to v4.38.2 (<a href="https://redirect.github.com/eslint/eslint/issues/21376">#21376</a>) (renovate[bot])</li> <li><a href="https://github.com/eslint/eslint/commit/bfaea12ddc30b458fe4cfbb6c306a62b5299c177"><code>bfaea12</code></a> perf: cache normalized config globals per languageOptions (<a href="https://redirect.github.com/eslint/eslint/issues/21364">#21364</a>) (James Ross)</li> <li><a href="https://github.com/eslint/eslint/commit/322209ef164e8a00a25ec7ca166969ddc8... _Description has been truncated_ Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
New LangGraph.js Project
This template demonstrates a simple chatbot implemented using LangGraph.js, designed for LangGraph Studio. The chatbot maintains persistent chat memory, allowing for coherent conversations across multiple interactions.
The core logic, defined in src/agent/graph.ts, showcases a straightforward chatbot that responds to user queries while maintaining context from previous messages.
🤔 What is this?
The simple chatbot:
- Takes a user message as input
- Maintains a history of the conversation
- Returns a placeholder response, updating the conversation history
This template provides a foundation that can be easily customized and extended to create more complex conversational agents.
📖 Documentation
For JavaScript and TypeScript documentation, see the LangGraph.js docs. LangGraph Studio also integrates with LangSmith for tracing and collaboration with teammates.
Getting Started
Assuming you have already installed LangGraph Studio, to set up:
- Create a
.envfile. This template does not require any environment variables by default, but you will likely want to add some when customizing.
cp .env.example .env
- Open the folder in LangGraph Studio!
- Customize the code as needed.
How to customize
- Add an LLM call: You can select and install a chat model wrapper from the LangChain.js ecosystem, or use LangGraph.js without LangChain.js.
- Extend the graph: The core logic of the chatbot is defined in graph.ts. You can modify this file to add new nodes, edges, or change the flow of the conversation.
You can also extend this template by:
- Adding custom tools or functions to enhance the chatbot's capabilities.
- Implementing additional logic for handling specific types of user queries or tasks.
- Add retrieval-augmented generation (RAG) capabilities by integrating external APIs or databases to provide more customized responses.
Development
While iterating on your graph, you can edit past state and rerun your app from previous states to debug specific nodes. Local changes will be automatically applied via hot reload. Try experimenting with:
- Modifying the system prompt to give your chatbot a unique personality.
- Adding new nodes to the graph for more complex conversation flows.
- Implementing conditional logic to handle different types of user inputs.
Follow-up requests will be appended to the same thread. You can create an entirely new thread, clearing previous history, using the + button in the top right.
For more advanced features and examples, refer to the LangGraph.js documentation. These resources can help you adapt this template for your specific use case and build more sophisticated conversational agents.
LangGraph Studio also integrates with LangSmith for more in-depth tracing and collaboration with teammates, allowing you to analyze and optimize your chatbot's performance.
