ci(changesets): version packages
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@voltagent/core@2.8.0
Minor Changes
-
#1347
e108ba7Thanks @omeraplak! - Add parallel input guardrails forstreamTextso async input checks can run while the model starts, buffer streamed output until they pass, and replace blocked streams without persisting generated assistant output.UI streams produced with
toUIMessageStreamResponse()or consumed by AI SDKuseChatreceive adata-input-guardrail-blockedevent before the replacement assistant text, so UIs can translate the block state without string-matching the fallback message:const blocked = message.role === "assistant" && message.parts?.some((part) => part.type === "data-input-guardrail-blocked");
Summary by cubic
Publish @voltagent/core v2.8.0 and roll this version across examples and e2e. Adds parallel input guardrails to streamText for safer, non-blocking validation and clearer UI signaling.
-
New Features
streamText: runs async input checks in parallel, buffers output until they pass, and replaces blocked streams without saving partial assistant output.- UI streams (e.g.,
toUIMessageStreamResponse(),useChat) emitdata-input-guardrail-blockedso UIs can handle the blocked state without string matching.
-
Dependencies
- Bump
@voltagent/coreto^2.8.0across examples and@voltagent/e2e; remove the processed changeset file. - Update
pnpm-lock.yamland resolve platform bindings (e.g., rolldown/wasm runtime) accordingly.
- Bump
Summary by CodeRabbit
- New Features
streamTextnow supports parallel input guardrails, allowing async input checks to run while the model begins streaming- Streamed output is buffered until guardrails complete, and blocked streams are replaced without persisting generated content
- Added
data-input-guardrail-blockedevent for UI integration to detect guardrail block states