From 2e411c9bb327c81530385b62da9376d32f0e0b21 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sun, 25 Dec 2022 14:58:35 +0900 Subject: [PATCH] Update Changelog --- CHANGELOG.md | 10 ++++++++++ changelog/change_string_include_handle_not_match.md | 1 - ..._negative_for_performance_redundant_string_chars.md | 1 - changelog/fix_a_false_positive_for_performance_sum.md | 1 - changelog/fix_regexp_match_to_handle_cbase_regexp.md | 1 - 5 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 changelog/change_string_include_handle_not_match.md delete mode 100644 changelog/fix_a_false_negative_for_performance_redundant_string_chars.md delete mode 100644 changelog/fix_a_false_positive_for_performance_sum.md delete mode 100644 changelog/fix_regexp_match_to_handle_cbase_regexp.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bcf93cbda..dca1a86050 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## master (unreleased) +### Bug fixes + +* [#313](https://github.com/rubocop/rubocop-performance/issues/313): Fix a false negative for `Performance/RedundantStringChars` when using `str.chars.last` without argument. ([@koic][]) +* [#321](https://github.com/rubocop/rubocop-performance/pull/321): Fix a false positive for `Performance/Sum` when using `TargetRubyVersion` is 2.3 or lower. ([@koic][]) +* [#314](https://github.com/rubocop/rubocop-performance/issues/314): Fix `Performance/RegexpMatch` to handle `::Regexp`. ([@fatkodima][]) + +### Changes + +* [#318](https://github.com/rubocop/rubocop-performance/issues/318): Extend `Performance/StringInclude` to handle `!~`. ([@fatkodima][]) + ## 1.15.1 (2022-11-16) ### Bug fixes diff --git a/changelog/change_string_include_handle_not_match.md b/changelog/change_string_include_handle_not_match.md deleted file mode 100644 index 11cf0c2eae..0000000000 --- a/changelog/change_string_include_handle_not_match.md +++ /dev/null @@ -1 +0,0 @@ -* [#318](https://github.com/rubocop/rubocop-performance/issues/318): Extend `Performance/StringInclude` to handle `!~`. ([@fatkodima][]) diff --git a/changelog/fix_a_false_negative_for_performance_redundant_string_chars.md b/changelog/fix_a_false_negative_for_performance_redundant_string_chars.md deleted file mode 100644 index 1b97e738d1..0000000000 --- a/changelog/fix_a_false_negative_for_performance_redundant_string_chars.md +++ /dev/null @@ -1 +0,0 @@ -* [#313](https://github.com/rubocop/rubocop-performance/issues/313): Fix a false negative for `Performance/RedundantStringChars` when using `str.chars.last` without argument. ([@koic][]) diff --git a/changelog/fix_a_false_positive_for_performance_sum.md b/changelog/fix_a_false_positive_for_performance_sum.md deleted file mode 100644 index db0052fddf..0000000000 --- a/changelog/fix_a_false_positive_for_performance_sum.md +++ /dev/null @@ -1 +0,0 @@ -* [#321](https://github.com/rubocop/rubocop-performance/pull/321): Fix a false positive for `Performance/Sum` when using `TargetRubyVersion` is 2.3 or lower. ([@koic][]) diff --git a/changelog/fix_regexp_match_to_handle_cbase_regexp.md b/changelog/fix_regexp_match_to_handle_cbase_regexp.md deleted file mode 100644 index c1e62741fe..0000000000 --- a/changelog/fix_regexp_match_to_handle_cbase_regexp.md +++ /dev/null @@ -1 +0,0 @@ -* [#314](https://github.com/rubocop/rubocop-performance/issues/314): Fix `Performance/RegexpMatch` to handle `::Regexp`. ([@fatkodima][])