diff --git a/CHANGELOG.md b/CHANGELOG.md index 26b669c..daf96b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a ## [Unreleased] +## [0.10.0] - 2023-08-20 + +- Changes how whitespace and newlines are handled. +- Supports syntax like: + +```erb +<%= part %> / <%= total %> (<%= percentage %>%) +``` + ## [0.9.5] - 2023-07-02 - Fixes ruby comment in ERB-tag included VoidStatement @@ -61,5 +70,11 @@ Output: - Can format a lot of .html.erb-syntax and works as a plugin to syntax_tree. - This is still early and there are a lot of different weird syntaxes out there. -[unreleased]: https://github.com/davidwessman/syntax_tree-erb/compare/v0.9.0...HEAD +[unreleased]: https://github.com/davidwessman/syntax_tree-erb/compare/v0.10.0...HEAD +[0.10.0]: https://github.com/davidwessman/syntax_tree-erb/compare/v0.9.5...v0.10.0 +[0.9.5]: https://github.com/davidwessman/syntax_tree-erb/compare/v0.9.4...v0.9.5 +[0.9.4]: https://github.com/davidwessman/syntax_tree-erb/compare/v0.9.3...v0.9.4 +[0.9.3]: https://github.com/davidwessman/syntax_tree-erb/compare/v0.9.2...v0.9.3 +[0.9.2]: https://github.com/davidwessman/syntax_tree-erb/compare/v0.9.1...v0.9.2 +[0.9.1]: https://github.com/davidwessman/syntax_tree-erb/compare/v0.9.0...v0.9.1 [0.9.0]: https://github.com/davidwessman/syntax_tree-erb/compare/419727a73af94057ca0980733e69ac8b4d52fdf4...v0.9.0 diff --git a/Gemfile.lock b/Gemfile.lock index 13155f8..b97fdc9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - w_syntax_tree-erb (0.9.5) + w_syntax_tree-erb (0.10.0) prettier_print (~> 1.2, >= 1.2.0) syntax_tree (~> 6.1, >= 6.1.1) diff --git a/README.md b/README.md index 19fbfb9..457319e 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Currently handles Add this line to your application's Gemfile: ```ruby -gem "w_syntax_tree-erb", "~> 0.9", require: false +gem "w_syntax_tree-erb", "~> 0.10", require: false ``` > I added the `w_` prefix to avoid conflicts if there will ever be an official `syntax_tree-erb` gem. diff --git a/lib/syntax_tree/erb/version.rb b/lib/syntax_tree/erb/version.rb index 1878b64..b1ae2b5 100644 --- a/lib/syntax_tree/erb/version.rb +++ b/lib/syntax_tree/erb/version.rb @@ -2,6 +2,6 @@ module SyntaxTree module ERB - VERSION = "0.9.5" + VERSION = "0.10.0" end end