# Svelte changelog ## Unreleased * Fix incorrect scoping of `:global()` selectors ([#6550](https://github.com/sveltejs/svelte/issues/6550)) * Add filename to combined source map if needed ([#6089](https://github.com/sveltejs/svelte/issues/6089)) * Fix tracking whether transition has started ([#6399](https://github.com/sveltejs/svelte/issues/6399)) ## 3.40.1 * Fix store reactivity regression when using reactive statements ([#6557](https://github.com/sveltejs/svelte/issues/6557)) ## 3.40.0 * Support rendering a component in a shadow DOM ([#5869](https://github.com/sveltejs/svelte/issues/5869)) * Fix `:root` selector being erroneously scoped to component ([#4767](https://github.com/sveltejs/svelte/issues/4767)) * Fix `.end` in AST for expressions inside attributes ([#6258](https://github.com/sveltejs/svelte/issues/6258)) * Fix one-way `