sonner
2.0.8 · 9 Aug 2026MIT61.9M / weekRepositoryHomepagenpmAtom feed
Upgrading sonner From 1.2.0 to 2.0.8
31 releases in betweennotes for 20
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
26 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
- 2.0.0
Sonner v2.0
- 1.4.3
Replace icons in a promise correctly
- 1.4.3
Display loading icon for loading toast
- 1.4.1
Update README.md
- 1.4.1
Removed an extra space
- 1.4.0
Use bunchee as bundler
- 1.4.0
types: Change label types to ReactNode
- 1.4.0
Swap bundlers
6 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.