All Versions
9
Latest Version
Avg Release Cycle
169 days
Latest Release
693 days ago

Changelog History

  • v1.2.1 Changes

    November 30, 2019
    • โšก๏ธ Update dependencies
    • Only generate grammar on changes (#158)
    • ๐Ÿ‘Œ Support for attribute lists (#157)
  • v1.2.0 Changes

    July 14, 2018

    ๐Ÿ†• New Features

    • ๐Ÿ‘ Allow dots in attribute names

    Full changes list

    Thanks to all contributors!

  • v1.1.0 Changes

    November 17, 2017

    ๐Ÿ†• New features

    • Wrapped attributes can now be spanned over multiple lines
    • ๐Ÿ‘ Allow unescaped output with == and #{{}}

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed some dialyzer and compiler warnings
    • ๐Ÿ›  Fix windows-style line endings handling
    • Leading spaces of verbatim text are not stripped out
    • ๐Ÿ‘ Allow leading blank lines in templates

    Full changes list

    Thanks to all contributors!

  • v1.0.0 Changes

    June 19, 2017

    ๐Ÿ“œ Meet the all-new PEG based parser

    Full changes list

    Thanks to all contributors! Special thanks to @little-bobby-tables

    ๐Ÿ’ฅ Breaking Changes

    ๐Ÿ‘ Mixing inline and nested children is no longer supported:

    p Inline
      span Nested
    

    This will now produce <p>Inline span Nested</p>
    instead of <p>Inline<span>Nested</span></p>.
    ๐Ÿ’Ž This is the expected behavior in ruby-slim.

    Embedded engine developers should handle dynamic code blocks in render/2.
    First argument of engine's render method is now a list of binaries and dynamic parts in the
    form of {:eex, binary}

    ๐Ÿ‘ IE conditional comments are no longer supported #127

    Possible symbols for tag shortcuts is now limited to this:
    ., #, @, $, %, ^, &, +, ! plus any valid tag name

    ๐Ÿ”‹ Features & Fixes

    • ๐Ÿ‘Œ Improved support for code in attributes, for example:

      script src=static_path(@conn, "/js/zepto.min.js")

    is handled now #115

    • ๐Ÿ‘Œ Support for multiple inline-tags in one line #122
    • ๐Ÿ‘Œ Improved support for interpolation in text blocks. It is now possible to use helpers like Phoenix.HTML.raw/1 inside #{} interpolation to avoid escaping by eex engine #130
    • โž• Added support for leading and trailing whitespaces in elixir output #120
    • Multiline comments #126
    • ๐Ÿท Support new config options: default_tag, sort_attrs
  • v0.16 Changes

    September 22, 2016

    ๐Ÿ”– Version 0.16 changes:

    • Target Elixir 1.3 and greater
    • โšก๏ธ Update dependencies
    • โœ‚ Remove CR from parsed documents
  • v0.15 Changes

    August 15, 2016

    ๐Ÿ”– Version 0.15 changes:

    • ๐Ÿ”ง Configurable attribute list delimiter
    • ๐Ÿ›  Fixed Elixir 1.3 warnings
    • Replaced Dogma with Credo (development)
  • v0.14 Changes

    June 27, 2016

    ๐Ÿ”– Version 0.14 changes:

    • ๐Ÿ‘Œ Support for embedded engines (think: javascript).
    • ๐Ÿ›  Fixed missing OTP application
    • โž• Added keep_lines option for debugging
  • v0.13 Changes

    April 12, 2016

    ๐Ÿ”– Version 0.13 changes:

    ๐Ÿ‘Œ Support for multi-line Elixir statements

  • v0.12.2 Changes

    March 20, 2016

    ๐Ÿ”– Version 0.12.2 changes:

    • ๐Ÿ›  Fix bug with attribute ordering
    • Empty lines no longer create divs