Packages

sonner

2.0.8 · 9 Aug 2026MIT61.9M / weekRepositoryHomepagenpmAtom feed

Upgrading sonner From 0.7.4 to 2.0.8

37 releases in betweennotes for 23

The notes of 2.0.0, 1.0.0 list no breaking change or deprecation, which is rare for a major.
  1. 0.7.4yours
  2. 1.0.0major
  3. 27 releases
  4. 2.0.0major
  5. 7 releases
  6. 2.0.8target
?
changes to make
0
advisories fixed
24+
new
34+
fixes

Counted from 23 of 37 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 2.0.8

    9 Aug 20261 new · 7 fixes
    • New

      Added support for custom aria labels

    • Fixed

      Fixed handling when hotkey is an empty array

    • Fixed

      Keep the toaster as top layer when react-aria modal is open

    • Fixed

      Format

  2. 2.0.7

    2 Aug 20252 new · 1 fix
    • New

      Add testId prop for individual toast components

    • New

      toaster: Add support for multiple toasters with unique identifiers

    • Fixed

      Tests

  3. 2.0.6

    3 Jul 20251 fix
    • Fixed

      Right click event swallowing

  4. 2.0.5nothing new or fixed in the note

  5. 2.0.4

    30 May 20252 fixes
    • Fixed

      Ensure onDismiss fires correctly

    • Fixed

      React to custom toast height changes

  6. 2.0.3

    1 Apr 20251 new
    • New

      Inherit color for description when rich colors is true

  7. 2.0.2

    27 Mar 20251 new · 2 fixes
    • 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

  8. 2.0.1

    20 Feb 20252 fixes
    • Fixed

      Flush sync error

    • Fixed

      Allow users to select text after swipe gesture

42 other lines we could not sort, mostly version bumps
  • Use variables in close button colors instead of hardcoded values

    2.0.8
  • Update bunchee

    2.0.5
  • Sonner v2.0

    2.0.0
  • Replace icons in a promise correctly

    1.4.3
  • Display loading icon for loading toast

    1.4.3
  • Update README.md

    1.4.1
  • Removed an extra space

    1.4.1
  • Use bunchee as bundler

    1.4.0
  • types: Change label types to ReactNode

    1.4.0
  • Swap bundlers

    1.4.0

8 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.