sonner
2.0.8 · 9 Aug 2026MIT61.9M / weekRepositoryHomepagenpmAtom feed
Upgrading sonner From 2.0.0 to 2.0.8
8 releases in betweenevery note read
Release by release
- New
Added support for custom aria labels
- Fixed
Fixed handling when
hotkeyis an empty array - Fixed
Keep the toaster as top layer when react-aria modal is open
- Fixed
Format
- New
- New
Add testId prop for individual toast components
- New
toaster: Add support for multiple toasters with unique identifiers
- Fixed
Tests
- New
- Fixed
Right click event swallowing
- Fixed
2.0.5nothing new or fixed in the note
- Fixed
Ensure
onDismissfires correctly - Fixed
React to custom toast height changes
- Fixed
- New
Inherit color for description when rich colors is
true
- New
- New
Allow to fully hide icons with null
- Fixed
isExtendedResult. Check if promiseData is an object and not a valid React Element
- Fixed
Toast.dismiss without an id doesn't dismiss
- New
- Fixed
Flush sync error
- Fixed
Allow users to select text after swipe gesture
- Fixed
2 other lines we could not sort, mostly version bumps
- 2.0.8
Use variables in close button colors instead of hardcoded values
- 2.0.5
Update bunchee
3 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.