diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..c1c77c3 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +ruby 3.2.3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f86866..a2c32f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a ## [Unreleased] +## [0.11.0] - 2024-04-23 + +- ErbContent now has its value as child_nodes instead of empty array. +- Allow html void tags and format self-closing tags + ## [0.10.5] - 2023-09-03 - Handle ERB-tags inside HTML-tags, like `
>` diff --git a/Gemfile.lock b/Gemfile.lock index 6eaa2da..75c8f6c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - w_syntax_tree-erb (0.10.5) + w_syntax_tree-erb (0.11.0) prettier_print (~> 1.2, >= 1.2.0) syntax_tree (~> 6.1, >= 6.1.1) diff --git a/lib/syntax_tree/erb/version.rb b/lib/syntax_tree/erb/version.rb index 88175ce..6e53718 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.10.5" + VERSION = "0.11.0" end end