1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/CHANGELOG.md
2015-12-01 23:19:53 +09:00

460 lines
13 KiB
Markdown

# Change Log
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org/). This change log is based upon
[keep-a-changelog](https://github.com/olivierlacan/keep-a-changelog).
## [HEAD]
- No changes
## [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
- [**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](REFERENCE.md#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](https://github.com/k0kubun/hamlit/issues/35). *Thanks to @felixbuenemann*
## [1.7.0] - 2015-07-09
### Added
- Support Ruby 2.2.0 hash syntax
- like `{ "hyphened-key": "value" }`
## [1.6.7] - 2015-06-27
### Fixed
- Remove unused variables and avoid shadowing
- To suppress warnings in application using `rspec --warnings`
## [1.6.6] - 2015-06-24
### Added
- Allow hyphenated HTML-style attributes
[pull #29](https://github.com/k0kubun/hamlit/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](https://github.com/k0kubun/hamlit/issues/27#issuecomment-111593458).
*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](https://github.com/k0kubun/hamlit/issues/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](https://github.com/k0kubun/hamlit/issues/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` and `ensure`
## [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](https://github.com/k0kubun/hamlit/issues/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](https://github.com/k0kubun/hamlit/issues/24). *Thanks to @jeffblake*
## [1.2.0] - 2015-05-06
Added
- Support `succeed`, `precede` and `surround`
[#22](https://github.com/k0kubun/hamlit/issues/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](https://github.com/k0kubun/hamlit/issues/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](https://github.com/k0kubun/hamlit/issues/2). *Thanks to @eagletmt*
## [0.6.1] - 2015-04-12
### Fixed
- Bugfix of line numbers for better error backtrace
[pull #19](https://github.com/k0kubun/hamlit/pull/19)
## [0.6.0] - 2015-04-12
### Added
- Automatically escape html in all situations
[pull #18](https://github.com/k0kubun/hamlit/pull/18)
## [0.5.3] - 2015-04-12
### Fixed
- Bugfix for syntax error in data attribute hash
[#17](https://github.com/k0kubun/hamlit/issues/17). *Thanks to @eagletmt*
## [0.5.2] - 2015-04-12
### Fixed
- Bugfix for silent script without block
[#16](https://github.com/k0kubun/hamlit/issues/16). *Thanks to @eagletmt*
## [0.5.1] - 2015-04-12
### Fixed
- Bugfix about duplicated id and class
[#4](https://github.com/k0kubun/hamlit/issues/4). *Thanks to @os0x*
## [0.5.0] - 2015-04-12
### Fixed
- Escape special characters in attribute values
[#10](https://github.com/k0kubun/hamlit/issues/10). *Thanks to @mono0x,
@eagletmt*
## [0.4.3] - 2015-04-12
### Fixed
- Allow empty else statement [#14](https://github.com/k0kubun/hamlit/issues/14).
*Thanks to @jeffblake*
- Accept comment-only script [#13](https://github.com/k0kubun/hamlit/issues/13).
*Thanks to @jeffblake*
## [0.4.2] - 2015-04-05
### Fixed
- Bugfix about parsing nested attributes
[#12](https://github.com/k0kubun/hamlit/issues/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](https://github.com/k0kubun/hamlit/issues/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](https://github.com/k0kubun/hamlit/issues/9).
*Thanks to @tdtds*
## [0.3.3] - 2015-04-01
### Fixed
- Accept multi byte parsing [#8](https://github.com/k0kubun/hamlit/issues/8).
*Thanks to @machu*
## [0.3.2] - 2015-03-31
### Fixed
- Bugfix for compiling old attributes [#7](https://github.com/k0kubun/hamlit/issues/7).
*Thanks to @creasty*
## [0.3.1] - 2015-03-31
### Fixed
- Hyphenate data attributes [#5](https://github.com/k0kubun/hamlit/issues/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](https://github.com/k0kubun/hamlit/issues/3).
*Thanks to @eagletmt*
## [0.1.3] - 2015-03-30
### Fixed
- Bugfix for [#1](https://github.com/k0kubun/hamlit/issues/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](https://github.com/k0kubun/hamlit/issues/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
[0.1.0]: https://github.com/k0kubun/hamlit/compare/9cf8216...v0.1.0
[0.1.1]: https://github.com/k0kubun/hamlit/compare/v0.1.0...v0.1.1
[0.1.2]: https://github.com/k0kubun/hamlit/compare/v0.1.1...v0.1.2
[0.1.3]: https://github.com/k0kubun/hamlit/compare/v0.1.2...v0.1.3
[0.2.0]: https://github.com/k0kubun/hamlit/compare/v0.1.3...v0.2.0
[0.3.0]: https://github.com/k0kubun/hamlit/compare/v0.2.0...v0.3.0
[0.3.1]: https://github.com/k0kubun/hamlit/compare/v0.3.0...v0.3.1
[0.3.2]: https://github.com/k0kubun/hamlit/compare/v0.3.1...v0.3.2
[0.3.3]: https://github.com/k0kubun/hamlit/compare/v0.3.2...v0.3.3
[0.3.4]: https://github.com/k0kubun/hamlit/compare/v0.3.3...v0.3.4
[0.4.0]: https://github.com/k0kubun/hamlit/compare/v0.3.4...v0.4.0
[0.4.1]: https://github.com/k0kubun/hamlit/compare/v0.4.0...v0.4.1
[0.4.2]: https://github.com/k0kubun/hamlit/compare/v0.4.1...v0.4.2
[0.4.3]: https://github.com/k0kubun/hamlit/compare/v0.4.2...v0.4.3
[0.5.0]: https://github.com/k0kubun/hamlit/compare/v0.4.3...v0.5.0
[0.5.1]: https://github.com/k0kubun/hamlit/compare/v0.5.0...v0.5.1
[0.5.2]: https://github.com/k0kubun/hamlit/compare/v0.5.1...v0.5.2
[0.5.3]: https://github.com/k0kubun/hamlit/compare/v0.5.2...v0.5.3
[0.6.0]: https://github.com/k0kubun/hamlit/compare/v0.5.3...v0.6.0
[0.6.1]: https://github.com/k0kubun/hamlit/compare/v0.6.0...v0.6.1
[0.6.2]: https://github.com/k0kubun/hamlit/compare/v0.6.1...v0.6.2
[1.0.0]: https://github.com/k0kubun/hamlit/compare/v0.6.2...v1.0.0
[1.1.0]: https://github.com/k0kubun/hamlit/compare/v1.0.0...v1.1.0
[1.1.1]: https://github.com/k0kubun/hamlit/compare/v1.1.0...v1.1.1
[1.2.0]: https://github.com/k0kubun/hamlit/compare/v1.1.1...v1.2.0
[1.2.1]: https://github.com/k0kubun/hamlit/compare/v1.2.0...v1.2.1
[1.3.0]: https://github.com/k0kubun/hamlit/compare/v1.2.1...v1.3.0
[1.3.1]: https://github.com/k0kubun/hamlit/compare/v1.3.0...v1.3.1
[1.3.2]: https://github.com/k0kubun/hamlit/compare/v1.3.1...v1.3.2
[1.4.0]: https://github.com/k0kubun/hamlit/compare/v1.3.2...v1.4.0
[1.4.1]: https://github.com/k0kubun/hamlit/compare/v1.4.0...v1.4.1
[1.4.2]: https://github.com/k0kubun/hamlit/compare/v1.4.1...v1.4.2
[1.4.3]: https://github.com/k0kubun/hamlit/compare/v1.4.2...v1.4.3
[1.4.4]: https://github.com/k0kubun/hamlit/compare/v1.4.3...v1.4.4
[1.4.5]: https://github.com/k0kubun/hamlit/compare/v1.4.4...v1.4.5
[1.4.6]: https://github.com/k0kubun/hamlit/compare/v1.4.5...v1.4.6
[1.4.7]: https://github.com/k0kubun/hamlit/compare/v1.4.6...v1.4.7
[1.5.0]: https://github.com/k0kubun/hamlit/compare/v1.4.7...v1.5.0
[1.5.1]: https://github.com/k0kubun/hamlit/compare/v1.5.0...v1.5.1
[1.5.2]: https://github.com/k0kubun/hamlit/compare/v1.5.1...v1.5.2
[1.5.3]: https://github.com/k0kubun/hamlit/compare/v1.5.2...v1.5.3
[1.5.4]: https://github.com/k0kubun/hamlit/compare/v1.5.3...v1.5.4
[1.5.5]: https://github.com/k0kubun/hamlit/compare/v1.5.4...v1.5.5
[1.5.6]: https://github.com/k0kubun/hamlit/compare/v1.5.5...v1.5.6
[1.5.7]: https://github.com/k0kubun/hamlit/compare/v1.5.6...v1.5.7
[1.5.8]: https://github.com/k0kubun/hamlit/compare/v1.5.7...v1.5.8
[1.5.9]: https://github.com/k0kubun/hamlit/compare/v1.5.8...v1.5.9
[1.6.0]: https://github.com/k0kubun/hamlit/compare/v1.5.9...v1.6.0
[1.6.1]: https://github.com/k0kubun/hamlit/compare/v1.6.0...v1.6.1
[1.6.2]: https://github.com/k0kubun/hamlit/compare/v1.6.1...v1.6.2
[1.6.3]: https://github.com/k0kubun/hamlit/compare/v1.6.2...v1.6.3
[1.6.4]: https://github.com/k0kubun/hamlit/compare/v1.6.3...v1.6.4
[1.6.5]: https://github.com/k0kubun/hamlit/compare/v1.6.4...v1.6.5
[1.6.6]: https://github.com/k0kubun/hamlit/compare/v1.6.5...v1.6.6
[1.6.7]: https://github.com/k0kubun/hamlit/compare/v1.6.6...v1.6.7
[1.7.0]: https://github.com/k0kubun/hamlit/compare/v1.6.7...v1.7.0
[1.7.1]: https://github.com/k0kubun/hamlit/compare/v1.7.0...v1.7.1
[1.7.2]: https://github.com/k0kubun/hamlit/compare/v1.7.1...v1.7.2
[2.0.0]: https://github.com/k0kubun/hamlit/compare/v1.7.2...v2.0.0
[2.0.1]: https://github.com/k0kubun/hamlit/compare/v2.0.0...v2.0.1
[HEAD]: https://github.com/k0kubun/hamlit/compare/v2.0.1...HEAD