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