Skip to content

docs(frontend): cover v1 useStream in @langchain/{react,vue,svelte,angular}#3996

Open
Nick Hollon (nick-hollon-lc) wants to merge 2 commits into
mainfrom
nh/usestream-frontend-docs
Open

docs(frontend): cover v1 useStream in @langchain/{react,vue,svelte,angular}#3996
Nick Hollon (nick-hollon-lc) wants to merge 2 commits into
mainfrom
nh/usestream-frontend-docs

Conversation

@nick-hollon-lc
Copy link
Copy Markdown
Contributor

@nick-hollon-lc Nick Hollon (nick-hollon-lc) commented May 13, 2026

Summary

  • @langchain/react, @langchain/vue, @langchain/svelte, and @langchain/angular v1 ship a v2-native useStream hook. The new protocol requires langgraph-api>=0.9.0rc1 on the LangGraph Agent Server and bundles @langchain/langgraph-sdk>=1.9.0.
  • Adds a shared requires-usestream-server.mdx snippet (breaking-change warning + downgrade path: pin @langchain/react@0.3 / @langchain/vue@0.4 / @langchain/svelte@0.4 / @langchain/angular@0.4 to stay on the legacy protocol) and embeds it in the LangChain, LangGraph, and Deep Agents frontend overviews.
  • Expands the existing "Frontend SDK enhancements" section in src/oss/javascript/releases/langgraph-v1.mdx with 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.
  • Replaces three stale @langchain/langgraph-sdk/react imports in src/oss/langgraph/streaming.mdx with @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/).

…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`.
@github-actions github-actions Bot added deepagents For docs changes to Deep Agents javascript langchain For docs changes to LangChain langgraph For docs changes to LangGraph oss internal labels May 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for opening a docs PR, Nick Hollon (@nick-hollon-lc)! When it's ready for review, please add the relevant reviewers:

  • @npentrel or @lnhsingh (Deep Agents)
  • @npentrel or @lnhsingh (open source)
  • @npentrel or @lnhsingh (LangChain)
  • @npentrel or @lnhsingh (LangGraph)

Resolves a broken anchor on /oss/python/releases/langgraph-v1 — the
Frontend SDK enhancements section only exists in the JS release notes.
@github-actions
Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-nhuses-1778700384-2b3c094

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):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepagents For docs changes to Deep Agents internal javascript langchain For docs changes to LangChain langgraph For docs changes to LangGraph oss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant