1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Document more changes in CHANGELOG

This commit is contained in:
Takashi Kokubun 2022-09-28 07:58:09 +09:00
parent 0ab98ecea4
commit 9de23ca5cb
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -16,11 +16,13 @@ Released on September 21, 2022
* Replace the implementation with Hamlit
* Haml 6 is about 1.7x faster than Haml 5 in [this benchmark](benchmark/slim/run-benchmarks.rb).
* The parser is kept as is, but everything else is replaced.
* The interface of `Haml::Engine` is changed. You would like to use `Haml::Template` instead.
* The `haml` CLI interface was also replaced.
* Most Haml helpers are removed.
* On Rails, only `find_and_reserve`, `preserve`, `surround`, `precede`, `succeed`, and `capture_haml` are left.
* On Tilt, only `preserve` is left.
* All Haml helpers except for `preserve` are removed.
* Only the attributes in [`Haml::AttributeBuilder::BOOLEAN_ATTRIBUTES`](lib/haml/attribute_builder.rb)
are handled as boolean attributes.
* Some legacy Rails integration is removed.
## 5.2.2