mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
6.8 KiB
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.
- Replaced parser with original Haml's one
- Rendering is strongly optimized
v1.7.2
- Bugfix about parsing a content of tag
- This was introduced in v1.6.6.
v1.7.1
- Don't escape a block content of some helpers
- https://github.com/k0kubun/hamlit/issues/35
- Thanks to @felixbuenemann
v1.7.0
- Support Ruby 2.2.0 hash syntax
- like
{ "hyphened-key": "value" }
- like
v1.6.7
- Remove unused variables and avoid shadowing
- To suppress warnings in application using
rspec --warnings
- To suppress warnings in application using
v1.6.6
- Allow hyphenated HTML-style attributes
- https://github.com/k0kubun/hamlit/pull/29
- Thanks to @babelfish
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
- Fix ! and & parsing inside a tag
- https://github.com/k0kubun/hamlit/issues/27#issuecomment-111593458
- Thanks to @leesmith
v1.6.2
- Reject a content for self-closing tags
- Reject nesing within self-closing tags
v1.6.1
- Parse N-space indentation
- https://github.com/k0kubun/hamlit/issues/26
- Thanks to @eagletmt
v1.6.0
- Fix line number of compiled code for new attributes
- Render HTML entities normally for plain text
- https://github.com/k0kubun/hamlit/issues/27
- Thanks to @jeffblake
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
andensure
v1.3.1
- Bugfix about a backslash-only comment
- Don't strip a plain text
v1.3.0
- Resurrect escape_html option
- Still enabled by default
- This has been dropped since v0.6.0
- https://github.com/k0kubun/hamlit/issues/25
- Thanks to @resistorsoftware
v1.2.1
- Fix the list of boolean attributes
- https://github.com/k0kubun/hamlit/issues/24
- Thanks to @jeffblake
v1.2.0
- Support
succeed
,precede
andsurround
- https://github.com/k0kubun/hamlit/issues/22
- Thanks to @sneakernets
v1.1.1
- Bugfix of rendering array attributes
v1.1.0
- Join id and class attributes
- https://github.com/k0kubun/hamlit/issues/23
- Thanks to @felixbuenemann
v1.0.0
- Use escape_utils gem for faster escape_html
v0.6.2
- Don't render falsy attributes
- https://github.com/k0kubun/hamlit/issues/2
- Thanks to @eagletmt
v0.6.1
- Bugfix of line numbers for better error backtrace
v0.6.0
- Automatically escape html in all situations
v0.5.3
- Bugfix for syntax error in data attribute hash
- https://github.com/k0kubun/hamlit/issues/17
- Thanks to @eagletmt
v0.5.2
- Bugfix for silent script without block
- https://github.com/k0kubun/hamlit/issues/16
- Thanks to @eagletmt
v0.5.1
- Bugfix about duplicated id and class
- https://github.com/k0kubun/hamlit/issues/4
- Thanks to @os0x
v0.5.0
- Escape special characters in attribute values
- https://github.com/k0kubun/hamlit/issues/10
- Thanks to @mono0x, @eagletmt
v0.4.3
- Allow empty else statement
- https://github.com/k0kubun/hamlit/issues/14
- Thanks to @jeffblake
- Accept comment-only script
- https://github.com/k0kubun/hamlit/issues/13
- Thanks to @jeffblake
v0.4.2
- Bugfix about parsing nested attributes
- https://github.com/k0kubun/hamlit/issues/12
- Thanks to @creasty
v0.4.1
- Escape haml operators by backslash
- https://github.com/k0kubun/hamlit/issues/11
- Thanks to @mono0x
v0.4.0 (yanked)
- Automatically escape html in sinatra
- This behavior is not compatible with Haml.
- Removed from next version.
v0.3.4
- Allow tab indentation
- https://github.com/k0kubun/hamlit/issues/9
- Thanks to @tdtds
v0.3.3
- Accept multi byte parsing
- https://github.com/k0kubun/hamlit/issues/8
- Thanks to @machu
v0.3.2
- Bugfix for compiling old attributes
- https://github.com/k0kubun/hamlit/issues/7
- Thanks to @creasty
v0.3.1
- Hyphenate data attributes
- https://github.com/k0kubun/hamlit/issues/5
- Thanks to @os0x
v0.3.0
- Specify a version in dependency of temple
v0.2.0
- Allow comments in script
- https://github.com/k0kubun/hamlit/issues/3
- Thanks to @eagletmt
v0.1.3
- Bugfix for attribute nesting on runtime
- https://github.com/k0kubun/hamlit/issues/1
- Thanks to @eagletmt
v0.1.2
- Ignore false or nil values in attributes
- Partial fix for https://github.com/k0kubun/hamlit/issues/2
- Thanks to @eagletmt
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.