mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
parent
ab040edbe9
commit
f9643d6c11
1 changed files with 9 additions and 2 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -34,8 +34,15 @@ Released on September 21, 2022
|
||||||
* The `haml` CLI interface was also replaced.
|
* The `haml` CLI interface was also replaced.
|
||||||
* The interface of `Haml::Engine` is changed. `Haml::Template` is most likely what you need now.
|
* The interface of `Haml::Engine` is changed. `Haml::Template` is most likely what you need now.
|
||||||
* Most Haml helpers are removed.
|
* Most Haml helpers are removed.
|
||||||
* On Rails, only `find_and_reserve`, `preserve`, `surround`, `precede`, `succeed`, and `capture_haml` are left.
|
* Rails:
|
||||||
* On Tilt, only `preserve` is left.
|
* Kept: `find_and_reserve`, `preserve`, `surround`, `precede`, `succeed`, `capture_haml`
|
||||||
|
* Removed: `block_is_haml?`, `flatten`, `haml_concat`, `haml_indent`, `haml_tag`, `haml_tag_if`, `html_attrs`,
|
||||||
|
`html_escape`, `init_haml_helpers`, `is_haml?`, `list_of`, `non_haml`, `tab_down`, `tab_up`, `with_tabs`
|
||||||
|
* Tilt:
|
||||||
|
* Kept: `preserve`
|
||||||
|
* Removed: `block_is_haml?`, `capture_haml`, `escape_once`, `find_and_preserve`, `flatten`, `haml_concat`,
|
||||||
|
`haml_indent`, `haml_tag`, `haml_tag_if`, `html_attrs`, `html_escape`, `init_haml_helpers`, `is_haml?`,
|
||||||
|
`list_of`, `non_haml`, `precede`, `succeed`, `surround`, `tab_down`, `tab_up`, `with_tabs`
|
||||||
* Only the attributes in [`Haml::AttributeBuilder::BOOLEAN_ATTRIBUTES`](lib/haml/attribute_builder.rb)
|
* Only the attributes in [`Haml::AttributeBuilder::BOOLEAN_ATTRIBUTES`](lib/haml/attribute_builder.rb)
|
||||||
are handled as boolean attributes.
|
are handled as boolean attributes.
|
||||||
* Some legacy Rails integration is removed.
|
* Some legacy Rails integration is removed.
|
||||||
|
|
Loading…
Reference in a new issue