# Svelte changelog ## 1.58.2 * (1.58.1 failed to publish) ## 1.58.1 * Actions ([#1247](https://github.com/sveltejs/svelte/pull/1247)) * Support `preserveComments` option in SSR mode ([#1265](https://github.com/sveltejs/svelte/issues/1265)) * Fix performance regression ([#1274](https://github.com/sveltejs/svelte/pull/1274)) ## 1.58.0 * Fast row swapping ([#588](https://github.com/sveltejs/svelte/issues/588)) * Better error messages for invalid directives ([#1242](https://github.com/sveltejs/svelte/pull/1242)) * Fix local context variable bugs ([#1240](https://github.com/sveltejs/svelte/pull/1243), [#1254](https://github.com/sveltejs/svelte/pull/1254)) * Skip missing property warnings for computed/global properties in dev mode ([#1246](https://github.com/sveltejs/svelte/pull/1246)) * Add end position to warnings ([#1250](https://github.com/sveltejs/svelte/pull/1250)) ## 1.57.4 * Deconflict context names ([#1229](https://github.com/sveltejs/svelte/issues/1229)) * Use `setAttribute` to set input types ([#1209](https://github.com/sveltejs/svelte/issues/1209)) * Scale transition duration correctly ([#1221](https://github.com/sveltejs/svelte/issues/1221)) ## 1.57.3 * Fix scoped CSS on static child elements ([#1223](https://github.com/sveltejs/svelte/issues/1223)) ## 1.57.2 * Fix scoped CSS on SVG elements ([#1224](https://github.com/sveltejs/svelte/issues/1224)) ## 1.57.1 * Add each_value to contextProps ([#1206](https://github.com/sveltejs/svelte/issues/1206)) ## 1.57.0 * Use classes (not attributes) for style encapsulation, and base36-encode hashes ([#1118](https://github.com/sveltejs/svelte/issues/1118)) ## 1.56.4 * Allow `component` and `state` to be context names ([#1213](https://github.com/sveltejs/svelte/issues/1213)) * Don't remove `@supports` rules when `cascade: false` ([#1215](https://github.com/sveltejs/svelte/issues/1215)) ## 1.56.3 * Top-level transitions work inside nested components ([#1188](https://github.com/sveltejs/svelte/issues/1188)) * Always use internal `_mount` method ([#1201](https://github.com/sveltejs/svelte/issues/1201)) ## 1.56.2 * Null out `key` for children of keyed each blocks ([#1202](https://github.com/sveltejs/svelte/issues/1202)) ## 1.56.1 * Fix if-in-each bug ([#1195](https://github.com/sveltejs/svelte/issues/1195)) * Cross-browser `scrollX`/`scrollY` support ([#1175](https://github.com/sveltejs/svelte/issues/1175)) ## 1.56.0 * Internal refactor ([#1122](https://github.com/sveltejs/svelte/issues/1122)) * Use correct context for component events ([#1184](https://github.com/sveltejs/svelte/issues/1184)) * Allow observing `$foo` in dev mode ([#1181](https://github.com/sveltejs/svelte/issues/1181)) * Handle dynamic data in default slot ([#1144](https://github.com/sveltejs/svelte/issues/1144)) ## 1.55.1 * Fix cancellation of store `onchange` handlers ([#1177](https://github.com/sveltejs/svelte/issues/1177)) * Write `["default"]` instead of `.default` in legacy mode ([#1166](https://github.com/sveltejs/svelte/issues/1166)) * Upgrade Acorn ([#1182](https://github.com/sveltejs/svelte/pull/1182)) * Don't warn about capitalisation if `options.name` begins with non-alphabetical character ([#1179](https://github.com/sveltejs/svelte/pull/1179)) ## 1.55.0 * Add `immutable` compiler option for Svelte and runtime option for `Store` ([#1146](https://github.com/sveltejs/svelte/issues/1146)) * Fix component store bindings ([#1100](https://github.com/sveltejs/svelte/issues/1100)) * Fire `oncreate` when custom element is attached ([#1117](https://github.com/sveltejs/svelte/issues/1117)) * Downgrade empty blocks to a warning ([#1156](https://github.com/sveltejs/svelte/pull/1156)) * Error on unclosed comment ([#1156](https://github.com/sveltejs/svelte/pull/1156)) ## 1.54.2 * Prevent `await` blocks using stale state ([#1131](https://github.com/sveltejs/svelte/issues/1131)) * Prevent erroneous missing data warnings for custom elements ([#1065](https://github.com/sveltejs/svelte/issues/1065)) * Remove empty selectors in prod mode ([#1138](https://github.com/sveltejs/svelte/issues/1138)) * Escape attribute values in SSR mode ([#1155](https://github.com/sveltejs/svelte/pull/1155)) * Remove `