ITADN

chore(deps): update dependency svelte to v5.51.5 [security]

#660Pull Requestrenovate[bot] 创建于 2026-02-22
dependencies
R
renovate[bot]commented
> ℹ️ **Note** > > This PR body was truncated due to platform limits. This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [svelte](https://svelte.dev) ([source](https://redirect.github.com/sveltejs/svelte/tree/HEAD/packages/svelte)) | [`5.20.4` → `5.51.5`](https://renovatebot.com/diffs/npm/svelte/5.20.4/5.51.5) | ![age](https://developer.mend.io/api/mc/badges/age/npm/svelte/5.51.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/svelte/5.20.4/5.51.5?slim=true) | ### GitHub Vulnerability Alerts #### [CVE-2026-27121](https://redirect.github.com/sveltejs/svelte/security/advisories/GHSA-f7gr-6p89-r883) Versions of svelte prior to 5.51.5 are vulnerable to cross-site scripting (XSS) during server-side rendering. When using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers. #### [CVE-2026-27122](https://redirect.github.com/sveltejs/svelte/security/advisories/GHSA-m56q-vw4c-c2cp) When using `<svelte:element this={tag}>` in server-side rendering, the provided tag name is not validated or sanitized before being emitted into the HTML output. If the tag string contains unexpected characters, it can result in HTML injection in the SSR output. Client-side rendering is not affected. --- ### Release Notes <details> <summary>sveltejs/svelte (svelte)</summary> ### [`v5.51.5`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5515) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.51.4...svelte@5.51.5) ##### Patch Changes - fix: check to make sure `svelte:element` tags are valid during SSR ([`73098bb26c6f06e7fd1b0746d817d2c5ee90755f`](https://redirect.github.com/sveltejs/svelte/commit/73098bb26c6f06e7fd1b0746d817d2c5ee90755f)) - fix: misc option escaping and backwards compatibility ([#&#8203;17741](https://redirect.github.com/sveltejs/svelte/pull/17741)) - fix: strip event handlers during SSR ([`a0c7f289156e9fafaeaf5ca14af6c06fe9b9eae5`](https://redirect.github.com/sveltejs/svelte/commit/a0c7f289156e9fafaeaf5ca14af6c06fe9b9eae5)) - fix: replace usage of `for in` with `for of Object.keys` ([`f89c7ddd7eebaa1ef3cc540400bec2c9140b330c`](https://redirect.github.com/sveltejs/svelte/commit/f89c7ddd7eebaa1ef3cc540400bec2c9140b330c)) - fix: always escape option body in SSR ([`f7c80da18c215e3727c2a611b0b8744cc6e504c5`](https://redirect.github.com/sveltejs/svelte/commit/f7c80da18c215e3727c2a611b0b8744cc6e504c5)) - chore: upgrade `devalue` ([#&#8203;17739](https://redirect.github.com/sveltejs/svelte/pull/17739)) ### [`v5.51.4`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5514) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.51.3...svelte@5.51.4) ##### Patch Changes - chore: proactively defer effects in pending boundary ([#&#8203;17734](https://redirect.github.com/sveltejs/svelte/pull/17734)) - fix: detect and error on non-idempotent each block keys in dev mode ([#&#8203;17732](https://redirect.github.com/sveltejs/svelte/pull/17732)) ### [`v5.51.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5513) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.51.2...svelte@5.51.3) ##### Patch Changes - fix: prevent event delegation logic conflicting between svelte instances ([#&#8203;17728](https://redirect.github.com/sveltejs/svelte/pull/17728)) - fix: treat CSS attribute selectors as case-insensitive for HTML enumerated attributes ([#&#8203;17712](https://redirect.github.com/sveltejs/svelte/pull/17712)) - fix: locate Rollup annontaion friendly to JS downgraders ([#&#8203;17724](https://redirect.github.com/sveltejs/svelte/pull/17724)) - fix: run effects in pending snippets ([#&#8203;17719](https://redirect.github.com/sveltejs/svelte/pull/17719)) ### [`v5.51.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5512) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.51.1...svelte@5.51.2) ##### Patch Changes - fix: take async into consideration for dev delegated handlers ([#&#8203;17710](https://redirect.github.com/sveltejs/svelte/pull/17710)) - fix: emit state\_referenced\_locally warning for non-destructured props ([#&#8203;17708](https://redirect.github.com/sveltejs/svelte/pull/17708)) ### [`v5.51.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5511) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.51.0...svelte@5.51.1) ##### Patch Changes - fix: don't crash on undefined `document.contentType` ([#&#8203;17707](https://redirect.github.com/sveltejs/svelte/pull/17707)) - fix: use symbols for encapsulated event delegation ([#&#8203;17703](https://redirect.github.com/sveltejs/svelte/pull/17703)) ### [`v5.51.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5510) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.50.3...svelte@5.51.0) ##### Minor Changes - feat: Use `TrustedTypes` for HTML handling where supported ([#&#8203;16271](https://redirect.github.com/sveltejs/svelte/pull/16271)) ##### Patch Changes - fix: sanitize template-literal-special-characters in SSR attribute values ([#&#8203;17692](https://redirect.github.com/sveltejs/svelte/pull/17692)) - fix: follow-up formatting in `print()` — flush block-level elements into separate sequences ([#&#8203;17699](https://redirect.github.com/sveltejs/svelte/pull/17699)) - fix: preserve delegated event handlers as long as one or more root components are using them ([#&#8203;17695](https://redirect.github.com/sveltejs/svelte/pull/17695)) ### [`v5.50.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5503) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.50.2...svelte@5.50.3) ##### Patch Changes - fix: take into account `nodeName` case sensitivity on XHTML pages ([#&#8203;17689](https://redirect.github.com/sveltejs/svelte/pull/17689)) - fix: render `multiple` and `selected` attributes as empty strings for XHTML compliance ([#&#8203;17689](https://redirect.github.com/sveltejs/svelte/pull/17689)) - fix: always lowercase HTML elements, for XHTML compliance ([#&#8203;17664](https://redirect.github.com/sveltejs/svelte/pull/17664)) - fix: freeze effects-inside-deriveds when disconnecting, unfreeze on reconnect ([#&#8203;17682](https://redirect.github.com/sveltejs/svelte/pull/17682)) - fix: propagate `$effect` errors to `<svelte:boundary>` ([#&#8203;17684](https://redirect.github.com/sveltejs/svelte/pull/17684)) ### [`v5.50.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5502) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.50.1...svelte@5.50.2) ##### Patch Changes - fix: resolve `effect_update_depth_exceeded` when using `bind:value` on `<select>` with derived state in legacy mode ([#&#8203;17645](https://redirect.github.com/sveltejs/svelte/pull/17645)) - fix: don't swallow `DOMException` when `media.play()` fails in `bind:paused` ([#&#8203;17656](https://redirect.github.com/sveltejs/svelte/pull/17656)) - chore: provide proper public type for `parseCss` result ([#&#8203;17654](https://redirect.github.com/sveltejs/svelte/pull/17654)) - fix: robustify blocker calculation ([#&#8203;17676](https://redirect.github.com/sveltejs/svelte/pull/17676)) - fix: reduce if block nesting ([#&#8203;17662](https://redirect.github.com/sveltejs/svelte/pull/17662)) ### [`v5.50.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5501) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.50.0...svelte@5.50.1) ##### Patch Changes - fix: render boolean attribute values as empty strings for XHTML compliance ([#&#8203;17648](https://redirect.github.com/sveltejs/svelte/pull/17648)) - fix: prevent async render tag hydration mismatches ([#&#8203;17652](https://redirect.github.com/sveltejs/svelte/pull/17652)) ### [`v5.50.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5500) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.49.2...svelte@5.50.0) ##### Minor Changes - feat: allow use of createContext when instantiating components programmatically ([#&#8203;17575](https://redirect.github.com/sveltejs/svelte/pull/17575)) ##### Patch Changes - fix: ensure infinite effect loops are cleared after flushing ([#&#8203;17601](https://redirect.github.com/sveltejs/svelte/pull/17601)) - fix: allow `{#key NaN}` ([#&#8203;17642](https://redirect.github.com/sveltejs/svelte/pull/17642)) - fix: detect store in each block expression regardless of AST shape ([#&#8203;17636](https://redirect.github.com/sveltejs/svelte/pull/17636)) - fix: treat `<menu>` like `<ul>`/`<ol>` for a11y role checks ([#&#8203;17638](https://redirect.github.com/sveltejs/svelte/pull/17638)) - fix: add vite-ignore comment inside dynamic crypto import ([#&#8203;17623](https://redirect.github.com/sveltejs/svelte/pull/17623)) - chore: wrap JSDoc URLs in `@see` and `@link` tags ([#&#8203;17617](https://redirect.github.com/sveltejs/svelte/pull/17617)) - fix: properly hydrate already-resolved async blocks ([#&#8203;17641](https://redirect.github.com/sveltejs/svelte/pull/17641)) - fix: emit `each_key_duplicate` error in production ([#&#8203;16724](https://redirect.github.com/sveltejs/svelte/pull/16724)) - fix: exit resolved async blocks on correct node when hydrating ([#&#8203;17640](https://redirect.github.com/sveltejs/svelte/pull/17640)) ### [`v5.49.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5492) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.49.1...svelte@5.49.2) ##### Patch Changes - chore: remove SvelteKit data attributes from elements.d.ts ([#&#8203;17613](https://redirect.github.com/sveltejs/svelte/pull/17613)) - fix: avoid erroneous async derived expressions for blocks ([#&#8203;17604](https://redirect.github.com/sveltejs/svelte/pull/17604)) - fix: avoid Cloudflare warnings about not having the "node:crypto" module ([#&#8203;17612](https://redirect.github.com/sveltejs/svelte/pull/17612)) - fix: reschedule effects inside unskipped branches ([#&#8203;17604](https://redirect.github.com/sveltejs/svelte/pull/17604)) ### [`v5.49.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5491) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.49.0...svelte@5.49.1) ##### Patch Changes - fix: merge consecutive large text nodes ([#&#8203;17587](https://redirect.github.com/sveltejs/svelte/pull/17587)) - fix: only create async functions in SSR output when necessary ([#&#8203;17593](https://redirect.github.com/sveltejs/svelte/pull/17593)) - fix: properly separate multiline html blocks from each other in `print()` ([#&#8203;17319](https://redirect.github.com/sveltejs/svelte/pull/17319)) - fix: prevent unhandled exceptions arising from dangling promises in <script> ([#&#8203;17591](https://redirect.github.com/sveltejs/svelte/pull/17591)) ### [`v5.49.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5490) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.48.5...svelte@5.49.0) ##### Minor Changes - feat: allow passing `ShadowRootInit` object to custom element `shadow` option ([#&#8203;17088](https://redirect.github.com/sveltejs/svelte/pull/17088)) ##### Patch Changes - fix: throw for unset `createContext` get on the server ([#&#8203;17580](https://redirect.github.com/sveltejs/svelte/pull/17580)) - fix: reset effects inside skipped branches ([#&#8203;17581](https://redirect.github.com/sveltejs/svelte/pull/17581)) - fix: preserve old dependencies when updating reaction inside fork ([#&#8203;17579](https://redirect.github.com/sveltejs/svelte/pull/17579)) - fix: more conservative assignment\_value\_stale warnings ([#&#8203;17574](https://redirect.github.com/sveltejs/svelte/pull/17574)) - fix: disregard `popover` elements when determining whether an element has content ([#&#8203;17367](https://redirect.github.com/sveltejs/svelte/pull/17367)) - fix: fire introstart/outrostart events after delay, if specified ([#&#8203;17567](https://redirect.github.com/sveltejs/svelte/pull/17567)) - fix: increment signal versions when discarding forks ([#&#8203;17577](https://redirect.github.com/sveltejs/svelte/pull/17577)) ### [`v5.48.5`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5485) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.48.4...svelte@5.48.5) ##### Patch Changes - fix: run boundary `onerror` callbacks in a microtask, in case they result in the boundary's destruction ([#&#8203;17561](https://redirect.github.com/sveltejs/svelte/pull/17561)) - fix: prevent unintended exports from namespaces ([#&#8203;17562](https://redirect.github.com/sveltejs/svelte/pull/17562)) - fix: each block breaking with effects interspersed among items ([#&#8203;17550](https://redirect.github.com/sveltejs/svelte/pull/17550)) ### [`v5.48.4`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5484) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.48.3...svelte@5.48.4) ##### Patch Changes - fix: avoid duplicating escaped characters in CSS AST ([#&#8203;17554](https://redirect.github.com/sveltejs/svelte/pull/17554)) ### [`v5.48.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5483) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.48.2...svelte@5.48.3) ##### Patch Changes - fix: hydration failing with settled async blocks ([#&#8203;17539](https://redirect.github.com/sveltejs/svelte/pull/17539)) - fix: add pointer and touch events to a11y\_no\_static\_element\_interactions warning ([#&#8203;17551](https://redirect.github.com/sveltejs/svelte/pull/17551)) - fix: handle false dynamic components in SSR ([#&#8203;17542](https://redirect.github.com/sveltejs/svelte/pull/17542)) - fix: avoid unnecessary block effect re-runs after async work completes ([#&#8203;17535](https://redirect.github.com/sveltejs/svelte/pull/17535)) - fix: avoid using dev-mode array.includes wrapper on internal array checks ([#&#8203;17536](https://redirect.github.com/sveltejs/svelte/pull/17536)) ### [`v5.48.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5482) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.48.1...svelte@5.48.2) ##### Patch Changes - fix: export `wait` function from internal client index ([#&#8203;17530](https://redirect.github.com/sveltejs/svelte/pull/17530)) ### [`v5.48.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5481) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.48.0...svelte@5.48.1) ##### Patch Changes - fix: hoist snippets above const in same block ([#&#8203;17516](https://redirect.github.com/sveltejs/svelte/pull/17516)) - fix: properly hydrate await in `{@&#8203;html}` ([#&#8203;17528](https://redirect.github.com/sveltejs/svelte/pull/17528)) - fix: batch resolution of async work ([#&#8203;17511](https://redirect.github.com/sveltejs/svelte/pull/17511)) - fix: account for empty statements when visiting in transform async ([#&#8203;17524](https://redirect.github.com/sveltejs/svelte/pull/17524)) - fix: avoid async overhead for already settled promises ([#&#8203;17461](https://redirect.github.com/sveltejs/svelte/pull/17461)) - fix: better code generation for const tags with async dependencies ([#&#8203;17518](https://redirect.github.com/sveltejs/svelte/pull/17518)) ### [`v5.48.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5480) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.47.1...svelte@5.48.0) ##### Minor Changes - feat: export `parseCss` from `svelte/compiler` ([#&#8203;17496](https://redirect.github.com/sveltejs/svelte/pull/17496)) ##### Patch Changes - fix: handle non-string values in `svelte:element` `this` attribute ([#&#8203;17499](https://redirect.github.com/sveltejs/svelte/pull/17499)) - fix: faster deduplication of dependencies ([#&#8203;17503](https://redirect.github.com/sveltejs/svelte/pull/17503)) ### [`v5.47.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5471) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.47.0...svelte@5.47.1) ##### Patch Changes - fix: trigger `selectedcontent` reactivity ([#&#8203;17486](https://redirect.github.com/sveltejs/svelte/pull/17486)) ### [`v5.47.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5470) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.46.4...svelte@5.47.0) ##### Minor Changes - feat: customizable `<select>` elements ([#&#8203;17429](https://redirect.github.com/sveltejs/svelte/pull/17429)) ##### Patch Changes - fix: mark subtree of svelte boundary as dynamic ([#&#8203;17468](https://redirect.github.com/sveltejs/svelte/pull/17468)) - fix: don't reset static elements with debug/snippets ([#&#8203;17477](https://redirect.github.com/sveltejs/svelte/pull/17477)) ### [`v5.46.4`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5464) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.46.3...svelte@5.46.4) ##### Patch Changes - fix: use `devalue.uneval` to serialize `hydratable` keys ([`ef81048e238844b729942441541d6dcfe6c8ccca`](https://redirect.github.com/sveltejs/svelte/commit/ef81048e238844b729942441541d6dcfe6c8ccca)) ### [`v5.46.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5463) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.46.1...svelte@5.46.3) ##### Patch Changes - fix: reconnect clean deriveds when they are read in a reactive context ([#&#8203;17362](https://redirect.github.com/sveltejs/svelte/pull/17362)) - fix: don't transform references of function declarations in legacy mode ([#&#8203;17431](https://redirect.github.com/sveltejs/svelte/pull/17431)) - fix: notify deriveds of changes to sources inside forks ([#&#8203;17437](https://redirect.github.com/sveltejs/svelte/pull/17437)) - fix: always reconnect deriveds in get, when appropriate ([#&#8203;17451](https://redirect.github.com/sveltejs/svelte/pull/17451)) - fix: prevent derives without dependencies from ever re-running ([`286b40c4526ce9970cb81ddd5e65b93b722fe468`](https://redirect.github.com/sveltejs/svelte/commit/286b40c4526ce9970cb81ddd5e65b93b722fe468)) - fix: correctly update writable deriveds inside forks ([#&#8203;17437](https://redirect.github.com/sveltejs/svelte/pull/17437)) - fix: remove `$inspect` calls after await expressions when compiling for production server code ([#&#8203;17407](https://redirect.github.com/sveltejs/svelte/pull/17407)) - fix: clear batch between runs ([#&#8203;17424](https://redirect.github.com/sveltejs/svelte/pull/17424)) - fix: adjust `loc` property of `Program` nodes created from `<script>` elements ([#&#8203;17428](https://redirect.github.com/sveltejs/svelte/pull/17428)) - fix: don't revert source to UNINITIALIZED state when time travelling ([#&#8203;17409](https://redirect.github.com/sveltejs/svelte/pull/17409)) ### [`v5.46.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5461) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.46.0...svelte@5.46.1) ##### Patch Changes - fix: type `currentTarget` in `on` function ([#&#8203;17370](https://redirect.github.com/sveltejs/svelte/pull/17370)) - fix: skip static optimisation for stateless deriveds after `await` ([#&#8203;17389](https://redirect.github.com/sveltejs/svelte/pull/17389)) - fix: prevent infinite loop when HMRing a component with an `await` ([#&#8203;17380](https://redirect.github.com/sveltejs/svelte/pull/17380)) ### [`v5.46.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5460) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.10...svelte@5.46.0) ##### Minor Changes - feat: Add `csp` option to `render(...)`, and emit hashes when using `hydratable` ([#&#8203;17338](https://redirect.github.com/sveltejs/svelte/pull/17338)) ### [`v5.45.10`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#54510) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.9...svelte@5.45.10) ##### Patch Changes - fix: race condition when importing `AsyncLocalStorage` ([#&#8203;17350](https://redirect.github.com/sveltejs/svelte/pull/17350)) ### [`v5.45.9`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5459) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.8...svelte@5.45.9) ##### Patch Changes - fix: correctly reschedule deferred effects when reviving a batch after async work ([#&#8203;17332](https://redirect.github.com/sveltejs/svelte/pull/17332)) - fix: correctly print `!doctype` during `print` ([#&#8203;17341](https://redirect.github.com/sveltejs/svelte/pull/17341)) ### [`v5.45.8`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5458) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.7...svelte@5.45.8) ##### Patch Changes - fix: set AST `root.start` to `0` and `root.end` to `template.length` ([#&#8203;17125](https://redirect.github.com/sveltejs/svelte/pull/17125)) - fix: prevent erroneous `state_referenced_locally` warnings on prop fallbacks ([#&#8203;17329](https://redirect.github.com/sveltejs/svelte/pull/17329)) ### [`v5.45.7`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5457) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.6...svelte@5.45.7) ##### Patch Changes - fix: Add `<textarea wrap="off">` as a valid attribute value ([#&#8203;17326](https://redirect.github.com/sveltejs/svelte/pull/17326)) - fix: add more css selectors to `print()` ([#&#8203;17330](https://redirect.github.com/sveltejs/svelte/pull/17330)) - fix: don't crash on `hydratable` serialization failure ([#&#8203;17315](https://redirect.github.com/sveltejs/svelte/pull/17315)) ### [`v5.45.6`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5456) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.5...svelte@5.45.6) ##### Patch Changes - fix: don't issue a11y warning for `<video>` without captions if it has no `src` ([#&#8203;17311](https://redirect.github.com/sveltejs/svelte/pull/17311)) - fix: add `srcObject` to permitted `<audio>`/`<video>` attributes ([#&#8203;17310](https://redirect.github.com/sveltejs/svelte/pull/17310)) ### [`v5.45.5`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5455) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.4...svelte@5.45.5) ##### Patch Changes - fix: correctly reconcile each blocks after outroing branches are resumed ([#&#8203;17258](https://redirect.github.com/sveltejs/svelte/pull/17258)) - fix: destroy each items after siblings are resumed ([#&#8203;17258](https://redirect.github.com/sveltejs/svelte/pull/17258)) ### [`v5.45.4`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5454) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.3...svelte@5.45.4) ##### Patch Changes - chore: move DOM-related effect properties to `effect.nodes` ([#&#8203;17293](https://redirect.github.com/sveltejs/svelte/pull/17293)) - fix: allow `$props.id()` to occur after an `await` ([#&#8203;17285](https://redirect.github.com/sveltejs/svelte/pull/17285)) - fix: keep reactions up to date even when read outside of effect ([#&#8203;17295](https://redirect.github.com/sveltejs/svelte/pull/17295)) ### [`v5.45.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5453) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.2...svelte@5.45.3) ##### Patch Changes - add props to state\_referenced\_locally ([#&#8203;17266](https://redirect.github.com/sveltejs/svelte/pull/17266)) - fix: preserve node locations for better sourcemaps ([#&#8203;17269](https://redirect.github.com/sveltejs/svelte/pull/17269)) - fix: handle cross-realm Promises in `hydratable` ([#&#8203;17284](https://redirect.github.com/sveltejs/svelte/pull/17284)) ### [`v5.45.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5452) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.1...svelte@5.45.2) ##### Patch Changes - fix: array destructuring after await ([#&#8203;17254](https://redirect.github.com/sveltejs/svelte/pull/17254)) - fix: throw on invalid `{@&#8203;tag}`s ([#&#8203;17256](https://redirect.github.com/sveltejs/svelte/pull/17256)) ### [`v5.45.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5451) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.45.0...svelte@5.45.1) ##### Patch Changes - fix: link offscreen items and last effect in each block correctly ([#&#8203;17240](https://redirect.github.com/sveltejs/svelte/pull/17240)) ### [`v5.45.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5450) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.44.1...svelte@5.45.0) ##### Minor Changes - feat: add `print(...)` function ([#&#8203;16188](https://redirect.github.com/sveltejs/svelte/pull/16188)) ### [`v5.44.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5441) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.44.0...svelte@5.44.1) ##### Patch Changes - fix: await blockers before initialising const ([#&#8203;17226](https://redirect.github.com/sveltejs/svelte/pull/17226)) - fix: link offscreen items and last effect in each block correctly ([#&#8203;17244](https://redirect.github.com/sveltejs/svelte/pull/17244)) - fix: generate correct code for simple destructurings ([#&#8203;17237](https://redirect.github.com/sveltejs/svelte/pull/17237)) - fix: ensure each block animations don't mess with transitions ([#&#8203;17238](https://redirect.github.com/sveltejs/svelte/pull/17238)) ### [`v5.44.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5440) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.15...svelte@5.44.0) ##### Minor Changes - feat: `hydratable` API ([#&#8203;17154](https://redirect.github.com/sveltejs/svelte/pull/17154)) ### [`v5.43.15`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#54315) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.14...svelte@5.43.15) ##### Patch Changes - fix: don't execute attachments and attribute effects eagerly ([#&#8203;17208](https://redirect.github.com/sveltejs/svelte/pull/17208)) - chore: lift "flushSync cannot be called in effects" restriction ([#&#8203;17139](https://redirect.github.com/sveltejs/svelte/pull/17139)) - fix: store forked derived values ([#&#8203;17212](https://redirect.github.com/sveltejs/svelte/pull/17212)) ### [`v5.43.14`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#54314) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.13...svelte@5.43.14) ##### Patch Changes - fix: correctly migrate named self closing slots ([#&#8203;17199](https://redirect.github.com/sveltejs/svelte/pull/17199)) - fix: error at compile time instead of at runtime on await expressions inside bindings/transitions/animations/attachments ([#&#8203;17198](https://redirect.github.com/sveltejs/svelte/pull/17198)) - fix: take async blockers into account for bindings/transitions/animations/attachments ([#&#8203;17198](https://redirect.github.com/sveltejs/svelte/pull/17198)) ### [`v5.43.13`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#54313) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.12...svelte@5.43.13) ##### Patch Changes - fix: don't set derived values during time traveling ([#&#8203;17200](https://redirect.github.com/sveltejs/svelte/pull/17200)) ### [`v5.43.12`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#54312) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.11...svelte@5.43.12) ##### Patch Changes - fix: maintain correct linked list of effects when updating each blocks ([#&#8203;17191](https://redirect.github.com/sveltejs/svelte/pull/17191)) ### [`v5.43.11`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#54311) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.10...svelte@5.43.11) ##### Patch Changes - perf: don't use tracing overeager during dev ([#&#8203;17183](https://redirect.github.com/sveltejs/svelte/pull/17183)) - fix: don't cancel transition of already outroing elements ([#&#8203;17186](https://redirect.github.com/sveltejs/svelte/pull/17186)) ### [`v5.43.10`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#54310) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.9...svelte@5.43.10) ##### Patch Changes - fix: avoid other batches running with queued root effects of main batch ([#&#8203;17145](https://redirect.github.com/sveltejs/svelte/pull/17145)) ### [`v5.43.9`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5439) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.8...svelte@5.43.9) ##### Patch Changes - fix: correctly handle functions when determining async blockers ([#&#8203;17137](https://redirect.github.com/sveltejs/svelte/pull/17137)) - fix: keep deriveds reactive after their original parent effect was destroyed ([#&#8203;17171](https://redirect.github.com/sveltejs/svelte/pull/17171)) - fix: ensure eager effects don't break reactions chain ([#&#8203;17138](https://redirect.github.com/sveltejs/svelte/pull/17138)) - fix: ensure async `@const` in boundary hydrates correctly ([#&#8203;17165](https://redirect.github.com/sveltejs/svelte/pull/17165)) - fix: take blockers into account when creating `#await` blocks ([#&#8203;17137](https://redirect.github.com/sveltejs/svelte/pull/17137)) - fix: parallelize async `@const`s in the template ([#&#8203;17165](https://redirect.github.com/sveltejs/svelte/pull/17165)) ### [`v5.43.8`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5438) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.7...svelte@5.43.8) ##### Patch Changes - fix: each block losing reactivity when items removed while promise pending ([#&#8203;17150](https://redirect.github.com/sveltejs/svelte/pull/17150)) ### [`v5.43.7`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5437) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.6...svelte@5.43.7) ##### Patch Changes - fix: properly defer document title until async work is complete ([#&#8203;17158](https://redirect.github.com/sveltejs/svelte/pull/17158)) - fix: ensure deferred effects can be rescheduled later on ([#&#8203;17147](https://redirect.github.com/sveltejs/svelte/pull/17147)) - fix: take blockers of components into account ([#&#8203;17153](https://redirect.github.com/sveltejs/svelte/pull/17153)) ### [`v5.43.6`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5436) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.5...svelte@5.43.6) ##### Patch Changes - fix: don't deactivate other batches ([#&#8203;17132](https://redirect.github.com/sveltejs/svelte/pull/17132)) ### [`v5.43.5`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5435) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.4...svelte@5.43.5) ##### Patch Changes - fix: ensure async static props/attributes are awaited ([#&#8203;17120](https://redirect.github.com/sveltejs/svelte/pull/17120)) - fix: wait on dependencies of async bindings ([#&#8203;17120](https://redirect.github.com/sveltejs/svelte/pull/17120)) - fix: await dependencies of style directives ([#&#8203;17120](https://redirect.github.com/sveltejs/svelte/pull/17120)) ### [`v5.43.4`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5434) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.3...svelte@5.43.4) ##### Patch Changes - chore: simplify connection/disconnection logic ([#&#8203;17105](https://redirect.github.com/sveltejs/svelte/pull/17105)) - fix: reconnect deriveds to effect tree when time-travelling ([#&#8203;17105](https://redirect.github.com/sveltejs/svelte/pull/17105)) ### [`v5.43.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5433) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.2...svelte@5.43.3) ##### Patch Changes - fix: ensure fork always accesses correct values ([#&#8203;17098](https://redirect.github.com/sveltejs/svelte/pull/17098)) - fix: change title only after any pending work has completed ([#&#8203;17061](https://redirect.github.com/sveltejs/svelte/pull/17061)) - fix: preserve symbols when creating derived rest properties ([#&#8203;17096](https://redirect.github.com/sveltejs/svelte/pull/17096)) ### [`v5.43.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5432) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.1...svelte@5.43.2) ##### Patch Changes - fix: treat each blocks with async dependencies as uncontrolled ([#&#8203;17077](https://redirect.github.com/sveltejs/svelte/pull/17077)) ### [`v5.43.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5431) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.43.0...svelte@5.43.1) ##### Patch Changes - fix: transform `$bindable` after `await` expressions ([#&#8203;17066](https://redirect.github.com/sveltejs/svelte/pull/17066)) ### [`v5.43.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5430) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.42.3...svelte@5.43.0) ##### Minor Changes - feat: out-of-order rendering ([#&#8203;17038](https://redirect.github.com/sveltejs/svelte/pull/17038)) ##### Patch Changes - fix: settle batch after DOM updates ([#&#8203;17054](https://redirect.github.com/sveltejs/svelte/pull/17054)) ### [`v5.42.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5423) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.42.2...svelte@5.42.3) ##### Patch Changes - fix: handle `<svelte:head>` rendered asynchronously ([#&#8203;17052](https://redirect.github.com/sveltejs/svelte/pull/17052)) - fix: don't restore batch in `#await` ([#&#8203;17051](https://redirect.github.com/sveltejs/svelte/pull/17051)) ### [`v5.42.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5422) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.42.1...svelte@5.42.2) ##### Patch Changes - fix: better error message for global variable assignments ([#&#8203;17036](https://redirect.github.com/sveltejs/svelte/pull/17036)) - chore: tweak memoizer logic ([#&#8203;17042](https://redirect.github.com/sveltejs/svelte/pull/17042)) ### [`v5.42.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5421) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.42.0...svelte@5.42.1) ##### Patch Changes - fix: ignore fork `discard()` after `commit()` ([#&#8203;17034](https://redirect.github.com/sveltejs/svelte/pull/17034)) ### [`v5.42.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5420) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.41.4...svelte@5.42.0) ##### Minor Changes - feat: experimental `fork` API ([#&#8203;17004](https://redirect.github.com/sveltejs/svelte/pull/17004)) ##### Patch Changes - fix: always allow `setContext` before first await in component ([#&#8203;17031](https://redirect.github.com/sveltejs/svelte/pull/17031)) - fix: less confusing names for inspect errors ([#&#8203;17026](https://redirect.github.com/sveltejs/svelte/pull/17026)) ### [`v5.41.4`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5414) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.41.3...svelte@5.41.4) ##### Patch Changes - fix: take into account static blocks when determining transition locality ([#&#8203;17018](https://redirect.github.com/sveltejs/svelte/pull/17018)) - fix: coordinate mount of snippets with await expressions ([#&#8203;17021](https://redirect.github.com/sveltejs/svelte/pull/17021)) - fix: better optimization of await expressions ([#&#8203;17025](https://redirect.github.com/sveltejs/svelte/pull/17025)) - fix: flush pending changes after rendering `failed` snippet ([#&#8203;16995](https://redirect.github.com/sveltejs/svelte/pull/16995)) ### [`v5.41.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5413) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.41.2...svelte@5.41.3) ##### Patch Changes - chore: exclude vite optimized deps from stack traces ([#&#8203;17008](https://redirect.github.com/sveltejs/svelte/pull/17008)) - perf: skip repeatedly traversing the same derived ([#&#8203;17016](https://redirect.github.com/sveltejs/svelte/pull/17016)) ### [`v5.41.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5412) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.41.1...svelte@5.41.2) ##### Patch Changes - fix: keep batches alive until all async work is complete ([#&#8203;16971](https://redirect.github.com/sveltejs/svelte/pull/16971)) - fix: don't preserve reactivity context across function boundaries ([#&#8203;17002](https://redirect.github.com/sveltejs/svelte/pull/17002)) - fix: make `$inspect` logs come from the callsite ([#&#8203;17001](https://redirect.github.com/sveltejs/svelte/pull/17001)) - fix: ensure guards (eg. if, each, key) run before their contents ([#&#8203;16930](https://redirect.github.com/sveltejs/svelte/pull/16930)) ### [`v5.41.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5411) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.41.0...svelte@5.41.1) ##### Patch Changes - fix: place `let:` declarations before `{@&#8203;const}` declarations ([#&#8203;16985](https://redirect.github.com/sveltejs/svelte/pull/16985)) - fix: improve `each_key_without_as` error ([#&#8203;16983](https://redirect.github.com/sveltejs/svelte/pull/16983)) - chore: centralise branch management ([#&#8203;16977](https://redirect.github.com/sveltejs/svelte/pull/16977)) ### [`v5.41.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5410) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.40.2...svelte@5.41.0) ##### Minor Changes - feat: add `$state.eager(value)` rune ([#&#8203;16849](https://redirect.github.com/sveltejs/svelte/pull/16849)) ##### Patch Changes - fix: preserve `<select>` state while focused ([#&#8203;16958](https://redirect.github.com/sveltejs/svelte/pull/16958)) - chore: run boundary async effects in the context of the current batch ([#&#8203;16968](https://redirect.github.com/sveltejs/svelte/pull/16968)) - fix: error if `each` block has `key` but no `as` clause ([#&#8203;16966](https://redirect.github.com/sveltejs/svelte/pull/16966)) ### [`v5.40.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5402) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.40.1...svelte@5.40.2) ##### Patch Changes - fix: add hydration markers in `pending` branch of SSR boundary ([#&#8203;16965](https://redirect.github.com/sveltejs/svelte/pull/16965)) ### [`v5.40.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5401) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.40.0...svelte@5.40.1) ##### Patch Changes - chore: Remove sync-in-async warning for server rendering ([#&#8203;16949](https://redirect.github.com/sveltejs/svelte/pull/16949)) ### [`v5.40.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5400) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.13...svelte@5.40.0) ##### Minor Changes - feat: add `createContext` utility for type-safe context ([#&#8203;16948](https://redirect.github.com/sveltejs/svelte/pull/16948)) ##### Patch Changes - chore: simplify `batch.apply()` ([#&#8203;16945](https://redirect.github.com/sveltejs/svelte/pull/16945)) - fix: don't rerun async effects unnecessarily ([#&#8203;16944](https://redirect.github.com/sveltejs/svelte/pull/16944)) ### [`v5.39.13`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#53913) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.12...svelte@5.39.13) ##### Patch Changes - fix: add missing type for `fr` attribute for `radialGradient` tags in svg ([#&#8203;16943](https://redirect.github.com/sveltejs/svelte/pull/16943)) - fix: unset context on stale promises ([#&#8203;16935](https://redirect.github.com/sveltejs/svelte/pull/16935)) ### [`v5.39.12`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#53912) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.11...svelte@5.39.12) ##### Patch Changes - fix: better input cursor restoration for `bind:value` ([#&#8203;16925](https://redirect.github.com/sveltejs/svelte/pull/16925)) - fix: track the user's getter of `bind:this` ([#&#8203;16916](https://redirect.github.com/sveltejs/svelte/pull/16916)) - fix: generate correct SSR code for the case where `pending` is an attribute ([#&#8203;16919](https://redirect.github.com/sveltejs/svelte/pull/16919)) - fix: generate correct code for `each` blocks with async body ([#&#8203;16923](https://redirect.github.com/sveltejs/svelte/pull/16923)) ### [`v5.39.11`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#53911) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.10...svelte@5.39.11) ##### Patch Changes - fix: flush batches whenever an async value resolves ([#&#8203;16912](https://redirect.github.com/sveltejs/svelte/pull/16912)) ### [`v5.39.10`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#53910) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.9...svelte@5.39.10) ##### Patch Changes - fix: hydrate each blocks inside element correctly ([#&#8203;16908](https://redirect.github.com/sveltejs/svelte/pull/16908)) - fix: allow await in if block consequent and alternate ([#&#8203;16890](https://redirect.github.com/sveltejs/svelte/pull/16890)) - fix: don't replace rest props with `$$props` for excluded props ([#&#8203;16898](https://redirect.github.com/sveltejs/svelte/pull/16898)) - fix: correctly transform `$derived` private fields on server ([#&#8203;16894](https://redirect.github.com/sveltejs/svelte/pull/16894)) - fix: add `UNKNOWN` evaluation value before breaking for `binding.initial===SnippetBlock` ([#&#8203;16910](https://redirect.github.com/sveltejs/svelte/pull/16910)) ### [`v5.39.9`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5399) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.8...svelte@5.39.9) ##### Patch Changes - fix: flush when pending boundaries resolve ([#&#8203;16897](https://redirect.github.com/sveltejs/svelte/pull/16897)) ### [`v5.39.8`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5398) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.7...svelte@5.39.8) ##### Patch Changes - fix: check boundary `pending` attribute at runtime on server ([#&#8203;16855](https://redirect.github.com/sveltejs/svelte/pull/16855)) - fix: preserve tuple type in `$state.snapshot` ([#&#8203;16864](https://redirect.github.com/sveltejs/svelte/pull/16864)) - fix: allow await in svelte:boundary without pending ([#&#8203;16857](https://redirect.github.com/sveltejs/svelte/pull/16857)) - fix: update `bind:checked` error message to clarify usage with radio inputs ([#&#8203;16874](https://redirect.github.com/sveltejs/svelte/pull/16874)) ### [`v5.39.7`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5397) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.6...svelte@5.39.7) ##### Patch Changes - chore: simplify batch logic ([#&#8203;16847](https://redirect.github.com/sveltejs/svelte/pull/16847)) - fix: rebase pending batches when other batches are committed ([#&#8203;16866](https://redirect.github.com/sveltejs/svelte/pull/16866)) - fix: wrap async `children` in `$$renderer.async` ([#&#8203;16862](https://redirect.github.com/sveltejs/svelte/pull/16862)) - fix: silence label warning for buttons and anchor tags with title attributes ([#&#8203;16872](https://redirect.github.com/sveltejs/svelte/pull/16872)) - fix: coerce nullish `<title>` to empty string ([#&#8203;16863](https://redirect.github.com/sveltejs/svelte/pull/16863)) ### [`v5.39.6`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5396) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.5...svelte@5.39.6) ##### Patch Changes - fix: depend on reads of deriveds created within reaction (async mode) ([#&#8203;16823](https://redirect.github.com/sveltejs/svelte/pull/16823)) - fix: SSR regression of processing attributes of `<select>` and `<option>` ([#&#8203;16821](https://redirect.github.com/sveltejs/svelte/pull/16821)) - fix: async `class:` + spread attributes were compiled into sync server-side code ([#&#8203;16834](https://redirect.github.com/sveltejs/svelte/pull/16834)) - fix: ensure tick resolves within a macrotask ([#&#8203;16825](https://redirect.github.com/sveltejs/svelte/pull/16825)) ### [`v5.39.5`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5395) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.4...svelte@5.39.5) ##### Patch Changes - fix: allow `{@&#8203;html await ...}` and snippets with async content on the server ([#&#8203;16817](https://redirect.github.com/sveltejs/svelte/pull/16817)) - fix: use nginx SSI-compatible comments for `$props.id()` ([#&#8203;16820](https://redirect.github.com/sveltejs/svelte/pull/16820)) ### [`v5.39.4`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5394) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.3...svelte@5.39.4) ##### Patch Changes - fix: restore hydration state after `await` in `<script>` ([#&#8203;16806](https://redirect.github.com/sveltejs/svelte/pull/16806)) ### [`v5.39.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5393) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.2...svelte@5.39.3) ##### Patch Changes - fix: remove outer hydration markers ([#&#8203;16800](https://redirect.github.com/sveltejs/svelte/pull/16800)) - fix: async hydration ([#&#8203;16797](https://redirect.github.com/sveltejs/svelte/pull/16797)) ### [`v5.39.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5392) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.1...svelte@5.39.2) ##### Patch Changes - fix: preserve SSR context when block expressions contain `await` ([#&#8203;16791](https://redirect.github.com/sveltejs/svelte/pull/16791)) - chore: bump some devDependencies ([#&#8203;16787](https://redirect.github.com/sveltejs/svelte/pull/16787)) ### [`v5.39.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#53913) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.39.0...svelte@5.39.1) ##### Patch Changes - fix: add missing type for `fr` attribute for `radialGradient` tags in svg ([#&#8203;16943](https://redirect.github.com/sveltejs/svelte/pull/16943)) - fix: unset context on stale promises ([#&#8203;16935](https://redirect.github.com/sveltejs/svelte/pull/16935)) ### [`v5.39.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5390) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.38.10...svelte@5.39.0) ##### Minor Changes - feat: experimental async SSR ([#&#8203;16748](https://redirect.github.com/sveltejs/svelte/pull/16748)) ##### Patch Changes - fix: correctly SSR hidden="until-found" ([#&#8203;16773](https://redirect.github.com/sveltejs/svelte/pull/16773)) ### [`v5.38.10`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#53810) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.38.9...svelte@5.38.10) ##### Patch Changes - fix: flush effects scheduled during boundary's pending phase ([#&#8203;16738](https://redirect.github.com/sveltejs/svelte/pull/16738)) ### [`v5.38.9`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5389) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.38.8...svelte@5.38.9) ##### Patch Changes - chore: generate CSS hash using the filename ([#&#8203;16740](https://redirect.github.com/sveltejs/svelte/pull/16740)) - fix: correctly analyze `<object.property>` components ([#&#8203;16711](https://redirect.github.com/sveltejs/svelte/pull/16711)) - fix: clean up scheduling system ([#&#8203;16741](https://redirect.github.com/sveltejs/svelte/pull/16741)) - fix: transform input defaults from spread ([#&#8203;16481](https://redirect.github.com/sveltejs/svelte/pull/16481)) - fix: don't destroy contents of `svelte:boundary` unless the boundary is an error boundary ([#&#8203;16746](https://redirect.github.com/sveltejs/svelte/pull/16746)) ### [`v5.38.8`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5388) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.38.7...svelte@5.38.8) ##### Patch Changes - fix: send `$effect.pending` count to the correct boundary ([#&#8203;16732](https://redirect.github.com/sveltejs/svelte/pull/16732)) ### [`v5.38.7`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5387) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.38.6...svelte@5.38.7) ##### Patch Changes - fix: replace `undefined` with `void(0)` in CallExpressions ([#&#8203;16693](https://redirect.github.com/sveltejs/svelte/pull/16693)) - fix: ensure batch exists when resetting a failed boundary ([#&#8203;16698](https://redirect.github.com/sveltejs/svelte/pull/16698)) - fix: place store setup inside async body ([#&#8203;16687](https://redirect.github.com/sveltejs/svelte/pull/16687)) ### [`v5.38.6`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5386) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.38.5...svelte@5.38.6) ##### Patch Changes - fix: don't fail on `flushSync` while flushing effects ([#&#8203;16674](https://redirect.github.com/sveltejs/svelte/pull/16674)) ### [`v5.38.5`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5385) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.38.3...svelte@5.38.5) ##### Patch Changes - fix: ensure async deriveds always get dependencies from thennable ([#&#8203;16672](https://redirect.github.com/sveltejs/svelte/pull/16672)) ### [`v5.38.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5383) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.38.2...svelte@5.38.3) ##### Patch Changes - fix: ensure correct order of template effect values ([#&#8203;16655](https://redirect.github.com/sveltejs/svelte/pull/16655)) - fix: allow async `{@&#8203;const}` in more places ([#&#8203;16643](https://redirect.github.com/sveltejs/svelte/pull/16643)) - fix: properly catch top level await errors ([#&#8203;16619](https://redirect.github.com/sveltejs/svelte/pull/16619)) - perf: prune effects without dependencies ([#&#8203;16625](https://redirect.github.com/sveltejs/svelte/pull/16625)) - fix: only emit `for_await_track_reactivity_loss` in async mode ([#&#8203;16644](https://redirect.github.com/sveltejs/svelte/pull/16644)) ### [`v5.38.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5382) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.38.1...svelte@5.38.2) ##### Patch Changes - perf: run blocks eagerly during flush instead of aborting ([#&#8203;16631](https://redirect.github.com/sveltejs/svelte/pull/16631)) - fix: don't clone non-proxies in `$inspect` ([#&#8203;16617](https://redirect.github.com/sveltejs/svelte/pull/16617)) - fix: avoid recursion error when tagging circular references ([#&#8203;16622](https://redirect.github.com/sveltejs/svelte/pull/16622)) ### [`v5.38.1`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#53810) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.38.0...svelte@5.38.1) ##### Patch Changes - fix: flush effects scheduled during boundary's pending phase ([#&#8203;16738](https://redirect.github.com/sveltejs/svelte/pull/16738)) ### [`v5.38.0`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5380) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.37.3...svelte@5.38.0) ##### Minor Changes - feat: allow `await` inside `@const` declarations ([#&#8203;16542](https://redirect.github.com/sveltejs/svelte/pull/16542)) ##### Patch Changes - fix: remount at any hydration error ([#&#8203;16248](https://redirect.github.com/sveltejs/svelte/pull/16248)) - chore: emit `await_reactivity_loss` in `for await` loops ([#&#8203;16521](https://redirect.github.com/sveltejs/svelte/pull/16521)) - fix: emit `snippet_invalid_export` instead of `undefined_export` for exported snippets ([#&#8203;16539](https://redirect.github.com/sveltejs/svelte/pull/16539)) ### [`v5.37.3`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5373) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.37.2...svelte@5.37.3) ##### Patch Changes - fix: reset attribute cache after setting corresponding property ([#&#8203;16543](https://redirect.github.com/sveltejs/svelte/pull/16543)) ### [`v5.37.2`](https://redirect.github.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#5372) [Compare Source](https://redirect.github.com/sveltejs/svelte/compare/svelte@5.37.1...svelte@5.37.2) ##### Patch Changes - fix: double event processing in firefox due to event object being garbage collected ([#&#8203;16527](https://redirect.github.com/sveltejs/svelte/pull/16527)) - fix: add bindable dimension attributes types to SVG and MathML elements ([#&#8203;16525](https://redirect.github.com/sveltejs/svelte/pull/16525)) - fix: correctly </details> --- ### Configuration 📅 **Schedule**: Branch creation - "" in timezone EST, Automerge - At any time (no schedule defined). 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/techniq/svelte-ux). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNi41IiwidXBkYXRlZEluVmVyIjoiNDMuMjYuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
合并状态:未合并 4 条评论