diff --git a/.changeset/const-tags.md b/.changeset/const-tags.md deleted file mode 100644 index 82765c5038..0000000000 --- a/.changeset/const-tags.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte': patch ---- - -fix: invalidate `@const` tags based on visible references in legacy mode diff --git a/.changeset/evil-chicken-attend.md b/.changeset/evil-chicken-attend.md deleted file mode 100644 index f89e7e17f3..0000000000 --- a/.changeset/evil-chicken-attend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte': patch ---- - -fix: disallow `--` in `idPrefix` diff --git a/.changeset/great-toes-behave.md b/.changeset/great-toes-behave.md deleted file mode 100644 index 26e36f70f1..0000000000 --- a/.changeset/great-toes-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte': patch ---- - -fix: correct types for `ontoggle` on
elements diff --git a/.changeset/orange-geckos-rest.md b/.changeset/orange-geckos-rest.md deleted file mode 100644 index 5717c249b6..0000000000 --- a/.changeset/orange-geckos-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte': patch ---- - -fix: don't override `$destroy/set/on` instance methods in dev mode diff --git a/.changeset/poor-tips-send.md b/.changeset/poor-tips-send.md deleted file mode 100644 index beb0329705..0000000000 --- a/.changeset/poor-tips-send.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte': patch ---- - -fix: never set derived.v inside fork diff --git a/.changeset/silent-rings-yell.md b/.changeset/silent-rings-yell.md deleted file mode 100644 index 0b417103f7..0000000000 --- a/.changeset/silent-rings-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte': patch ---- - -fix: don't reset status of uninitialized deriveds diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e940252892..586c6fe6ae 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -43,7 +43,7 @@ The maintainers meet on the final Saturday of each month. While these meetings a ### Prioritization -We do our best to review PRs and RFCs as they are sent, but it is difficult to keep up. We welcome help in reviewing PRs, RFCs, and issues. If an item aligns with the current priority on our [roadmap](https://svelte.dev/roadmap), it is more likely to be reviewed quickly. PRs to the most important and active ones repositories get reviewed more quickly while PRs to smaller inactive repos may sit for a bit before we periodically come by and review the pending PRs in a batch. +We do our best to review PRs and RFCs as they are sent, but it is difficult to keep up. We welcome help in reviewing PRs, RFCs, and issues. If an item aligns with the current priority on our [roadmap](https://svelte.dev/roadmap), it is more likely to be reviewed quickly. PRs to the most important and active repositories get reviewed more quickly while PRs to smaller inactive repos may sit for a bit before we periodically come by and review the pending PRs in a batch. ## Bugs diff --git a/documentation/docs/02-runes/02-$state.md b/documentation/docs/02-runes/02-$state.md index d763b6578f..b90c71366a 100644 --- a/documentation/docs/02-runes/02-$state.md +++ b/documentation/docs/02-runes/02-$state.md @@ -167,6 +167,8 @@ To take a static snapshot of a deeply reactive `$state` proxy, use `$state.snaps This is handy when you want to pass some state to an external library or API that doesn't expect a proxy, such as `structuredClone`. +If a value has a `toJSON` method, the snapshot will clone the value returned from `toJSON` instead of the original object. + ## `$state.eager` When state changes, it may not be reflected in the UI immediately if it is used by an `await` expression, because [updates are synchronized](await-expressions#Synchronized-updates). diff --git a/documentation/docs/03-template-syntax/12-bind.md b/documentation/docs/03-template-syntax/12-bind.md index e8164149db..b93f207e71 100644 --- a/documentation/docs/03-template-syntax/12-bind.md +++ b/documentation/docs/03-template-syntax/12-bind.md @@ -241,7 +241,7 @@ When the value of an `