UNPKG

122 kBMarkdownView Raw
1# Svelte changelog
2
3## 3.29.5
4
5* Fix `$$props` and `$$restProps` when compiling to a custom element ([#5482](https://github.com/sveltejs/svelte/issues/5482))
6* Include an export map in `package.json` ([#5556](https://github.com/sveltejs/svelte/issues/5556))
7* Fix function calls in `<slot>` props that use contextual values ([#5565](https://github.com/sveltejs/svelte/issues/5565))
8* Fix handling aborted transitions in `{:else}` blocks ([#5573](https://github.com/sveltejs/svelte/issues/5573))
9* Add `Element` and `Node` to known globals ([#5586](https://github.com/sveltejs/svelte/issues/5586))
10* Fix `$$slots` when compiling to custom elements ([#5594](https://github.com/sveltejs/svelte/issues/5594))
11* Fix internal `import`s so that we're exposing a valid ES module ([#5617](https://github.com/sveltejs/svelte/issues/5617))
12
13## 3.29.4
14
15* Fix code generation error with `??` alongside logical operators ([#5558](https://github.com/sveltejs/svelte/issues/5558))
16
17## 3.29.3
18
19* Hopefully actually republish with proper UMD build for use in the REPL
20
21## 3.29.2
22
23* Republish with proper UMD build for use in the REPL
24
25## 3.29.1
26
27* Fix compiler hanging on `<slot slot="...">` ([#5475](https://github.com/sveltejs/svelte/issues/5475))
28* Fix types on `get` function in `svelte/store` ([#5483](https://github.com/sveltejs/svelte/pull/5483))
29* Add missing `end` field on ASTs for non-top-level `<style>` elements ([#5487](https://github.com/sveltejs/svelte/pull/5487))
30* Fix `{#if}` inside `{#await}` with destructuring ([#5508](https://github.com/sveltejs/svelte/issues/5508))
31* Fix types on lifecycle hooks ([#5529](https://github.com/sveltejs/svelte/pull/5529))
32
33## 3.29.0
34
35* Support `<slot slot="...">` ([#2079](https://github.com/sveltejs/svelte/issues/2079))
36* Fix unmounting components with a bidirectional transition with a delay ([#4954](https://github.com/sveltejs/svelte/issues/4954))
37* Add types to `get` function in `svelte/store` ([#5269](https://github.com/sveltejs/svelte/pull/5269))
38* Add a warning when a component looks like it's trying to use another component without beginning with a capital letter ([#5302](https://github.com/sveltejs/svelte/pull/5302))
39* Add `EventSource` to known globals ([#5463](https://github.com/sveltejs/svelte/issues/5463))
40* Fix compiler exception with `~`/`+` combinators and `{...spread}` attributes ([#5465](https://github.com/sveltejs/svelte/issues/5465))
41
42## 3.28.0
43
44* Add `{#key}` block for keying arbitrary content on an expression ([#1469](https://github.com/sveltejs/svelte/issues/1469))
45
46## 3.27.0
47
48* Add `|nonpassive` event modifier, explicitly passing `passive: false` ([#2068](https://github.com/sveltejs/svelte/issues/2068))
49* Scope CSS selectors with `~` and `+` combinators ([#3104](https://github.com/sveltejs/svelte/issues/3104))
50* Fix keyed `{#each}` not reacting to key changing ([#5444](https://github.com/sveltejs/svelte/issues/5444))
51* Fix destructuring into store values ([#5449](https://github.com/sveltejs/svelte/issues/5449))
52* Fix erroneous `missing-declaration` warning with `use:obj.method` ([#5451](https://github.com/sveltejs/svelte/issues/5451))
53
54## 3.26.0
55
56* Support `use:obj.method` as actions ([#3935](https://github.com/sveltejs/svelte/issues/3935))
57* Support `_` as numeric separator ([#5407](https://github.com/sveltejs/svelte/issues/5407))
58* Fix assignments to properties on store values ([#5412](https://github.com/sveltejs/svelte/issues/5412))
59* Add special style scoping handling of `[open]` selectors on `<details>` elements ([#5421](https://github.com/sveltejs/svelte/issues/5421))
60* Support `import.meta` in template expressions ([#5422](https://github.com/sveltejs/svelte/issues/5422))
61
62## 3.25.1
63
64* Fix specificity of certain styles involving a child selector ([#4795](https://github.com/sveltejs/svelte/issues/4795))
65* Fix transitions that are parameterised with stores ([#5244](https://github.com/sveltejs/svelte/issues/5244))
66* Fix scoping of styles involving child selector and `*` ([#5370](https://github.com/sveltejs/svelte/issues/5370))
67* Fix destructuring which reassigns stores ([#5388](https://github.com/sveltejs/svelte/issues/5388))
68* Fix `{#await}`s with no `{:catch}` getting stuck unresolved if the promise rejects ([#5401](https://github.com/sveltejs/svelte/issues/5401))
69
70## 3.25.0
71
72* Use `null` rather than `undefined` for coerced bound value of `<input type="number">` ([#1701](https://github.com/sveltejs/svelte/issues/1701))
73* Expose object of which slots have received content in `$$slots` ([#2106](https://github.com/sveltejs/svelte/issues/2106))
74* Correctly disallow using lifecycle hooks after synchronous component initialisation ([#4259](https://github.com/sveltejs/svelte/issues/4259), [#4899](https://github.com/sveltejs/svelte/issues/4899))
75* Re-throw an unhandled rejection when an `{#await}` block with no `{:catch}` gets a rejection ([#5129](https://github.com/sveltejs/svelte/issues/5129))
76* Add types to `createEventDispatcher` ([#5211](https://github.com/sveltejs/svelte/issues/5211))
77* In SSR mode, do not automatically declare variables for reactive assignments to member expressions ([#5247](https://github.com/sveltejs/svelte/issues/5247))
78* Include selector in message of `unused-css-selector` warning ([#5252](https://github.com/sveltejs/svelte/issues/5252))
79* Fix using `<Namespaced.Component/>`s in child `{#await}`/`{#each}` contexts ([#5255](https://github.com/sveltejs/svelte/issues/5255))
80* Fix using `<svelte:component>` in `{:catch}` ([#5259](https://github.com/sveltejs/svelte/issues/5259))
81* Fix setting one-way bound `<input>` `value` to `undefined` when it has spread attributes ([#5270](https://github.com/sveltejs/svelte/issues/5270))
82* Fix deep two-way bindings inside an `{#each}` involving a store ([#5286](https://github.com/sveltejs/svelte/issues/5286))
83* Use valid XHTML for elements that are optimised and inserted with `.innerHTML` ([#5315](https://github.com/sveltejs/svelte/issues/5315))
84* Fix reactivity of `$$props` in slot fallback content ([#5367](https://github.com/sveltejs/svelte/issues/5367))
85
86## 3.24.1
87
88* Prevent duplicate invalidation with certain two-way component bindings ([#3180](https://github.com/sveltejs/svelte/issues/3180), [#5117](https://github.com/sveltejs/svelte/issues/5117), [#5144](https://github.com/sveltejs/svelte/issues/5144))
89* Fix reactivity when passing `$$props` to a `<slot>` ([#3364](https://github.com/sveltejs/svelte/issues/3364))
90* Fix transitions on `{#each}` `{:else}` ([#4970](https://github.com/sveltejs/svelte/issues/4970))
91* Fix unneeded invalidation of `$$props` and `$$restProps` ([#4993](https://github.com/sveltejs/svelte/issues/4993), [#5118](https://github.com/sveltejs/svelte/issues/5118))
92* Provide better compiler error message when mismatched tags are due to autoclosing of tags ([#5049](https://github.com/sveltejs/svelte/issues/5049))
93* Add `a11y-label-has-associated-control` warning ([#5074](https://github.com/sveltejs/svelte/pull/5074))
94* Add `a11y-media-has-caption` warning ([#5075](https://github.com/sveltejs/svelte/pull/5075))
95* Fix `bind:group` when using contextual reference ([#5174](https://github.com/sveltejs/svelte/issues/5174))
96
97## 3.24.0
98
99* Support nullish coalescing (`??`) and optional chaining (`?.`) operators ([#1972](https://github.com/sveltejs/svelte/issues/1972))
100* Support `import.meta` ([#4379](https://github.com/sveltejs/svelte/issues/4379))
101* Fix only setting `<input>` values when they're changed when there are spread attributes ([#4418](https://github.com/sveltejs/svelte/issues/4418))
102* Fix placement of `{@html}` when used at the root of a slot, at the root of a component, or in `<svelte:head>` ([#5012](https://github.com/sveltejs/svelte/issues/5012), [#5071](https://github.com/sveltejs/svelte/pull/5071))
103* Fix certain handling of two-way bound `contenteditable` elements ([#5018](https://github.com/sveltejs/svelte/issues/5018))
104* Fix handling of `import`ed value that is used as a store and is also mutated ([#5019](https://github.com/sveltejs/svelte/issues/5019))
105* Do not display `a11y-missing-content` warning on elements with `contenteditable` bindings ([#5020](https://github.com/sveltejs/svelte/issues/5020))
106* Fix handling of `this` in inline function expressions in the template ([#5033](https://github.com/sveltejs/svelte/issues/5033))
107* Fix collapsing HTML with static content ([#5040](https://github.com/sveltejs/svelte/issues/5040))
108* Prevent use of `$store` at compile time when top-level `store` has been shadowed ([#5048](https://github.com/sveltejs/svelte/issues/5048))
109* Update `<select>` with one-way `value` binding when the available `<option>`s change ([#5051](https://github.com/sveltejs/svelte/issues/5051))
110* Fix published `tweened` types so the `.set()` and `.update()` options are optional ([#5062](https://github.com/sveltejs/svelte/issues/5062))
111* Fix contextual `bind:this` inside `{#each}` block ([#5067](https://github.com/sveltejs/svelte/issues/5067))
112* Preprocess self-closing `<script>` and `<style>` tags ([#5080](https://github.com/sveltejs/svelte/issues/5080))
113* Fix types for animation- and transition-related param objects so each param is optional ([#5083](https://github.com/sveltejs/svelte/pull/5083))
114
115## 3.23.2
116
117* Fix `bind:group` inside `{#each}` ([#3243](https://github.com/sveltejs/svelte/issues/3243))
118* Don't crash when using an arrow function as a statement ([#4617](https://github.com/sveltejs/svelte/issues/4617))
119* Deconflict `bind:this` variable ([#4636](https://github.com/sveltejs/svelte/issues/4636))
120
121## 3.23.1
122
123* Fix checkbox `bind:group` when multiple options have the same value ([#4397](https://github.com/sveltejs/svelte/issues/4397))
124* Fix `bind:this` to the value of an `{#each}` block ([#4517](https://github.com/sveltejs/svelte/issues/4517))
125* Fix reactivity when assigning to contextual `{#each}` variable ([#4574](https://github.com/sveltejs/svelte/issues/4574), [#4744](https://github.com/sveltejs/svelte/issues/4744))
126* Fix binding to contextual `{#each}` values that shadow outer names ([#4757](https://github.com/sveltejs/svelte/issues/4757))
127* Work around EdgeHTML DOM issue when removing attributes during hydration ([#4911](https://github.com/sveltejs/svelte/pull/4911))
128* Throw CSS parser error when `:global()` does not contain a selector ([#4930](https://github.com/sveltejs/svelte/issues/4930))
129
130## 3.23.0
131
132* Update `<select>` with `bind:value` when the available `<option>`s change ([#1764](https://github.com/sveltejs/svelte/issues/1764))
133* Add `muted` binding for media elements ([#2998](https://github.com/sveltejs/svelte/issues/2998))
134* Fix inconsistencies when setting a two-way bound `<input>` to `undefined` ([#3569](https://github.com/sveltejs/svelte/issues/3569))
135* Fix setting `<select multiple>` when there are spread attributes ([#4392](https://github.com/sveltejs/svelte/issues/4392))
136* Fix let-less `<slot>` with context overflow ([#4624](https://github.com/sveltejs/svelte/issues/4624))
137* Fix resize listening on certain older browsers ([#4752](https://github.com/sveltejs/svelte/issues/4752))
138* Add `a11y-no-onchange` warning ([#4788](https://github.com/sveltejs/svelte/pull/4788))
139* Fix `use:` actions being recreated when a keyed `{#each}` is reordered ([#4693](https://github.com/sveltejs/svelte/issues/4693))
140* Fix `{@html}` when using tags that can only appear inside certain tags ([#4852](https://github.com/sveltejs/svelte/issues/4852))
141* Fix reactivity when binding directly to `{#each}` context ([#4879](https://github.com/sveltejs/svelte/issues/4879))
142
143## 3.22.3
144
145* Support default values and trailing commas in destructuring `{#await}` ([#4560](https://github.com/sveltejs/svelte/issues/4560), [#4810](https://github.com/sveltejs/svelte/issues/4810))
146* Fix handling of `tweened` store when set using `duration: 0` ([#4799](https://github.com/sveltejs/svelte/issues/4799), [#4846](https://github.com/sveltejs/svelte/issues/4846))
147* Fix setting `value` attribute with `bind:group` and attribute spread ([#4803](https://github.com/sveltejs/svelte/issues/4803))
148* Fix issue with compound `{#if}` block involving static condition, dynamic condition, and inline component ([#4840](https://github.com/sveltejs/svelte/issues/4840))
149* Update a11y warnings per ARIA 1.2 working draft ([#4844](https://github.com/sveltejs/svelte/issues/4844))
150
151## 3.22.2
152
153* Fix compiler exception with `a11y-img-redundant-alt` and value-less `alt` attribute ([#4777](https://github.com/sveltejs/svelte/issues/4777))
154
155## 3.22.1
156
157* Fix compiler exception with `a11y-img-redundant-alt` and dynamic `alt` attribute ([#4770](https://github.com/sveltejs/svelte/issues/4770))
158
159## 3.22.0
160
161* Fix misaligned line numbers in source maps ([#3906](https://github.com/sveltejs/svelte/issues/3906))
162* Make setting a `tweened` store using `duration: 0` instantly update the value ([#4399](https://github.com/sveltejs/svelte/issues/4399))
163* Fix reactivity with imported values that are then mutated ([#4555](https://github.com/sveltejs/svelte/issues/4555))
164* Fix contextual dynamic `bind:this` inside `{#each}` block ([#4686](https://github.com/sveltejs/svelte/issues/4686))
165* Do not display a11y warning about missing `href` for `<a>` with `name` or `id` ([#4697](https://github.com/sveltejs/svelte/issues/4697))
166* Disable infinite loop guard inside generators ([#4698](https://github.com/sveltejs/svelte/issues/4698))
167* Display `a11y-invalid-attribute` warning for `href="javascript:..."` ([#4733](https://github.com/sveltejs/svelte/pull/4733))
168* Implement `a11y-img-redundant-alt` warning ([#4750](https://github.com/sveltejs/svelte/pull/4750))
169* Fix variable name conflict with component called `<Anchor>` ([#4768](https://github.com/sveltejs/svelte/issues/4768))
170
171## 3.21.0
172
173* Support dimension bindings in cross-origin environments ([#2147](https://github.com/sveltejs/svelte/issues/2147))
174* Fix several related outro bugs ([#3202](https://github.com/sveltejs/svelte/issues/3202), [#3410](https://github.com/sveltejs/svelte/issues/3410), [#3685](https://github.com/sveltejs/svelte/issues/3685), [#4620](https://github.com/sveltejs/svelte/issues/4620), [#4630](https://github.com/sveltejs/svelte/issues/4630))
175* Try using `globalThis` rather than `globals` for the benefit of non-Node servers and web workers ([#3561](https://github.com/sveltejs/svelte/issues/3561), [#4545](https://github.com/sveltejs/svelte/issues/4545))
176* Support `{#await ... catch ...}` syntax shorthand ([#3623](https://github.com/sveltejs/svelte/issues/3623))
177* Fix attaching of JS debugging comments to HTML comments ([#4565](https://github.com/sveltejs/svelte/issues/4565))
178* Fix `<svelte:component/>` within `<slot/>` ([#4597](https://github.com/sveltejs/svelte/issues/4597))
179* Fix bug with updating simple `{#if}` blocks ([#4629](https://github.com/sveltejs/svelte/issues/4629))
180* Fix issues with `<input type="number">` updates ([#4631](https://github.com/sveltejs/svelte/issues/4631), [#4687](https://github.com/sveltejs/svelte/issues/4687))
181* Prevent illegal attribute names ([#4648](https://github.com/sveltejs/svelte/issues/4648))
182* Fix `{#if}` block directly within `<slot/>` ([#4703](https://github.com/sveltejs/svelte/issues/4703))
183
184## 3.20.1
185
186* Fix compiler regression with slots ([#4562](https://github.com/sveltejs/svelte/issues/4562))
187
188## 3.20.0
189
190* Allow destructuring in `{#await}` blocks ([#1851](https://github.com/sveltejs/svelte/issues/1851))
191* Allow `<svelte:self>` to be used in a slot ([#2798](https://github.com/sveltejs/svelte/issues/2798))
192* Expose object of unknown props in `$$restProps` ([#2930](https://github.com/sveltejs/svelte/issues/2930))
193* Prevent passing named slots other than from the top level within a component ([#3385](https://github.com/sveltejs/svelte/issues/3385))
194* Allow transitions and animations to work within iframes ([#3624](https://github.com/sveltejs/svelte/issues/3624))
195* Fix initialising slot fallbacks when unnecessary ([#3763](https://github.com/sveltejs/svelte/issues/3763))
196* Disallow binding directly to `const` variables ([#4479](https://github.com/sveltejs/svelte/issues/4479))
197* Fix re-attaching event handlers on keyed `{#each}` blocks ([#4491](https://github.com/sveltejs/svelte/issues/4491))
198* Fix updating keyed `{#each}` blocks with `{:else}` ([#4536](https://github.com/sveltejs/svelte/issues/4536), [#4549](https://github.com/sveltejs/svelte/issues/4549))
199* Fix hydration of top-level content ([#4542](https://github.com/sveltejs/svelte/issues/4542))
200
201## 3.19.2
202
203* In `dev` mode, display a runtime warning when a component is passed an unexpected slot ([#1020](https://github.com/sveltejs/svelte/issues/1020), [#1447](https://github.com/sveltejs/svelte/issues/1447))
204* In `vars` array, correctly indicate whether `module` variables are `mutated` or `reassigned` ([#3215](https://github.com/sveltejs/svelte/issues/3215))
205* Fix spread props not updating in certain situations ([#3521](https://github.com/sveltejs/svelte/issues/3521), [#4480](https://github.com/sveltejs/svelte/issues/4480))
206* Use the fallback content for slots if they are passed only whitespace ([#4092](https://github.com/sveltejs/svelte/issues/4092))
207* Fix bitmask overflow for `{#if}` blocks ([#4263](https://github.com/sveltejs/svelte/issues/4263))
208* In `dev` mode, check for unknown props even if the component has no writable props ([#4323](https://github.com/sveltejs/svelte/issues/4323))
209* Exclude global variables from `$capture_state` ([#4463](https://github.com/sveltejs/svelte/issues/4463))
210* Fix bitmask overflow for slots ([#4481](https://github.com/sveltejs/svelte/issues/4481))
211
212## 3.19.1
213
214* Do not treat modifications to `$$props` as updates to a store called `$props` ([#4368](https://github.com/sveltejs/svelte/issues/4368))
215* Deconflict `value` parameter name used in contextual bindings ([#4445](https://github.com/sveltejs/svelte/issues/4445))
216* Fix dev mode validation of `{#each}` blocks using strings ([#4450](https://github.com/sveltejs/svelte/issues/4450))
217
218## 3.19.0
219
220* Fix indirect bindings involving elements with spreads ([#3680](https://github.com/sveltejs/svelte/issues/3680))
221* `$capture_state`/`$inject_state` now act on the component's entire state, rather than its props ([#3822](https://github.com/sveltejs/svelte/pull/3822))
222* Warn when using `<Foo/>` and `Foo` is dynamic ([#4331](https://github.com/sveltejs/svelte/issues/4331))
223* Display compilation warnings in `svelte/register` in dev mode ([#4364](https://github.com/sveltejs/svelte/issues/4364))
224* Fix unneeded updating of keyed each blocks ([#4373](https://github.com/sveltejs/svelte/issues/4373))
225* Throw runtime error in dev mode for non-array-like values in `{#each}` blocks ([#4408](https://github.com/sveltejs/svelte/issues/4408))
226
227## 3.18.2
228
229* Fix binding to module-level variables ([#4086](https://github.com/sveltejs/svelte/issues/4086))
230* Improve parsing error messages when there is a pending unclosed tag ([#4131](https://github.com/sveltejs/svelte/issues/4131))
231* Disallow attribute/prop names from matching two-way-bound names or `{shorthand}` attribute/prop names ([#4325](https://github.com/sveltejs/svelte/issues/4325))
232* Improve performance of `flush()` by not using `.shift()` ([#4356](https://github.com/sveltejs/svelte/pull/4356))
233* Permit reserved keywords as destructuring keys in `{#each}` ([#4372](https://github.com/sveltejs/svelte/issues/4372))
234* Disallow reserved keywords in `{expressions}` ([#4372](https://github.com/sveltejs/svelte/issues/4372))
235* Fix code generation error with precedence of arrow functions ([#4384](https://github.com/sveltejs/svelte/issues/4384))
236* Fix event handlers that are dynamic via reactive declarations or stores ([#4388](https://github.com/sveltejs/svelte/issues/4388))
237* Fix invalidation in expressions like `++foo.bar` ([#4393](https://github.com/sveltejs/svelte/issues/4393))
238
239## 3.18.1
240
241* Fix code generation error with adjacent inline and block comments ([#4312](https://github.com/sveltejs/svelte/issues/4312))
242* Fix detection of unused CSS selectors that begin with a `:global()` but contain a scoped portion ([#4314](https://github.com/sveltejs/svelte/issues/4314))
243
244## 3.18.0
245
246* Fix infinite loop when instantiating another component during `onMount` ([#3218](https://github.com/sveltejs/svelte/issues/3218))
247* Make autosubscribing to a nullish store a no-op ([#2181](https://github.com/sveltejs/svelte/issues/2181))
248
249## 3.17.3
250
251* Fix updating a `<slot>` inside an `{#if}` or other block ([#4292](https://github.com/sveltejs/svelte/issues/4292))
252* Fix using RxJS observables in `derived` stores ([#4298](https://github.com/sveltejs/svelte/issues/4298))
253* Add dev mode check to disallow duplicate keys in a keyed `{#each}` ([#4301](https://github.com/sveltejs/svelte/issues/4301))
254* Fix hydration of `<title>` when starting from SSR-generated code with `hydratable: true` ([#4310](https://github.com/sveltejs/svelte/issues/4310))
255
256## 3.17.2
257
258* Fix removing attributes during hydration ([#1733](https://github.com/sveltejs/svelte/issues/1733))
259* Disallow two-way binding to a variable declared by an `{#await}` block ([#4012](https://github.com/sveltejs/svelte/issues/4012))
260* Allow access to `let:` variables in sibling attributes on slot root ([#4173](https://github.com/sveltejs/svelte/issues/4173))
261* Fix `~=` and class selector matching against values separated by any whitespace characters ([#4242](https://github.com/sveltejs/svelte/issues/4242))
262* Fix code generation for `await`ed expressions that need parentheses ([#4267](https://github.com/sveltejs/svelte/issues/4267))
263* Preserve JavaScript comments from the original component source where possible ([#4268](https://github.com/sveltejs/svelte/issues/4268))
264* Add some more known globals ([#4276](https://github.com/sveltejs/svelte/pull/4276))
265* Correctly apply event modifiers to `<svelte:body>` events ([#4278](https://github.com/sveltejs/svelte/issues/4278))
266
267## 3.17.1
268
269* Only attach SSR mode markers to a component's `<head>` elements when compiling with `hydratable: true` ([#4258](https://github.com/sveltejs/svelte/issues/4258))
270
271## 3.17.0
272
273* Remove old `<head>` elements during hydration so they aren't duplicated ([#1607](https://github.com/sveltejs/svelte/issues/1607))
274* Prevent text input cursor jumping in Safari with one-way binding ([#3449](https://github.com/sveltejs/svelte/issues/3449))
275* Expose compiler version in dev events ([#4047](https://github.com/sveltejs/svelte/issues/4047))
276* Don't run actions before their element is in the document ([#4166](https://github.com/sveltejs/svelte/issues/4166))
277* Fix reactive assignments with destructuring and stores where the destructured value should be undefined ([#4170](https://github.com/sveltejs/svelte/issues/4170))
278* Fix hydrating `{:else}` in `{#each}` ([#4202](https://github.com/sveltejs/svelte/issues/4202))
279* Do not automatically declare variables in reactive declarations when assigning to a member expression ([#4212](https://github.com/sveltejs/svelte/issues/4212))
280* Fix stringifying of attributes in SSR mode when there are spread attributes ([#4240](https://github.com/sveltejs/svelte/issues/4240))
281* Only render one `<title>` in SSR mode when multiple components provide one ([#4250](https://github.com/sveltejs/svelte/pull/4250))
282
283## 3.16.7
284
285* Also apply actions in the order they're given along with other directives ([#2446](https://github.com/sveltejs/svelte/issues/2446), [#4156](https://github.com/sveltejs/svelte/pull/4156))
286* Check whether a dynamic event handler is a function before calling it ([#4090](https://github.com/sveltejs/svelte/issues/4090))
287* Correctly mark event handlers as dynamic when they involve an expression used in a `bind:` elsewhere ([#4155](https://github.com/sveltejs/svelte/pull/4155))
288
289## 3.16.6
290
291* Fix CSS specificity bug when encapsulating styles ([#1277](https://github.com/sveltejs/svelte/issues/1277))
292* Apply directives in the order they're given ([#2446](https://github.com/sveltejs/svelte/issues/2446))
293* Fix destructuring in `let:` directives ([#2751](https://github.com/sveltejs/svelte/issues/2751))
294* Preserve whitespace around `<tspan>`s in `<svg>`s ([#3998](https://github.com/sveltejs/svelte/issues/3998))
295
296## 3.16.5
297
298* Better fix for cascading invalidations and fix some regressions ([#4098](https://github.com/sveltejs/svelte/issues/4098), [#4114](https://github.com/sveltejs/svelte/issues/4114), [#4120](https://github.com/sveltejs/svelte/issues/4120))
299
300## 3.16.4
301
302* Fix slots with props not propagating through to inner slots ([#4061](https://github.com/sveltejs/svelte/issues/4061))
303* Fix noting autosubscribed stores as `referenced` in `vars` for tooling ([#4081](https://github.com/sveltejs/svelte/issues/4081))
304* Fix cascading invalidations in certain situations ([#4094](https://github.com/sveltejs/svelte/issues/4094))
305
306## 3.16.3
307
308* Fix bitmask overflow when using slotted components ([#4077](https://github.com/sveltejs/svelte/issues/4077))
309* Remove unnecessary `$$invalidate` calls from init block ([#4018](https://github.com/sveltejs/svelte/issues/4018))
310
311## 3.16.2
312
313* Handle slot updates when parent component has a bitmask overflow ([#4078](https://github.com/sveltejs/svelte/pull/4078))
314
315## 3.16.1
316
317* Fix unused export warning for props used as stores ([#4021](https://github.com/sveltejs/svelte/issues/4021))
318* Fix `{:then}` without resolved value containing `{#each}` ([#4022](https://github.com/sveltejs/svelte/issues/4022))
319* Fix incorrect code generated with `loopGuardTimeout` ([#4034](https://github.com/sveltejs/svelte/issues/4034))
320* Fix handling of bitmask overflow and globals ([#4037](https://github.com/sveltejs/svelte/issues/4037))
321* Fix `{:then}` containing `{#if}` ([#4044](https://github.com/sveltejs/svelte/issues/4044))
322* Fix bare `import`s in `format: 'cjs'` output mode ([#4055](https://github.com/sveltejs/svelte/issues/4050))
323* Warn when using a known global as a component name ([#4070](https://github.com/sveltejs/svelte/issues/4070))
324
325## 3.16.0
326
327* Use bitmasks to track changes ([#3945](https://github.com/sveltejs/svelte/pull/3945))
328* Fix heisenbug with component styles ([#3977](https://github.com/sveltejs/svelte/issues/3977))
329* Do not warn about missing expected props for `export function foo() {}` ([#3954](https://github.com/sveltejs/svelte/issues/3954))
330* Fix `context="module"` exports with the same name as an instance variable ([#3983](https://github.com/sveltejs/svelte/issues/3983))
331* Fix binding to contextual values from `{#each}` blocks referring to global variables ([#3992](https://github.com/sveltejs/svelte/issues/3992))
332* Use `requestAnimationFrame` callback argument for smoother transitions ([#4014](https://github.com/sveltejs/svelte/pull/4014))
333* Fix `listen_dev` argument order ([#4016](https://github.com/sveltejs/svelte/pull/4016))
334
335## 3.15.0
336
337* Hide commented sections from preprocessors ([#3894](https://github.com/sveltejs/svelte/pull/3894))
338* Add `seeking` and `ended` bindings to media elements ([#3650](https://github.com/sveltejs/svelte/pull/3650))
339* Add `videoWidth` and `videoHeight` bindings to video elements ([#3927](https://github.com/sveltejs/svelte/pull/3927))
340* Fix for dynamic event handlers ([#3934](https://github.com/sveltejs/svelte/pull/3934))
341* Handle scale transforms when using the `flip` animation ([#3555](https://github.com/sveltejs/svelte/issues/3555))
342* Fix some code generation bugs ([#3929](https://github.com/sveltejs/svelte/issues/3929), [#3939](https://github.com/sveltejs/svelte/issues/3939))
343* Add `aria-hidden="true"` to objects generated when adding resize-listeners, to improve accessibility ([#3948](https://github.com/sveltejs/svelte/issues/3948))
344
345## 3.14.1
346
347* Deconflict block method names with other variables ([#3900](https://github.com/sveltejs/svelte/issues/3900))
348* Fix entity encoding issue in text nodes with constant expressions ([#3911](https://github.com/sveltejs/svelte/issues/3911))
349* Make code for unknown prop warnings compatible with older js engines ([#3914](https://github.com/sveltejs/svelte/issues/3914))
350
351## 3.14.0
352
353* Add `loopGuardTimeout` option that augments `for`/`while` loops to prevent infinite loops, primarily for use in the REPL ([#3887](https://github.com/sveltejs/svelte/pull/3887))
354* Keep component bindings in sync when changed in reactive statements ([#3382](https://github.com/sveltejs/svelte/issues/3382))
355* Update attributes before bindings ([#3857](https://github.com/sveltejs/svelte/issues/3857))
356* Prevent variable naming conflict ([#3899](https://github.com/sveltejs/svelte/issues/3899))
357
358
359## 3.13.0
360
361* New structured code generation, which eliminates a number of edge cases and obscure bugs ([#3539](https://github.com/sveltejs/svelte/pull/3539))
362
363Also:
364
365* Fix `{#each}` context not shadowing outer scope when using `bind:` ([#1565](https://github.com/sveltejs/svelte/issues/1565))
366* Fix edge cases in matching selectors against elements ([#1710](https://github.com/sveltejs/svelte/issues/1710))
367* Fix several bugs related to interaction of `{...spread}` attributes with other features ([#2721](https://github.com/sveltejs/svelte/issues/2721), [#2916](https://github.com/sveltejs/svelte/issues/2916), [#3421](https://github.com/sveltejs/svelte/issues/3421), [#3681](https://github.com/sveltejs/svelte/issues/3681), [#3764](https://github.com/sveltejs/svelte/issues/3764), [#3790](https://github.com/sveltejs/svelte/issues/3790))
368* Allow exiting a reactive block early with `break $` ([#2828](https://github.com/sveltejs/svelte/issues/2828))
369* Fix binding to props that have been renamed with `export { ... as ... }` ([#3508](https://github.com/sveltejs/svelte/issues/3508))
370* Fix application of style scoping class in cases of ambiguity ([#3544](https://github.com/sveltejs/svelte/issues/3544))
371* Check attributes have changed before setting them to avoid image flicker ([#3579](https://github.com/sveltejs/svelte/pull/3579))
372* Fix generating malformed code for `{@debug}` tags with no dependencies ([#3588](https://github.com/sveltejs/svelte/issues/3588))
373* Fix generated code in specific case involving compound ifs and child components ([#3595](https://github.com/sveltejs/svelte/issues/3595))
374* Fix `bind:this` binding to a store ([#3591](https://github.com/sveltejs/svelte/issues/3591))
375* Use safer `HTMLElement` check before extending class ([#3608](https://github.com/sveltejs/svelte/issues/3608))
376* Add `location` as a known global ([#3619](https://github.com/sveltejs/svelte/pull/3619))
377* Support `{#await}` with `{:catch}` but no `{:then}` ([#3623](https://github.com/sveltejs/svelte/issues/3623))
378* Clean up dead code emitted for `<slot/>`s ([#3631](https://github.com/sveltejs/svelte/issues/3631))
379* Fix tracking of dependencies of compound assignments in reactive statements ([#3634](https://github.com/sveltejs/svelte/issues/3634))
380* Flush changes in newly attached block when using `{#await}` ([#3660](https://github.com/sveltejs/svelte/issues/3660))
381* Throw exception immediately when calling `createEventDispatcher()` after component instantiation ([#3667](https://github.com/sveltejs/svelte/pull/3667))
382* Fix globals shadowing contextual template scope ([#3674](https://github.com/sveltejs/svelte/issues/3674))
383* Fix `<svelte:window>` bindings to stores ([#3832](https://github.com/sveltejs/svelte/issues/3832))
384* Deconflict generated var names with builtins ([#3724](https://github.com/sveltejs/svelte/issues/3724))
385* Allow spring/tweened values to be initially undefined ([#3761](https://github.com/sveltejs/svelte/issues/3761))
386* Warn if using `<svelte:options tag="...">` without `customElement: true` option ([#3782](https://github.com/sveltejs/svelte/pull/3782))
387* Add `Event` to list of known globals ([#3810](https://github.com/sveltejs/svelte/pull/3810))
388* Throw helpful error on empty CSS declaration ([#3801](https://github.com/sveltejs/svelte/issues/3801))
389* Support `easing` param on `fade` transition ([#3823](https://github.com/sveltejs/svelte/pull/3823))
390* Generate valid names from filenames with unicode characters ([#3845](https://github.com/sveltejs/svelte/issues/3845))
391* Don't generate any code for markup-less components ([#2200](https://github.com/sveltejs/svelte/issues/2200))
392* Deconflict with internal name `block` ([#3854](https://github.com/sveltejs/svelte/issues/3854))
393* Set attributes before bindings, to prevent erroneous assignments to `input.files` ([#3828](https://github.com/sveltejs/svelte/issues/3828))
394* Smarter unused CSS detection ([#3825](https://github.com/sveltejs/svelte/pull/3825))
395* Allow dynamic event handlers ([#3040](https://github.com/sveltejs/svelte/issues/3040))
396* Prevent erroneous `"undefined"` class name ([#3876](https://github.com/sveltejs/svelte/pull/3876))
397* Prevent resetting of `src` attribute unless changed ([#3579](https://github.com/sveltejs/svelte/pull/3579))
398* Prevent hydration of void element 'children' ([#3882](https://github.com/sveltejs/svelte/issues/3882))
399* Hoist globals even if mentioned in `<script>` block ([#3745](https://github.com/sveltejs/svelte/pull/3745))
400
401
402## 3.12.1
403
404* Escape `@` symbols in props, again ([#3545](https://github.com/sveltejs/svelte/issues/3545))
405
406## 3.12.0
407
408* Fire events on `document` in development to facilitate dev tooling ([#3005](https://github.com/sveltejs/svelte/pull/3005))
409* Remove old props when the keys in spread props are removed ([#2282](https://github.com/sveltejs/svelte/issues/2282))
410
411## 3.11.0
412
413* `$capture_state` and `$inject_state` HMR hooks in dev mode ([#3148](https://github.com/sveltejs/svelte/pull/3148))
414* Allow unclosed tags inside if/each/etc blocks ([#2807](https://github.com/sveltejs/svelte/issues/2807))
415* Invalidate unreferenced store values inside `<script>` ([#3537](https://github.com/sveltejs/svelte/issues/3537))
416* Print `null` text when hydrating ([#3379](https://github.com/sveltejs/svelte/pull/3379))
417
418## 3.10.1
419
420* Preserve reactivity inside if block heads etc ([#3512](https://github.com/sveltejs/svelte/issues/3512))
421* Fix store bindings inside each blocks ([#3455](https://github.com/sveltejs/svelte/issues/3455))
422* Generate correct code for if-else blocks with static conditions ([#3505](https://github.com/sveltejs/svelte/issues/3505))
423* Avoid generating unnecessary component update code ([#3526](https://github.com/sveltejs/svelte/issues/3526))
424* Make `bind:currentTime` more reliable ([#3524](https://github.com/sveltejs/svelte/issues/3524))
425* Prevent errors when setting spread props on SVG elements ([#3522](https://github.com/sveltejs/svelte/issues/3522))
426
427## 3.10.0
428
429* Add `blur` transition ([#3477](https://github.com/sveltejs/svelte/pull/3477))
430* Prevent `<input type="number">` edge case with spread props ([#3426](https://github.com/sveltejs/svelte/issues/3426))
431* Robustify cyclical dependency detection, improve errors ([#3459](https://github.com/sveltejs/svelte/issues/3459))
432
433## 3.9.2
434
435* Fix handling of additional @-rules in style blocks ([#2995](https://github.com/sveltejs/svelte/pull/2995))
436* Fix if blocks with complex but static conditions ([#3447](https://github.com/sveltejs/svelte/issues/3447))
437
438## 3.9.1
439
440* Only update style properties if necessary ([#3433](https://github.com/sveltejs/svelte/issues/3433))
441* Only update if/await blocks if necessary ([#2355](https://github.com/sveltejs/svelte/issues/2355))
442* Set context correctly inside await blocks ([#2443](https://github.com/sveltejs/svelte/issues/2443))
443* Handle `!important` inline styles ([#1834](https://github.com/sveltejs/svelte/issues/1834))
444* Make index references reactive in event handlers inside keyed each blocks ([#2569](https://github.com/sveltejs/svelte/issues/2569))
445
446## 3.9.0
447
448* Support `is` attribute on elements, with a warning ([#3182](https://github.com/sveltejs/svelte/issues/3182))
449* Handle missing slot prop ([#3322](https://github.com/sveltejs/svelte/issues/3322))
450* Don't set undefined/null input values, unless previous value exists ([#1233](https://github.com/sveltejs/svelte/issues/1233))
451* Fix style attribute optimisation bailout ([#1830](https://github.com/sveltejs/svelte/issues/1830))
452
453## 3.8.1
454
455* Set SVG namespace for slotted elements ([#3321](https://github.com/sveltejs/svelte/issues/3321))
456
457## 3.8.0
458
459* Add `self` event modifier ([#3372](https://github.com/sveltejs/svelte/issues/3372))
460* Generate valid code when spreading literal ([#3185](https://github.com/sveltejs/svelte/issues/3185))
461* Coerce tag values to string before checking equality ([#2290](https://github.com/sveltejs/svelte/issues/2290))
462
463## 3.7.1
464
465* Assume `let` variables are dynamic for slots ([#3354](https://github.com/sveltejs/svelte/issues/3354))
466* Allow transition functions to return nothing ([#2246](https://github.com/sveltejs/svelte/pull/2246))
467
468## 3.7.0
469
470* Disable warnings via `svelte-ignore` comments ([#3351](https://github.com/sveltejs/svelte/pull/3351))
471* Throw if `$` or `$$...` is referenced as global ([#3272](https://github.com/sveltejs/svelte/issues/3272))
472* Remount HTML tags correctly ([#3329](https://github.com/sveltejs/svelte/pull/3329))
473* Treat data attributes like other attributes ([#3337](https://github.com/sveltejs/svelte/issues/3337))
474
475## 3.6.11
476
477* Handle reassigned RxJS observables ([#3304](https://github.com/sveltejs/svelte/issues/3304))
478* Remove commas from HTMLified attributes with multiple chunks ([#3341](https://github.com/sveltejs/svelte/issues/3341))
479* Prevent `class` on element with scoped styles from rendering as `undefined` ([#3283](https://github.com/sveltejs/svelte/issues/3283))
480* Allow references to index in key expression ([#3274](https://github.com/sveltejs/svelte/issues/3274))
481* Mark attribute selectors as used if corresponding binding exists ([#3281](https://github.com/sveltejs/svelte/issues/3281))
482* Preserve `async`/`*` when hoisting functions ([#3179](https://github.com/sveltejs/svelte/issues/3179))
483* Make `raf` a noop on server ([#3324](https://github.com/sveltejs/svelte/issues/3324))
484* Prevent erroneous a11y warning for image input with alt attribute ([#3331](https://github.com/sveltejs/svelte/issues/3331))
485* Add several well-known globals ([#3316](https://github.com/sveltejs/svelte/pull/3316))
486
487## 3.6.10
488
489* Use `change` event for file inputs ([#3226](https://github.com/sveltejs/svelte/issues/3226))
490* Always fire reactive declarations with `$$props` ([#3286](https://github.com/sveltejs/svelte/issues/3286))
491* More conservative spread prop updates ([#3289](https://github.com/sveltejs/svelte/issues/3289))
492* Quote props if necessary in SSR mode ([#3312](https://github.com/sveltejs/svelte/issues/3312))
493
494## 3.6.9
495
496* Always update derived stores with a derived input whose value does not change ([#3191](https://github.com/sveltejs/svelte/issues/3191))
497
498## 3.6.8
499
500* Preserve global keyframes that don't match local elements ([#3228](https://github.com/sveltejs/svelte/issues/3228))
501* Fix spread/`class:` combination ([#3242](https://github.com/sveltejs/svelte/pull/3242))
502* Never scope `:root` selector ([#3250](https://github.com/sveltejs/svelte/pull/3250))
503* Prevent trailing commas in function arguments ([#3255](https://github.com/sveltejs/svelte/pull/3260))
504
505## 3.6.7
506
507* Prevent corruption of outro callbacks with nested keyed each blocks ([#3209](https://github.com/sveltejs/svelte/pull/3209))
508* Prevent cursor jumping in bound input in Safari ([#3199](https://github.com/sveltejs/svelte/issues/3199))
509* Make resize listener object unfocusable ([#3206](https://github.com/sveltejs/svelte/issues/3206))
510
511## 3.6.6
512
513* Prevent dynamic components being detached twice ([#3113](https://github.com/sveltejs/svelte/issues/3113), [#2086](https://github.com/sveltejs/svelte/issues/2086))
514
515## 3.6.5
516
517* Handle RxJS-style observables with `get` ([#3153](https://github.com/sveltejs/svelte/issues/3153))
518* Pass `let` values to bindings ([#3140](https://github.com/sveltejs/svelte/issues/3140))
519* Escape `@` symbols in props ([#3173](https://github.com/sveltejs/svelte/issues/3173))
520* Scale crossfaded elements ([#3175](https://github.com/sveltejs/svelte/pull/3175))
521
522## 3.6.4
523
524* Run `onMount` functions in correct order, and before initial `afterUpdate` functions ([#2281](https://github.com/sveltejs/svelte/issues/2281))
525* Fix code transformation for shorthand methods ([#2906](https://github.com/sveltejs/svelte/issues/2906))
526* Fix assignments in inline functions ([#3038](https://github.com/sveltejs/svelte/issues/3038))
527
528## 3.6.3
529
530* Fix await block mounting inside removed if block ([#1496](https://github.com/sveltejs/svelte/issues/1496))
531* Update when element references are removed ([#2034](https://github.com/sveltejs/svelte/issues/2034))
532* Don't attempt to serialize non-string values in server-rendered bindings ([#2135](https://github.com/sveltejs/svelte/issues/2135))
533* Recognise dependencies in function expressions ([#2693](https://github.com/sveltejs/svelte/issues/2693))
534* Scope pseudo-class selectors without class/type ([#1705](https://github.com/sveltejs/svelte/issues/1705))
535* Allow nested at-rules ([#3135](https://github.com/sveltejs/svelte/issues/3135))
536* Allow attributes to contain `=` characters ([#3149](https://github.com/sveltejs/svelte/pull/3149))
537
538## 3.6.2
539
540* Fix placement of each-else block ([#2917](https://github.com/sveltejs/svelte/issues/2917))
541* Make context accessible to `bind:this` ([#2806](https://github.com/sveltejs/svelte/issues/2806))
542* Pass hoisted values to slots ([#2586](https://github.com/sveltejs/svelte/issues/2586))
543
544## 3.6.1
545
546* Fix escaping of `@` in dev mode debug filename ([#3114](https://github.com/sveltejs/svelte/pull/3114))
547
548## 3.6.0
549
550* Add `innerHTML` and `textContent` bindings for `contenteditable` elements ([#2996](https://github.com/sveltejs/svelte/pull/2996))
551* Fix destructuring assignments where targets are member expressions ([#3092](https://github.com/sveltejs/svelte/issues/3092))
552* Deconflict with used globals ([#2963](https://github.com/sveltejs/svelte/pull/2963))
553* Always run `onDestroy` functions, not just for detaching components ([#3058](https://github.com/sveltejs/svelte/issues/3058))
554* Fix scope analysis around catch clauses ([#3064](https://github.com/sveltejs/svelte/issues/3064))
555* Add error constructors to known globals ([#3064](https://github.com/sveltejs/svelte/issues/3064))
556* Always bail out of hoisting on encountering local state in function definition ([#3044](https://github.com/sveltejs/svelte/issues/3044))
557* Fix incorrect merging of top-level text nodes ([#3027](https://github.com/sveltejs/svelte/issues/3027))
558* Handle removal of components in each blocks without props ([#3035](https://github.com/sveltejs/svelte/issues/3035))
559* Only call subscriber once when resubscribing to a store ([#3022](https://github.com/sveltejs/svelte/issues/3022))
560* Check for existence of dynamic component before introing ([#3054](https://github.com/sveltejs/svelte/issues/3054))
561* Sanitize names of bubbled event handlers ([#2923](https://github.com/sveltejs/svelte/issues/2923))
562
563
564## 3.5.4
565
566* Preserve whitespace at the boundaries of `{#each}` blocks ([#713](https://github.com/sveltejs/svelte/issues/713))
567* Fix dynamic `bind:this` on components ([#2333](https://github.com/sveltejs/svelte/issues/2333))
568* Fix binding to values in a component when it uses `$$props` ([#2725](https://github.com/sveltejs/svelte/issues/2725))
569* Fix parsing ambiguous HTML entities ([#3071](https://github.com/sveltejs/svelte/pull/3071))
570
571## 3.5.3
572
573* Don't double-destroy keyed each blocks with outros ([#3055](https://github.com/sveltejs/svelte/issues/3055))
574
575## 3.5.2
576
577* Prevent duplicated outros causing errors ([#3001](https://github.com/sveltejs/svelte/issues/3001))
578* Fix automatic name generation ([#2843](https://github.com/sveltejs/svelte/issues/2843))
579* Fix .d.ts stubs ([#3009](https://github.com/sveltejs/svelte/pull/3009))
580* Don't strip non-breaking spaces ([#3014](https://github.com/sveltejs/svelte/issues/3014))
581* Fix `requestAnimationFrame` context ([#2933](https://github.com/sveltejs/svelte/issues/2933))
582* Allow space before attribute value ([#3026](https://github.com/sveltejs/svelte/issues/3026))
583* Remove null/undefined attributes ([#1434](https://github.com/sveltejs/svelte/issues/1434))
584* Fix whitespace in static markup ([#3030](https://github.com/sveltejs/svelte/pull/3030))
585
586## 3.5.1
587
588* Accommodate webpack idiosyncracies
589
590## 3.5.0
591
592* Update package folder structure ([#2887](https://github.com/sveltejs/svelte/pull/2887))
593* Support `once` modifier on component events ([#2654](https://github.com/sveltejs/svelte/issues/2654))
594* Allow empty `<title>` tags ([#2980](https://github.com/sveltejs/svelte/issues/2980))
595* Render textarea binding values inside element ([#2975](https://github.com/sveltejs/svelte/pull/2975))
596* Fix delayed animation glitch ([#2871](https://github.com/sveltejs/svelte/issues/2871))
597* Solve diamond dependencies problem with stores ([#2660](https://github.com/sveltejs/svelte/issues/2660))
598* Fix missing outros inside each blocks ([#2689](https://github.com/sveltejs/svelte/issues/2689))
599* Support animations without transitions ([#2908](https://github.com/sveltejs/svelte/issues/2908))
600* Add missing transition events ([#2912](https://github.com/sveltejs/svelte/pull/2912))
601
602
603## 3.4.4
604
605* Publish type declaration files ([#2874](https://github.com/sveltejs/svelte/issues/2874))
606* Don't trigger updates for unreferenced values ([#2865](https://github.com/sveltejs/svelte/pull/2865))
607* Omit readonly bindings from SSR output ([#2339](https://github.com/sveltejs/svelte/issues/2339))
608* Prevent outdated animation CSS ([#2871](https://github.com/sveltejs/svelte/issues/2871))
609* Repair dynamic `{@html ...}` in head ([#2880](https://github.com/sveltejs/svelte/pull/2880))
610* Don't create unknown prop warnings for internal props, or if component has `$$props` ([#2881](https://github.com/sveltejs/svelte/pull/2881))
611
612
613## 3.4.3
614
615* Add type declaration files for everything ([#2842](https://github.com/sveltejs/svelte/pull/2842))
616* Prevent `svelte/store` being bundled ([#2786](https://github.com/sveltejs/svelte/issues/2786))
617* Warn on unknown props in dev mode ([#2840](https://github.com/sveltejs/svelte/pull/2840))
618* Treat `requestAnimationFrame` as a no-op on the server ([#2856](https://github.com/sveltejs/svelte/pull/2856))
619* Add `raw` property to AST's `Text` nodes ([#2714](https://github.com/sveltejs/svelte/issues/2714))
620* Add `<details bind:open>` ([#2854](https://github.com/sveltejs/svelte/issues/2854))
621
622## 3.4.2
623
624* Use empty string for empty data attributes ([#2804](https://github.com/sveltejs/svelte/pull/2804))
625* Support `customElement: true` with no `<svelte:options>` ([#2821](https://github.com/sveltejs/svelte/issues/2821))
626* Add docstrings to `svelte/store` ([#2795](https://github.com/sveltejs/svelte/pull/2795))
627
628## 3.4.1
629
630* Handle non-falsy non-function return values from derivers ([#2780](https://github.com/sveltejs/svelte/issues/2780))
631* Allow `spring` to work server-side ([#2773](https://github.com/sveltejs/svelte/issues/2773))
632
633## 3.4.0
634
635* Allow custom element to be defined without a `tag` ([#2417](https://github.com/sveltejs/svelte/issues/2417))
636* Fix parsing of quote marks inside attribute values ([#2715](https://github.com/sveltejs/svelte/pull/2754))
637* Convert `svelte/store` to TypeScript ([#2733](https://github.com/sveltejs/svelte/pull/2733))
638* Allow `debug` tags to include hoisted values ([#2764](https://github.com/sveltejs/svelte/issues/2764))
639* Parse error if attribute name is missing `=` ([#1513](https://github.com/sveltejs/svelte/pull/2770))
640* Allow reactive declarations to depend on mutated `const` values ([#2728](https://github.com/sveltejs/svelte/issues/2728))
641
642## 3.3.0
643
644* Allow multiple event listeners on a single node ([#2688](https://github.com/sveltejs/svelte/issues/2688))
645* Allow derivers to return a cleanup function ([#2553](https://github.com/sveltejs/svelte/issues/2553))
646* Support namespaced components (`<Foo.Bar/>`) ([#2743](https://github.com/sveltejs/svelte/pull/2743))
647
648## 3.2.2
649
650* Add `window` and `document` to expected globals ([#2722](https://github.com/sveltejs/svelte/pull/2722))
651* Prevent hoisting of functions that depend on reactive state ([#2703](https://github.com/sveltejs/svelte/pull/2703))
652* Generate correct code when slot has no changes ([#2697](https://github.com/sveltejs/svelte/issues/2697))
653* Prevent `Object.prototype`-related bugs ([#2696](https://github.com/sveltejs/svelte/pull/2696))
654
655## 3.2.1
656
657* Use same comparison logic for `derived` as for other stores ([#2644](https://github.com/sveltejs/svelte/issues/2644))
658* Invalidate dependencies of reactive declarations ([#2444](https://github.com/sveltejs/svelte/issues/2444))
659* Fix instrumentation of auto-subscription self-assignments ([#2681](https://github.com/sveltejs/svelte/issues/2681))
660* Warn on non-top-level or module-context statements labeled with `$:` ([#2176](https://github.com/sveltejs/svelte/issues/2176))
661
662## 3.2.0
663
664* Improve `spring` animations, and add `hard`/`soft` options ([#2627](https://github.com/sveltejs/svelte/pull/2627))
665* Expose `parse` and `walk` functions ([#2661](https://github.com/sveltejs/svelte/issues/2661), [#2534](https://github.com/sveltejs/svelte/pull/2534))
666* Support array/object rest in `each` block destructuring patterns ([#2647](https://github.com/sveltejs/svelte/issues/2647), [#2658](https://github.com/sveltejs/svelte/pull/2658))
667* Use `setAttribute` to change `form` property on form elements ([#1742](https://github.com/sveltejs/svelte/issues/1742))
668* Fix a11y warning when `<figcaption>` is non-direct descendant of `<figure>` ([#2582](https://github.com/sveltejs/svelte/issues/2582))
669* Squelch erroneous 'empty block' warnings ([#1716](https://github.com/sveltejs/svelte/issues/1716))
670* Fix IE9/10 error with `insertBefore` ([#2573](https://github.com/sveltejs/svelte/issues/2573))
671* Prevent `$$scope` from being spread onto an element ([#2520](https://github.com/sveltejs/svelte/issues/2520))
672* Resubscribe to stores that are assigned to in `<script>` ([#2435](https://github.com/sveltejs/svelte/issues/2435))
673* Allow reactive declarations to depend on `const` variables ([#2285](https://github.com/sveltejs/svelte/issues/2285))
674* Trigger store changes on UpdateExpression ([#2625](https://github.com/sveltejs/svelte/issues/2625))
675* Squelch missing prop warning if variable is initialised ([#2635](https://github.com/sveltejs/svelte/issues/2635))
676* Add `alert`, `confirm` and `prompt` to known globals ([#2648](https://github.com/sveltejs/svelte/issues/2648))
677
678
679## 3.1.0
680
681* Allow store subscribe functions to return an object with an `unsubscribe` method, providing native RxJS support ([#2549](https://github.com/sveltejs/svelte/issues/2549))
682
683## 3.0.1
684
685* Prevent text input cursor jumping in Safari ([#2506](https://github.com/sveltejs/svelte/issues/2506))
686* Allow assignments to member expressions ([#2510](https://github.com/sveltejs/svelte/issues/2510))
687* Prevent mutually dependent functions causing an infinite during hoisting ([#2542](https://github.com/sveltejs/svelte/issues/2542))
688* Reuse scheduler promise instead of creating new one each time ([#2555](https://github.com/sveltejs/svelte/pull/2555))
689* Various site/docs fixes
690
691## 3.0.0
692
693* Everything
694
695## 2.15.4
696
697* IE `classList` fix ([#1868](https://github.com/sveltejs/svelte/pull/1868))
698
699## 2.15.3
700
701* Don't mutate AST
702
703## 2.15.2
704
705* Expose `stats.props` ([#1837](https://github.com/sveltejs/svelte/issues/1837))
706
707## 2.15.1
708
709* Don't throw missing store error when store is declared in component ([#1828](https://github.com/sveltejs/svelte/issues/1828))
710
711## 2.15.0
712
713* Event modifiers ([#1088](https://github.com/sveltejs/svelte/issues/1088))
714* Wheel and touch events are passive by default ([#1088](https://github.com/sveltejs/svelte/issues/1088))
715* Add `<svelte:document>` tag ([#1484](https://github.com/sveltejs/svelte/issues/1484))
716* Include binding values in server-rendered HTML ([#1205](https://github.com/sveltejs/svelte/issues/1205))
717* Remove attributes when value is undefined/null ([#1434](https://github.com/sveltejs/svelte/issues/1434))
718* Initialise window scroll from component data ([#938](https://github.com/sveltejs/svelte/issues/938))
719* Remove references to unused properties in generated code ([#1187](https://github.com/sveltejs/svelte/issues/1187))
720* Add TypeScript definitions for store ([#1207](https://github.com/sveltejs/svelte/issues/1207))
721* Better error for missing store ([#1807](https://github.com/sveltejs/svelte/issues/1807))
722
723## 2.14.3
724
725* Account for directive dependencies ([#1793](https://github.com/sveltejs/svelte/issues/1793))
726* Detach each block iterations in each blocks with no update method ([#1795](https://github.com/sveltejs/svelte/issues/1795))
727
728## 2.14.2
729
730* Fix issue with nested `{#if}` blocks ([#1780](https://github.com/sveltejs/svelte/issues/1780))
731
732## 2.14.1
733
734* Fix block insertion order regression ([#1778](https://github.com/sveltejs/svelte/issues/1778))
735* Fix blocks inside `<svelte:head>` ([#1774](https://github.com/sveltejs/svelte/issues/1774))
736* Better attribute parsing ([#1772](https://github.com/sveltejs/svelte/issues/1772))
737* Fix parse errors inside directives ([#1788](https://github.com/sveltejs/svelte/issues/1788))
738
739
740## 2.14.0
741
742* Refactor internals ([#1678](https://github.com/sveltejs/svelte/issues/1678))
743* Deprecate `onerror` option ([#1745](https://github.com/sveltejs/svelte/issues/1745))
744* Handle edge cases where `destroy` is called before `mount` ([#1653](https://github.com/sveltejs/svelte/pull/1653))
745* Make `scroll` binding more efficient ([#1579](https://github.com/sveltejs/svelte/pull/1770))
746* Make 'readonly property' store error more informative ([#1761](https://github.com/sveltejs/svelte/pull/1761))
747
748## 2.13.5
749
750* Fix missing dependencies in shorthand class directives ([#1739](https://github.com/sveltejs/svelte/issues/1739))
751
752## 2.13.4
753
754* Support dynamic `import()` in template expressions
755
756## 2.13.3
757
758* Fix bug with keyed each blocks and nested components ([#1706](https://github.com/sveltejs/svelte/issues/1706))
759
760## 2.13.2
761
762* Coalesce simultaneous store/component updates ([#1520](https://github.com/sveltejs/svelte/issues/1520))
763* Fix nested transitions preventing each block item removal ([#1617](https://github.com/sveltejs/svelte/issues/1617))
764* Add `class` directive shorthand and encapsulate styles ([#1695](https://github.com/sveltejs/svelte/pull/1695))
765* Prevent erroneous updates of bound inputs ([#1699](https://github.com/sveltejs/svelte/issues/1699))
766
767## 2.13.1
768
769* Coerce second argument to `toggleClass` ([#1685](https://github.com/sveltejs/svelte/issues/1685))
770
771## 2.13.0
772
773* Add `class` directive ([#890](https://github.com/sveltejs/svelte/issues/890))
774* Remove sourcemaps from npm package ([#1690](https://github.com/sveltejs/svelte/pull/1690))
775
776## 2.12.1
777
778* Allow actions to take any expression ([#1676](https://github.com/sveltejs/svelte/issues/1676))
779* Run transitions in component context ([#1675](https://github.com/sveltejs/svelte/issues/1675))
780* Correctly set select value on mount ([#1666](https://github.com/sveltejs/svelte/issues/1666))
781* Support `{@debug}` in SSR ([#1659](https://github.com/sveltejs/svelte/issues/1659))
782* Don't treat `&nbsp;` as empty whitespace ([#1658](https://github.com/sveltejs/svelte/issues/1658))
783* Fix outros for if blocks with no else ([#1688](https://github.com/sveltejs/svelte/pull/1688))
784* Set `style.cssText` in spread attributes ([#1684](https://github.com/sveltejs/svelte/pull/1684))
785
786
787## 2.12.0
788
789* Initialise actions on mount rather than hydrate ([#1653](https://github.com/sveltejs/svelte/pull/1653))
790* Allow non-existent components to be destroyed ([#1677](https://github.com/sveltejs/svelte/pull/1677))
791* Pass AMD ID from CLI correctly ([#1672](https://github.com/sveltejs/svelte/pull/1672))
792* Minor AST tweaks ([#1673](https://github.com/sveltejs/svelte/pull/1673), [#1674](https://github.com/sveltejs/svelte/pull/1674))
793* Reduce code duplication in component initialisation ([#1670](https://github.com/sveltejs/svelte/pull/1670))
794
795
796## 2.11.0
797
798* Add `--shared` CLI option ([#1649](https://github.com/sveltejs/svelte/pull/1649))
799* Run first `onstate` *before* fragment is rendered ([#1522](https://github.com/sveltejs/svelte/issues/1522))
800* Exclude current computed prop from state object ([#1544](https://github.com/sveltejs/svelte/issues/1544))
801
802
803## 2.10.1
804
805* Add sourcemaps to `{@debug}` tags ([#1647](https://github.com/sveltejs/svelte/pull/1647))
806
807## 2.10.0
808
809* Add a `{@debug}` tag, for inspecting values in templates in dev mode ([#1635](https://github.com/sveltejs/svelte/issues/1635))
810* Fix dimension bindings in iOS ([#1642](https://github.com/sveltejs/svelte/pull/1642))
811
812## 2.9.11
813
814* Pass props to custom elements rather than setting attributes, where appropriate ([#875](https://github.com/sveltejs/svelte/issues/875))
815* Handle whitespace in lists consistently between SSR and DOM renderers ([#1637](https://github.com/sveltejs/svelte/pull/1637))
816* Improve error for invalid `ref` names ([#1613](https://github.com/sveltejs/svelte/issues/1613))
817
818## 2.9.10
819
820* Handle `null` consistently in tags ([#1598](https://github.com/sveltejs/svelte/issues/1598))
821* Support object rest in computed properties ([#1540](https://github.com/sveltejs/svelte/issues/1540))
822* Always update dynamic components when expression changes ([#1621](https://github.com/sveltejs/svelte/issues/1621))
823* Encapsulate local styles inside global styles ([#1618](https://github.com/sveltejs/svelte/issues/1618))
824
825## 2.9.9
826
827* Fix attribute name regex ([#1623](https://github.com/sveltejs/svelte/pull/1623))
828
829## 2.9.8
830
831* Sanitize spread attributes in SSR — fixes vulnerability CVE-2018-6341 ([#1623](https://github.com/sveltejs/svelte/pull/1623))
832
833## 2.9.7
834
835* Allow `<input type=file bind:files>` ([#1608](https://github.com/sveltejs/svelte/issues/1608))
836* Ensure child window exists before removing listener in `addResizeHandler` ([#1600](https://github.com/sveltejs/svelte/issues/1600))
837* Handle transitions in `else` block ([#1589](https://github.com/sveltejs/svelte/issues/1589))
838
839## 2.9.6
840
841* Provide more useful error if SSR component attempts to render non-SSR component ([#1605](https://github.com/sveltejs/svelte/issues/1605))
842
843## 2.9.5
844
845* Null out refs to dynamic components ([#1596](https://github.com/sveltejs/svelte/issues/1596))
846
847## 2.9.4
848
849* Make identifier optional for `then` and `catch` blocks ([#1507](https://github.com/sveltejs/svelte/issues/1507))
850* Group outros correctly ([#1575](https://github.com/sveltejs/svelte/issues/1575))
851
852## 2.9.3
853
854* Fix bug when an each block contains transitions but its else branch does not ([#1559](https://github.com/sveltejs/svelte/issues/1559))
855* If an event handler throws an exception, don't block all future calls to that handler ([#1573](https://github.com/sveltejs/svelte/issues/1573))
856
857## 2.9.2
858
859* Fix conflict when using multiple if-else blocks, some of which use outros and some of which do not ([#1580](https://github.com/sveltejs/svelte/issues/1580))
860* Fix some cases where `.innerHTML` was being used to create child elements when it shouldn't ([#1581](https://github.com/sveltejs/svelte/issues/1581))
861
862## 2.9.1
863
864* Use `template.content` instead of `template` where appropriate ([#1571](https://github.com/sveltejs/svelte/issues/1571))
865
866## 2.9.0
867
868* Play outro transitions on `<svelte:component>` if `nestedTransitions` is true ([#1568](https://github.com/sveltejs/svelte/issues/1568))
869* Allow illegal identifiers to be component prop names, for e.g. spreading `data-foo` props ([#887](https://github.com/sveltejs/svelte/issues/887))
870* Abort transition when node is detached ([#1561](https://github.com/sveltejs/svelte/issues/1561))
871* Only include `transitionManager` when necessary ([#1514](https://github.com/sveltejs/svelte/issues/1514))
872
873## 2.8.1
874
875* Fix prefixed animation name replacement ([#1556](https://github.com/sveltejs/svelte/pull/1556))
876
877## 2.8.0
878
879* Correctly set store on nested components (to parent store, not root store) ([#1538](https://github.com/sveltejs/svelte/issues/1538))
880
881## 2.7.2
882
883* Prevent unnecessary remounts ([#1527](https://github.com/sveltejs/svelte/issues/1527))
884* Allow `refs.*` as callee ([#1526](https://github.com/sveltejs/svelte/pull/1526))
885* Handle empty lists when outroing ([#1532](https://github.com/sveltejs/svelte/issues/1532))
886
887## 2.7.1
888
889* Fix spread props with multiple dependencies ([#1515](https://github.com/sveltejs/svelte/issues/1515))
890
891## 2.7.0
892
893* Add `__svelte_meta` object to elements in dev mode, containing source info ([#1499](https://github.com/sveltejs/svelte/issues/1499))
894* Fix `bind:online` in dev mode ([#1502](https://github.com/sveltejs/svelte/issues/1502))
895* Update v1 warnings/errors ([#1508](https://github.com/sveltejs/svelte/pull/1508))
896* Transform prefixed keyframes ([#1504](https://github.com/sveltejs/svelte/issues/1504))
897
898## 2.6.6
899
900* Fix nested transition bug ([#1497](https://github.com/sveltejs/svelte/issues/1497))
901
902## 2.6.5
903
904* Handle cases where only some `if` block branches have outros ([#1492](https://github.com/sveltejs/svelte/issues/1492))
905
906## 2.6.4
907
908* Web worker support ([#1487](https://github.com/sveltejs/svelte/issues/1487))
909* Update dynamic component bindings when component changes ([#1489](https://github.com/sveltejs/svelte/issues/1489))
910
911## 2.6.3
912
913* Nested transitions respect `skipIntroByDefault` ([#1460](https://github.com/sveltejs/svelte/issues/1460))
914* Always create outro for top-level block ([#1470](https://github.com/sveltejs/svelte/issues/1470))
915
916## 2.6.2
917
918* Fix spread+bindings on dynamic components ([#1433](https://github.com/sveltejs/svelte/issues/1433))
919* Abort in-progress animations, if a new one starts ([#1458](https://github.com/sveltejs/svelte/issues/1458))
920* Allow animations to be parameterised ([#1462](https://github.com/sveltejs/svelte/issues/1462))
921
922## 2.6.1
923
924* Absolutely position outroing animated nodes ([#1457](https://github.com/sveltejs/svelte/pull/1457))
925
926## 2.6.0
927
928* Add `animate` directive ([#1454](https://github.com/sveltejs/svelte/pull/1454))
929* Add `skipIntroByDefault` compiler option and `intro: true` init option ([#1448](https://github.com/sveltejs/svelte/pull/1448))
930* Add `nestedTransitions` compiler option ([#1451](https://github.com/sveltejs/svelte/pull/1451))
931* Component outros, if `nestedTransitions` is true ([#1211](https://github.com/sveltejs/svelte/issues/1211))
932* Allow transition functions to return a function, for inter-transition coordination ([#1453](https://github.com/sveltejs/svelte/pull/1453))
933* Pass `1 - t` as second argument to transition functions ([#1452](https://github.com/sveltejs/svelte/pull/1452))
934
935## 2.5.1
936
937* Add new ARIA attributes ([#1436](https://github.com/sveltejs/svelte/pull/1436))
938* Add `Promise` to whitelisted globals ([#1441](https://github.com/sveltejs/svelte/issues/1441))
939* Allow spaces around reserved keyword attributes ([#1445](https://github.com/sveltejs/svelte/issues/1445))
940
941## 2.5.0
942
943* Support transitions in `await` blocks ([#956](https://github.com/sveltejs/svelte/issues/956))
944* Abort outros if block is recreated ([#1425](https://github.com/sveltejs/svelte/issues/1425))
945* Wait until transitions have completed before removing styles ([#648](https://github.com/sveltejs/svelte/issues/648))
946* Support event shorthand on dynamic components ([#1427](https://github.com/sveltejs/svelte/pull/1427))
947* Various codegen improvements ([#1419](https://github.com/sveltejs/svelte/pull/1419), [#1421](https://github.com/sveltejs/svelte/pull/1421), [#1422](https://github.com/sveltejs/svelte/pull/1422), [#1424](https://github.com/sveltejs/svelte/pull/1424))
948* Correctly handle `await` blocks with no dynamic content ([#1417](https://github.com/sveltejs/svelte/issues/1417))
949* Allow spread props on elements with static attribute tests ([#1429](https://github.com/sveltejs/svelte/pull/1429))
950
951
952## 2.4.4
953
954* Declare missing variable in Store ([#1415](https://github.com/sveltejs/svelte/issues/1415))
955* ALways declare spread levels ([#1413](https://github.com/sveltejs/svelte/issues/1413))
956
957## 2.4.3
958
959* `ref` directives prevent HTMLified content ([#1407](https://github.com/sveltejs/svelte/issues/1407))
960* Store computed properties update components immediately upon declaration ([#1327](https://github.com/sveltejs/svelte/issues/1327))
961
962## 2.4.2
963
964* Evaluate `each` key in child scope ([#1397](https://github.com/sveltejs/svelte/issues/1397))
965* Prevent false negatives and positives when detecting cyclical computed store properties ([#1399](https://github.com/sveltejs/svelte/issues/1399))
966* Only update dynamic component props ([#1394](https://github.com/sveltejs/svelte/issues/1394))
967
968## 2.4.1
969
970* Fix DOM event context ([#1390](https://github.com/sveltejs/svelte/issues/1390))
971
972## 2.4.0
973
974* Integrate CLI ([#1360](https://github.com/sveltejs/svelte/issues/1360))
975* Allow arbitrary destructuring for each block items, with binding ([#1385](https://github.com/sveltejs/svelte/pull/1385))
976* Each block keys can use arbitrary expressions ([#703](https://github.com/sveltejs/svelte/issues/703))
977* `bind:offsetWidth`, `bind:offsetHeight`, `bind:clientWidth` and `bind:clientHeight` ([#984](https://github.com/sveltejs/svelte/issues/984))
978* Leaner generated code for `each` blocks ([#1287](https://github.com/sveltejs/svelte/issues/1287))
979
980
981## 2.3.0
982
983* Allow computed properties to have entire state object as dependency ([#1303](https://github.com/sveltejs/svelte/issues/1303))
984* Fix `stats` when `options.generate` is `false` ([#1368](https://github.com/sveltejs/svelte/issues/1368))
985* Assign custom methods to custom elements ([#1369](https://github.com/sveltejs/svelte/issues/1369))
986* Fix `this` value in custom event handlers ([#1297](https://github.com/sveltejs/svelte/issues/1297))
987* Re-evaluate `each` values lazily ([#1286](https://github.com/sveltejs/svelte/issues/1286))
988* Preserve outer context in `await` blocks ([#1251](https://github.com/sveltejs/svelte/issues/1251))
989
990## 2.2.0
991
992* Internal refactoring ([#1367](https://github.com/sveltejs/svelte/pull/1367))
993
994## 2.1.1
995
996* Report initial `changed` based on state, not expected props ([#1356](https://github.com/sveltejs/svelte/issues/1356))
997* Set state to empty object, not null, on destroy ([#1354](https://github.com/sveltejs/svelte/issues/1354))
998* Prevent stale state in component event handlers ([#1353](https://github.com/sveltejs/svelte/issues/1353))
999
1000## 2.1.0
1001
1002* Allow shorthand imports ([#1038](https://github.com/sveltejs/svelte/issues/1038))
1003* Update spread props inside each blocks ([#1337](https://github.com/sveltejs/svelte/issues/1337))
1004
1005## 2.0.0
1006
1007*See [the blog post](https://svelte.dev/blog/version-2) for information on how to upgrade your apps*
1008
1009* New template syntax ([#1318](https://github.com/sveltejs/svelte/issues/1318))
1010* Emit ES2015 code, not ES5 ([#1348](https://github.com/sveltejs/svelte/pull/1348))
1011* Add `onstate` and `onupdate` hooks, remove `component.observe` method ([#1197](https://github.com/sveltejs/svelte/issues/1197))
1012* Use destructuring syntax for computed properties ([#1069](https://github.com/sveltejs/svelte/issues/1069)
1013* Change signature of `svelte.compile` ([#1298](https://github.com/sveltejs/svelte/pull/1298))
1014* Remove `validate` and `Stylesheet` from public API ([#1348](https://github.com/sveltejs/svelte/pull/1348))
1015* Don't typecast numeric attributes ([#657](https://github.com/sveltejs/svelte/issues/657))
1016* Always compile with `Store` support, and cascading disabled ([#1348](https://github.com/sveltejs/svelte/pull/1348))
1017* Remove unused `hash` property from AST ([#1348](https://github.com/sveltejs/svelte/pull/1348))
1018* Rename `loc` property to `start` in warnings and errors ([#1348](https://github.com/sveltejs/svelte/pull/1348))
1019
1020## 1.64.1
1021
1022* Fix computed properties in SSR renderer ([#1349](https://github.com/sveltejs/svelte/issues/1349))
1023
1024## 1.64.0
1025
1026* Deprecate passing a string argument to `component.get` ([#1347](https://github.com/sveltejs/svelte/pull/1347))
1027
1028## 1.63.1
1029
1030* Allow `observe` method to be overwritten
1031
1032## 1.63.0
1033
1034* Add `onstate` and `onupdate` lifecycle hooks and deprecate `component.observe` ([#1197](https://github.com/sveltejs/svelte/issues/1197))
1035* Add `on` and `fire` to `Store`, deprecate `onchange` and `observe` ([#1344](https://github.com/sveltejs/svelte/pull/1344))
1036* Require computed properties to have destructured argument in v2 mode ([#1069](https://github.com/sveltejs/svelte/issues/1069))
1037
1038## 1.62.0
1039
1040* Add a `code` field to errors and warnings ([#474](https://github.com/sveltejs/svelte/issues/474))
1041* When using v2 syntax, do not use interpolation in non-root `<style>` tags ([#1339](https://github.com/sveltejs/svelte/issues/1339))
1042
1043## 1.61.0
1044
1045* Support v2 syntax with `parser: 'v2'` option ([#1318](https://github.com/sveltejs/svelte/issues/1318))
1046
1047## 1.60.3
1048
1049* Fix validation of `multiple` attributes on bound `<select>` elements ([#1331](https://github.com/sveltejs/svelte/issues/1331))
1050
1051## 1.60.2
1052
1053* Fix order of insertions for keyed each blocks with siblings ([#1306](https://github.com/sveltejs/svelte/issues/1306))
1054* Bail out of CSS DCE if element has spread attribute ([#1300](https://github.com/sveltejs/svelte/issues/1300))
1055* Allow `console` etc in component events ([#1278](https://github.com/sveltejs/svelte/issues/1278))
1056* Deconflict against inherited contexts ([#1275](https://github.com/sveltejs/svelte/issues/1275))
1057* Make CSS DCE case insensitive ([#1269](https://github.com/sveltejs/svelte/issues/1269))
1058* Error on dynamic `multiple` attribute for bound select ([#1270](https://github.com/sveltejs/svelte/issues/1270))
1059* Allow custom events on `<:Window>` ([#1268](https://github.com/sveltejs/svelte/issues/1268))
1060
1061## 1.60.1
1062
1063* Fix spread updates on dynamic components ([#1307](https://github.com/sveltejs/svelte/issues/1307))
1064
1065## 1.60.0
1066
1067* Spread properties ([#195](https://github.com/sveltejs/svelte/issues/195))
1068* `svelte.compile` returns an object with `{ js, css, ast }` properties, where `js` and `css` are `{ code, map }` objects ([#1298](https://github.com/sveltejs/svelte/pull/1298))
1069* Fixed broken compile errors when using Rollup ([#1296](https://github.com/sveltejs/svelte/pull/1296))
1070
1071## 1.59.0
1072
1073* Deprecate `teardown` in custom event handlers ([#531](https://github.com/sveltejs/svelte/issues/531))
1074* Allow static content in keyed `each` block ([#1291](https://github.com/sveltejs/svelte/issues/1291))
1075* Allow empty content in keyed `each` block ([#1295](https://github.com/sveltejs/svelte/issues/1295))
1076* Only delete applicable transitions ([#1290](https://github.com/sveltejs/svelte/issues/1290))
1077
1078## 1.58.5
1079
1080* Allow backtick string literals for `svg`, `tag`, and `props` properties ([#1284](https://github.com/sveltejs/svelte/issues/1284))
1081* Fix removal of transition styles under Firefox ([#1288](https://github.com/sveltejs/svelte/pull/1288))
1082
1083## 1.58.4
1084
1085* Fix initial state regression ([#1283](https://github.com/sveltejs/svelte/pull/1283))
1086
1087## 1.58.3
1088
1089* Actions run in the context of the component ([#1279](https://github.com/sveltejs/svelte/pull/1279))
1090* Set refs when mounting dynamic components ([#1280](https://github.com/sveltejs/svelte/pull/1280))
1091
1092## 1.58.2
1093
1094* (1.58.1 failed to publish)
1095
1096## 1.58.1
1097
1098* Actions ([#1247](https://github.com/sveltejs/svelte/pull/1247))
1099* Support `preserveComments` option in SSR mode ([#1265](https://github.com/sveltejs/svelte/issues/1265))
1100* Fix performance regression ([#1274](https://github.com/sveltejs/svelte/pull/1274))
1101
1102## 1.58.0
1103
1104* Fast row swapping ([#588](https://github.com/sveltejs/svelte/issues/588))
1105* Better error messages for invalid directives ([#1242](https://github.com/sveltejs/svelte/pull/1242))
1106* Fix local context variable bugs ([#1240](https://github.com/sveltejs/svelte/pull/1243), [#1254](https://github.com/sveltejs/svelte/pull/1254))
1107* Skip missing property warnings for computed/global properties in dev mode ([#1246](https://github.com/sveltejs/svelte/pull/1246))
1108* Add end position to warnings ([#1250](https://github.com/sveltejs/svelte/pull/1250))
1109
1110## 1.57.4
1111
1112* Deconflict context names ([#1229](https://github.com/sveltejs/svelte/issues/1229))
1113* Use `setAttribute` to set input types ([#1209](https://github.com/sveltejs/svelte/issues/1209))
1114* Scale transition duration correctly ([#1221](https://github.com/sveltejs/svelte/issues/1221))
1115
1116## 1.57.3
1117
1118* Fix scoped CSS on static child elements ([#1223](https://github.com/sveltejs/svelte/issues/1223))
1119
1120## 1.57.2
1121
1122* Fix scoped CSS on SVG elements ([#1224](https://github.com/sveltejs/svelte/issues/1224))
1123
1124## 1.57.1
1125
1126* Add each_value to contextProps ([#1206](https://github.com/sveltejs/svelte/issues/1206))
1127
1128## 1.57.0
1129
1130* Use classes (not attributes) for style encapsulation, and base36-encode hashes ([#1118](https://github.com/sveltejs/svelte/issues/1118))
1131
1132## 1.56.4
1133
1134* Allow `component` and `state` to be context names ([#1213](https://github.com/sveltejs/svelte/issues/1213))
1135* Don't remove `@supports` rules when `cascade: false` ([#1215](https://github.com/sveltejs/svelte/issues/1215))
1136
1137## 1.56.3
1138
1139* Top-level transitions work inside nested components ([#1188](https://github.com/sveltejs/svelte/issues/1188))
1140* Always use internal `_mount` method ([#1201](https://github.com/sveltejs/svelte/issues/1201))
1141
1142## 1.56.2
1143
1144* Null out `key` for children of keyed each blocks ([#1202](https://github.com/sveltejs/svelte/issues/1202))
1145
1146## 1.56.1
1147
1148* Fix if-in-each bug ([#1195](https://github.com/sveltejs/svelte/issues/1195))
1149* Cross-browser `scrollX`/`scrollY` support ([#1175](https://github.com/sveltejs/svelte/issues/1175))
1150
1151## 1.56.0
1152
1153* Internal refactor ([#1122](https://github.com/sveltejs/svelte/issues/1122))
1154* Use correct context for component events ([#1184](https://github.com/sveltejs/svelte/issues/1184))
1155* Allow observing `$foo` in dev mode ([#1181](https://github.com/sveltejs/svelte/issues/1181))
1156* Handle dynamic data in default slot ([#1144](https://github.com/sveltejs/svelte/issues/1144))
1157
1158## 1.55.1
1159
1160* Fix cancellation of store `onchange` handlers ([#1177](https://github.com/sveltejs/svelte/issues/1177))
1161* Write `["default"]` instead of `.default` in legacy mode ([#1166](https://github.com/sveltejs/svelte/issues/1166))
1162* Upgrade Acorn ([#1182](https://github.com/sveltejs/svelte/pull/1182))
1163* Don't warn about capitalisation if `options.name` begins with non-alphabetical character ([#1179](https://github.com/sveltejs/svelte/pull/1179))
1164
1165## 1.55.0
1166
1167* Add `immutable` compiler option for Svelte and runtime option for `Store` ([#1146](https://github.com/sveltejs/svelte/issues/1146))
1168* Fix component store bindings ([#1100](https://github.com/sveltejs/svelte/issues/1100))
1169* Fire `oncreate` when custom element is attached ([#1117](https://github.com/sveltejs/svelte/issues/1117))
1170* Downgrade empty blocks to a warning ([#1156](https://github.com/sveltejs/svelte/pull/1156))
1171* Error on unclosed comment ([#1156](https://github.com/sveltejs/svelte/pull/1156))
1172
1173## 1.54.2
1174
1175* Prevent `await` blocks using stale state ([#1131](https://github.com/sveltejs/svelte/issues/1131))
1176* Prevent erroneous missing data warnings for custom elements ([#1065](https://github.com/sveltejs/svelte/issues/1065))
1177* Remove empty selectors in prod mode ([#1138](https://github.com/sveltejs/svelte/issues/1138))
1178* Escape attribute values in SSR mode ([#1155](https://github.com/sveltejs/svelte/pull/1155))
1179* Remove `<noscript>` elements in DOM mode ([#1108](https://github.com/sveltejs/svelte/issues/1108))
1180* Allow hydration of non-root `<script>`/`<style>` tags ([#1163](https://github.com/sveltejs/svelte/pull/1163))
1181* Allow interpolation in non-root `<style>` tags ([#1163](https://github.com/sveltejs/svelte/pull/1163))
1182
1183## 1.54.1
1184
1185* Hoist destructured references ([#1139](https://github.com/sveltejs/svelte/issues/1139))
1186* Add `bind:volume` for media elements ([#1143](https://github.com/sveltejs/svelte/issues/1143))
1187
1188## 1.54.0
1189
1190* Run `oncreate` hooks depth-first, top-to-bottom ([#1135](https://github.com/sveltejs/svelte/issues/1135))
1191* Render boolean attributes correctly in SSR mode ([#1109](https://github.com/sveltejs/svelte/issues/1109))
1192* Add `feed` aria role to expected roles when doing a11y checks ([#1124](https://github.com/sveltejs/svelte/pull/1124))
1193* More complete fix for case sensitive attributes ([#1062](https://github.com/sveltejs/svelte/issues/1062))
1194* Handle CLRF line endings in await block comments ([#1132](https://github.com/sveltejs/svelte/issues/1132))
1195
1196## 1.53.0
1197
1198* Base scoping selectors on `<style>` contents alone ([#1091](https://github.com/sveltejs/svelte/issues/1091))
1199
1200## 1.52.0
1201
1202* Deconflict referenced globals ([#1079](https://github.com/sveltejs/svelte/issues/1079))
1203* Validate contents of `await` blocks ([#1061](https://github.com/sveltejs/svelte/issues/1061))
1204* Fire `oncreate` for components in `await` blocks ([#1061](https://github.com/sveltejs/svelte/issues/1061))
1205* Automatically fix attribute casing ([#1062](https://github.com/sveltejs/svelte/issues/1062))
1206* Fix escaping in `<script>` and `<style>` ([#1082](https://github.com/sveltejs/svelte/issues/1082))
1207* Error if invalid characters are used in computed properties, and allow any valid identifier in props ([#1083](https://github.com/sveltejs/svelte/issues/1083))
1208* Don't run a11y tests on components ([#1110](https://github.com/sveltejs/svelte/issues/1110))
1209* Respect `store` option in SSR mode ([#1107](https://github.com/sveltejs/svelte/issues/1107))
1210
1211## 1.51.1
1212
1213* Only escape <, > and & characters ([#1082](https://github.com/sveltejs/svelte/issues/1082))
1214
1215## 1.51.0
1216
1217* Lock `scroll` bindings ([#1071](https://github.com/sveltejs/svelte/issues/1071))
1218* Escape HTML entities when compiling to static HTML ([#1066](https://github.com/sveltejs/svelte/issues/1066))
1219* Apply a11y warnings to SVG `<a>` attributes with `xlink:href` ([#1008](https://github.com/sveltejs/svelte/issues/1008))
1220
1221## 1.50.1
1222
1223* Prevent main fragment being created twice in custom elements ([#1064](https://github.com/sveltejs/svelte/pull/1064))
1224
1225## 1.50.0
1226
1227* Detect unused/misplaced components ([#1039](https://github.com/sveltejs/svelte/issues/1039))
1228* Warn on unused event definitions/transitions ([#1051](https://github.com/sveltejs/svelte/issues/1051))
1229* Remove whitespace inside `<:Head>` ([#1026](https://github.com/sveltejs/svelte/issues/1026))
1230* Optimise `<title>` ([#1027](https://github.com/sveltejs/svelte/issues/1027))
1231* Add `bind: false` option to disable two-way binding ([#54](https://github.com/sveltejs/svelte/issues/54))
1232
1233## 1.49.3
1234
1235* Return `html` from SSR compiler `render().toString()` methods ([#1044](https://github.com/sveltejs/svelte/issues/1044))
1236* Correctly reinitialise dynamic components ([#1040](https://github.com/sveltejs/svelte/issues/1040))
1237* Allow `<option>` outside `<select>` ([#1022](https://github.com/sveltejs/svelte/issues/1022))
1238* Fix data references in await-block event handlers ([#1032](https://github.com/sveltejs/svelte/issues/1032))
1239
1240## 1.49.2
1241
1242* Add `store.umd.js` ([#967](https://github.com/sveltejs/svelte/issues/967))
1243* Warn on use of `this` inside computed properties ([#1033](https://github.com/sveltejs/svelte/pull/1033))
1244
1245## 1.49.1
1246
1247* Pass `store` to children in SSR mode ([#1029](https://github.com/sveltejs/svelte/pull/1029))
1248
1249## 1.49.0
1250
1251* Support `store` as a component property ([#1028](https://github.com/sveltejs/svelte/pull/1028))
1252
1253## 1.48.0
1254
1255* Added `<:Head>` component for injecting contents into document head ([#1013](https://github.com/sveltejs/svelte/issues/1013)))
1256* SSR `render(...)` method now returns a `{ html, css: { code, map }, head }` object ([#1013](https://github.com/sveltejs/svelte/issues/1013))
1257* SSR `renderCss(...)` method is deprecated ([#1013](https://github.com/sveltejs/svelte/issues/1013))
1258* Add a `preload` function to components ([#1015](https://github.com/sveltejs/svelte/issues/1015))
1259* Expose `this.root` on nested components ([#1023](https://github.com/sveltejs/svelte/pull/1023))
1260
1261## 1.47.2
1262
1263* Deconflict computed properties against arguments to `_recompute` ([#1012](https://github.com/sveltejs/svelte/issues/1012))
1264* Allow `await` blocks in slots ([#1018](https://github.com/sveltejs/svelte/issues/1018))
1265* Allow components without slots to have whitespace as only child ([#1007](https://github.com/sveltejs/svelte/issues/1007))
1266* Correctly set `toString` on `CompileError` ([#1016](https://github.com/sveltejs/svelte/pull/1016))
1267
1268## 1.47.1
1269
1270* Sanitize filenames in SSR mode ([#1005](https://github.com/sveltejs/svelte/issues/1005))
1271
1272## 1.47.0
1273
1274* Support dynamic `import(...)` inside `<script>` tags ([#1003](https://github.com/sveltejs/svelte/issues/1003))
1275
1276## 1.46.1
1277
1278* `await...then` shorthand ([#957](https://github.com/sveltejs/svelte/issues/957))
1279* Allow dynamic components inside elements ([#993](https://github.com/sveltejs/svelte/issues/993))
1280* Don't use `dataset` on SVG nodes ([#982](https://github.com/sveltejs/svelte/issues/982))
1281* Fix erroneous `<figcaption>` a11y warning ([#991](https://github.com/sveltejs/svelte/issues/991))
1282* Handle empty classes when pruning unused selectors ([#978](https://github.com/sveltejs/svelte/issues/978))
1283* Better trimming of SSR'd output ([#976](https://github.com/sveltejs/svelte/issues/976))
1284* Don't add `event` to `expectedProperties` ([#972](https://github.com/sveltejs/svelte/issues/972))
1285* Emit error on bad `set` arguments in dev mode ([#990](https://github.com/sveltejs/svelte/issues/990))
1286
1287## 1.46.0
1288
1289* Pass `filename` through to preprocessors ([#983](https://github.com/sveltejs/svelte/issues/983))
1290
1291## 1.45.0
1292
1293* Dynamic components ([#971](https://github.com/sveltejs/svelte/pull/971))
1294
1295## 1.44.2
1296
1297* Fix `await` blocks with siblings ([#974](https://github.com/sveltejs/svelte/issues/974))
1298* Fix `await` blocks inside `if` blocks ([#975](https://github.com/sveltejs/svelte/issues/975))
1299
1300## 1.44.1
1301
1302* Fix bidirectional transitions that reference state ([#962](https://github.com/sveltejs/svelte/issues/962))
1303
1304## 1.44.0
1305
1306* Add `svelte.preprocess` ([#181](https://github.com/sveltejs/svelte/issues/181), [#876](https://github.com/sveltejs/svelte/issues/876))
1307* Add `{{#await ...}}` blocks ([#654](https://github.com/sveltejs/svelte/issues/654))
1308
1309## 1.43.1
1310
1311* Fix parameterised transitions ([#962](https://github.com/sveltejs/svelte/issues/962))
1312* Prevent boolean attributes breaking estree-walker expectations ([#961](https://github.com/sveltejs/svelte/issues/961))
1313* Throw error on cyclical store computations ([#964](https://github.com/sveltejs/svelte/pull/964))
1314
1315## 1.43.0
1316
1317* Export `Store` class to manage global state ([#930](https://github.com/sveltejs/svelte/issues/930))
1318* Recognise `aria-current` ([#953](https://github.com/sveltejs/svelte/pull/953))
1319* Support SSR register options including `extensions` ([#939](https://github.com/sveltejs/svelte/issues/939))
1320* Friendlier error for illegal contexts ([#934](https://github.com/sveltejs/svelte/issues/934))
1321* Remove whitespace around `<:Window>` components ([#943](https://github.com/sveltejs/svelte/issues/943))
1322
1323## 1.42.1
1324
1325* Correctly append items inside a slotted `each` block ([#932](https://github.com/sveltejs/svelte/pull/932))
1326* Fix `<:Window bind:online/>` ([#936](https://github.com/sveltejs/svelte/issues/936))
1327* Attach globals to state upon initialisation ([#908](https://github.com/sveltejs/svelte/issues/908))
1328
1329## 1.42.0
1330
1331* Implement `indeterminate` binding for checkbox inputs ([#910](https://github.com/sveltejs/svelte/issues/910))
1332* Use `<option>` children as `value` attribute if none exists ([#928](https://github.com/sveltejs/svelte/issues/928))
1333* Allow quoted property names in default export and sub-properties ([#914](https://github.com/sveltejs/svelte/issues/914))
1334* Various improvements to generated code for bindings
1335
1336## 1.41.4
1337
1338* Handle self-destructive bindings ([#917](https://github.com/sveltejs/svelte/issues/917))
1339* Prevent `innerHTML` with `<option>` elements ([#915](https://github.com/sveltejs/svelte/issues/915))
1340* Use `dataset` unless `legacy` is true ([#858](https://github.com/sveltejs/svelte/issues/858))
1341* Add `prepare` script to facilitate installing from git ([#923](https://github.com/sveltejs/svelte/pull/923))
1342
1343## 1.41.3
1344
1345* Prevent argument name clashes ([#911](https://github.com/sveltejs/svelte/issues/911))
1346* Fix UMD factory arguments ([#918](https://github.com/sveltejs/svelte/pull/918))
1347* Don't attempt to set computed values ([#893](https://github.com/sveltejs/svelte/issues/893))
1348* Fix TypeScript build error ([#919](https://github.com/sveltejs/svelte/issues/919))
1349
1350## 1.41.2
1351
1352* Handle attribute selectors with no value ([#905](https://github.com/sveltejs/svelte/issues/905))
1353* Retain `async` keyword when extracting functions ([#904](https://github.com/sveltejs/svelte/issues/904))
1354* Shallow clone `data` on initialisation ([#891](https://github.com/sveltejs/svelte/pull/891))
1355
1356## 1.41.1
1357
1358* Fix updates of destructured each blocks ([#897](https://github.com/sveltejs/svelte/pull/897))
1359* Don't warn on `options.*` event handler callee ([#900](https://github.com/sveltejs/svelte/pull/900))
1360
1361## 1.41.0
1362
1363* `onwarn` and `onerror` receive default handlers as second arguments ([#883](https://github.com/sveltejs/svelte/pull/883))
1364* Recognise `muted` as boolean property on `<audio>` elements ([#886](https://github.com/sveltejs/svelte/pull/886))
1365* Array destructuring for `each` block contexts ([#889](https://github.com/sveltejs/svelte/pull/889))
1366
1367## 1.40.2
1368
1369* Ignore `@apply` and similar in CSS ([#871](https://github.com/sveltejs/svelte/issues/871))
1370* Properly escape CSS in custom elements ([#872](https://github.com/sveltejs/svelte/issues/872))
1371
1372## 1.40.1
1373
1374* Always use explicit closing tags with `innerHTML` ([#866](https://github.com/sveltejs/svelte/issues/866))
1375* Escape text in `textContent` and `innerHTML` expressions ([#868](https://github.com/sveltejs/svelte/issues/868))
1376
1377## 1.40.0
1378
1379* Short fragment method names ([#863](https://github.com/sveltejs/svelte/pull/863))
1380* Extract declarations out of default export ([#756](https://github.com/sveltejs/svelte/issues/756))
1381
1382## 1.39.4
1383
1384* Extract shared init logic ([#855](https://github.com/sveltejs/svelte/pull/855))
1385* Allow `console.*` calls in event handlers ([#782](https://github.com/sveltejs/svelte/issues/782))
1386* Marker comments in output ([#823](https://github.com/sveltejs/svelte/issues/823))
1387* Use `textContent` and `innerHTML` where appropriate ([#23](https://github.com/sveltejs/svelte/issues/23))
1388* Various improvements to generated code
1389
1390## 1.39.3
1391
1392* Allow `slot='...'` inside custom elements ([#827](https://github.com/sveltejs/svelte/issues/827))
1393* Disallow `slot='...'` inside if/each blocks ([#849](https://github.com/sveltejs/svelte/issues/849))
1394* Use correct parent node for slotted if blocks ([#850](https://github.com/sveltejs/svelte/issues/850))
1395
1396## 1.39.2
1397
1398* Escape CSS in shadow DOM ([#840](https://github.com/sveltejs/svelte/issues/840))
1399* Fix missing anchor bug inside SVG elements ([#843](https://github.com/sveltejs/svelte/issues/843))
1400
1401## 1.39.1
1402
1403* Always use anchors for slotted content ([#822](https://github.com/sveltejs/svelte/issues/822))
1404* Prevent ES6 in helpers ([#838](https://github.com/sveltejs/svelte/issues/838))
1405* Correctly determine whether to use `timeRangesToArray` ([#837](https://github.com/sveltejs/svelte/pull/837))
1406
1407## 1.39.0
1408
1409* Always attach fragment to shadow root ([#821](https://github.com/sveltejs/svelte/issues/821))
1410* Add `buffered`, `seekable`, `played` bindings to media elements ([#819](https://github.com/sveltejs/svelte/pull/819))
1411* Quote `class` properties in legacy mode ([#830](https://github.com/sveltejs/svelte/issues/830))
1412* Warn on missing `lang` attribute on `<html>` ([#828](https://github.com/sveltejs/svelte/pull/828))
1413
1414## 1.38.0
1415
1416* Compile-time a11y warnings ([#815](https://github.com/sveltejs/svelte/pull/815))
1417* Remove redundant input blowback guards ([#645](https://github.com/sveltejs/svelte/issues/645))
1418* Use component name in debugging messages ([#781](https://github.com/sveltejs/svelte/issues/781))
1419
1420## 1.37.0
1421
1422* Experimental support for compiling to custom elements ([#797](https://github.com/sveltejs/svelte/issues/797))
1423
1424## 1.36.0
1425
1426* Optimize `style` attributes where possible ([#455](https://github.com/sveltejs/svelte/issues/455))
1427
1428## 1.35.0
1429
1430* `set` and `get` continue to work until `destroy` is complete ([#788](https://github.com/sveltejs/svelte/issues/788))
1431* Observers of unchanged bound values don't fire incorrectly ([#804](https://github.com/sveltejs/svelte/issues/804))
1432* Nested components with slotted content render correctly in SSR mode ([#801](https://github.com/sveltejs/svelte/issues/801))
1433* More efficient rendering of raw and slotted content ([#637](https://github.com/sveltejs/svelte/issues/637))
1434* Handle unquoted attributes in attribute selectors ([#798](https://github.com/sveltejs/svelte/issues/798))
1435
1436## 1.34.0
1437
1438* Support nested `<slot>` elements ([#790](https://github.com/sveltejs/svelte/issues/790))
1439* Attach `options` to instance ([#550](https://github.com/sveltejs/svelte/issues/550), [#777](https://github.com/sveltejs/svelte/issues/777))
1440* Error if transitions are applied to component ([#791](https://github.com/sveltejs/svelte/issues/791))
1441* Handle CSS variables in `<style>` tag ([#757](https://github.com/sveltejs/svelte/issues/757))
1442
1443## 1.33.0
1444
1445* Replace `{{yield}}` with `<slot>` — adds fallback content named slots, and `options.slots` ([#763](https://github.com/sveltejs/svelte/issues/763))
1446
1447## 1.32.0
1448
1449* Allow `anchor` initialisation option, alongside `target` ([#784](https://github.com/sveltejs/svelte/issues/784))
1450* Remove leading CSS selectors safely ([#783](https://github.com/sveltejs/svelte/issues/783))
1451
1452## 1.31.0
1453
1454* Add `legacy` compile option, which adds IE9 compatibility ([#773](https://github.com/sveltejs/svelte/issues/773))
1455
1456## 1.30.0
1457
1458* Update all component bindings simultaneously ([#760](https://github.com/sveltejs/svelte/issues/760))
1459* Fix `@keyframes` atrules with `from` and `to` selectors ([#774](https://github.com/sveltejs/svelte/issues/774))
1460
1461## 1.29.3
1462
1463* Only recompute tag and attribute values if they could have changed ([#768](https://github.com/sveltejs/svelte/issues/768))
1464* Fix CSS scoping with multiple levels of descendant selectors ([#767](https://github.com/sveltejs/svelte/issues/767))
1465
1466## 1.29.2
1467
1468* Preserve space before non-parenthesized media query expression ([#759](https://github.com/sveltejs/svelte/issues/759))
1469* Call `create()` on new iterations of static each blocks ([#762](https://github.com/sveltejs/svelte/issues/762))
1470* Use `change` events as well as `input` events to bind range inputs ([#740](https://github.com/sveltejs/svelte/issues/740))
1471
1472## 1.29.1
1473
1474* Replace `set` and `destroy` with `noop` when component is destroyed ([#744](https://github.com/sveltejs/svelte/issues/744))
1475
1476## 1.29.0
1477
1478* Add static `setup` method ([#578](https://github.com/sveltejs/svelte/issues/578))
1479* Hoist if block selectors ([#751](https://github.com/sveltejs/svelte/pull/751))
1480* More sigil escaping fixes ([#750](https://github.com/sveltejs/svelte/pull/750))
1481
1482## 1.28.1
1483
1484* Fix unescaping of special words in SSR mode ([#741](https://github.com/sveltejs/svelte/issues/741))
1485
1486## 1.28.0
1487
1488* Support `ref:foo` as a CSS selector ([#693](https://github.com/sveltejs/svelte/issues/693))
1489* Prevent magic-string bugs by only minifying CSS combinators if `cascade: false` ([#743](https://github.com/sveltejs/svelte/issues/743))
1490* Don't throw an error if component is destroyed twice ([#643](https://github.com/sveltejs/svelte/issues/643))
1491
1492## 1.27.0
1493
1494* Minify CSS and remove unused styles ([#697](https://github.com/sveltejs/svelte/issues/697))
1495* Optimize ternary expressions when excluding unused CSS ([#696](https://github.com/sveltejs/svelte/issues/696))
1496* Clear refs after `ondestroy` callbacks fire ([#706](https://github.com/sveltejs/svelte/issues/706))
1497* Prevent certain forms of component binding blowback ([#721](https://github.com/sveltejs/svelte/issues/721))
1498* Use helper to encapsulate styles ([#375](https://github.com/sveltejs/svelte/issues/375))
1499* Event propagation shorthand — `on:foo` equals `on:foo='fire("foo", event)` ([#638](https://github.com/sveltejs/svelte/issues/638))
1500* Allow `refs.*` in event handlers, and validate them ([#686](https://github.com/sveltejs/svelte/issues/686))
1501
1502## 1.26.2
1503
1504* Unescape `#` characters ([#722](https://github.com/sveltejs/svelte/issues/722))
1505
1506## 1.26.1
1507
1508* Fix select binding regression ([#724](https://github.com/sveltejs/svelte/issues/724))
1509
1510## 1.26.0
1511
1512* Enforce correct order of operations when initialising ([#708](https://github.com/sveltejs/svelte/issues/708) and [#714](https://github.com/sveltejs/svelte/issues/714))
1513* Ensure data is up-to-date when re-rendering yield block ([#711](https://github.com/sveltejs/svelte/issues/711))
1514* Fix unescaping of strings, preserve at-rules in CSS ([#712](https://github.com/sveltejs/svelte/issues/712))
1515* Preserve whitespace at end of each blocks ([#713](https://github.com/sveltejs/svelte/issues/713))
1516
1517## 1.25.1
1518
1519* Better CSS sourcemaps ([#716](https://github.com/sveltejs/svelte/pull/716))
1520
1521## 1.25.0
1522
1523* Fix hoisted event handlers ([#699](https://github.com/sveltejs/svelte/issues/699))
1524* Fire `intro.start` and `outro.start` events ([#702](https://github.com/sveltejs/svelte/issues/702))
1525* Preserve order of components in keyed each blocks ([#700](https://github.com/sveltejs/svelte/issues/700))
1526* Add `cssMap` property to compiler output ([#698](https://github.com/sveltejs/svelte/pull/698/))
1527
1528## 1.24.0
1529
1530* Deconflict names with imports in SSR compiler ([#655](https://github.com/sveltejs/svelte/issues/655))
1531* Improved transition performance ([#670](https://github.com/sveltejs/svelte/pull/670))
1532* Run transitions on initial render ([#651](https://github.com/sveltejs/svelte/issues/651))
1533* Add dev mode warning if `hydrate` is true but `hydratable` was false ([#664](https://github.com/sveltejs/svelte/issues/664))
1534* Manipulate sourcemap to make missing loop values obvious ([#683](https://github.com/sveltejs/svelte/pull/683))
1535* Only add CSS scoping attributes where necessary ([#679](https://github.com/sveltejs/svelte/issues/679))
1536* Warn on unused CSS selectors ([#678](https://github.com/sveltejs/svelte/issues/678))
1537* Fix `<select>` binding in loop ([#685](https://github.com/sveltejs/svelte/issues/685))
1538* Prevent bindings from calling `oncreate` functions prematurely ([#694](https://github.com/sveltejs/svelte/pull/694))
1539* Simpler codegen ([#673](https://github.com/sveltejs/svelte/pull/673))
1540
1541## 1.23.4
1542
1543* Don't recreate if blocks incorrectly ([#669](https://github.com/sveltejs/svelte/pull/669))
1544
1545## 1.23.3
1546
1547* Pass parameters to `get_block` ([#667](https://github.com/sveltejs/svelte/issues/667))
1548
1549## 1.23.2
1550
1551* Fix if blocks being recreated on update ([#665](https://github.com/sveltejs/svelte/issues/665))
1552
1553## 1.23.1
1554
1555* Fix each-else blocks that are empty on initial render ([#662](https://github.com/sveltejs/svelte/issues/662))
1556
1557## 1.23.0
1558
1559* Hydration ([#649](https://github.com/sveltejs/svelte/pull/649))
1560* Correctly transform CSS selectors with pseudo-elements ([#658](https://github.com/sveltejs/svelte/issues/658))
1561
1562## 1.22.5
1563
1564* Fix nested component unmounting bug ([#643](https://github.com/sveltejs/svelte/issues/643))
1565
1566## 1.22.4
1567
1568* Include `ast` in `svelte.compile` return value ([#632](https://github.com/sveltejs/svelte/issues/632))
1569* Set initial value of `<select>` binding, if unspecified ([#639](https://github.com/sveltejs/svelte/issues/639))
1570* Mark indirect dependencies of `<select>` bindings (i.e. the dependencies of their `<option>` values) ([#639](https://github.com/sveltejs/svelte/issues/639))
1571
1572## 1.22.3
1573
1574* Fix nested component unmounting bug ([#625](https://github.com/sveltejs/svelte/issues/625))
1575* Allow components to have computed member expression bindings ([#624](https://github.com/sveltejs/svelte/issues/624))
1576* Handle empty `<style>` tags ([#634](https://github.com/sveltejs/svelte/issues/634))
1577* Warn on missing component ([#623](https://github.com/sveltejs/svelte/issues/623))
1578* Allow dynamic `type` attribute for unbound inputs ([#620](https://github.com/sveltejs/svelte/issues/620))
1579* Rename `addEventListener` and `removeEventListener` directives ([#621](https://github.com/sveltejs/svelte/issues/621))
1580
1581## 1.22.2
1582
1583* Escape template strings correctly in SSR output ([#616](https://github.com/sveltejs/svelte/issues/616))
1584* Prevent magic-string deprecation warning ([#617](https://github.com/sveltejs/svelte/pull/617))
1585
1586## 1.22.1
1587
1588* Sanitise event handler names ([#612](https://github.com/sveltejs/svelte/issues/612))
1589
1590## 1.22.0
1591
1592* Symmetry between `mount` and `unmount`. This is potentially a breaking change if your components import other components that were precompiled with an earlier version of Svelte ([#592](https://github.com/sveltejs/svelte/issues/592))
1593* Add `cascade` option, which prevents styles affecting child components if `false`, unless selectors are wrapped in `:global(...)` and keyframe declaration IDs are prefixed with `-global-`. This will become the default behaviour in v2 ([#583](https://github.com/sveltejs/svelte/issues/583))
1594* Support binding to computed member expressions ([#602](https://github.com/sveltejs/svelte/issues/602))
1595* Coerce empty string in `number`/`range` inputs to `undefined`, not `0` ([#584](https://github.com/sveltejs/svelte/issues/584))
1596* Fix insert location of DOM elements in each/if/nested component edge cases ([#610](https://github.com/sveltejs/svelte/issues/610))
1597
1598## 1.21.0
1599
1600* Always use `helpers` if referenced, not just for call expressions ([#575](https://github.com/sveltejs/svelte/issues/575))
1601* Fix parsing of `<textarea>` children ([#599](https://github.com/sveltejs/svelte/pull/599))
1602* Treat `<textarea>` value attributes and children as equivalent, and fail validation if both are present ([#599](https://github.com/sveltejs/svelte/pull/599))
1603* Fix `<textarea>` SSR ([#599](https://github.com/sveltejs/svelte/pull/599))
1604* Apply CSS transition styles immediately if transition has delay ([#574](https://github.com/sveltejs/svelte/issues/574))
1605* Ensure `transitionManager` is treeshakeable ([#593](https://github.com/sveltejs/svelte/issues/593))
1606* Fix for environments where `node.style.animation` is undefined ([#587](https://github.com/sveltejs/svelte/issues/587))
1607* Fix order of operations when dealing with `<select>` elements ([#590](https://github.com/sveltejs/svelte/issues/590))
1608* Downgrade 'invalid callee' to a warning ([#579](https://github.com/sveltejs/svelte/issues/579))
1609* Convert to TypeScript ([#573](https://github.com/sveltejs/svelte/pull/573))
1610
1611## 1.20.2
1612
1613* Fix destruction of compound if-blocks with outros ([#572](https://github.com/sveltejs/svelte/pull/572))
1614
1615## 1.20.1
1616
1617* Fix insertion order of `if` blocks and their anchors ([#569](https://github.com/sveltejs/svelte/issues/569))
1618
1619## 1.20.0
1620
1621* Faster, better updates of keyed each blocks ([#373](https://github.com/sveltejs/svelte/issues/373), [#543](https://github.com/sveltejs/svelte/issues/543))
1622* Use element IDs to robustly track dynamically injected `<style>` tags ([#554](https://github.com/sveltejs/svelte/issues/554))
1623* Abort outros before corresponding intros ([#546](https://github.com/sveltejs/svelte/issues/546))
1624* Generate less code for `if` blocks with `else` blocks ([#540](https://github.com/sveltejs/svelte/issues/540))
1625* Ensure `{{yield}}` block content is injected into the right place ([#561](https://github.com/sveltejs/svelte/issues/561))
1626* Simpler, more readable codegen code ([#559](https://github.com/sveltejs/svelte/pull/559))
1627* Validate transition directives ([#564](https://github.com/sveltejs/svelte/issues/564))
1628* Apply delays to bidirectional transitions ([#562](https://github.com/sveltejs/svelte/issues/562))
1629* Handle all valid HTML entities ([#565](https://github.com/sveltejs/svelte/pull/565))
1630* Fix outros on compound `if` blocks ([#565](https://github.com/sveltejs/svelte/pull/565))
1631* Validation for `<:Window>` tags ([#565](https://github.com/sveltejs/svelte/pull/565))
1632* Increased test coverage ([#565](https://github.com/sveltejs/svelte/pull/565))
1633
1634## 1.19.1
1635
1636* Export `generateKeyframes`, so that CSS transitions work
1637
1638## 1.19.0
1639
1640* Experimental support for transitions ([#7](https://github.com/sveltejs/svelte/issues/7))
1641* Use `querySelector(':checked')` instead of `selectedOptions` ([#539](https://github.com/sveltejs/svelte/issues/539))
1642* Stringify helpers before bundling them, to avoid renaming errors ([#538](https://github.com/sveltejs/svelte/issues/538))
1643
1644## 1.18.2
1645
1646* Parenthesize if-block conditions ([#532](https://github.com/sveltejs/svelte/issues/532))
1647* Fix parsing of parenthesized expressions ([#534](https://github.com/sveltejs/svelte/issues/534))
1648* Fix error on `bind:checked` that doesn't belong to a checkbox input ([#529](https://github.com/sveltejs/svelte/pull/529))
1649
1650## 1.18.1
1651
1652* Allow `destroy()` in event handlers ([#523](https://github.com/sveltejs/svelte/issues/523))
1653* Fix bug with `{{yield}}` blocks following elements ([#524](https://github.com/sveltejs/svelte/issues/524))
1654
1655## 1.18.0
1656
1657* Visit `<select>` attributes after children, to ensure options are in the right state ([#521](https://github.com/sveltejs/svelte/pull/521))
1658* Use sibling elements as anchors rather than creating comment nodes wherever possible ([#3](https://github.com/sveltejs/svelte/issues/3))
1659
1660## 1.17.2
1661
1662* Replace bad characters when creating variable names based on element names ([#516](https://github.com/sveltejs/svelte/issues/516))
1663
1664## 1.17.1
1665
1666* Fixes for static each-else and yield blocks ([#509](https://github.com/sveltejs/svelte/issues/509)), ([#514](https://github.com/sveltejs/svelte/issues/514))
1667* Code generation tweaks ([#504](https://github.com/sveltejs/svelte/issues/504)), ([#507](https://github.com/sveltejs/svelte/issues/507))
1668
1669## 1.17.0
1670
1671* Add `currentTime`, `duration` and `paused` bindings for media elements ([#406](https://github.com/sveltejs/svelte/issues/406))
1672* Don't treat helpers as dependencies ([#492](https://github.com/sveltejs/svelte/issues/492))
1673* Allow `<:Window>` event handlers to access component state ([#497](https://github.com/sveltejs/svelte/pull/497))
1674* Allow two-way binding to properties named 'component' ([#495](https://github.com/sveltejs/svelte/issues/495))
1675* Group checkbox bindings correctly, to avoid erroneously unchecking siblings ([#498](https://github.com/sveltejs/svelte/issues/498))
1676* Validate two-way bindings ([#494](https://github.com/sveltejs/svelte/pull/494))
1677* Allow dynamic each-block to have static else-block ([#501](https://github.com/sveltejs/svelte/pull/501))
1678* Initialise `<select>` value correctly ([#502](https://github.com/sveltejs/svelte/pull/502))
1679
1680## 1.16.0
1681
1682* Better code generation ([#489](https://github.com/sveltejs/svelte/pull/489)), ([#490](https://github.com/sveltejs/svelte/pull/490)), ([#491](https://github.com/sveltejs/svelte/pull/491))
1683* Prevent binding blowback on initial render ([#488](https://github.com/sveltejs/svelte/pull/488))
1684
1685## 1.15.1
1686
1687* Clone data before merging it with state ([#479](https://github.com/sveltejs/svelte/issues/479))
1688* Apply binding event handlers before user event handlers ([#486](https://github.com/sveltejs/svelte/issues/486))
1689
1690## 1.15.0
1691
1692* Dev mode — downgrade 'missing data' to a warning, and ignore whitelisted globals ([#475](https://github.com/sveltejs/svelte/issues/475))
1693* Fix `<select>` value binding when options are updated late ([#476](https://github.com/sveltejs/svelte/issues/476))
1694* Throw at compile time if event handler references invalid callee ([#473](https://github.com/sveltejs/svelte/pull/473))
1695* Check for helper function purity ([#473](https://github.com/sveltejs/svelte/pull/473))
1696* Validate `namespace` option ([#473](https://github.com/sveltejs/svelte/pull/473))
1697
1698## 1.14.1
1699
1700* Replace bad characters when creating variable names based on attributes ([#470](https://github.com/sveltejs/svelte/issues/470))
1701
1702## 1.14.0
1703
1704* Better guard against naming conflicts ([#465](https://github.com/sveltejs/svelte/issues/465))
1705* Better error if getters and setters are used with `methods` ([#425](https://github.com/sveltejs/svelte/issues/425))
1706* Don't create whitespace nodes inside elements that can't use them ([#189](https://github.com/sveltejs/svelte/issues/189))
1707* Collapse consecutive `if` statements with the same condition ([#450](https://github.com/sveltejs/svelte/issues/450))
1708* Window `scroll` bindings are bidirectional ([#404](https://github.com/sveltejs/svelte/issues/404))
1709* Add `bind:online` to window ([#404](https://github.com/sveltejs/svelte/issues/404))
1710* In dev mode, throw if read-only properties are set ([#404](https://github.com/sveltejs/svelte/issues/404))
1711* Prevent conflicts with component name ([#464](https://github.com/sveltejs/svelte/pull/464))
1712* Ensure event handler names are deconflicted ([#466](https://github.com/sveltejs/svelte/issues/466))
1713
1714## 1.13.7
1715
1716* Fix observers — `defer: true` now triggers callback after DOM is updated ([#441](https://github.com/sveltejs/svelte/issues/441))
1717* Handle empty `computed` property ([#452](https://github.com/sveltejs/svelte/issues/452))
1718* Correctly bind one-way `<select>` value attributes with objects ([#423](https://github.com/sveltejs/svelte/issues/423))
1719* Hoist event handlers inside each blocks, where possible ([#456](https://github.com/sveltejs/svelte/pull/456))
1720* Don't bind event handler callbacks ([#433](https://github.com/sveltejs/svelte/issues/433))
1721* Internal refactoring and neater code generation ([#453](https://github.com/sveltejs/svelte/pull/453))
1722
1723## 1.13.6
1724
1725* Use `assign` helper instead of `Object.assign` for better performance and legacy compatibility ([#431](https://github.com/sveltejs/svelte/issues/431))
1726* Improved code generation ([#419](https://github.com/sveltejs/svelte/issues/419)), ([#440](https://github.com/sveltejs/svelte/issues/440)), ([#442](https://github.com/sveltejs/svelte/issues/442))
1727
1728## 1.13.5
1729
1730* Read `range` and `number` input values as numbers ([#436](https://github.com/sveltejs/svelte/issues/436))
1731* Better error for `bind:value='{{foo}}'` ([#437](https://github.com/sveltejs/svelte/issues/437))
1732
1733## 1.13.4
1734
1735* Prevent unclosed `<script>` tag causing infinite loop ([#435](https://github.com/sveltejs/svelte/pull/435))
1736
1737## 1.13.3
1738
1739* Correctly handle `{{true}}`, `{{false}}` and `{{null}}` ([#424](https://github.com/sveltejs/svelte/issues/424))
1740* Update `<select>` value attributes correctly ([#423](https://github.com/sveltejs/svelte/issues/423))
1741* Bind custom event handler callbacks ([#428](https://github.com/sveltejs/svelte/issues/428))
1742* Disallow `import root` ([#430](https://github.com/sveltejs/svelte/pull/430))
1743* Prevent component bindings mutating the wrong object ([#432](https://github.com/sveltejs/svelte/pull/432))
1744
1745## 1.13.2
1746
1747* Fix deep component bindings ([#420](https://github.com/sveltejs/svelte/issues/420))
1748* Include `css` property in compiler output ([#409](https://github.com/sveltejs/svelte/issues/409))
1749* Treat functions as mutable objects when recomputing ([#413](https://github.com/sveltejs/svelte/issues/413)
1750* Include magic-string in bundle ([#410](https://github.com/sveltejs/svelte/issues/410))
1751* Disable unneeded Bublé transformations for slimmer output ([#411](https://github.com/sveltejs/svelte/pull/411))
1752
1753## 1.13.1
1754
1755* Prevent infinite loops with pathological component bindings ([#398](https://github.com/sveltejs/svelte/issues/398))
1756* More robust deconflicting ([#401](https://github.com/sveltejs/svelte/pull/401))
1757
1758## 1.13.0
1759
1760* Add `<:Window>` meta tag with event listeners, and a handful of bindings ([#371](https://github.com/sveltejs/svelte/issues/371))
1761* Don't uncheck radios incorrectly ([#399](https://github.com/sveltejs/svelte/issues/399))
1762
1763## 1.12.1
1764
1765* Deconflict non-helper functions (`addCss` etc) ([#388](https://github.com/sveltejs/svelte/issues/388))
1766* Allow reserved words in tags, e.g. `{{class}}` ([#383](https://github.com/sveltejs/svelte/issues/383))
1767
1768## 1.12.0
1769
1770* Shorthand attributes — `<Widget :foo/>` is equivalent to `<Widget foo='{{foo}}'/>` ([#384](https://github.com/sveltejs/svelte/pull/384))
1771* Support `bind:group` for radio and checkbox inputs ([#311](https://github.com/sveltejs/svelte/issues/311), [#312](https://github.com/sveltejs/svelte/issues/312))
1772* Better sourcemap support for two-way bindings
1773
1774## 1.11.4
1775
1776* Dev mode warning for bad `component.observe` arguments ([#369](https://github.com/sveltejs/svelte/issues/369))
1777* Translate `component.on('teardown', ...)` to `component.on('destroy', ...)` and add dev warning ([#365](https://github.com/sveltejs/svelte/issues/365))
1778* Use shared prototype to save bytes ([#378](https://github.com/sveltejs/svelte/pull/378))
1779
1780## 1.11.3
1781
1782* Undo CSS behaviour change in 1.11.2 ([#372](https://github.com/sveltejs/svelte/issues/372))
1783* Pin version of css-tree ([#370](https://github.com/sveltejs/svelte/pull/370))
1784
1785## 1.11.2
1786
1787* Add component CSS to each document a component is rendered to ([#331](https://github.com/sveltejs/svelte/issues/331))
1788
1789## 1.11.1
1790
1791* Fix two-way binding for components inside `each` blocks ([#356](https://github.com/sveltejs/svelte/issues/356))
1792
1793## 1.11.0
1794
1795* Add `format: 'eval'` and `svelte.create`, to create components directly from source code ([#345](https://github.com/sveltejs/svelte/issues/345))
1796* Node 4 compatibility ([#109](https://github.com/sveltejs/svelte/issues/109))
1797
1798## 1.10.3
1799
1800* Prevent `'</script>'` string occurence breaking pages ([#349](https://github.com/sveltejs/svelte/pull/349))
1801* Allow reference to whitelisted globals without properties ([#333](https://github.com/sveltejs/svelte/pull/333))
1802* Don't remove `&nbsp;` incorrectly ([#348](https://github.com/sveltejs/svelte/issues/348))
1803* `let` -> `var` in `addCss` block ([#351](https://github.com/sveltejs/svelte/pull/351))
1804
1805## 1.10.2
1806
1807* Accept any case for doctype declarations ([#336](https://github.com/sveltejs/svelte/issues/336))
1808* Allow non-top-level `<script>` and `<style>` tags to pass through without processing ([#335](https://github.com/sveltejs/svelte/issues/335))
1809
1810## 1.10.1
1811
1812* typecheck argument in _set when in dev mode ([#342](https://github.com/sveltejs/svelte/issues/342))
1813* Prevent duplicate helpers in non-shared mode ([#337](https://github.com/sveltejs/svelte/issues/337))
1814
1815## 1.10.0
1816
1817* Component self-references with `<:Self/>` ([#51](https://github.com/sveltejs/svelte/issues/51))
1818* Two-way binding with `<select multiple>` ([#313](https://github.com/sveltejs/svelte/issues/313))
1819
1820## 1.9.1
1821
1822* Better error for malformed event handlers ([#220](https://github.com/sveltejs/svelte/issues/220))
1823* Allow function expressions in tags ([#269](https://github.com/sveltejs/svelte/issues/269))
1824
1825## 1.9.0
1826
1827* Add development warnings ([#13](https://github.com/sveltejs/svelte/issues/13)), ([#320](https://github.com/sveltejs/svelte/pull/320)), ([#177](https://github.com/sveltejs/svelte/issues/177)), ([#249](https://github.com/sveltejs/svelte/issues/249))
1828* Better error if parser encounters an unmatched closing tag ([#321](https://github.com/sveltejs/svelte/issues/321))
1829
1830## 1.8.1
1831
1832* Allow implicitly closed elements ([#318](https://github.com/sveltejs/svelte/pull/318))
1833* More informative error messages for unclosed elements/blocks ([#258](https://github.com/sveltejs/svelte/issues/258))
1834* Deprecate `onrender` and `onteardown` in favour of `oncreate` and `ondestroy` ([#40](https://github.com/sveltejs/svelte/issues/40))
1835
1836## 1.8.0
1837
1838* Prevent duplicate imports ([#308](https://github.com/sveltejs/svelte/issues/308))
1839* Use `input` events (not `change`) for all input elements other than `checkbox` and `radio`, and textareas ([#309](https://github.com/sveltejs/svelte/pull/309))
1840* Encapsulate keyframe declarations ([#245](https://github.com/sveltejs/svelte/issues/245))
1841
1842## 1.7.1
1843
1844* Deconflict imports and shared helpers ([#222](https://github.com/sveltejs/svelte/issues/222))
1845* Deconflict each-block contexts and reserved words ([#222](https://github.com/sveltejs/svelte/issues/222))
1846* Allow shorthand properties in expressions ([#296](https://github.com/sveltejs/svelte/issues/296))
1847
1848## 1.7.0
1849
1850* Include CSS AST in `svelte.parse` output ([#302](https://github.com/sveltejs/svelte/pull/302))
1851* Better handling of CSS parse errors ([#302](https://github.com/sveltejs/svelte/pull/302))
1852* Initialise `<select>` elements with two-way binding correctly ([#301](https://github.com/sveltejs/svelte/issues/301))
1853* Allow local context in component event handlers inside `each` blocks ([#290](https://github.com/sveltejs/svelte/issues/290))
1854* Fix two-way binding for components inside `each` blocks ([#290](https://github.com/sveltejs/svelte/issues/290))
1855
1856## 1.6.11
1857
1858* Initialise dynamic `<option>` value correctly ([#291](https://github.com/sveltejs/svelte/issues/291))
1859
1860## 1.6.10
1861
1862* Ensure `sources` and `sourcesContent` are populated in sourcemaps, even if none of the original code is used ([#295](https://github.com/sveltejs/svelte/pull/295))
1863* Add `outputFilename` option to populate `file` and `sources` sourcemap properties correctly ([#295](https://github.com/sveltejs/svelte/pull/295))
1864
1865## 1.6.9
1866
1867* Don't trigger bindings for torn-down components ([#277](https://github.com/sveltejs/svelte/issues/277))
1868* SSR: Handle two-way bindings ([#275](https://github.com/sveltejs/svelte/issues/275))
1869* Improve performance by checking data has changed before updates ([#279](https://github.com/sveltejs/svelte/pull/279))
1870* Parse CSS with css-tree to prevent transformation errors with unconventional styles ([#288](https://github.com/sveltejs/svelte/issues/288))
1871
1872## 1.6.8
1873
1874* Always trigger `onrender`, including when change initiator is a nested component ([#263](https://github.com/sveltejs/svelte/issues/263))
1875* Handle default function parameters in computations ([#274](https://github.com/sveltejs/svelte/issues/274))
1876
1877## 1.6.7
1878
1879* SSR: Fix apostrophes ([#267](https://github.com/sveltejs/svelte/issues/267))
1880* Add `xmlns` attributes to SVGs ([#262](https://github.com/sveltejs/svelte/pull/262))
1881
1882## 1.6.6
1883
1884* Omit text from comment anchors ([#247](https://github.com/sveltejs/svelte/issues/247))
1885* Handle `xlink` attributes ([#264](https://github.com/sveltejs/svelte/issues/264))
1886
1887## 1.6.5
1888
1889* Handle `<!doctype>` declarations ([#255](https://github.com/sveltejs/svelte/pull/255))
1890
1891## 1.6.4
1892
1893* Fix updates of yields inside each blocks ([20e1b05](https://github.com/sveltejs/svelte/commit/20e1b05c45dc9fcddfe2e7c5c9fc3109f0d45fa9))
1894* SSR: Handle attributes with values that begin with a number ([#248](https://github.com/sveltejs/svelte/issues/248))
1895* Handle multiline comments in CSS ([#252](https://github.com/sveltejs/svelte/issues/252))
1896
1897## 1.6.3
1898
1899* Fix `{{yield}}` bugs for components inside `if` and `each` blocks ([#230](https://github.com/sveltejs/svelte/issues/230), [#231](https://github.com/sveltejs/svelte/issues/231))
1900* Set attributes on `<svg>` elements correctly ([#233](https://github.com/sveltejs/svelte/issues/233))
1901* Add `svelte.VERSION` property to compiler
1902
1903## 1.6.2
1904
1905* Use helpers for `addEventListener`, `removeEventListener`, `setAttribute` ([#227](https://github.com/sveltejs/svelte/pull/227))
1906* Escape `sharedPath` ([#229](https://github.com/sveltejs/svelte/pull/229))
1907* Handle attributes with values that begin with a number ([#234](https://github.com/sveltejs/svelte/issues/234))
1908* Update dependencies
1909
1910## 1.6.1
1911
1912* SSR: Handle component directives at arbitrary positions ([#221](https://github.com/sveltejs/svelte/issues/221))
1913* Provide useful feedback on invalid void closing tag ([#224](https://github.com/sveltejs/svelte/issues/224))
1914
1915## 1.6.0
1916
1917* Replace `standalone: false` with `shared: true`, or `shared: 'custom/path/to/shared.js'` ([#218](https://github.com/sveltejs/svelte/issues/218))
1918* Include `shared.js` in package
1919
1920## 1.5.0
1921
1922* Implement `standalone: false` ([#9](https://github.com/sveltejs/svelte/issues/9))
1923* SSR: Handle component directives ([216](https://github.com/sveltejs/svelte/issues/216))
1924
1925## 1.4.0
1926
1927* Keyed `each` blocks ([#81](https://github.com/sveltejs/svelte/issues/81))
1928
1929## 1.3.1
1930
1931* Remove file extensions from AMD dependencies ([#144](https://github.com/sveltejs/svelte/issues/144))
1932* Throw if `options.name` is illegal ([#102](https://github.com/sveltejs/svelte/issues/102))
1933
1934## 1.3.0
1935
1936* SSR compiler: Support `format` option ([#196](https://github.com/sveltejs/svelte/issues/196))
1937* SSR compiler: Don't self-close 'normal' elements ([#200](https://github.com/sveltejs/svelte/issues/200))
1938* Remove leading spaces from scoped CSS ([#140](https://github.com/sveltejs/svelte/issues/140))
1939* Internal refactoring
1940
1941## 1.2.5
1942
1943* Allow whitelisted globals in templates ([#185](https://github.com/sveltejs/svelte/issues/185))
1944* Intercept parse errors with `options.onerror`
1945
1946## 1.2.4
1947
1948* SSR compiler: Implement `{{{triples}}}` ([#197](https://github.com/sveltejs/svelte/issues/197))
1949* SSR compiler: Escape HTML in tags ([#197](https://github.com/sveltejs/svelte/issues/197))
1950
1951## 1.2.3
1952
1953* Add support for `namespace` declaration for SVG (etc) components ([#147](https://github.com/sveltejs/svelte/issues/147))
1954* Throw error if methods or lifecycle hooks are arrow functions that use `this` or `arguments` ([#179](https://github.com/sveltejs/svelte/issues/179))
1955* Use `setAttribute()` for `list` attributes, to preserve link to `<datalist>` ([#178](https://github.com/sveltejs/svelte/issues/178))
1956* Throw error if default export is not an object literal ([#190](https://github.com/sveltejs/svelte/pull/190))
1957* Internal refactoring
1958
1959## 1.2.2
1960
1961* Omit directives in server-side rendering ([#163](https://github.com/sveltejs/svelte/issues/167))
1962* Handle comments in SSR ([#165](https://github.com/sveltejs/svelte/issues/165))
1963* Support calling methods of `event`/`this` in event handlers ([#162](https://github.com/sveltejs/svelte/issues/162))
1964* Remove `mount` from public API ([#150](https://github.com/sveltejs/svelte/issues/150))
1965
1966## 1.2.1
1967
1968* Server-side rendering is available as a compiler option (`generate: 'ssr'`) ([#159](https://github.com/sveltejs/svelte/pull/159))
1969* Allow call expressions where function is not in `helpers` ([#163](https://github.com/sveltejs/svelte/issues/163))
1970
1971## 1.2.0
1972
1973* Server-side rendering of HTML ([#148](https://github.com/sveltejs/svelte/pull/148)) and CSS ([#154](https://github.com/sveltejs/svelte/pull/154))
1974
1975## 1.1.3
1976
1977* Handle `xmlns` attributes correctly ([#142](https://github.com/sveltejs/svelte/issues/142))
1978* Error on duplicate `<style>`/`<script>` tags rather than failing silently ([#142](https://github.com/sveltejs/svelte/issues/142))
1979* Don't create whitespace text nodes inside SVG elements ([#142](https://github.com/sveltejs/svelte/issues/142))
1980* Require void elements to be lowercase, to eliminate confusion with components ([#137](https://github.com/sveltejs/svelte/issues/137))
1981
1982## 1.1.2
1983
1984* Deconflict variable names ([#88](https://github.com/sveltejs/svelte/issues/88), [#126](https://github.com/sveltejs/svelte/issues/126))
1985
1986## 1.1.1
1987
1988* Support multiple SVG elements in a component ([#130](https://github.com/sveltejs/svelte/issues/130))
1989
1990## 1.1.0
1991
1992* Separate fragment creation from `mount` ([#91](https://github.com/sveltejs/svelte/pull/91))
1993* Trigger `onrender` hook at correct time for nested components ([#103](https://github.com/sveltejs/svelte/pull/103))
1994* Fix keypath dynamic attributes in components ([#46](https://github.com/sveltejs/svelte/issues/46))
1995* Implement `{{yield}}` ([#112](https://github.com/sveltejs/svelte/pull/112))
1996* Optimise teardown ([#99](https://github.com/sveltejs/svelte/issues/99))
1997* Require computed properties to have at least one dependency ([#115](https://github.com/sveltejs/svelte/pull/115))
1998* Support `{{#each ...}}...{{else}}...{{/each}}` ([#90](https://github.com/sveltejs/svelte/issues/90))
1999* Triple mustaches ([#35](https://github.com/sveltejs/svelte/issues/35))
2000
2001## 1.0.7
2002
2003* Correctly escape HTML entities ([#85](https://github.com/sveltejs/svelte/issues/85))
2004
2005## 1.0.6
2006
2007* Generate useful sourcemaps ([#60](https://github.com/sveltejs/svelte/issues/60))
2008
2009## 1.0.5
2010
2011* Ensure compiler only generates ES5 code ([#75](https://github.com/sveltejs/svelte/issues/75))
2012* `get()` without arguments returns entire state object ([#73](https://github.com/sveltejs/svelte/issues/73))
2013
2014## 1.0.4
2015
2016* Handle empty attributes in elements and components ([#63](https://github.com/sveltejs/svelte/issues/63))
2017* Detach top-level text nodes inside departing each blocks ([#62](https://github.com/sveltejs/svelte/issues/62))
2018
2019## 1.0.3
2020
2021* Better generated code for `if` blocks, especially with `else`/`elseif` chains ([#28](https://github.com/sveltejs/svelte/pull/28))
2022* Trim unnecessary whitespace from `else`/`elseif` blocks ([#49](https://github.com/sveltejs/svelte/pull/49))
2023* Handle trailing comments in script tags ([#64](https://github.com/sveltejs/svelte/issues/64))
2024
2025## 1.0.2
2026
2027Set `style.cssText` rather than `style` ([#44](https://github.com/sveltejs/svelte/issues/44))
2028
2029## 1.0.1
2030
2031* Preserve SVG namespace inside each blocks
2032* Always use `setAttribute` with SVG elements
2033
2034## 1.0.0
2035
2036* Generate AMD, CJS, IIFE and UMD builds
2037* Correctly insert text nodes before anchors ([#31](https://github.com/sveltejs/svelte/pull/31))
2038
2039## 0.3.0
2040
2041* Fix bug where departing element would unset `ref` incorrectly ([#24](https://github.com/sveltejs/svelte/issues/24))
2042* Basic template validation ([#6](https://github.com/sveltejs/svelte/issues/6))
2043* Fire `onrender` hooks once component is in DOM ([#18](https://github.com/sveltejs/svelte/issues/18))
2044* Only detach nodes when necessary to do so ([#26](https://github.com/sveltejs/svelte/issues/26))
2045
2046## 0.2.2
2047
2048* On second thoughts, don't transpile build. Was only really for Uglify's benefit, which is daft
2049
2050## 0.2.1
2051
2052* Transpile build
2053
2054## 0.2.0
2055
2056* Only generate UMD build, for now
2057* Include dependencies in the build, treat as `devDependencies`
2058* Faster initial render
2059* Parent data overrides child defaults
2060* Remove top-level text nodes on teardown
2061* Handle `readUntil` errors in parser
2062* Basic `<select>` binding
2063* Handle missing data
2064* Prevent infinite set/observe loops
2065* Add `bind:foo` shorthand
2066* `else` and `elseif` blocks
2067* Hoist imports
2068
2069## 0.1.1
2070
2071* Support unquoted attributes
2072* Handle entities in attributes
2073* Inline nested components
2074* `fire` and `on` methods
2075
2076## 0.1.0
2077
2078* Breaking change – Svelte compiler now generates constructor functions rather than factories ([#2](https://github.com/sveltejs/svelte/issues/2))
2079* SVG support
2080
2081## 0.0.2
2082
2083* First release capable of building TodoMVC
2084
2085## 0.0.1
2086
2087* Just squatting on the package name