<commit_before># Haml Changelog

## 3.2.0 (Unreleased)

* HTML2Haml has been extracted to a separate gem, creatively named "html2haml".

* Haml now supports only Rails 3 and above, and Ruby 1.8.7 and above. If you
  still need support for Rails 2 and Ruby 1.8.6, please use Haml 3.1.x which
  will continue to be maintained for bug fixes.

* Added `remove_whitespace` option to always remove all whitespace around Haml
  tags. (thanks to [<NAME>](https://github.com/vdh))

* Haml now flattens deeply nested data attribute hashes. For example:

  `.foo{:data => {:a => "b", :c => {:d => "e", :f => "g"}}}`

  would render to:

  `<div class='foo' data-a='b' data-c-d='e' data-c-f='g'></div>`

  (thanks to [<NAME>](https://github.com/koszta))

* Filters that rely on third-party template engines are now implemented using
  [Tilt](github.com/rtomayko/tilt). Several new filters have been added, namely
  SCSS (:scss), LessCSS, (:less), and Coffeescript (:coffee/:coffeescript).

  Though the list of "official" filters is kept intentionally small, Haml comes
  with a helper method that makes adding support for other Tilt-based template
  engines trivial.

  As of 3.2, Haml will also ship with a "haml-contrib" gem that includes useful<commit_msg>More changelog updates<commit_after># Haml Changelog

## 3.2.0 (Unreleased)

* HTML2Haml has been extracted to a separate gem, creatively named "html2haml".

* Haml's internals have been refactored to move the parser, compiler and options
  handling into independent classes, rather than including them all in the
  Engine module.

* The :sass filter now wraps its output in a script tag, as do the new :less and
  :scss filters. The :coffee filter wraps its output in a script tag.

* Haml now supports only Rails 3 and above, and Ruby 1.8.7 and above. If you
  still need support for Rails 2 and Ruby 1.8.6, please use Haml 3.1.x which
  will continue to be maintained for bug fixes.

* Added `remove_whitespace` option to always remove all whitespace around Haml
  tags. (thanks to [<NAME>](https://github.com/vdh))

* Haml now flattens deeply nested data attribute hashes. For example:

  `.foo{:data => {:a => "b", :c => {:d => "e", :f => "g"}}}`

  would render to:

  `<div class='foo' data-a='b' data-c-d='e' data-c-f='g'></div>`

  (thanks to [<NAME>](https://github.com/koszta))

* Filters that rely on third-party template engines are now implemented using
  [Tilt](github.com/rtomayko/tilt). Several new filters have been added, namely
  SCSS (:scss), LessCSS, (:less), and Coffeescript (:coffee/:coffeescript).

  Though the list of "official" filters is kept intentionally small, Haml comes
  with a helper method that makes adding support for other Tilt-based template
  engines trivial.

  As of 3.2, Haml will also ship with a "haml-contrib" gem that includes useful
{'fraction_non_alphanumeric': 0.11197456729071, 'fraction_numerical': 0.012009890498057224, 'mean_word_length': 3.9859154929577465, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 21, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1716748', 'n_tokens_mistral': 951, 'n_tokens_neox': 888, 'n_words': 379}