All Versions
307
Latest Version
Avg Release Cycle
6 days
Latest Release
25 days ago

Changelog History
Page 3

  • v3.15.0

    November 18, 2019
    • Hide commented sections from preprocessors (#3894)
    • ➕ Add seeking and ended bindings to media elements (#3650)
    • ➕ Add videoWidth and videoHeight bindings to video elements (#3927)
    • 🛠 Fix for dynamic event handlers (#3934)
    • 🖐 Handle scale transforms when using the flip animation (#3555)
    • 🛠 Fix some code generation bugs (#3929, #3939)
    • ➕ Add aria-hidden="true" to objects generated when adding resize-listeners, to improve accessibility (#3948)
  • v3.14.1

    November 13, 2019
    • Deconflict block method names with other variables (#3900)
    • 🛠 Fix entity encoding issue in text nodes with constant expressions (#3911)
    • ⚠ Make code for unknown prop warnings compatible with older js engines (#3914)
  • v3.14.0

    November 11, 2019
    • ➕ Add loopGuardTimeout option that augments for/while loops to prevent infinite loops, primarily for use in the REPL (#3887)
    • 🔀 Keep component bindings in sync when changed in reactive statements (#3382)
    • ⚡️ Update attributes before bindings (#3857)
    • Prevent variable naming conflict (#3899)
  • v3.13.0

    November 10, 2019
    • 🆕 New structured code generation, which eliminates a number of edge cases and obscure bugs (#3539)

    Also:

    • 🛠 Fix {#each} context not shadowing outer scope when using bind: (#1565)
    • 🛠 Fix edge cases in matching selectors against elements (#1710)
    • 🛠 Fix several bugs related to interaction of {...spread} attributes with other features (#2721, #2916, #3421, #3681, #3764, #3790)
    • 👍 Allow exiting a reactive block early with break $ (#2828)
    • 🛠 Fix binding to props that have been renamed with export { ... as ... } (#3508)
    • 🛠 Fix application of style scoping class in cases of ambiguity (#3544)
    • Check attributes have changed before setting them to avoid image flicker (#3579)
    • 🛠 Fix generating malformed code for {@debug} tags with no dependencies (#3588)
    • 🛠 Fix generated code in specific case involving compound ifs and child components (#3595)
    • 🛠 Fix bind:this binding to a store (#3591)
    • 👉 Use safer HTMLElement check before extending class (#3608)
    • ➕ Add location as a known global (#3619)
    • 👌 Support {#await} with {:catch} but no {:then} (#3623)
    • Clean up dead code emitted for <slot/>s (#3631)
    • 🛠 Fix tracking of dependencies of compound assignments in reactive statements (#3634)
    • Flush changes in newly attached block when using {#await} (#3660)
    • 👻 Throw exception immediately when calling createEventDispatcher() after component instantiation (#3667)
    • 🛠 Fix globals shadowing contextual template scope (#3674)
    • 🛠 Fix <svelte:window> bindings to stores (#3832)
    • Deconflict generated var names with builtins (#3724)
    • 👍 Allow spring/tweened values to be initially undefined (#3761)
    • Warn if using <svelte:options tag="..."> without customElement: true option (#3782)
    • ➕ Add Event to list of known globals (#3810)
    • Throw helpful error on empty CSS declaration (#3801)
    • 👌 Support easing param on fade transition (#3823)
    • Generate valid names from filenames with unicode characters (#3845)
    • Don't generate any code for markup-less components (#2200)
    • Deconflict with internal name block (#3854)
    • Set attributes before bindings, to prevent erroneous assignments to input.files (#3828)
    • Smarter unused CSS detection (#3825)
    • 👍 Allow dynamic event handlers (#3040)
    • Prevent erroneous "undefined" class name (#3876)
    • Prevent resetting of src attribute unless changed (#3579)
    • Prevent hydration of void element 'children' (#3882)
    • Hoist globals even if mentioned in <script> block (#3745)
  • v3.12.1

    September 10, 2019
    • Escape @ symbols in props, again (#3545)
  • v3.12.0

    • Fire events on document in development to facilitate dev tooling (#3005)
    • ✂ Remove old props when the keys in spread props are removed (#2282)
  • v3.11.0

    • $capture_state and $inject_state HMR hooks in dev mode (#3148)
    • 👍 Allow unclosed tags inside if/each/etc blocks (#2807)
    • Invalidate unreferenced store values inside <script> (#3537)
    • 🖨 Print null text when hydrating (#3379)
  • v3.10.1

    • Preserve reactivity inside if block heads etc (#3512)
    • 🛠 Fix store bindings inside each blocks (#3455)
    • Generate correct code for if-else blocks with static conditions (#3505)
    • ⚡️ Avoid generating unnecessary component update code (#3526)
    • 👉 Make bind:currentTime more reliable (#3524)
    • Prevent errors when setting spread props on SVG elements (#3522)
  • v3.10.0

    • ➕ Add blur transition (#3477)
    • Prevent <input type="number"> edge case with spread props (#3426)
    • Robustify cyclical dependency detection, improve errors (#3459)
  • v3.9.2

    • 🛠 Fix handling of additional @-rules in style blocks (#2995)
    • 🛠 Fix if blocks with complex but static conditions (#3447)