Changelog History
-
v1.2.1 Changes
November 30, 2019 -
v1.2.0 Changes
July 14, 2018 -
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
Thanks to all contributors!
-
v1.0.0 Changes
June 19, 2017๐ Meet the all-new PEG based parser
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 byeex
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