diff --git a/CHANGELOG.md b/CHANGELOG.md index 306e39787d..d13e308d8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 1.10.2 (2021-03-23) + ### Bug fixes * [#162](https://github.com/rubocop/rubocop-performance/issues/162): Fix a false positive for `Performance/RedundantBlockCall` when an optional block that is overridden by block variable. ([@koic][]) diff --git a/docs/antora.yml b/docs/antora.yml index b844f36b65..2af36911d1 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -2,6 +2,6 @@ name: rubocop-performance title: RuboCop Performance # We always provide version without patch here (e.g. 1.1), # as patch versions should not appear in the docs. -version: 'master' +version: '1.10' nav: - modules/ROOT/nav.adoc diff --git a/lib/rubocop/performance/version.rb b/lib/rubocop/performance/version.rb index a7fecaa8ce..c78bd7eedc 100644 --- a/lib/rubocop/performance/version.rb +++ b/lib/rubocop/performance/version.rb @@ -4,7 +4,7 @@ module RuboCop module Performance # This module holds the RuboCop Performance version information. module Version - STRING = '1.10.1' + STRING = '1.10.2' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v1.10.2.md b/relnotes/v1.10.2.md new file mode 100644 index 0000000000..1ac72859e5 --- /dev/null +++ b/relnotes/v1.10.2.md @@ -0,0 +1,9 @@ +### Bug fixes + +* [#162](https://github.com/rubocop/rubocop-performance/issues/162): Fix a false positive for `Performance/RedundantBlockCall` when an optional block that is overridden by block variable. ([@koic][]) +* [#36](https://github.com/rubocop/rubocop-performance/issues/36): Fix a false positive for `Performance/ReverseEach` when `each` is called on `reverse` and using the result value. ([@koic][]) +* [#224](https://github.com/rubocop/rubocop-performance/pull/224): Fix a false positive for `Style/RedundantEqualityComparisonBlock` when using one argument with comma separator in block argument. ([@koic][]) +* [#225](https://github.com/rubocop/rubocop-performance/issues/225): Fix a false positive for `Style/RedundantEqualityComparisonBlock` when using `any?` with `===` comparison block and block argument is not used as a receiver for `===`. ([@koic][]) +* [#222](https://github.com/rubocop/rubocop-performance/issues/222): Fix a false positive for `Performance/RedundantSplitRegexpArgument` when `split` method argument is exactly one spece regexp `/ /`. ([@koic][]) + +[@koic]: https://github.com/koic