# Svelte changelog ## 1.42.0 * Implement `indeterminate` binding for checkbox inputs ([#910](https://github.com/sveltejs/svelte/issues/910)) * Use `` children as `value` attribute if none exists ([#928](https://github.com/sveltejs/svelte/issues/928)) * Allow quoted property names in default export and sub-properties ([#914](https://github.com/sveltejs/svelte/issues/914)) * Various improvements to generated code for bindings ## 1.41.4 * Handle self-destructive bindings ([#917](https://github.com/sveltejs/svelte/issues/917)) * Prevent `innerHTML` with `` elements ([#915](https://github.com/sveltejs/svelte/issues/915)) * Use `dataset` unless `legacy` is true ([#858](https://github.com/sveltejs/svelte/issues/858)) * Add `prepare` script to facilitate installing from git ([#923](https://github.com/sveltejs/svelte/pull/923)) ## 1.41.3 * Prevent argument name clashes ([#911](https://github.com/sveltejs/svelte/issues/911)) * Fix UMD factory arguments ([#918](https://github.com/sveltejs/svelte/pull/918)) * Don't attempt to set computed values ([#893](https://github.com/sveltejs/svelte/issues/893)) * Fix TypeScript build error ([#919](https://github.com/sveltejs/svelte/issues/919)) ## 1.41.2 * Handle attribute selectors with no value ([#905](https://github.com/sveltejs/svelte/issues/905)) * Retain `async` keyword when extracting functions ([#904](https://github.com/sveltejs/svelte/issues/904)) * Shallow clone `data` on initialisation ([#891](https://github.com/sveltejs/svelte/pull/891)) ## 1.41.1 * Fix updates of destructured each blocks ([#897](https://github.com/sveltejs/svelte/pull/897)) * Don't warn on `options.*` event handler callee ([#900](https://github.com/sveltejs/svelte/pull/900)) ## 1.41.0 * `onwarn` and `onerror` receive default handlers as second arguments ([#883](https://github.com/sveltejs/svelte/pull/883)) * Recognise `muted` as boolean property on `` elements ([#886](https://github.com/sveltejs/svelte/pull/886)) * Array destructuring for `each` block contexts ([#889](https://github.com/sveltejs/svelte/pull/889)) ## 1.40.2 * Ignore `@apply` and similar in CSS ([#871](https://github.com/sveltejs/svelte/issues/871)) * Properly escape CSS in custom elements ([#872](https://github.com/sveltejs/svelte/issues/872)) ## 1.40.1 * Always use explicit closing tags with `innerHTML` ([#866](https://github.com/sveltejs/svelte/issues/866)) * Escape text in `textContent` and `innerHTML` expressions ([#868](https://github.com/sveltejs/svelte/issues/868)) ## 1.40.0 * Short fragment method names ([#863](https://github.com/sveltejs/svelte/pull/863)) * Extract declarations out of default export ([#756](https://github.com/sveltejs/svelte/issues/756)) ## 1.39.4 * Extract shared init logic ([#855](https://github.com/sveltejs/svelte/pull/855)) * Allow `console.*` calls in event handlers ([#782](https://github.com/sveltejs/svelte/issues/782)) * Marker comments in output ([#823](https://github.com/sveltejs/svelte/issues/823)) * Use `textContent` and `innerHTML` where appropriate ([#23](https://github.com/sveltejs/svelte/issues/23)) * Various improvements to generated code ## 1.39.3 * Allow `slot='...'` inside custom elements ([#827](https://github.com/sveltejs/svelte/issues/827)) * Disallow `slot='...'` inside if/each blocks ([#849](https://github.com/sveltejs/svelte/issues/849)) * Use correct parent node for slotted if blocks ([#850](https://github.com/sveltejs/svelte/issues/850)) ## 1.39.2 * Escape CSS in shadow DOM ([#840](https://github.com/sveltejs/svelte/issues/840)) * Fix missing anchor bug inside SVG elements ([#843](https://github.com/sveltejs/svelte/issues/843)) ## 1.39.1 * Always use anchors for slotted content ([#822](https://github.com/sveltejs/svelte/issues/822)) * Prevent ES6 in helpers ([#838](https://github.com/sveltejs/svelte/issues/838)) * Correctly determine whether to use `timeRangesToArray` ([#837](https://github.com/sveltejs/svelte/pull/837)) ## 1.39.0 * Always attach fragment to shadow root ([#821](https://github.com/sveltejs/svelte/issues/821)) * Add `buffered`, `seekable`, `played` bindings to media elements ([#819](https://github.com/sveltejs/svelte/pull/819)) * Quote `class` properties in legacy mode ([#830](https://github.com/sveltejs/svelte/issues/830)) * Warn on missing `lang` attribute on `` ([#828](https://github.com/sveltejs/svelte/pull/828)) ## 1.38.0 * Compile-time a11y warnings ([#815](https://github.com/sveltejs/svelte/pull/815)) * Remove redundant input blowback guards ([#645](https://github.com/sveltejs/svelte/issues/645)) * Use component name in debugging messages ([#781](https://github.com/sveltejs/svelte/issues/781)) ## 1.37.0 * Experimental support for compiling to custom elements ([#797](https://github.com/sveltejs/svelte/issues/797)) ## 1.36.0 * Optimize `style` attributes where possible ([#455](https://github.com/sveltejs/svelte/issues/455)) ## 1.35.0 * `set` and `get` continue to work until `destroy` is complete ([#788](https://github.com/sveltejs/svelte/issues/788)) * Observers of unchanged bound values don't fire incorrectly ([#804](https://github.com/sveltejs/svelte/issues/804)) * Nested components with slotted content render correctly in SSR mode ([#801](https://github.com/sveltejs/svelte/issues/801)) * More efficient rendering of raw and slotted content ([#637](https://github.com/sveltejs/svelte/issues/637)) * Handle unquoted attributes in attribute selectors ([#798](https://github.com/sveltejs/svelte/issues/798)) ## 1.34.0 * Support nested `` elements ([#790](https://github.com/sveltejs/svelte/issues/790)) * Attach `options` to instance ([#550](https://github.com/sveltejs/svelte/issues/550), [#777](https://github.com/sveltejs/svelte/issues/777)) * Error if transitions are applied to component ([#791](https://github.com/sveltejs/svelte/issues/791)) * Handle CSS variables in `