haml--haml/CHANGELOG.md

6.8 KiB

v2.0.0

  • Full scratch of internal implementation
    • Rendering is strongly optimized
      • Static analyzer is introduced
      • Built with C extension for runtime rendering
      • Optimized compilation for 5 types of attributes
    • Compilation became faster too
    • Many rendering incompatibilities are resolved
    • Object reference support
    • Breaking changes:
      • Replaced parser with original Haml's one
        • Incompatible parsing error will never happen, but we can no longer parse attributes with Ripper
      • Unified behavior for both static and dynamic attributes, see 5 types of attributes
        • Though inconsistent behavior is removed, we can no longer rely on completely-Haml-compatible behavior of static attributes and pass haml-spec
      • Added :escape_attrs option
        • You should specify HTML-escaping availability for script and attrs separately.

v1.7.2

  • Bugfix about parsing a content of tag
    • This was introduced in v1.6.6.

v1.7.1

v1.7.0

  • Support Ruby 2.2.0 hash syntax
    • like { "hyphened-key": "value" }

v1.6.7

  • Remove unused variables and avoid shadowing
    • To suppress warnings in application using rspec --warnings

v1.6.6

v1.6.5

  • Don't duplicate element class and attribute class
  • Raise an error for an empty tag name

v1.6.4

  • Show human-friendly error messages
  • Fix line number of runtime syntax error
  • Increase the number of checked cases for illegal nesting
    • Thanks to @eagletmt

v1.6.3

v1.6.2

  • Reject a content for self-closing tags
  • Reject nesing within self-closing tags

v1.6.1

v1.6.0

v1.5.9

  • Reject silent script after a tag

v1.5.8

  • Fix parsing inline script for != and &=

v1.5.7

  • Fix the behavior for multi-line script

v1.5.6

  • Raise error for unbalanced brackets
  • Don't render newline after block script

v1.5.5

  • Support &, &== operator
  • Depend on v0.7.6 of temple for refactoring
  • Fix a trivial diff of rendering multiline operator

v1.5.4

  • Recursively remove whitespace inside a tag
  • Fix ! operator immediately before whitespace

v1.5.3

  • Support !, !=, !==, &= and ~ as inline operators

v1.5.2

  • Disable html escaping in CSS and JavaScript filter

v1.5.1

  • Remove outer whitespace in the block

v1.5.0

  • Remake implementation of outer whitespace removal

v1.4.7

  • Sort static old attributes by name
  • Bugfix for old array attributes with class element

v1.4.6

  • Support !==, == operator
  • Avoid regarding spaced block as multiline

v1.4.5

  • Support Ruby 2.0 and 2.1 for v1.4.4

v1.4.4 (yanked)

  • Fix old attribute parser to be more flexible
    • Accept multiple hashes as old attributes
    • Accept old attributes with hash and literal

v1.4.3

  • Allow when to have multiple candidates
  • Allow rescue to specify an error variable

v1.4.2

  • Support ! operator
    • It disables html escaping for interpolated text

v1.4.1

  • Fix code mistake in 1.4.0

v1.4.0 (yanked)

  • Escape interpolated string in plain text

v1.3.2

  • Render begin, rescue and ensure

v1.3.1

  • Bugfix about a backslash-only comment
  • Don't strip a plain text

v1.3.0

v1.2.1

v1.2.0

v1.1.1

  • Bugfix of rendering array attributes

v1.1.0

v1.0.0

  • Use escape_utils gem for faster escape_html

v0.6.2

v0.6.1

v0.6.0

v0.5.3

v0.5.2

v0.5.1

v0.5.0

v0.4.3

v0.4.2

v0.4.1

v0.4.0 (yanked)

  • Automatically escape html in sinatra
    • This behavior is not compatible with Haml.
    • Removed from next version.

v0.3.4

v0.3.3

v0.3.2

v0.3.1

v0.3.0

  • Specify a version in dependency of temple

v0.2.0

v0.1.3

v0.1.2

v0.1.1

  • Drop obsolete --ugly option for CLI
    • Currently pretty mode is not implemented.

v0.1.0

  • Initial release
    • Passing haml-spec with ugly mode.