mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
14 KiB
14 KiB
Change Log
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. This change log is based upon keep-a-changelog.
master
Added
- Optimize inline script inside a tag
- Optimize string interpolation recursively
2.1.2 - 2015-12-16
Fixed
- Fix rendering failure for static integer #50. Thanks to @yatmsu
2.1.1 - 2015-12-15
Fixed
- Use faster HTML-escape method for compiling
- Show proper line number for unbalanced brackets error
2.1.0 - 2015-12-14
Added
-I
and-r
options are added tohamlit render
command #37. Thanks to @jhurliman
Changed
- Dropped obsolete
escape_utils
gem dependency #48. Thanks to @eagletmt
Fixed
- Accept NUL character in attribute keys #49. Thanks to @eagletmt
2.0.2 - 2015-12-12
Fixed
- Fix a crash in compiling with CLI #46. Thanks to @walf443
- Use default engine options properly in CLI commands
2.0.1 - 2015-11-30
Fixed
- Fix build failure of native extension
2.0.0 - 2015-11-30 [YANKED]
Added
- Support object reference
Changed
- 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
- Rendering is strongly optimized
- [breaking] Replaced parser with original Haml's one
- Incompatible parsing error will never happen, but we can no longer parse attributes with Ripper
- [breaking] 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
- [breaking] Added :escape_attrs option
- You should specify HTML-escaping availability for script and attrs separately.
1.7.2 - 2015-07-22
Fixed
- Bugfix about parsing a content of tag
- This was introduced in v1.6.6.
1.7.1 - 2015-07-21
Fixed
- Don't escape a block content of some helpers #35. Thanks to @felixbuenemann
1.7.0 - 2015-07-09
Added
- Support Ruby 2.2.0 hash syntax
- like
{ "hyphened-key": "value" }
- like
1.6.7 - 2015-06-27
Fixed
- Remove unused variables and avoid shadowing
- To suppress warnings in application using
rspec --warnings
- To suppress warnings in application using
1.6.6 - 2015-06-24
Added
- Allow hyphenated HTML-style attributes pull #29. thanks to @babelfish
1.6.5 - 2015-06-13
Fixed
- Don't duplicate element class and attribute class
- Raise an error for an empty tag name
1.6.4 - 2015-06-13
Changed
- Show human-friendly error messages
Fixed
- Fix line number of runtime syntax error
- Increase the number of checked cases for illegal nesting. Thanks to @eagletmt
1.6.3 - 2015-06-13
Fixed
- Fix ! and & parsing inside a tag #27. Thanks to @leesmith
1.6.2 - 2015-06-11
Fixed
- Reject a content for self-closing tags
- Reject nesing within self-closing tags
1.6.1 - 2015-06-11
Fixed
- Parse N-space indentation #26. Thanks to @eagletmt
1.6.0 - 2015-06-11
Fixed
- Fix line number of compiled code for new attributes
- Render HTML entities normally for plain text #27. Thanks to @jeffblake
1.5.9 - 2015-06-08
Fixed
- Reject silent script after a tag
1.5.8 - 2015-06-08
Fixed
- Fix parsing inline script for != and &=
1.5.7 - 2015-06-08
Fixed
- Fix the behavior for multi-line script
1.5.6 - 2015-06-07
Added
- Raise error for unbalanced brackets
Changed
- Don't render newline after block script
1.5.5 - 2015-06-07
Added
- Support &, &== operator
Changed
- Depend on v0.7.6 of temple for refactoring
Fixed
- Fix a trivial diff of rendering multiline operator
1.5.4 - 2015-06-07
Changed
- Recursively remove whitespace inside a tag
Fixed
- Fix ! operator immediately before whitespace
1.5.3 - 2015-06-06
Added
- Support !, !=, !==, &= and ~ as inline operators
1.5.2 - 2015-06-06
Changed
- Disable html escaping in CSS and JavaScript filter
1.5.1 - 2015-06-05
Changed
- Remove outer whitespace in the block
1.5.0 - 2015-06-03
Changed
- Remake implementation of outer whitespace removal
1.4.7 - 2015-06-03
Changed
- Sort static old attributes by name
Fixed
- Bugfix for old array attributes with class element
1.4.6 - 2015-06-03
Added
- Support
!==
,==
operator
Fixed
- Avoid regarding spaced block as multiline
1.4.5 - 2015-06-02
Fixed
- Support Ruby 2.0 and 2.1 for v1.4.4
1.4.4 - 2015-06-02 [YANKED]
Fixed
- Fix old attribute parser to be more flexible
- Accept multiple hashes as old attributes
- Accept old attributes with hash and literal
1.4.3 - 2015-06-02
Changed
- Allow
when
to have multiple candidates - Allow
rescue
to specify an error variable
1.4.2 - 2015-05-31
Added
- Support
!
operator- It disables html escaping for interpolated text
1.4.1 - 2015-05-31
Fixed
- Fix code mistake in 1.4.0
1.4.0 - 2015-05-31 [YANKED]
Added
- Escape interpolated string in plain text
1.3.2 - 2015-05-30
- Render
begin
,rescue
andensure
1.3.1 - 2015-05-30
Fixed
- Bugfix about a backslash-only comment
- Don't strip a plain text
1.3.0 - 2015-05-16
Added
- Resurrect escape_html option
#25.
Thanks to @resistorsoftware
- Still enabled by default
- This has been dropped since v0.6.0
1.2.1 - 2015-05-15
Fixed
- Fix the list of boolean attributes #24. Thanks to @jeffblake
1.2.0 - 2015-05-06
Added
- Support
succeed
,precede
andsurround
#22. Thanks to @sneakernets
1.1.1 - 2015-05-06
Fixed
- Bugfix of rendering array attributes
1.1.0 - 2015-05-06
Fixed
- Join id and class attributes #23. Thanks to @felixbuenemann
1.0.0 - 2015-04-12
Added
- Use escape_utils gem for faster escape_html
0.6.2 - 2015-04-12
Fixed
- Don't render falsy attributes #2. Thanks to @eagletmt
0.6.1 - 2015-04-12
Fixed
- Bugfix of line numbers for better error backtrace pull #19
0.6.0 - 2015-04-12
Added
- Automatically escape html in all situations pull #18
0.5.3 - 2015-04-12
Fixed
- Bugfix for syntax error in data attribute hash #17. Thanks to @eagletmt
0.5.2 - 2015-04-12
Fixed
- Bugfix for silent script without block #16. Thanks to @eagletmt
0.5.1 - 2015-04-12
Fixed
- Bugfix about duplicated id and class #4. Thanks to @os0x
0.5.0 - 2015-04-12
Fixed
- Escape special characters in attribute values #10. Thanks to @mono0x, @eagletmt
0.4.3 - 2015-04-12
Fixed
- Allow empty else statement #14. Thanks to @jeffblake
- Accept comment-only script #13. Thanks to @jeffblake
0.4.2 - 2015-04-05
Fixed
- Bugfix about parsing nested attributes #12. Thanks to @creasty
0.4.1 - 2015-04-05
Removed
- Automatic escape html is sintara, consult
README.md
.
Fixed
- Escape haml operators by backslash #11. Thanks to @mono0x
0.4.0 - 2015-04-05 [YANKED]
Added
- Automatically escape html in sinatra
0.3.4 - 2015-04-02
Fixed
- Allow tab indentation #9. Thanks to @tdtds
0.3.3 - 2015-04-01
Fixed
- Accept multi byte parsing #8. Thanks to @machu
0.3.2 - 2015-03-31
Fixed
- Bugfix for compiling old attributes #7. Thanks to @creasty
0.3.1 - 2015-03-31
Fixed
- Hyphenate data attributes #5. Thanks to @os0x
0.3.0 - 2015-03-31
Added
- Specify a version in dependency of temple
0.2.0 - 2015-03-30
Added
- Allow comments in script #3. Thanks to @eagletmt
0.1.3 - 2015-03-30
Fixed
- Bugfix for #1 attribute nesting on runtime. Thanks to @eagletmt
0.1.2 - 2015-03-30
Fixed
- Ignore false or nil values in attributes
- Partial fix for #2. Thanks to @eagletmt
0.1.1 - 2015-03-30
Removed
- Drop obsolete
--ugly
option for CLI- Currently pretty mode is not implemented #2
0.1.0 - 2015-03-30
- Initial release
- Passing haml-spec with ugly mode