npm / @radix-ui/react-toast
@radix-ui/react-toast
What changed in @radix-ui/react-toast 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
1 security1 new APIs and options1 performance8 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@radix-ui/react-toast 111 changes
Security 1
The package is republished through CI with a provenance attestation, allowing developers to verify its publishing provenance.
New APIs and options 1
ToastAnnounce can now specify a container.
Performance 1
Bundlers can drop unused components more effectively, reducing the code included in bundles.
Fixes and other changes 8
Fixed a type regression so callback props declared as methods accept handlers whose parameter is narrower than the prop's.
Optional types now allow explicit undefined, making them compatible with TypeScript's exactOptionalPropertyTypes flag.
Fixed Toast.Viewport forcing a still-hydrating Suspense boundary to client-render.
A paused Toast now auto-closes after its duration changes while the timer is paused.
Reverted breaking changes that caused compatibility issues with React Server Components.
Fixed
Toastremoving non-focused toasts when pressingEscape.The close timer is cleared on unmount to prevent memory leaks and errors in test environments.
Fixed an infinite re-render loop in React 19 caused by unstable composed ref callback references.