Skip to content

Releases: slime-lang/slime

v1.3.1

08 Jun 16:38
0b6b3a4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.3.1

Version 1.3.0

01 Dec 22:29
24f5a7f
Compare
Choose a tag to compare
v1.3.0

chore: upgrade setup

Version 1.2.1

30 Nov 19:49
Compare
Choose a tag to compare
  • Update dependencies
  • Only generate grammar on changes (#158)
  • Support for attribute lists (#157)

Version 1.2.0

14 Jul 05:05
Compare
Choose a tag to compare

New Features

  • Allow dots in attribute names

Full changes list

Thanks to all contributors!

Version 1.1.0

17 Nov 19:11
Compare
Choose a tag to compare

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!

Version 1.0.0

19 Jun 19:05
Compare
Choose a tag to compare

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

Version 0.16.0

22 Sep 03:03
Compare
Choose a tag to compare

Version 0.16 changes:

  • Target Elixir 1.3 and greater
  • Update dependencies
  • Remove CR from parsed documents

Version 0.15

15 Aug 14:35
Compare
Choose a tag to compare

Version 0.15 changes:

  • Configurable attribute list delimiter
  • Fixed Elixir 1.3 warnings
  • Replaced Dogma with Credo (development)

Version 0.14

27 Jun 18:01
Compare
Choose a tag to compare

Version 0.14 changes:

  • Support for embedded engines (think: javascript).
  • Fixed missing OTP application
  • Added keep_lines option for debugging

Version 0.13

12 Apr 15:56
Compare
Choose a tag to compare

Version 0.13 changes:

Support for multi-line Elixir statements