chore(deps): update dependency svelte-sonner to v1 - #159
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
❌ Deploy Preview for promplate-site failed. Why did it fail? →
|
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
August 10, 2025 15:02
cac2602 to
73ee699
Compare
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
August 13, 2025 16:06
73ee699 to
1a888d6
Compare
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
September 25, 2025 15:09
1a888d6 to
9dc7e39
Compare
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
October 21, 2025 11:04
9dc7e39 to
f660c3b
Compare
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
December 1, 2025 10:39
f660c3b to
0693a39
Compare
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
December 31, 2025 17:43
0693a39 to
6538170
Compare
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
March 15, 2026 01:42
6538170 to
9f365d2
Compare
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
March 15, 2026 02:20
9f365d2 to
75dde09
Compare
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
March 15, 2026 04:01
75dde09 to
62421c5
Compare
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
April 1, 2026 20:59
62421c5 to
aa9b071
Compare
renovate
Bot
force-pushed
the
renovate/svelte-sonner-1.x
branch
from
April 8, 2026 16:53
aa9b071 to
27ab1df
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.3.28→^1.0.0Release Notes
wobsoriano/svelte-sonner (svelte-sonner)
v1.2.1Compare Source
Patch Changes
f506748: fix: firefox mouseleave firing when mouse doesn't movev1.2.0Compare Source
Minor Changes
7312f33: feat: support multiple toasters via<Toaster id="..." />andtoast(..., { toasterId })(matching upstream sonner semantics: a toaster without anidrenders only toasts without atoasterId), use thegapprop in the toast offset math instead of a hardcoded value, and honortoastOptions.closeButton. Note: anidpassed to<Toaster />now identifies the toaster instead of landing on the<ol>elementPatch Changes
7fbbc1c: fix: guardheightIndexagainst a not-found (-1) resultToast.sveltecomputedheightIndexasheights.findIndex(...) || 0. When atoast has no measured height entry yet,
findIndexreturns-1, and-1 || 0evaluates to
-1(since-1is truthy). That negative index then fed theoffset calculation (
heightIndex * GAP) and thereducerIndex >= heightIndexguard, producing incorrect stacking offsets in the brief window before a
toast's height is measured. Replaced the
|| 0fallback with an explicit=== -1 ? 0 : idxcheck.32b4655: fix: preventCannot read properties of undefined (reading 'toastId')crash fromsetHeightsetHeightlooked up a toast's position inthis.toasts(via#findToastIdx)and then used that integer to write into
this.heights. The two arrays growindependently (
toastsis unshifted,heightsis pushed;remove()splicestoastsbut onlyremoveHeight()filtersheights), so the indices drift outof sync. When
toastIdx >= heights.length,this.heights[toastIdx] = datacreated a sparse array with
undefinedholes, and a subsequentheights.findIndex((h) => h.toastId === ...)then dereferenced the hole andthrew
TypeError: Cannot read properties of undefined (reading 'toastId'),white-screening the host app.
Fixed by searching
heightsdirectly bytoastId(mirroringremoveHeight)via a dedicated
#findHeightIdxhelper, so the index always refers to thecorrect array. The lookup is wrapped in
untrackbecausesetHeightrunsinside a
$effect; a tracked read ofthis.heightswould re-trigger thateffect on the following write and hit
effect_update_depth_exceeded.7312f33: fix: replace the svelte-preprocess<style global>block with a native Svelte 5:globalblock so the published component compiles with the latest@sveltejs/vite-plugin-svelte(fixes crashes with@tailwindcss/viteCSS extraction)6084611: fix: record the drag start time so a fast flick below the distance threshold can dismiss a toast, reset the auto-close timer when a dismissed toast id is recreated in the same tick, keep height entries in newest-first order when several toasts mount together, and fully reset gesture state when a toast is revived mid-exit7312f33: fix: port the bug-fix batch from upstream sonner (emilkowalski/sonner#777): custom icons no longer render twice in promise toasts, a fast flick no longer dismisses a toast in a direction not inswipeDirections(which is now actually passed down from the Toaster), decorative icons are hidden from assistive technology, toast content takes the full toast width,toast.custom()keeps an explicit id of0, toasts created before the<Toaster />mounts are no longer lost, a new toast reusing the id of a dismissed toast no longer inherits its props, and a toast recreated right after being dismissed is no longer removed by the pending dismissalv1.1.1Compare Source
Patch Changes
828befe: Fix infinite-duration toasts being dismissed immediately when updatedv1.1.0Compare Source
Minor Changes
b059173: AddpauseWhenPageIsHiddenprop and rename dismissable to dismissible (deprecated alias kept for backwards compatibility)v1.0.8Compare Source
Patch Changes
3cfc3c8: Ignore system theme change if theme has been set explicitlyv1.0.7Compare Source
Patch Changes
27599d7: Switch to OIDC for npm publishingv1.0.6Compare Source
Patch Changes
065ac06: Restore expand functionality broken in v1.0.3v1.0.5Compare Source
Patch Changes
e441e34: perf: don't unnecessarily run expensivegetDocumentDirectione441e34: fix: allow event handlers to be passed as props and call them before the internal onesv1.0.4Compare Source
Patch Changes
1a718f6: - Remove lift interactiononDismissfires correctly61e932d: fix: increase specificity of toast styles by removing :where() to resolve issues withrichColorsv1.0.3Compare Source
Patch Changes
be39b67: Avoid triggering nested $effect updates on dismissalv1.0.2Compare Source
Patch Changes
ae0b9fa: Fixed an issue where usage of toast inside$effectcauses an infinite loopv1.0.1Compare Source
Patch Changes
02af4ff: Fixes an issue whererunedpackage can't be resolved due to it being in thedevDependenciessection instead ofdependencies.v1.0.0Compare Source
Major Changes
1b1f5b3: Introducing Svelte Sonner v1! 🥳This release brings compatibility with Svelte 5, a major internal refactor to use Svelte runes and snippets, and feature parity with the original package.
Here's an example of using snippets to change the default loading icon:
Coming soon: Docs site 😉
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.