|
2 | 2 |
|
3 | 3 | ## Unreleased
|
4 | 4 |
|
| 5 | +* Add `bind:innerText` for `contenteditable` elements ([#3311](https://github.com/sveltejs/svelte/issues/3311)) |
| 6 | + |
| 7 | +## 3.57.0 |
| 8 | + |
| 9 | +* Add `<svelte:document>` ([#3310](https://github.com/sveltejs/svelte/issues/3310)) |
| 10 | +* Add a11y `no-noninteractive-element-to-interactive-role` ([#8167](https://github.com/sveltejs/svelte/pull/8167)) |
| 11 | +* Stop intro transition from triggering incorrectly ([#6152](https://github.com/sveltejs/svelte/issues/6152), [#6812](https://github.com/sveltejs/svelte/issues/6812)) |
| 12 | +* Support computed and literal properties when destructuring objects in the template ([#6609](https://github.com/sveltejs/svelte/issues/6609)) |
| 13 | +* Give `style:` directive precedence over `style=` attribute ([#7475](https://github.com/sveltejs/svelte/issues/7475)) |
| 14 | +* Select `<option>` with `selected` attribute when initial state is `undefined` ([#8361](https://github.com/sveltejs/svelte/issues/8361)) |
| 15 | +* Prevent derived store callbacks after store is unsubscribed from ([#8364](https://github.com/sveltejs/svelte/issues/8364)) |
| 16 | +* Account for `bind:group` members being spread across multiple control flow blocks ([#8372](https://github.com/sveltejs/svelte/issues/8372)) |
| 17 | +* Revert buggy reactive statement optimization ([#8374](https://github.com/sveltejs/svelte/issues/8374)) |
| 18 | +* Support CSS units in the `fly` and `blur` transitions ([#7623](https://github.com/sveltejs/svelte/pull/7623)) |
| 19 | + |
| 20 | +## 3.56.0 |
| 21 | + |
| 22 | +* Add `|stopImmediatePropagation` event modifier ([#5085](https://github.com/sveltejs/svelte/issues/5085)) |
| 23 | +* Add `axis` parameter to `slide` transition ([#6182](https://github.com/sveltejs/svelte/issues/6182)) |
| 24 | +* Add `readonly` utility to convert `writable` store to readonly ([#6518](https://github.com/sveltejs/svelte/pull/6518)) |
| 25 | +* Add `readyState` binding for media elements ([#6666](https://github.com/sveltejs/svelte/issues/6666)) |
| 26 | +* Generate valid automatic component names when the filename contains only special characters ([#7143](https://github.com/sveltejs/svelte/issues/7143)) |
| 27 | +* Add `naturalWidth` and `naturalHeight` bindings ([#7771](https://github.com/sveltejs/svelte/issues/7771)) |
| 28 | +* Support `<!-- svelte-ignore ... -->` on components ([#8082](https://github.com/sveltejs/svelte/issues/8082)) |
5 | 29 | * Add a11y warnings:
|
6 |
| - * `aria-activedescendant-has-tabindex`: elements with `aria-activedescendant` need to have a `tabindex` ([#8172](https://github.com/sveltejs/svelte/pull/8172)) |
| 30 | + * `aria-activedescendant-has-tabindex`: checks that elements with `aria-activedescendant` have a `tabindex` ([#8172](https://github.com/sveltejs/svelte/pull/8172)) |
7 | 31 | * `role-supports-aria-props`: checks that the (implicit) element role supports the given aria attributes ([#8195](https://github.com/sveltejs/svelte/pull/8195))
|
8 |
| -* Omit a11y warning on `<video>` tags with `aria-hidden="true"` ([#7874](https://github.com/sveltejs/svelte/issues/7874)) |
9 |
| -* Omit a11y "no child content" warning on elements with `aria-label` ([#8299](https://github.com/sveltejs/svelte/pull/8299)) |
10 |
| -* Omit a11y warnings on `<svelte:element>` ([#7939](https://github.com/sveltejs/svelte/issues/7939)) |
11 |
| -* Make `noreferrer` warning less zealous ([#6289](https://github.com/sveltejs/svelte/issues/6289)) |
12 |
| -* `trusted-types` CSP compatibility for Web Components ([#8134](https://github.com/sveltejs/svelte/issues/8134)) |
13 | 32 | * Add `data-sveltekit-replacestate` and `data-sveltekit-keepfocus` attribute typings ([#8281](https://github.com/sveltejs/svelte/issues/8281))
|
14 |
| -* Don't throw when calling `unsubscribe` twice ([#8186](https://github.com/sveltejs/svelte/pull/8186)) |
15 |
| -* Detect unused empty attribute CSS selectors ([#8042](https://github.com/sveltejs/svelte/issues/8042)) |
16 |
| -* Simpler output for reactive statements if dependencies are all static ([#7942](https://github.com/sveltejs/svelte/pull/7942)) |
17 |
| -* Flush remaining `afterUpdate` calls before `onDestroy` ([#7476](https://github.com/sveltejs/svelte/issues/7476)) |
18 |
| -* Check value equality for `input` types `url` and `search` ([#7027](https://github.com/sveltejs/svelte/issues/7027)) |
19 |
| -* Compute node dimensions directly before crossfading ([#4111](https://github.com/sveltejs/svelte/issues/4111)) |
20 |
| -* Add `readonly` method to convert `writable` store to readonly ([#6518](https://github.com/sveltejs/svelte/pull/6518)) |
| 33 | +* Compute node dimensions immediately before crossfading ([#4111](https://github.com/sveltejs/svelte/issues/4111)) |
| 34 | +* Fix potential infinite invalidate loop with `<svelte:component>` ([#4129](https://github.com/sveltejs/svelte/issues/4129)) |
21 | 35 | * Ensure `bind:offsetHeight` updates initially ([#4233](https://github.com/sveltejs/svelte/issues/4233))
|
22 |
| -* Better handling of `inert` attribute ([#7500](https://github.com/sveltejs/svelte/issues/7500)) |
23 |
| -* Clear inputs when `bind:group` to `undefined` ([#8214](https://github.com/sveltejs/svelte/issues/8214)) |
24 |
| -* Ensure nested arrays can change at the same time ([#8282](https://github.com/sveltejs/svelte/issues/8282)) |
25 |
| -* Reduce use of template literals in SSR output for better performance ([#7539](https://github.com/sveltejs/svelte/pull/7539)) |
26 |
| -* Allow assigning to property of const while destructuring ([#7964](https://github.com/sveltejs/svelte/issues/7964)) |
27 | 36 | * Don't set selected options if value is unbound or not passed ([#5644](https://github.com/sveltejs/svelte/issues/5644))
|
28 |
| -* Ensure `<input>` value persists when swapping elements with spread attributes in an `#each` block ([#7578](https://github.com/sveltejs/svelte/issues/7578)) |
29 |
| -* Select first enabled option by default when initial value is undefined ([#7041](https://github.com/sveltejs/svelte/issues/7041)) |
30 |
| -* Fix race condition on `svelte:element` with transitions ([#7948](https://github.com/sveltejs/svelte/issues/7948)) |
31 |
| -* Optimise `<svelte:element>` output code for static tag and static attribute ([#8161](https://github.com/sveltejs/svelte/pull/8161)) |
32 |
| -* Decode html entities correctly ([#8026](https://github.com/sveltejs/svelte/issues/8026)) |
| 37 | +* Validate component `:global()` selectors ([#6272](https://github.com/sveltejs/svelte/issues/6272)) |
| 38 | +* Improve warnings: |
| 39 | + * Make `noreferrer` warning less zealous ([#6289](https://github.com/sveltejs/svelte/issues/6289)) |
| 40 | + * Omit a11y warnings on `<video aria-hidden="true">` ([#7874](https://github.com/sveltejs/svelte/issues/7874)) |
| 41 | + * Omit a11y warnings on `<svelte:element>` ([#7939](https://github.com/sveltejs/svelte/issues/7939)) |
| 42 | + * Detect unused empty attribute CSS selectors ([#8042](https://github.com/sveltejs/svelte/issues/8042)) |
| 43 | + * Omit "no child content" warning on elements with `aria-label` ([#8296](https://github.com/sveltejs/svelte/issues/8296)) |
| 44 | +* Check value equality for `<input type="search">` and `<input type="url">` ([#7027](https://github.com/sveltejs/svelte/issues/7027)) |
| 45 | +* Do not select a disabled `<option>` by default when the initial bound value is undefined ([#7041](https://github.com/sveltejs/svelte/issues/7041)) |
33 | 46 | * Handle `{@html}` tags inside `<template>` tags ([#7364](https://github.com/sveltejs/svelte/pull/7364))
|
34 |
| -* Introduce parameter to allow for horizontal slide transition ([#6182](https://github.com/sveltejs/svelte/issues/6182)) |
35 |
| -* Add `naturalWidth` and `naturalHeight` bindings ([#7771](https://github.com/sveltejs/svelte/issues/7771)) |
36 |
| -* make `<!-- svelte-ignore ... -->` work above components ([#8082](https://github.com/sveltejs/svelte/issues/8082)) |
37 |
| -* add global compound selector validation ([#6272](https://github.com/sveltejs/svelte/issues/6272)) |
38 |
| -* add `stopImmediatePropagation` event modifier ([#5085](https://github.com/sveltejs/svelte/issues/5085)) |
39 |
| -* add `readyState` binding for media elements ([#6666](https://github.com/sveltejs/svelte/issues/6666)) |
40 |
| -* call `<svelte:component>` update to `this` only when it's dirty ([#4129](https://github.com/sveltejs/svelte/issues/4129)) |
41 |
| -* support exclusively special characters in component filenames ([#7143](https://github.com/sveltejs/svelte/issues/7143)) |
| 47 | +* Ensure `afterUpdate` is not called after `onDestroy` ([#7476](https://github.com/sveltejs/svelte/issues/7476)) |
| 48 | +* Improve handling of `inert` attribute ([#7500](https://github.com/sveltejs/svelte/issues/7500)) |
| 49 | +* Reduce use of template literals in SSR output for better performance ([#7539](https://github.com/sveltejs/svelte/pull/7539)) |
| 50 | +* Ensure `<input>` value persists when swapping elements with spread attributes in an `{#each}` block ([#7578](https://github.com/sveltejs/svelte/issues/7578)) |
| 51 | +* Simplify generated code for reactive statements if dependencies are all static ([#7942](https://github.com/sveltejs/svelte/pull/7942)) |
| 52 | +* Fix race condition on `<svelte:element>` with transitions ([#7948](https://github.com/sveltejs/svelte/issues/7948)) |
| 53 | +* Allow assigning to a property of a `const` when destructuring ([#7964](https://github.com/sveltejs/svelte/issues/7964)) |
| 54 | +* Match browser behavior for decoding malformed HTML entities ([#8026](https://github.com/sveltejs/svelte/issues/8026)) |
| 55 | +* Ensure `trusted-types` CSP compatibility for Web Components ([#8134](https://github.com/sveltejs/svelte/issues/8134)) |
| 56 | +* Optimise `<svelte:element>` output code for static tag and static attribute ([#8161](https://github.com/sveltejs/svelte/pull/8161)) |
| 57 | +* Don't throw when calling unsubscribing from a store twice ([#8186](https://github.com/sveltejs/svelte/pull/8186)) |
| 58 | +* Clear inputs when `bind:group` value is set to `undefined` ([#8214](https://github.com/sveltejs/svelte/issues/8214)) |
| 59 | +* Fix handling of nested arrays with keyed `{#each}` containing a non-keyed `{#each}` ([#8282](https://github.com/sveltejs/svelte/issues/8282)) |
42 | 60 |
|
43 | 61 | ## 3.55.1
|
44 | 62 |
|
|
0 commit comments