v2.0.8
- Added support for custom aria labels by @hirotomoyamada in https://github.com/emilkowalski/sonner/pull/704
- Fixed handling when
hotkeyis an empty array by @hirotomoyamada in https://github.com/emilkowalski/sonner/pull/703 - fix: keep the toaster as top layer when react-aria modal is open by @sadeghbarati in https://github.com/emilkowalski/sonner/pull/699
- fix: format by @WuMingDao in https://github.com/emilkowalski/sonner/pull/707
- fix: add missing safari prefix by @emilkowalski in https://github.com/emilkowalski/sonner/pull/710
- Fix event listener removal in hooks.tsx by @VishwaGauravIn in https://github.com/emilkowalski/sonner/pull/711
- Fix dismiss for custom toast by @reegodev in https://github.com/emilkowalski/sonner/pull/717
- Use variables in close button colors instead of hardcoded values by @faroukfaiz10 in https://github.com/emilkowalski/sonner/pull/726
- Fix a batch of reported issues by @emilkowalski in https://github.com/emilkowalski/sonner/pull/777
- @hirotomoyamada made their first contribution in https://github.com/emilkowalski/sonner/pull/704
- @sadeghbarati made their first contribution in https://github.com/emilkowalski/sonner/pull/699
- @WuMingDao made their first contribution in https://github.com/emilkowalski/sonner/pull/707
- @VishwaGauravIn made their first contribution in https://github.com/emilkowalski/sonner/pull/711
- @reegodev made their first contribution in https://github.com/emilkowalski/sonner/pull/717
- @faroukfaiz10 made their first contribution in https://github.com/emilkowalski/sonner/pull/726
Full Changelog: https://github.com/emilkowalski/sonner/compare/v2.0.7...v2.0.8
v2.0.7
Sonner now supports multiple <Toaster /> components, see more here.
- feat: add testId prop for individual toast components by @b-like-bahar in https://github.com/emilkowalski/sonner/pull/660
- feat(toaster): add support for multiple toasters with unique identifiers by @taroj1205 in https://github.com/emilkowalski/sonner/pull/665
- fix: tests by @emilkowalski in https://github.com/emilkowalski/sonner/pull/677
- @b-like-bahar made their first contribution in https://github.com/emilkowalski/sonner/pull/660
- @taroj1205 made their first contribution in https://github.com/emilkowalski/sonner/pull/665
Full Changelog: https://github.com/emilkowalski/sonner/compare/v2.0.6...v2.0.7
v2.0.6
- chore: upgrade pnpm to v9 to fix lockfileVersion mismatch by @metacode22 in https://github.com/emilkowalski/sonner/pull/658
- fix: right click event swallowing by @emilkowalski in https://github.com/emilkowalski/sonner/pull/661
- @metacode22 made their first contribution in https://github.com/emilkowalski/sonner/pull/658
Full Changelog: https://github.com/emilkowalski/sonner/compare/v2.0.5...v2.0.6
v2.0.5
Main goal of this update is to fix css import.
- update bunchee by @emilkowalski in https://github.com/emilkowalski/sonner/pull/650
Full Changelog: https://github.com/emilkowalski/sonner/compare/v2.0.4...v2.0.5
v2.0.4
- chore: remove lift interaction by @emilkowalski in https://github.com/emilkowalski/sonner/pull/644
- fix: ensure
onDismissfires correctly by @emilkowalski in https://github.com/emilkowalski/sonner/pull/645 - fix: react to custom toast height changes by @emilkowalski in https://github.com/emilkowalski/sonner/pull/646
Full Changelog: https://github.com/emilkowalski/sonner/compare/v2.0.3...v2.0.4
v2.0.3
- chore: Don't show toast buffers when not expanded. by @emilkowalski in https://github.com/emilkowalski/sonner/pull/614
- feat: inherit color for description when rich colors is
trueby @emilkowalski in https://github.com/emilkowalski/sonner/pull/615
Full Changelog: https://github.com/emilkowalski/sonner/compare/v2.0.2...v2.0.3
v2.0.2
- fix: isExtendedResult. Check if promiseData is an object and not a valid React Element by @diegotraid in https://github.com/emilkowalski/sonner/pull/595
- fix: toast.dismiss without an id doesn't dismiss by @emilkowalski in https://github.com/emilkowalski/sonner/pull/609
- feat: allow to fully hide icons with null by @emilkowalski in https://github.com/emilkowalski/sonner/pull/610
Full Changelog: https://github.com/emilkowalski/sonner/compare/v2.0.1...v2.0.2
v2.0.1
- fix: flush sync error by @emilkowalski in https://github.com/emilkowalski/sonner/pull/586
- fix: allow users to select text after swipe gesture by @emilkowalski in https://github.com/emilkowalski/sonner/pull/587
Full Changelog: https://github.com/emilkowalski/sonner/compare/v2.0.0...v2.0.1
v2.0.0
Mostly bug fixes, see more at https://sonner.emilkowal.ski/getting-started.
- sonner v2.0 by @emilkowalski in https://github.com/emilkowalski/sonner/pull/558
Full Changelog: https://github.com/emilkowalski/sonner/compare/v.2.0.0-beta.1...v2.0.0
v2.0.0-beta.3
You can try the beta version by installing Sonner like this:
pnpm add sonner@2.0.0-beta.3
- chore: remove deprecated props by @emilkowalski in https://github.com/emilkowalski/sonner/pull/577
- feat: drag damping by @emilkowalski in https://github.com/emilkowalski/sonner/pull/578
- Enhance Promise to support ExternalToast propertiesfeat: Promise enhancement to allow ExternalToast props by @diegotraid in https://github.com/emilkowalski/sonner/pull/547
- fix: make promises work with new Error by @emilkowalski in https://github.com/emilkowalski/sonner/pull/579
- chore: Hide the close button when toastType is loading by @ynng3 in https://github.com/emilkowalski/sonner/pull/516
- fix close button aria labels by @mirorauhala in https://github.com/emilkowalski/sonner/pull/490
- fix: error promise test by @emilkowalski in https://github.com/emilkowalski/sonner/pull/580
- @diegotraid made their first contribution in https://github.com/emilkowalski/sonner/pull/547
- @ynng3 made their first contribution in https://github.com/emilkowalski/sonner/pull/516
- @mirorauhala made their first contribution in https://github.com/emilkowalski/sonner/pull/490
Full Changelog: https://github.com/emilkowalski/sonner/compare/v2.0.0-beta.2...v2.0.0-beta.3