Haml v2.2.21 Release Notes

  • Tagged on GitHub.

    • ๐Ÿ›  Fix a few bugs in the git-revision-reporting in Haml::Version. In particular, it will still work if git gc has been called recently, or if various files are missing.

    • Always use __FILE__ when reading files within the Haml repo in the Rakefile. According to this bug report, this should make Haml work better with Bundler.

    • ๐Ÿ‘‰ Make the error message for - end a little more intuitive based on user feedback.

    • Compatibility with methods like form_for that return strings rather than concatenate to the template in Rails 3.

    • Add a {Haml::Helpers#with_tabs with_tabs} helper, which sets the indentation level for the duration of a block.