# Svelte changelog ## 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 `