feat(deps): Bump @langchain/langgraph from 0.2.74 to 1.4.7
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(21 days ago)
(21 days ago)
(21 days ago)
dependencies javascript
Bumps @langchain/langgraph from 0.2.74 to 1.4.7.
Release notes
Sourced from @langchain/langgraph's releases.
@langchain/langgraph@1.4.7Patch Changes
#2571
85ba859Thanks@christian-bromann! - fix(langgraph): drop unused zod-to-json-schema peer dependencyRemove the vestigial
zod-to-json-schema(and itspeerDependenciesMeta/dev) declarations. JSON Schema generation now flows through@langchain/core's Zod v3/v4 interop (toJsonSchema), so the oldzod-to-json-schema@^3.xpeer (which pinszod@^3.24.1) is no longer needed and was the last source of install-time peer conflicts with Zod v4. Closes #1706.
@langchain/langgraph@1.4.6Patch Changes
03a0d8bThanks@christian-bromann! - fix(langgraph): emit valid UUIDs for exit-mode delta task_idsExit-mode DeltaChannel writes used a step-prefixed synthetic task id that produced a 6-segment string Postgres rejects for
checkpoint_writes.task_id uuidin LangGraph API. Embed the superstep in the first UUID group instead, matching langchain-ai/langgraph#8165.
@langchain/langgraph@1.4.5Patch Changes
#2557
b1e856dThanks@christian-bromann! - fix(sdk): apply state update and goto alongside interrupt resume
respond(decision, { update, goto })now maps to LangGraph'sCommand(resume, update, goto), so a human-in-the-loop UI can commit a state update (e.g. push the interrupt card into state) in the same superstep as the resume — one checkpoint, no separateupdateStatewrite, no flicker.@langchain/langgraph-apiforwardsupdate/gotothroughinput.respond, and@langchain/coremessage instances inupdateare serialized to dicts before transport, exactly likesubmit(). Bumps@langchain/protocolto^0.0.18for theGototype.
respond/respondAllalso applyupdateoptimistically (mirroringsubmit()): the pushed messages paint immediately, with stable ids minted so the resumed run's echo reconciles them in place. Without this the interrupt is cleared the instantrespond()dispatches while the pushed card only reappears a server round-trip later — so the card would flicker in that gap. The optimistic state settles on the resumed run's terminal (pending → sent, or rolled back on a failure before any echo).User-initiated optimistic writes (
submit()/respond()/respondAll()) now commit to the store synchronously, in the same tick as the triggering event, instead of being coalesced onto the next macrotask. This lets a framework render the pushed message in the same commit as any local UI state the caller flips alongside it (e.g. a HITL form swapping its inputs for the resolved card), so the card no longer blinks out for the one-macrotask window before the flush lands. High-frequency streaming writes keep their macrotask coalescing.Updated dependencies [
b1e856d]:
@langchain/langgraph-sdk@1.9.24
... (truncated)
Changelog
Sourced from @langchain/langgraph's changelog.
1.4.7
Patch Changes
#2571
85ba859Thanks@christian-bromann! - fix(langgraph): drop unused zod-to-json-schema peer dependencyRemove the vestigial
zod-to-json-schema(and itspeerDependenciesMeta/dev) declarations. JSON Schema generation now flows through@langchain/core's Zod v3/v4 interop (toJsonSchema), so the oldzod-to-json-schema@^3.xpeer (which pinszod@^3.24.1) is no longer needed and was the last source of install-time peer conflicts with Zod v4. Closes #1706.1.4.6
Patch Changes
03a0d8bThanks@christian-bromann! - fix(langgraph): emit valid UUIDs for exit-mode delta task_idsExit-mode DeltaChannel writes used a step-prefixed synthetic task id that produced a 6-segment string Postgres rejects for
checkpoint_writes.task_id uuidin LangGraph API. Embed the superstep in the first UUID group instead, matching langchain-ai/langgraph#8165.1.4.5
Patch Changes
#2557
b1e856dThanks@christian-bromann! - fix(sdk): apply state update and goto alongside interrupt resume
respond(decision, { update, goto })now maps to LangGraph'sCommand(resume, update, goto), so a human-in-the-loop UI can commit a state update (e.g. push the interrupt card into state) in the same superstep as the resume — one checkpoint, no separateupdateStatewrite, no flicker.@langchain/langgraph-apiforwardsupdate/gotothroughinput.respond, and@langchain/coremessage instances inupdateare serialized to dicts before transport, exactly likesubmit(). Bumps@langchain/protocolto^0.0.18for theGototype.
respond/respondAllalso applyupdateoptimistically (mirroringsubmit()): the pushed messages paint immediately, with stable ids minted so the resumed run's echo reconciles them in place. Without this the interrupt is cleared the instantrespond()dispatches while the pushed card only reappears a server round-trip later — so the card would flicker in that gap. The optimistic state settles on the resumed run's terminal (pending → sent, or rolled back on a failure before any echo).User-initiated optimistic writes (
submit()/respond()/respondAll()) now commit to the store synchronously, in the same tick as the triggering event, instead of being coalesced onto the next macrotask. This lets a framework render the pushed message in the same commit as any local UI state the caller flips alongside it (e.g. a HITL form swapping its inputs for the resolved card), so the card no longer blinks out for the one-macrotask window before the flush lands. High-frequency streaming writes keep their macrotask coalescing.
... (truncated)
Commits
2174637chore: version packages (#2572)85ba859fix(langgraph): drop unused zod-to-json-schema dependency (#2571)86389fachore: version packages (#2567)03a0d8bfix(langgraph): emit valid UUIDs for exit-mode delta task_ids31261c3chore: version packages (#2558)5d279dfchore(deps): bump langchain (#2564)b1e856dfeat(sdk): apply state update and goto alongside interrupt resume (#2557)e6082e0chore: version packages (#2554)d662cbbfix(langgraph): isolate concurrent singleton-agent invocations by thread (#2552)1c2aa5bfix(langgraph): recognize JSON-erased Overwrite values across runtimes (#2553)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for @langchain/langgraph since your current version.
Install script changes
This version adds prepublish script that runs during installation. Review the package contents before updating.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 16114597 |
| UUID: | 4796252291 |
| Node ID: | PR_kwDOADLKPM7tNxWp |
| Host: | GitHub |
| Repository: | getsentry/sentry-javascript |