|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
# Svelte changelog
|
|
|
|
|
|
|
|
|
|
## Unreleased
|
|
|
|
|
## 3.13.0
|
|
|
|
|
|
|
|
|
|
* New structured code generation, which eliminates a number of edge cases and obscure bugs ([#3539](https://github.com/sveltejs/svelte/pull/3539))
|
|
|
|
|
|
|
|
|
@ -25,6 +25,23 @@ Also:
|
|
|
|
|
* Throw exception immediately when calling `createEventDispatcher()` after component instantiation ([#3667](https://github.com/sveltejs/svelte/pull/3667))
|
|
|
|
|
* Fix globals shadowing contextual template scope ([#3674](https://github.com/sveltejs/svelte/issues/3674))
|
|
|
|
|
* Fix `<svelte:window>` bindings to stores ([#3832](https://github.com/sveltejs/svelte/issues/3832))
|
|
|
|
|
* Deconflict generated var names with builtins ([#3724](https://github.com/sveltejs/svelte/issues/3724))
|
|
|
|
|
* Allow spring/tweened values to be initially undefined ([#3761](https://github.com/sveltejs/svelte/issues/3761))
|
|
|
|
|
* Warn if using `<svelte:options tag="...">` without `customElement: true` option ([#3782](https://github.com/sveltejs/svelte/pull/3782))
|
|
|
|
|
* Add `Event` to list of known globals ([#3810](https://github.com/sveltejs/svelte/pull/3810))
|
|
|
|
|
* Throw helpful error on empty CSS declaration ([#3801](https://github.com/sveltejs/svelte/issues/3801))
|
|
|
|
|
* Support `easing` param on `fade` transition ([#3823](https://github.com/sveltejs/svelte/pull/3823))
|
|
|
|
|
* Generate valid names from filenames with unicode characters ([#3845](https://github.com/sveltejs/svelte/issues/3845))
|
|
|
|
|
* Don't generate any code for markup-less components ([#2200](https://github.com/sveltejs/svelte/issues/2200))
|
|
|
|
|
* Deconflict with internal name `block` ([#3854](https://github.com/sveltejs/svelte/issues/3854))
|
|
|
|
|
* Set attributes before bindings, to prevent erroneous assignments to `input.files` ([#3828](https://github.com/sveltejs/svelte/issues/3828))
|
|
|
|
|
* Smarter unused CSS detection ([#3825](https://github.com/sveltejs/svelte/pull/3825))
|
|
|
|
|
* Allow dynamic event handlers ([#3040](https://github.com/sveltejs/svelte/issues/3040))
|
|
|
|
|
* Prevent erroneous `"undefined"` class name ([#3876](https://github.com/sveltejs/svelte/pull/3876))
|
|
|
|
|
* Prevent resetting of `src` attribute unless changed ([#3579](https://github.com/sveltejs/svelte/pull/3579))
|
|
|
|
|
* Prevent hydration of void element 'children' ([#3882](https://github.com/sveltejs/svelte/issues/3882))
|
|
|
|
|
* Hoist globals even if mentioned in `<script>` block ([#3745](https://github.com/sveltejs/svelte/pull/3745))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 3.12.1
|
|
|
|
|
|
|
|
|
|