diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c2ad0b..4c287d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a ## [Unreleased] +## [1.0.1] - 2022-10-18 + +### Changed + +* `breakable_return` - should also break parent + ## [1.0.0] - 2022-10-17 ### Added @@ -31,5 +37,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a - 🎉 Initial release! 🎉 -[unreleased]: https://github.com/ruby-syntax-tree/prettier_print/compare/v0.1.0...HEAD -[0.1.0]: https://github.com/ruby-syntax-tree/prettier_print/compare/...v0.1.0 +[unreleased]: https://github.com/ruby-syntax-tree/prettier_print/compare/v1.0.1...HEAD +[1.0.1]: https://github.com/ruby-syntax-tree/prettier_print/compare/v1.0.0...v1.0.1 +[1.0.0]: https://github.com/ruby-syntax-tree/prettier_print/compare/v0.1.0...v1.0.0 +[0.1.0]: https://github.com/ruby-syntax-tree/prettier_print/compare/df51ce...v0.1.0 diff --git a/Gemfile.lock b/Gemfile.lock index 6a8a984..fda5b87 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - prettier_print (1.0.0) + prettier_print (1.0.1) GEM remote: https://rubygems.org/ diff --git a/lib/prettier_print.rb b/lib/prettier_print.rb index 73b60f9..34615b0 100644 --- a/lib/prettier_print.rb +++ b/lib/prettier_print.rb @@ -809,6 +809,7 @@ def breakable_force # formatting like a multi-line string. def breakable_return target << BREAKABLE_RETURN + break_parent end # A convenience method which is same as follows: diff --git a/lib/prettier_print/version.rb b/lib/prettier_print/version.rb index 65f53d5..373c2d6 100644 --- a/lib/prettier_print/version.rb +++ b/lib/prettier_print/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true class PrettierPrint - VERSION = "1.0.0" + VERSION = "1.0.1" end