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
true
by @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
v2.0.0-beta.2
You can try the beta version by installing Sonner like this:
pnpm add sonner@2.0.0-beta.2
- chore: update toast lifetime by @emilkowalski in https://github.com/emilkowalski/sonner/pull/570
- build: use bunchee by @huozhi in https://github.com/emilkowalski/sonner/pull/561
- fix: failing tests by @emilkowalski in https://github.com/emilkowalski/sonner/pull/572
- fix: unstyled prop not being applied to all elements by @emilkowalski in https://github.com/emilkowalski/sonner/pull/573
- fix: inability to remove a toast that has just been created by @emilkowalski in https://github.com/emilkowalski/sonner/pull/574
- fix: close button background is transparent by @emilkowalski in https://github.com/emilkowalski/sonner/pull/575
- chore: bring back lift on hover by @emilkowalski in https://github.com/emilkowalski/sonner/pull/576
Full Changelog: https://github.com/emilkowalski/sonner/compare/v.2.0.0-beta.1...v2.0.0-beta.2
v.2.0.0-beta.1
No real breaking changes, mostly bug fixes. Run the command bellow if you want to try it out.
pnpm add sonner@2.0.0-beta.1
I have also updated the styling docs with more information and the recommended method: https://sonner.emilkowal.ski/styling
- fix: swallowed mouseUp event by @emilkowalski in https://github.com/emilkowalski/sonner/pull/550
- refactor: remove unstyled prop by @emilkowalski in https://github.com/emilkowalski/sonner/pull/557
- fix: allow toats to grow properly by @emilkowalski in https://github.com/emilkowalski/sonner/pull/559
- chore: rename data-theme to data-sonner-theme by @emilkowalski in https://github.com/emilkowalski/sonner/pull/560
- fix: toast removal in strict mode by @emilkowalski in https://github.com/emilkowalski/sonner/pull/563
- refactor: maintain default styles when custom by @emilkowalski in https://github.com/emilkowalski/sonner/pull/564
- fix: check for promise properly by @emilkowalski in https://github.com/emilkowalski/sonner/pull/565
- chore: horizontal swiping improvements by @emilkowalski in https://github.com/emilkowalski/sonner/pull/566
- chore: improve rich colors by @emilkowalski in https://github.com/emilkowalski/sonner/pull/567
- chore: improve base colors by @emilkowalski in https://github.com/emilkowalski/sonner/pull/568
- chore: remove lift interaction, decrease default gap by @emilkowalski in https://github.com/emilkowalski/sonner/pull/569
Full Changelog: https://github.com/emilkowalski/sonner/compare/v1.7.3...v.2.0.0-beta.1
v1.7.3
- fix: swipe test by @emilkowalski in https://github.com/emilkowalski/sonner/pull/545
- fix: useSonner hook by @emilkowalski in https://github.com/emilkowalski/sonner/pull/549
Full Changelog: https://github.com/emilkowalski/sonner/compare/v.1.7.2...v1.7.3
v.1.7.2
You can now customize offsets more easily & swipe to the right/left as well.
- Utilize ref in Toaster by @rostero1 in https://github.com/emilkowalski/sonner/pull/536
- fix: dark mode for close button by @hunterrmartinn in https://github.com/emilkowalski/sonner/pull/531
- fix: inability to update toast duration dynamically #529 by @hqw567 in https://github.com/emilkowalski/sonner/pull/533
- fix: next build error by @emilkowalski in https://github.com/emilkowalski/sonner/pull/538
- fix: tests by @emilkowalski in https://github.com/emilkowalski/sonner/pull/539
- fix: hydration warning by @emilkowalski in https://github.com/emilkowalski/sonner/pull/540
- feat: add options to configure offsets on mobile by @CHC383 in https://github.com/emilkowalski/sonner/pull/526
- feat: enhanced offset settings by @emilkowalski in https://github.com/emilkowalski/sonner/pull/542
- refactor: remove cn function by @emilkowalski in https://github.com/emilkowalski/sonner/pull/543
- feat: add more swipe directions by @emilkowalski in https://github.com/emilkowalski/sonner/pull/544
- @rostero1 made their first contribution in https://github.com/emilkowalski/sonner/pull/536
- @hqw567 made their first contribution in https://github.com/emilkowalski/sonner/pull/533
- @CHC383 made their first contribution in https://github.com/emilkowalski/sonner/pull/526
Full Changelog: https://github.com/emilkowalski/sonner/compare/v1.7.1...v.1.7.2
v1.7.1
Updated docs: https://sonner.emilkowal.ski/getting-started
- Fix top position swipe direction by @hunterrmartinn in https://github.com/emilkowalski/sonner/pull/513
- fix: styles.css is not declared in package.json by @molvqingtai in https://github.com/emilkowalski/sonner/pull/508
- @hunterrmartinn made their first contribution in https://github.com/emilkowalski/sonner/pull/513
- @molvqingtai made their first contribution in https://github.com/emilkowalski/sonner/pull/508
Full Changelog: https://github.com/emilkowalski/sonner/compare/1.7.0...v1.7.1