docs(frontend): cover v1 useStream in @langchain/{react,vue,svelte,angular}#3996
Open
Nick Hollon (nick-hollon-lc) wants to merge 2 commits into
Open
docs(frontend): cover v1 useStream in @langchain/{react,vue,svelte,angular}#3996Nick Hollon (nick-hollon-lc) wants to merge 2 commits into
Nick Hollon (nick-hollon-lc) wants to merge 2 commits into
Conversation
…gular} `@langchain/react`, `@langchain/vue`, `@langchain/svelte`, and `@langchain/angular` v1 ship a v2-native `useStream` that requires `langgraph-api>=0.9.0rc1` on the server. Surface that requirement, document the downgrade path, and refresh stale SDK imports. - Add a shared `requires-usestream-server.mdx` snippet: leads with the breaking-change warning, points at `langgraph-api>=0.9.0rc1`, and tells readers to pin pre-v1 packages if they don't want to upgrade the server. - Embed the snippet in the LangChain, LangGraph, and Deep Agents frontend overviews; clarify that the four framework packages are at v1. - Expand the existing "Frontend SDK enhancements" section in the JS LangGraph v1 release notes with the new v1 hook surface (always-on root projections, selector hooks, automatic re-attach, multimodal media, Suspense, pluggable transports, agent-brand inference) and note the bundled `@langchain/langgraph-sdk>=1.9.0` floor. - Replace stale `@langchain/langgraph-sdk/react` imports in the LangGraph streaming guide with `@langchain/react`.
Contributor
|
Thanks for opening a docs PR, Nick Hollon (@nick-hollon-lc)! When it's ready for review, please add the relevant reviewers:
|
Resolves a broken anchor on /oss/python/releases/langgraph-v1 — the Frontend SDK enhancements section only exists in the JS release notes.
Contributor
|
Mintlify preview branch generated: Site preview: https://langchain-5e9cc07a-preview-nhuses-1778700384-2b3c094.mintlify.app Preview links may take a few minutes to start working while the deployment finishes. Changed documentation pages (preview deep links): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@langchain/react,@langchain/vue,@langchain/svelte, and@langchain/angularv1 ship a v2-nativeuseStreamhook. The new protocol requireslanggraph-api>=0.9.0rc1on the LangGraph Agent Server and bundles@langchain/langgraph-sdk>=1.9.0.requires-usestream-server.mdxsnippet (breaking-change warning + downgrade path: pin@langchain/react@0.3/@langchain/vue@0.4/@langchain/svelte@0.4/@langchain/angular@0.4to stay on the legacy protocol) and embeds it in the LangChain, LangGraph, and Deep Agents frontend overviews.src/oss/javascript/releases/langgraph-v1.mdxwith the new v1 surface — always-on root projections, selector hooks, automatic re-attach, multimodal media, Suspense + Error Boundaries, pluggable transports, agent-brand inference — including a short React example and a pointer to the Vue/Angular equivalents.@langchain/langgraph-sdk/reactimports insrc/oss/langgraph/streaming.mdxwith@langchain/react.The LangChain frontend overview is the canonical patterns page and now links out to the v1 release notes for the "what's new" content rather than duplicating it (following the convention used elsewhere in
src/oss/).