[PR #1451] [MERGED] chore(langgraph): context API port #1471

Closed
opened 2026-02-15 20:15:53 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1451
Author: @dqbd
Created: 7/25/2025
Status: Merged
Merged: 7/28/2025
Merged by: @dqbd

Base: 0.4Head: dqbd/context-api-v2


📝 Commits (5)

  • 15bd144 chore(langgraph): context API port
  • bca0318 add changeset
  • 51bd0cf Cleanup, reexport Runtime types
  • cedc49f Add support for API and SDK
  • d74f2c0 Fix tests, rename public facing API

📊 Changes

26 files changed (+325 additions, -69 deletions)

View changed files

.changeset/fifty-sloths-try.md (+5 -0)
.changeset/fluffy-toes-give.md (+5 -0)
.changeset/proud-terms-take.md (+5 -0)
📝 libs/langgraph-api/src/api/assistants.mts (+5 -0)
📝 libs/langgraph-api/src/api/runs.mts (+1 -0)
📝 libs/langgraph-api/src/graph/load.mts (+3 -2)
📝 libs/langgraph-api/src/schemas.mts (+4 -0)
📝 libs/langgraph-api/src/storage/ops.mts (+17 -0)
📝 libs/langgraph-api/src/stream.mts (+1 -0)
📝 libs/langgraph-api/tests/api.test.mts (+73 -0)
📝 libs/langgraph-api/tests/graphs/langgraph.json (+3 -2)
libs/langgraph-api/tests/graphs/simple_runtime.mts (+12 -0)
📝 libs/langgraph/src/graph/graph.ts (+2 -2)
📝 libs/langgraph/src/graph/state.ts (+10 -10)
📝 libs/langgraph/src/pregel/index.ts (+22 -23)
📝 libs/langgraph/src/pregel/remote.ts (+10 -12)
📝 libs/langgraph/src/pregel/runnable_types.ts (+17 -3)
📝 libs/langgraph/src/pregel/types.ts (+11 -6)
📝 libs/langgraph/src/pregel/utils/config.ts (+1 -0)
📝 libs/langgraph/src/tests/pregel.test-d.ts (+88 -5)

...and 6 more files

📄 Description

Mostly semantics, with the main improvement being avoidance of mixing internal configurable fields with user-defined context.


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

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/1451 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 7/25/2025 **Status:** ✅ Merged **Merged:** 7/28/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `0.4` ← **Head:** `dqbd/context-api-v2` --- ### 📝 Commits (5) - [`15bd144`](https://github.com/langchain-ai/langgraphjs/commit/15bd1443a0e69778ab044543fc0a394af709c00e) chore(langgraph): context API port - [`bca0318`](https://github.com/langchain-ai/langgraphjs/commit/bca03189f71b6002b5a9c00f96f80098404899b3) add changeset - [`51bd0cf`](https://github.com/langchain-ai/langgraphjs/commit/51bd0cfe6164bc844a0c2f289973df9daf724903) Cleanup, reexport Runtime types - [`cedc49f`](https://github.com/langchain-ai/langgraphjs/commit/cedc49f1473cd7ec0817f7a334ceadf48174d9cc) Add support for API and SDK - [`d74f2c0`](https://github.com/langchain-ai/langgraphjs/commit/d74f2c0e7fdcb1cd8483b12fa592938f9384138a) Fix tests, rename public facing API ### 📊 Changes **26 files changed** (+325 additions, -69 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/fifty-sloths-try.md` (+5 -0) ➕ `.changeset/fluffy-toes-give.md` (+5 -0) ➕ `.changeset/proud-terms-take.md` (+5 -0) 📝 `libs/langgraph-api/src/api/assistants.mts` (+5 -0) 📝 `libs/langgraph-api/src/api/runs.mts` (+1 -0) 📝 `libs/langgraph-api/src/graph/load.mts` (+3 -2) 📝 `libs/langgraph-api/src/schemas.mts` (+4 -0) 📝 `libs/langgraph-api/src/storage/ops.mts` (+17 -0) 📝 `libs/langgraph-api/src/stream.mts` (+1 -0) 📝 `libs/langgraph-api/tests/api.test.mts` (+73 -0) 📝 `libs/langgraph-api/tests/graphs/langgraph.json` (+3 -2) ➕ `libs/langgraph-api/tests/graphs/simple_runtime.mts` (+12 -0) 📝 `libs/langgraph/src/graph/graph.ts` (+2 -2) 📝 `libs/langgraph/src/graph/state.ts` (+10 -10) 📝 `libs/langgraph/src/pregel/index.ts` (+22 -23) 📝 `libs/langgraph/src/pregel/remote.ts` (+10 -12) 📝 `libs/langgraph/src/pregel/runnable_types.ts` (+17 -3) 📝 `libs/langgraph/src/pregel/types.ts` (+11 -6) 📝 `libs/langgraph/src/pregel/utils/config.ts` (+1 -0) 📝 `libs/langgraph/src/tests/pregel.test-d.ts` (+88 -5) _...and 6 more files_ </details> ### 📄 Description Mostly semantics, with the main improvement being avoidance of mixing internal configurable fields with user-defined context. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:53 -05:00
yindo closed this issue 2026-02-15 20:15:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#1471