unstale

npm / @langchain/langgraph-checkpoint

@langchain/langgraph-checkpoint

What changed in @langchain/langgraph-checkpoint 0.1 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

10 breaking1 security2 deprecations52 new APIs and options1 performance5 behavior and defaults12 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@langchain/langgraph-checkpoint 146 changes

Breaking changes 9

  • Shared store namespace labels containing colons or NUL bytes are rejected; PostgreSQL store namespace labels containing NUL bytes are rejected before CRUD queries.

    1.2.1release notes

  • BaseStore gets, deletes, and namespace-listing filters reject empty, non-string, or period-containing labels with InvalidNamespaceError instead of returning no results.

    1.2.0release notes

  • Task IDs for functional task() calls under a Send or handler task change with the updated task paths.

    1.2.0release notes

  • Writes to the same DeltaChannel in a superstep are applied and replayed in (task_path, task_id, idx) order instead of task-id order, aligning with Python langgraph.

    1.2.0release notes

  • getTuple and list must return pendingWrites in writesSortKey order; third-party savers that ignore this can replay a different DeltaChannel value.

    1.2.0release notes

  • Search prefixes now match at namespace segment boundaries; empty-prefix searches remain unrestricted.

    1.1.6release notes

  • Labels containing colons are rejected.

    1.1.6release notes

  • An Overwrite discards every sibling write in its super-step, and the channel is snapshotted at the next checkpoint so reconstructed state matches live state.

    1.1.2release notes

  • The low-level helper has been removed; streaming responses are handled natively by the SDK.

    1.0.0upgrade guide

Security 1

  • Rejects unsafe storage keys at public entry points to prevent prototype pollution; valid string identifiers behave unchanged.

    1.0.3release notes

Deprecations 1

  • The LangGraph prebuilt is deprecated in favor of LangChain's createAgent, which offers a simpler interface and greater customization through middleware.

    1.0.0upgrade guide

New APIs and options 17

  • The default checkpointer serializer is now exported so savers that send checkpoints elsewhere can encode them the same way.

    1.2.2release notes

  • putWrites accepts an optional taskPath containing the serialized task path; custom savers must persist it and return pending writes in the new sort order.

    1.2.0release notes

  • A new export provides comparison of pending-write sort keys for the required ordering.

    1.2.0release notes

  • SQLite and Postgres gain a task_path column, migrated automatically on setup; Redis and MongoDB documents gain a task_path field.

    1.2.0release notes

  • A new export provides the sort key used to order pending writes by task path, task id, and index.

    1.2.0release notes

  • Override the default recursion limit with the LANGGRAPH_DEFAULT_RECURSION_LIMIT environment variable.

    1.1.4docs

  • Adds BaseCheckpointSaver.toJSON() so ConfigurableModel can stringify runnable config without traversing pg Pool timers.

    1.1.3release notes

  • Adds a shared metadata-key exclusion constant to @langchain/langgraph-checkpoint.

    1.1.2release notes

  • Adds a field to CheckpointMetadata for tracking counts since a delta snapshot.

    1.1.0release notes

  • Adds a count-based snapshot cadence option, with a default of 1000.

    1.1.0release notes

  • Adds a reducer channel that stores a sentinel in checkpoint blobs and reconstructs accumulated state by replaying ancestor writes.

    1.1.0release notes

  • Adds serialization support for DeltaSnapshot in the JSON+ serializer.

    1.1.0release notes

  • Adds a beta BaseCheckpointSaver API that walks the parent chain and returns per-channel writes and an optional seed; MemorySaver provides a direct-storage override.

    1.1.0release notes

  • Adds an environment variable for the system bound on supersteps since a delta snapshot; its default is 5000.

    1.1.0release notes

  • Adds a batching-invariant messages reducer that coerces raw object and string writes for use with DeltaChannel.

    1.1.0release notes

  • Pass an encoding format to select between SSE and normal JSON responses without changing UI logic.

    1.0.0upgrade guide

  • The React hook supports pluggable transports, allowing control over the network layer without changing UI code.

    1.0.0upgrade guide

Performance 1

  • The batched store wakes when a call is queued instead of polling a timer, avoiding about 1 ms of wait per store call made from a node.

    1.2.3release notes

Behavior and default changes 5

  • Task metadata changes to reflect the new Send and node-error-handler task path shapes.

    1.2.0release notes

  • The SDK's Send-task detection accepts both the old and new task path shapes.

    1.2.0release notes

  • The default recursion limit is 10,007 super-steps starting in version 1.1.4.

    1.1.4docs

  • Task stream payloads now include filtered user-meaningful metadata; subagent graph_name is set from lc_agent_name, and parent tool-dispatch tasks can recover toolCall cause metadata.

    1.1.2release notes

  • The JSON plus serializer now supports Uint8Array values.

    1.0.1release notes

