From 4a41d261975be4ba049c471cf3f61cb5079eceff Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sun, 21 May 2023 10:45:02 +0900 Subject: [PATCH] Update Changelog --- CHANGELOG.md | 11 +++++++++++ changelog/change_compare_with_block_methods.md | 1 - changelog/change_drop_ruby_2_6_support.md | 1 - ...performance_redundant_equality_comparison_block.md | 1 - ...ix_autocorrect_constant_regexp_and_regexp_match.md | 1 - 5 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 changelog/change_compare_with_block_methods.md delete mode 100644 changelog/change_drop_ruby_2_6_support.md delete mode 100644 changelog/fix_a_false_positive_for_performance_redundant_equality_comparison_block.md delete mode 100644 changelog/fix_autocorrect_constant_regexp_and_regexp_match.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 63f2572a5f..befebd525c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,16 @@ ## master (unreleased) +### Bug fixes + +* [#359](https://github.com/rubocop/rubocop-performance/issues/359): Fix a false positive for `Performance/RedundantEqualityComparisonBlock` when the block variable is used on both sides of `==`. ([@koic][]) +* [#351](https://github.com/rubocop/rubocop-performance/issues/351): Fix an incorrect autocorrect for `Performance/ConstantRegexp` and `Performance/RegexpMatch` when autocorrecting both at the same time. ([@fatkodima][]) + +### Changes + +* [#357](https://github.com/rubocop/rubocop-performance/pull/357): Add `sort!` and `minmax` to `Performance/CompareWithBlock`. ([@vlad-pisanov][]) +* [#353](https://github.com/rubocop/rubocop-performance/pull/353): **(Breaking)** Drop Ruby 2.6 support. ([@koic][]) + ## 1.17.1 (2023-04-09) ### Bug fixes @@ -451,3 +461,4 @@ [@ydah]: https://github.com/ydah [@QQism]: https://github.com/QQism [@r7kamura]: https://github.com/r7kamura +[@vlad-pisanov]: https://github.com/vlad-pisanov diff --git a/changelog/change_compare_with_block_methods.md b/changelog/change_compare_with_block_methods.md deleted file mode 100644 index 99c6c1556e..0000000000 --- a/changelog/change_compare_with_block_methods.md +++ /dev/null @@ -1 +0,0 @@ -* [#357](https://github.com/rubocop/rubocop-performance/pull/357): Add `sort!` and `minmax` to `Performance/CompareWithBlock`. ([@vlad-pisanov][]) diff --git a/changelog/change_drop_ruby_2_6_support.md b/changelog/change_drop_ruby_2_6_support.md deleted file mode 100644 index d361db145a..0000000000 --- a/changelog/change_drop_ruby_2_6_support.md +++ /dev/null @@ -1 +0,0 @@ -* [#353](https://github.com/rubocop/rubocop-performance/pull/353): **(Breaking)** Drop Ruby 2.6 support. ([@koic][]) diff --git a/changelog/fix_a_false_positive_for_performance_redundant_equality_comparison_block.md b/changelog/fix_a_false_positive_for_performance_redundant_equality_comparison_block.md deleted file mode 100644 index 99ebe7065b..0000000000 --- a/changelog/fix_a_false_positive_for_performance_redundant_equality_comparison_block.md +++ /dev/null @@ -1 +0,0 @@ -* [#359](https://github.com/rubocop/rubocop-performance/issues/359): Fix a false positive for `Performance/RedundantEqualityComparisonBlock` when the block variable is used on both sides of `==`. ([@koic][]) diff --git a/changelog/fix_autocorrect_constant_regexp_and_regexp_match.md b/changelog/fix_autocorrect_constant_regexp_and_regexp_match.md deleted file mode 100644 index 407af286de..0000000000 --- a/changelog/fix_autocorrect_constant_regexp_and_regexp_match.md +++ /dev/null @@ -1 +0,0 @@ -* [#351](https://github.com/rubocop/rubocop-performance/issues/351): Fix an incorrect autocorrect for `Performance/ConstantRegexp` and `Performance/RegexpMatch` when autocorrecting both at the same time. ([@fatkodima][])