# What changed in sonner

> 5 changes in sonner 2 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-17. HTML: https://unstale.sh/npm/sonner/

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

## sonner 2

### New APIs and options

- Added support for custom aria labels. (2.0.8) — [release notes](https://github.com/emilkowalski/sonner/releases/tag/v2.0.8)

### Fixes and other changes

- Fixed dismiss behavior for custom toasts. (2.0.8) — [release notes](https://github.com/emilkowalski/sonner/releases/tag/v2.0.8)
- Fixed handling when hotkey is configured as an empty array. (2.0.8) — [release notes](https://github.com/emilkowalski/sonner/releases/tag/v2.0.8)
- Added a missing Safari prefix to improve browser compatibility. (2.0.8) — [release notes](https://github.com/emilkowalski/sonner/releases/tag/v2.0.8)
- The toaster remains in the top layer while a react-aria modal is open. (2.0.8) — [release notes](https://github.com/emilkowalski/sonner/releases/tag/v2.0.8)
