Skip to content

LangChain family 1.x / langgraph 1.2.14 line - #264

Merged
marcelklehr merged 3 commits into
nextcloud:mainfrom
WSHAPER:feat/sbom-langchain-1x
Oct 22, 2026
Merged

marcelklehr merged 3 commits into
nextcloud:mainfrom
WSHAPER:feat/sbom-langchain-1x

Conversation

@WSHAPER

@WSHAPER WSHAPER commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Coordinated bump so the family lands on the lines where several published advisories are fixed: langchain 1.4.3, core 1.6.7 (direct now), community 0.4.2, mcp-adapters 0.3.2, langgraph 1.2.14, checkpoint 4.2.0 (direct), sdk 0.4.6. Also pins Reviver(allowed_objects="core") in the jsonplus serde the way upstream checkpoint 4.2.0 does.

The last commit adds a StateGraph smoke test, drop it with git reset --hard HEAD~1 if tests/ should not land here.

Smoke test 4/4, all all_tools modules and mcp_server import, msgpack roundtrip including the signed token shape, SitemapLoader unused.

community is sunset upstream (#674), the two community tools work on 0.4.2 and should re-home eventually. websockets is pinned down to 16.1.1. Integration checks fail on main (llm2 backend), unrelated.

@WSHAPER WSHAPER closed this Oct 13, 2026
@WSHAPER
WSHAPER deleted the feat/sbom-langchain-1x branch October 13, 2026 12:00
@WSHAPER
WSHAPER restored the feat/sbom-langchain-1x branch October 13, 2026 12:00
@WSHAPER WSHAPER reopened this Oct 13, 2026
@marcelklehr
marcelklehr force-pushed the feat/sbom-langchain-1x branch from b5084f8 to 96b10e9 Compare October 21, 2026 07:49
@marcelklehr

Copy link
Copy Markdown
Member

please rebase

Coordinated bump clearing the SBOM advisory ranges (report 04):
- langchain 0.3.30 -> 1.4.3 (>=1.3.9, CVE-2026-55443)
- langchain-core 0.3.86 -> 1.6.7 (>=1.4.7, CVE-2026-34070/26013; now direct dep)
- langchain-community 0.3.31 -> 0.4.2 (1.x-era release; SitemapLoader remains unused/banned)
- langchain-text-splitters 0.3.11 -> 1.1.3 (CVE-2026-41481)
- langchain-mcp-adapters 0.1.14 -> 0.3.2
- langgraph 1.0.1 -> 1.2.14 (CVE-2026-28277 range)
- langgraph-checkpoint 3.0.1 -> 4.2.0 (>=4.1.1, CVE-2026-27794/48775; now direct dep)
- langgraph-sdk 0.2.15 -> 0.4.6 (CVE-2026-48776/104873)

Signed-off-by: WSHAPER <42714629+WSHAPER@users.noreply.github.com>
Assisted-by: opencode:zai/glm-5.3
langchain-core 1.6 changed Reviver() to warn about its pending default
change for allowed_objects. Pin allowed_objects="core" explicitly,
mirroring upstream langgraph-checkpoint 4.2.0's JsonPlusSerializer.

Signed-off-by: WSHAPER <42714629+WSHAPER@users.noreply.github.com>
Assisted-by: opencode:zai/glm-5.3
…nter, custom serde

Regression guard for the LangChain 1.x family bump: builds the agent graph
(get_graph) with the custom ChatWithNextcloud BaseChatModel and the vendored
InMemorySaver on langgraph 1.2.14 / langchain-core 1.6.7 / checkpoint 4.2.0,
drives an interrupt-before-dangerous-tools turn pair (tool call -> resume),
and round-trips JsonPlusSerializer in both msgpack-typed and signed-token
JSON shapes. Runnable standalone (python tests/test_graph_smoke.py) or pytest.

Signed-off-by: WSHAPER <42714629+WSHAPER@users.noreply.github.com>
Assisted-by: opencode:zai/glm-5.3
@WSHAPER
WSHAPER force-pushed the feat/sbom-langchain-1x branch from 96b10e9 to 5590c96 Compare October 22, 2026 10:03
@WSHAPER

WSHAPER commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

smoke test initially 3/4, found real staleness during rebase: the test called the pre-#236 get_graph(safe_tools=…). Adapted to the new API (tools=[…], tuple return); now 4/4 in-container

@marcelklehr
marcelklehr merged commit aec9363 into nextcloud:main Oct 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants