# What changed in @radix-ui/react-toast

> 11 changes in @radix-ui/react-toast 1 from its official release notes, upgrade guides and advisories: 1 security, 1 new APIs and options. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/@radix-ui/react-toast/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @radix-ui/react-toast 1

### Security

- The package is republished through CI with a provenance attestation, allowing developers to verify its publishing provenance. (1.2.21) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#1221)

### New APIs and options

- ToastAnnounce can now specify a container. (1.2.16) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#1216)

### Performance

- Bundlers can drop unused components more effectively, reducing the code included in bundles. (1.2.20) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#1220)

### Fixes and other changes

- Fixed a type regression so callback props declared as methods accept handlers whose parameter is narrower than the prop's. (1.3.1) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#131)
- Optional types now allow explicit undefined, making them compatible with TypeScript's exactOptionalPropertyTypes flag. (1.3.0) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#130)
- Fixed Toast.Viewport forcing a still-hydrating Suspense boundary to client-render. (1.3.0) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#130)
- A paused Toast now auto-closes after its duration changes while the timer is paused. (1.2.24) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#1224)
- Reverted breaking changes that caused compatibility issues with React Server Components. (1.2.23) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#1223)
- Fixed `Toast` removing non-focused toasts when pressing `Escape`. (1.2.20) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#1220)
- The close timer is cleared on unmount to prevent memory leaks and errors in test environments. (1.2.18) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#1218)
- Fixed an infinite re-render loop in React 19 caused by unstable composed ref callback references. (1.2.18) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toast/CHANGELOG.md#1218)
