* Fri Dec 08 2017 mmeister@suse.com
- updated to version 3.0.9
see installed CHANGES
* Tue May 23 2017 coolo@suse.com
- updated to version 3.0.8
see installed CHANGES
3.0.8 (2017-05-06)
* Added splat_prefix configuration option for Angular2 syntax support
* Require Ruby >= 2.0.0
* Relax temple dependency
* Sun May 22 2016 coolo@suse.com
- updated to version 3.0.7
see installed CHANGES
3.0.7 (2016-05-22)
* Add additional attributes feature to shortcuts
* Freeze string literals
* Fri Jun 12 2015 coolo@suse.com
- updated to version 3.0.6
see installed CHANGES
3.0.6 (2015-06-05)
* Fix warnings #625
* Wed Jun 03 2015 coolo@suse.com
- updated to version 3.0.4
see installed CHANGES
* Sat Mar 07 2015 coolo@suse.com
- updated to version 3.0.3
* Mon Feb 09 2015 coolo@suse.com
- updated to version 3.0.2
* slimrb: Add option --locals
* Fix issues in the test suite (#576), thanks @dmke!
3.0.1
* Allow more special characters in html attribute names (See https://html.spec.whatwg.org/multipage/syntax.html#attributes-2), #567
* Fix: Code attributes mutate their argument (#571)
3.0.0
* Drop 1.8.7 support
* Deprecate default_options in favor of options
* Support xml pretty printing with format: :xml
* Deprecate `='`, `=='` and `tag'` syntax for trailing whitespace. Use `=<` etc. instead.
* slimrb: Remove deprecated plugin options -l and -t
2.1.0
* Parser: Require pairwise braces in quoted attributes
* Parser: add :attr_list_delims and :code_attr_delims
* Parser: deprecate :attr_delims
* Parser: relax text indentation requirements:
| line
next line
tag some text
more text
* Parser: allow first line to be indented
* Parser: allow inline embedded languages:
.content: markdown: This is **important**
* Parser: allow line breaks in quoted attributes
* Added Opal as embedded engine
* slimrb: Change meaning of -r, deprecate -t and -l
* Fix issue with inserted end (#485)
* Add experimental 'slim/include' plugin (Might change in the future)
* Add experimental 'slim/smart' plugin (Might change in the future)
* Drop jruby18 support
* Fix rails error reporting #587 (Manipulate stacktrace)
* Mon Nov 03 2014 tboerger@suse.com
- Added last missing bits for new macros
* Mon Oct 13 2014 adrian@suse.de
- adapt to new rubygem packaging style
* Thu Oct 31 2013 coolo@suse.com
- updated to version 2.0.2
* Add option :attr_delims
* Wed Jul 31 2013 coolo@suse.com
- updated to version 2.0.1
* Support multiple attributes per shortcut (See issue #415)
* Add support for org-ruby embedded engine
* Render true boolean attributes with empty value
* Support case-when statements
* Fix issue #431
* Also escape ' to '
2.0.0
* IMPORTANT: Backward incompatible syntax change: '{...}' and '[...]' are not
allowed as ruby attribute wrappers anymore. Use parentheses '(...)'
if you want to wrap code with spaces. This allows to write arrays and hashes directly.
Old:
div id={'obj' + name} data=({:a => 1, :b => 2}) class=['alpha', 'beta']
New:
div id=('obj' + name) data={:a => 1, :b => 2} class=['alpha', 'beta']
* Quoted attributes are escaped by default
Old:
a href='http://slim-lang.com/?a=1&b=2'
New:
a href='http://slim-lang.com/?a=1&b=2'
a href=='http://slim-lang.com/?a=1&b=2'
You can always disable escaping completly by using :disable_escape if you don't want to write '=='.
* Added hyphenation support for data attributes (Option :hyphen_attrs)
Example: div data={key1_key2: 2, key1: {key3: 3}} will render as '<div data-key1-key2="2" data-key1-key3="3"></div>'
* Removed deprecated options:
- :escape_quoted_attrs
- :remove_empty_attrs
- :chain
- :attr_wrapper (renamed to :attr_quote)
- :attr_delimiter (renamed to :merge_attrs)
- Slim::LogicLess :wrapped dictionary
- Slim::Parser :shortcut string option
* Allow spaces around attributes, e.g 'a [ href = url ] text' and 'a href = url text'
* Add unicode support for tags and attributes (Issue #212)
* Generate missing `do` keywords for code blocks (see #342)
* Logic-less: Add keyword `self` for string access
* Added Slim::ERBConverter, require 'slim/erb_converter'
* Added option '-e' for ERB conversion to slimrb
* Add syntax for trailing or leading whitespace after tag, e.g. input>, input<
* Add syntax for trailing or leading whitespace after output, e.g. =>, =<
* Fri Apr 12 2013 coolo@suse.com
- updated to version 1.3.8
* Disable some superflous deprecation warnings
* Fixed issue #374, rescue and ensure blocks
* Fixed issue #333 (Throw syntax error if you write text after closed tag)
* Deprecated :attr_delimiter (renamed to :merge_attrs)
* Deprecated :attr_wrapper (renamed to :attr_quote)
* Warn if you use curly braces or brackets for ruby attributes since
curly braces and brackets will be interpreted as Hash/Array in Slim 2.0.0
Old syntax:
div id={person && person.id}
div id=[person && person.id]
New syntax in 2.0.0:
div id=(person && person.id)
* Deprecated :escape_quoted_attrs (done by default in 2.0)
* Warn if quoted attributes might be double escaped in Slim 2.0.0
Old syntax:
a href='http://slim-lang.com/?a=1&b=2'
a href=='http://slim-lang.com/?a=1&b=2'
New syntax in 2.0.0:
a href='http://slim-lang.com/?a=1&b=2'
a href=='http://slim-lang.com/?a=1&b=2'
* Improved pretty printing (Issue #202)
* Renamed Slim::EmbeddedEngine to Slim::Embedded (Old constant still available until 2.0)
* Renamed Slim::ControlStructures to Slim::Controls
* Tab expansion improved (tab + space is interpreted as equivalent to tab)
* Support for wrapping javascript in HTML comments or CDATA (Issue #340)
* Sun Mar 03 2013 coolo@suse.com
- initial package (version 1.3.6)