All Versions
605
Latest Version
Avg Release Cycle
8 days
Latest Release
955 days ago

Changelog History
Page 31

  • v4.15.0 Changes

    ๐Ÿ“„ The most notable change here is to the <for>, <macro> and <await> core tags. These tags previously each relied on custom syntax to implement an API that was not possible to do in userland when they were introduced. Generic solutions for these problems has arrived in the form of attribute tags and tag parameters.

    ๐Ÿ“š With these new features in place and currently available in userland we set out to normalize these existing tags, hopefully making the learning process for Marko a little easier, and also promoting the use of these new features. We've also spent time formalizing some best practices, and highlighting this new syntax in the documentation on the markojs.com website.

    ๐Ÿ“ฆ The existing syntax will continue to be supported until Marko 5 and will currently log a deprecation warning. For these deprecations and most others you can automatically migrate existing code using the marko migrate cli tool.

    • ๐Ÿ“š Updated documentation with guides and changes to syntax/core tags. #1260
    • ๐Ÿ“„ Modernize the <for> tag. #1238
    • ๐Ÿ“„ Modernize the <await> tag. #1244
    • ๐Ÿ“„ Modernize the <macro> tag. #1227
    • ๐Ÿ—„ Deprecated legacy top level imports (jquery/ready) and compiler option tags (recommended to use marko.json instead). #1258
    • ๐Ÿ‘ Modern arguments support for the dynamic tag. #1259
    • ๐Ÿ‘Œ Improves parsing inside of the <html-comment> tag to support the same style of content as actual html comments. #1261
    • ๐Ÿ’… Ignore only whitespace content inside of concise mode tags (including class and style) which would previously error. #1256
    • ๐Ÿ›  Fixes a regression with passing a string literal as a ${dynamic} attribute and add a deprecation warning. #1257
  • v4.15.x

  • v4.14.25 Changes

    • ๐Ÿ›  Fix regression with non standard template literals ("stuff ${placeholder}") that have escaped content such as newlines #1254
  • v4.14.24 Changes

    • ๐Ÿ›  Fix regression in <await> that caused flushing to not occur in all cases #1252
  • v4.14.23 Changes

    • ๐Ÿ›  Fix warning that "marko" was using deprecated features. #1250
    • ๐Ÿ‘Œ Improve code optimization for conditional @nested tags. #1249
  • v4.14.22 Changes

    • ๐Ÿ›  Fix issue with no-update not moving preserved items #1247.
    • ๐Ÿ›  Fix regression with include tag migration where <include(data())> has side effects. #1246
    • ๐Ÿ”ง Treat importing tags the same as using them in the template (uses load api instead of require when configured). #1245
    • Gracefully handle async client-reorder when nodes are missing during hydrate. #1243
  • v4.14.21 Changes

  • v4.14.20 Changes

    • โž• Add new <tag|params|> support and migrator for old syntax/flag #1236
    • โœ‚ Remove unneeded deprecation warning when using component within a template #1235
  • v4.14.19 Changes

    • ๐Ÿ›  Fixes walking into some AST nodes which was causing some migrations to not be as effective #1233
  • v4.14.18 Changes

    • ๐Ÿ›  Fixes #1230 - regression with include tag migration outputing invalid identifiers #1231
    • โž• Add migration for legacy nested tag syntax #1129