unstale

npm / solid-sonner

solid-sonner

What changed in solid-sonner 0.3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.

3 breaking1 behavior and defaults9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

solid-sonner 0.313 changes

Breaking changes 3

  • classNames.default applies only to toasts created without a type; styles intended for every toast should move to individual type keys.

    0.3.2release notes

  • A new toast reusing a dismissed toast's id no longer inherits its props, such as action.

    0.3.2release notes

  • Passing 0 dismisses the toast with that id rather than every toast.

    0.3.2release notes

Behavior and default changes 1

  • History is capped at 100 entries and only already-dismissed toasts are dropped.

    0.3.2release notes

Fixes and other changes 9

  • Fixes the solid export so element refs are preserved; toasts no longer collapse on hover, swipe-to-dismiss works again, and hotkey and Escape handlers reach the toaster.

    0.3.3release notes

  • Decorative icons are hidden from assistive technology.

    0.3.2release notes

  • A fast flick no longer dismisses a toast in a direction that is not in swipeDirections.

    0.3.2release notes

  • Toast content is no longer limited to the width of its text.

    0.3.2release notes

  • A toast recreated immediately after dismissal is no longer removed by the dismissal still in flight.

    0.3.2release notes

  • Calling toast with the id of an existing toast no longer appends a duplicate history entry and now honours the dismissible default.

    0.3.2release notes

  • Calling toast with the id of a loading toast clears its loading state.

    0.3.2release notes

  • toast.custom keeps an id of 0 instead of treating it as absent.

    0.3.2release notes

  • Toasts created before the Toaster mounts are no longer lost.

    0.3.2release notes