Packages

sonner

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

Upgrading sonner From 1.4.41 to 2.0.8

17 releases in betweennotes for 13

Other targets from 1.4.41Newest 1.x1.7.4
The note of 2.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 1.4.41yours
  2. 8 releases
  3. 2.0.0major
  4. 7 releases
  5. 2.0.8target
?
changes to make
0
advisories fixed
6+
new
19+
fixes

Counted from 13 of 17 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

3 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

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.