All Versions
Latest Version
Avg Release Cycle
7 days
Latest Release
17 days ago

Changelog History
Page 33

  • v4.13.2 Changes

    • ๐Ÿ‘ Allow discovering tags where the template name matches the directory name #1117:
  • v4.13.1 Changes

    • โœ‚ Remove es2015 features from runtime. #1115
  • v4.13.0 Changes

    PR #1094

    Introducing HTMLFragment

    • โšก๏ธ Updates the diffing algorithm to use an HTMLFragment node as an abstraction rather than keeping track of startNode and endNode all throughout the diffing algorithm.
    • ๐Ÿ’ป Uses the HTMLFragment for the <${dynamic}> tag and <include> tags to preserve server-rendered content for which the renderBody is not available in the browser.

    ๐Ÿ”„ Changes to keys

    • Component ids are based on the resulting parent tree (not the owner tree). This means we cannot rely on the ids in the global lookup, so component key/refs are now also stored on the component instance.
    • ๐Ÿ›  Autokeyed elements are now stored on the parent rather than the owner. User assigned key/refs are still stored on the owner component. Because of this, user assigned keys are now prefixed to differentiate them from autokeys. This also has the benefit that assigning numeric keys can no longer conflict with the autokeys.
    • Static node trees are now only auto assigned a key for the top-level node (instead of all nodes). This is because:
      • When updating, only the top-level node is considered.
      • When static nodes are hoisted out of the render method, they are not associated with the owner component

    ๐Ÿ”„ Changes to Hydration

    • Server comment starting markers now have the component's key serialized so the component can be attached to its owner
    • Server comment markers no longer have the id on the closing marker, it is stack based.
    • Normalize differences between hydration and client-rendering, so post mount the DOM looks the same regardless of whether a component was server or client rendered.
  • v4.13.x

  • v4.12.4 Changes

    • Don't render invalid attribute names on the server #1103
  • v4.12.3 Changes

    • โœ‚ Removes extra parentheses in output javascript for expressions that Marko does not understand.
  • v4.12.2 Changes

    • ๐Ÿ›  Fixes automatic keying of elements/components in for() attribute loops
  • v4.12.1 Changes

    • ๐Ÿ›  Fix #1022 - transcluded keys don't match, stateful component not preserved #1086
  • v4.12.0 Changes

    • ๐Ÿท Tag params #1076
    • ๐Ÿ’… Style arrays #1082
    • ๐Ÿ›  Fix #1075 - cannot compile dynamic tag at root with user key #1081
    • ๐Ÿ›  Fix #1078 - mutating spread attributes #1080
  • v4.12.x