@pleach/react changelog
Release history for @pleach/react — site-docs entries that materially touched the @pleach/react surface, newest-first. Canonical runtime history lives upstream.
This page collects the site-content changelog entries that
materially touched the @pleach/react docs surface
or named a @pleach/react symbol. It is not the runtime
changelog — the canonical record of @pleach/react runtime
behavior lives in the upstream package
CHANGELOG.md.
@pleach/react isn't on npm yet, so there's no package page
to link.
See the combined site changelog at
/docs/changelog/combined for the
chronological unified view across every SKU.
Unreleased
Fixed
-
Seven stale claims corrected against the current core source (2026-11-23).
content/docs/core.mdxsaid each subpath ships as a self-contained bundle; the build now emits shared chunks, so two subpaths loaded in one process share the same classes.content/docs/auditable-call-row.mdxstopped at record version 48; it now reads 50.content/docs/base-tools.mdxshowed acorrect_factkey the fact tools now refuse.content/docs/checkpointing.mdxdidn't sayprune(threadId, 0)throwsPruneZeroKeepLastError, or that alistcursor is a checkpoint id that returns strictly older rows.content/docs/adoption-paths.mdxcalledrecordCall()beforeinit()a no-op; it drops the row and warns once withOBSERVE_RECORD_BEFORE_INIT.content/docs/react.mdxnow marksuseVercelAISDKCompat,<VercelAISDKCompat>anduseVercelChatContextdeprecated. Tracks upstream b0fd27363e, 0a9996e461, f51ec78f7a, 7d476ce198, 5c2c332aea, 042b063677. -
@pleach/reactversion and pinning advice (2026-11-16).react.mdxcalled the package 1.0; it is 0.1.0. The "pin via^on the major" line now matches the page's pin-exact advice. -
This page no longer links an npm page that doesn't exist. The opener said
@pleach/react's canonical runtime history also lived on npm and linked it, but the name isn't on the registry, so the link 404'd. The opener now says the package isn't on npm yet. -
Fabrication detection no longer says the guard runs before the user sees the text.
applyFabricationGuardrewrites a turn before it is persisted, and a streaming client receives the rewrite as acontent.correctionafter the original deltas. The page now says that, and that a client using the answer hold never shows text a guard corrects before the turn completes.
Added
- useRemoteTurn. New page for the browser hook
over server-hosted turns, exported by
@pleach/core/reactand@pleach/react. It covers mountingcreatePleachTurnRoutes, re-attaching by turn id, approvals, Stop, and the server's limits, including the 15-minutedetachedApprovalWindowMs. React now lists the hook, so@pleach/reactreads five hooks rather than four. - React notes the optional
idon text and reasoning parts. It comes from thepartIdon the deltas that built the part and works as a render key. See Stream events → Part ids. settledPartson the React hooks.useHarness,useChatanduseSessionMessageStream'sTurnContextexpose the settled message's parts, including the tool parts of the calls that started, sincepartsempties when the turn settles. The answer hold masks it likeparts. React also documents that eachuseHarnesssend keeps its own turn state, and thatcreateSessionorresumeSessionduring a turn detaches that turn without stopping it: its pending approvals are released unanswered, recorded as a policy decision (client_detached), not as the user's, so it cannot stall the next send, andabort()must come before the switch to stop it.useHarness.resolveInterruptnow reaches the runtime, or the in-process bridge on a browser runtime.- Answer hold:
holdAnswerUntilTurnCompleteonuseChat,useHarnessanduseSessionMessageStream(default off). It keeps the reply out of view until the turn ends, so text a guard corrects or resets is never shown first. After a Stop, a dropped stream orreleaseAfterMs, the text shown may be the uncorrected partial.useSessionMessageStreamgainsonAnswerReleased(ctx). Documented in Fabrication detection § Holding the answer, React and Troubleshooting.collectStreamneeds no option.
Changed
-
useVercelAISDKCompatis deprecated (2026-11-16). It projects the AI SDK v4useChatshape.building-chat-ui.mdxnow points touseChatfrom@ai-sdk/reactserved bytoUIMessageStreamResponsefrom@pleach/core/ai-sdk. -
Sidebar reorder — Frontend integration becomes its own top-level group in the build → ship → internals walk.
-
Per-recipe deep-dive page additions — recipes naming
@pleach/react+createPleachRoutenow have dedicated walk-throughs at/docs/recipes/simple-chatbotand others. Each carries a quickstart, the runtime composition the recipe wires, a TypeScript config interface, common gotchas, and cross-links.
2026-06-08
Changed
- Packages table corrected to real published
version —
@pleach/react 1.0.0(was largely stale "Reserved · placeholder" framing).
@pleach/rbac-contract changelog
Release history for @pleach/rbac-contract — site-docs entries that materially touched the @pleach/rbac-contract surface, newest-first. Canonical runtime history lives upstream.
@pleach/recipes changelog
Release history for @pleach/recipes — site-docs entries that materially touched the recipes surface, newest-first. Canonical runtime history lives upstream.