Skip to content

Commit d9bbc3b

Browse files
committedMar 7, 2023
Bump to v4.0.1
1 parent bb514fe commit d9bbc3b

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed
 

‎CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
## [4.0.1] - 2023-03-07
10+
11+
### Changed
12+
13+
- We now keep blank lines around in the source template. (Multiple blank lines are squished down to a single blank line.)
14+
- We now actually parse the Ruby code written in `%=` tags. This fixed a couple of bugs and allows us to better format the output. For example, `%p= 1+1` will now be formatted as `%p= 1 + 1`. If the output fails to parse it falls back to the previous behavior of just printing the Ruby code as-is.
15+
916
## [4.0.0] - 2023-03-07
1017

1118
### Changed
@@ -86,7 +93,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
8693

8794
- 🎉 Initial release! 🎉
8895

89-
[unreleased]: https://github.com/ruby-syntax-tree/syntax_tree-haml/compare/v3.0.0...HEAD
96+
[unreleased]: https://github.com/ruby-syntax-tree/syntax_tree-haml/compare/v4.0.1...HEAD
97+
[4.0.1]: https://github.com/ruby-syntax-tree/syntax_tree-haml/compare/v4.0.0...v4.0.1
98+
[4.0.0]: https://github.com/ruby-syntax-tree/syntax_tree-haml/compare/v3.0.0...v4.0.0
9099
[3.0.0]: https://github.com/ruby-syntax-tree/syntax_tree-haml/compare/v2.0.0...v3.0.0
91100
[2.0.0]: https://github.com/ruby-syntax-tree/syntax_tree-haml/compare/v1.3.2...v2.0.0
92101
[1.3.2]: https://github.com/ruby-syntax-tree/syntax_tree-haml/compare/v1.3.1...v1.3.2

‎Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
syntax_tree-haml (4.0.0)
4+
syntax_tree-haml (4.0.1)
55
haml (>= 5.2)
66
prettier_print (>= 1.0.0)
77
syntax_tree (>= 6.0.0)

‎lib/syntax_tree/haml/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module SyntaxTree
44
module Haml
5-
VERSION = "4.0.0"
5+
VERSION = "4.0.1"
66
end
77
end

0 commit comments

Comments
 (0)
Please sign in to comment.