Fixes and other changes 12

  • Without a query embedding, search stops collecting matches at offset + limit and copies only the returned page, improving first-page speed and avoiding RangeError on very large namespaces.

    1.2.3release notes

  • AsyncBatchedStore validates namespace labels before queueing, so a failing namespace rejects only its own call; in-graph puts also reject a langgraph root label and an empty namespace.

    1.2.0release notes

  • bulkUpdateState seals the first update superstep by snapshotting affected DeltaChannels on the update checkpoint, preventing writes from replaying in the wrong order.

    1.2.0release notes

  • Resumed delta writes replay in live order, interleaving with loaded writes by task path; writes loaded with the checkpoint are no longer stored twice.

    1.2.0release notes

  • MemorySaver uses locale-independent checkpoint ID ordering in getTuple, list, and getDeltaChannelHistory, consistent with UUID6 timestamp order and the before filter.

    1.2.0release notes

  • When config has no checkpoint_id, the method reads from the thread's latest checkpoint, like getTuple and the other savers.

    1.2.0release notes

  • bulkUpdateState and updateState update tasks carry (__interrupt__, i) task paths so multiple updates writing the same DeltaChannel replay in the given order.

    1.2.0release notes

  • Narrows the reconstructable types in JsonPlusSerializer.

    1.1.4release notes

  • Missing checkpoint maps are defaulted on load and copy, preventing resume from crashing when versions_seen is undefined.

    1.1.3release notes

  • Concurrent same-superstep writes are applied in canonical (task_id, idx) order both live and during checkpoint reconstruction, keeping replayed state consistent with live execution.

    1.1.2release notes

  • Checkpoint IDs created within the same millisecond now retain stable lexicographic ordering, independent of the clockseq value.

    1.0.4release notes

  • The package is updated for compatibility with LangGraph v1.0.

    1.0.0release notes

@langchain/langgraph-checkpoint 0.137 changes

Breaking changes 1

  • Accepts up to five origins allowed to embed the window's pages in an iframe; without them, no page may frame the window.

    0.1.0docs

Deprecations 1

  • The API key creation response marks read_only as deprecated.

    0.1.0docs

New APIs and options 35

  • Adds a PUT endpoint to replace every field of a custom model price entry. The request body is a full replacement; omitted optional fields reset to defaults. Default entries cannot be updated, and recorded run costs are not recomputed.

    0.1.0docs

  • Adds a limit query parameter to control the maximum number of returned entries; it defaults to 100 and accepts values from 1 to 100.

    0.1.0docs

  • Adds an offset query parameter to skip entries before the page; it defaults to 0.

    0.1.0docs

  • Adds a provider query parameter to filter prices by one or more providers, case-insensitively.

    0.1.0docs

  • Adds a sort_by query parameter for sorting by start_time; when unset, entries use match priority order.

    0.1.0docs

  • Adds a sort_order query parameter accepting asc or desc; it defaults to desc.

    0.1.0docs

  • Adds an organization-scoped endpoint for creating model price entries that apply to every workspace in the organization.

    0.1.0docs

  • Adds a DELETE endpoint to delete an organization model price, whether or not it exists.

    0.1.0docs

  • Adds a GET endpoint to retrieve an organization model price by ID. It returns 404 if the entry does not belong to the organization, including when the ID belongs to a workspace or LangSmith default entry.

    0.1.0docs

  • Adds an endpoint to create an organization tracing key. Requests require workspaces and may include a description and expiration; responses include the created key.

    0.1.0docs

  • Adds an endpoint to revoke an organization tracing key you own or have permission to manage.

    0.1.0docs

  • Adds a paginated endpoint for listing organization teams, with filters for workspace, parent team, and identity.

    0.1.0docs

  • Adds an endpoint to get one team in an organization. Organization-scoped teams require organization:teams:read; workspace-scoped teams require workspaces:teams:read in their workspace.

    0.1.0docs

  • Adds an endpoint to attach an existing organization access policy to a team, optionally limiting an organization-wide team's policy to one workspace.

    0.1.0docs

  • Adds an endpoint to list a team's access policies, with page_size and cursor query parameters and organization- or workspace-scoped read permissions.

    0.1.0docs

  • Adds an endpoint to get an organization-wide team's grant in one workspace. It requires organization:teams:read or workspaces:teams:read in the workspace.

    0.1.0docs

  • Adds an endpoint that resolves an AGENT, EXPERIMENT, or EVALUATOR address to its tracing project session ID.

    0.1.0docs

  • Adds a boolean option to render pages at twice the resolution; it is off by default and fixed once the browser is created.

    0.1.0docs

  • Adds an idle timeout option that stops the browser after a specified period without use; 0 disables the idle stop.

    0.1.0docs

  • Adds an integer option to set the browser sandbox memory size.

    0.1.0docs

  • Adds a beta endpoint to get a browser and its attached windows.

    0.1.0docs

  • Adds a beta DELETE endpoint to close a tab in a browser window.

    0.1.0docs

  • Adds a beta API to create a copy-on-write copy of an existing volume, subject to workspace enablement, volume state, and authorization requirements.

    0.1.0docs

  • Sets the price in US dollars per output token for a model price entry.

    0.1.0docs

  • Allows different prices for specific output token types; uncovered output tokens use completion_cost.

    0.1.0docs

  • Adds an endpoint to remove an organization-wide team's access to a workspace, including workspace-attached access policies and the workspace-scoped team. Requires organization:teams:manage-grants.

    0.1.0docs

  • Retrieve a model price entry the workspace uses to compute run costs, including workspace, organization, and LangSmith default entries.

    0.1.0docs

  • Adds an optional cursor query parameter for retrieving subsequent pages, using the previous page's next_cursor value.

    0.1.0docs

  • Adds an optional page_size query parameter to limit the number of entries returned; it defaults to 20 and accepts values from 1 to 100.

    0.1.0docs

  • Adds a paginated endpoint to list workspace identities of a workspace-scoped team's members.

    0.1.0docs

  • Adds an endpoint to grant an organization-wide team a workspace role. The request requires role_id and workspace_id; callers need organization:teams:manage-grants.

    0.1.0docs

  • Adds a beta API endpoint to open a tab in a browser window, optionally at a supplied URL; without a URL, it opens about:blank.

    0.1.0docs

  • Sets the price in US dollars per input token for a model price entry.

    0.1.0docs

  • Allows different prices for specific input token types; uncovered input tokens use prompt_cost.

    0.1.0docs

  • Optionally limits pricing to runs that started at or after a specified time.

    0.1.0docs