Packages

sonner

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

Upgrading sonner From 0.3.5 to 0.4.0

1 release in betweenevery note read

Other targets from 0.3.5Newest 0.x0.7.4Latest2.0.8
  1. 0.3.5yours
  2. 0.4.0target
0
changes to make
0
advisories fixed
3
new
4
fixes

Release by release

  1. 0.4.0

    23 May 20233 new · 4 fixes
    • New

      Add custom id

    • New

      Add onDismiss and onAutoClose callbacks

    • New

      Allow toast updates and listen to height changes

    • Fixed

      Fix layout shift

    • Fixed

      typerror: Fix unhandled possible undefined of ref #62

    • Fixed

      Fix lock file

    • Fixed

      Fix promise toast height

2 other lines we could not sort, mostly version bumps
  • Set line height

    0.4.0
  • Center toast on smaller screens

    0.4.0

1 internal line (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.