From b91d5a4ef2978dd5c079bbf8c8d12d16d487d1a7 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Tue, 7 Jul 2020 08:59:59 +0900 Subject: [PATCH] Cut 1.7.0 --- CHANGELOG.md | 2 ++ docs/antora.yml | 2 +- lib/rubocop/performance/version.rb | 2 +- relnotes/v1.7.0.md | 20 ++++++++++++++++++++ 4 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 relnotes/v1.7.0.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fc7e285a3..41db0807bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 1.7.0 (2020-07-07) + ### New features * [#141](https://github.com/rubocop-hq/rubocop-performance/pull/141): Add new `Performance/RedundantStringChars` cop. ([@fatkodima][]) diff --git a/docs/antora.yml b/docs/antora.yml index 8029079a95..967a7f2ef5 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.7 nav: - modules/ROOT/nav.adoc diff --git a/lib/rubocop/performance/version.rb b/lib/rubocop/performance/version.rb index afbdfb9b40..7e42f9e6eb 100644 --- a/lib/rubocop/performance/version.rb +++ b/lib/rubocop/performance/version.rb @@ -3,7 +3,7 @@ module RuboCop module Performance module Version - STRING = '1.6.1' + STRING = '1.7.0' end end end diff --git a/relnotes/v1.7.0.md b/relnotes/v1.7.0.md new file mode 100644 index 0000000000..d906356970 --- /dev/null +++ b/relnotes/v1.7.0.md @@ -0,0 +1,20 @@ +### New features + +* [#141](https://github.com/rubocop-hq/rubocop-performance/pull/141): Add new `Performance/RedundantStringChars` cop. ([@fatkodima][]) +* [#127](https://github.com/rubocop-hq/rubocop-performance/pull/127): Add new `Performance/IoReadlines` cop. ([@fatkodima][]) +* [#128](https://github.com/rubocop-hq/rubocop-performance/pull/128): Add new `Performance/ReverseFirst` cop. ([@fatkodima][]) +* [#132](https://github.com/rubocop-hq/rubocop-performance/issues/132): Add new `Performance/RedundantSortBlock` cop. ([@fatkodima][]) +* [#125](https://github.com/rubocop-hq/rubocop-performance/pull/125): Support `Array()` and `Hash()` methods for `Performance/Size` cop. ([@fatkodima][]) +* [#124](https://github.com/rubocop-hq/rubocop-performance/pull/124): Add new `Performance/Squeeze` cop. ([@fatkodima][]) +* [#129](https://github.com/rubocop-hq/rubocop-performance/pull/129): Add new `Performance/BigDecimalWithNumericArgument` cop. ([@fatkodima][]) +* [#130](https://github.com/rubocop-hq/rubocop-performance/pull/130): Add new `Performance/SortReverse` cop. ([@fatkodima][]) +* [#81](https://github.com/rubocop-hq/rubocop-performance/issues/81): Add new `Performance/StringInclude` cop. ([@fatkodima][]) +* [#123](https://github.com/rubocop-hq/rubocop-performance/pull/123): Add new `Performance/AncestorsInclude` cop. ([@fatkodima][]) +* [#125](https://github.com/rubocop-hq/rubocop-performance/pull/125): Support `Range#member?` method for `Performance/RangeInclude` cop. ([@fatkodima][]) + +### Changes + +* [#138](https://github.com/rubocop-hq/rubocop-performance/pull/138): Drop support for RuboCop 0.81 or lower. ([@koic][]) + +[@fatkodima]: https://github.com/fatkodima +[@koic]: https://github.com/koic