diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c0ce45d42..3f233c8c30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 1.8.0 (2020-09-04) + ### New features * [#140](https://github.com/rubocop-hq/rubocop-performance/pull/140): Add new `Performance/CollectionLiteralInLoop` cop. ([@fatkodima][]) diff --git a/docs/antora.yml b/docs/antora.yml index 8029079a95..0f41da11f9 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.8' nav: - modules/ROOT/nav.adoc diff --git a/lib/rubocop/performance/version.rb b/lib/rubocop/performance/version.rb index cd3a62dbc1..ca2b3b4bda 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.7.1' + STRING = '1.8.0' end end end diff --git a/relnotes/v1.8.0.md b/relnotes/v1.8.0.md new file mode 100644 index 0000000000..e19914ce8b --- /dev/null +++ b/relnotes/v1.8.0.md @@ -0,0 +1,16 @@ +### New features + +* [#140](https://github.com/rubocop-hq/rubocop-performance/pull/140): Add new `Performance/CollectionLiteralInLoop` cop. ([@fatkodima][]) +* [#137](https://github.com/rubocop-hq/rubocop-performance/pull/137): Add new `Performance/Sum` cop. ([@fatkodima][]) + +### Bug fixes + +* [#159](https://github.com/rubocop-hq/rubocop-performance/pull/159): Fix a false positive for `Performance/AncestorsInclude` when receiver is a variable. ([@koic][]) + +### Changes + +* [#157](https://github.com/rubocop-hq/rubocop-performance/pull/157): Extend `Performance/Detect` cop with check for `filter` method and `Performance/Count` cop with checks for `find_all` and `filter` methods. ([@fatkodima][]) +* [#154](https://github.com/rubocop-hq/rubocop-performance/pull/154): Require RuboCop 0.87 or higher. ([@koic][]) + +[@fatkodima]: https://github.com/fatkodima +[@koic]: https://github.com/koic