From a7175c76f8d6a5f05eb7a3296f738a9baf287f02 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sun, 31 Oct 2021 11:49:10 +0900 Subject: [PATCH] Cut 1.12.0 --- CHANGELOG.md | 2 ++ docs/antora.yml | 2 +- lib/rubocop/performance/version.rb | 2 +- relnotes/v1.12.0.md | 15 +++++++++++++++ 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 relnotes/v1.12.0.md diff --git a/CHANGELOG.md b/CHANGELOG.md index f2f399b304..cc78dc733a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 1.12.0 (2021-10-31) + ### New features * [#267](https://github.com/rubocop/rubocop-performance/pull/267): Add new `Performance/ConcurrentMonotonicTime` cop. ([@koic][]) diff --git a/docs/antora.yml b/docs/antora.yml index b844f36b65..e703b7b6db 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.12' nav: - modules/ROOT/nav.adoc diff --git a/lib/rubocop/performance/version.rb b/lib/rubocop/performance/version.rb index 5fdad36993..805b4b613a 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.11.5' + STRING = '1.12.0' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v1.12.0.md b/relnotes/v1.12.0.md new file mode 100644 index 0000000000..f8d18cf066 --- /dev/null +++ b/relnotes/v1.12.0.md @@ -0,0 +1,15 @@ +### New features + +* [#267](https://github.com/rubocop/rubocop-performance/pull/267): Add new `Performance/ConcurrentMonotonicTime` cop. ([@koic][]) + +### Bug fixes + +* [#261](https://github.com/rubocop/rubocop-performance/issues/261): Fix a false negative for `Performance/RedundantBlockCall` when using `block.call` in a class method'. ([@koic][]) +* [#264](https://github.com/rubocop/rubocop-performance/pull/264): Fix error in Performance/Sum when method has no brackets. ([@mvz][]) + +### Changes + +* [#263](https://github.com/rubocop/rubocop-performance/pull/263): Unmark `AutoCorrect: false` from `Performance/StringInclude`. ([@koic][]) + +[@koic]: https://github.com/koic +[@mvz]: https://github.com/mvz