diff --git a/CHANGELOG.md b/CHANGELOG.md index 65b82925c1..40d5737e1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 1.7.1 (2020-07-18) + ### Bug fixes * [#147](https://github.com/rubocop-hq/rubocop-performance/issues/147): Fix an error for `Performance/AncestorsInclude` when using `ancestors.include?` without receiver. ([@koic][]) diff --git a/docs/antora.yml b/docs/antora.yml index 8029079a95..7f3a2e242a 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 7e42f9e6eb..cd3a62dbc1 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.0' + STRING = '1.7.1' end end end diff --git a/relnotes/v1.7.1.md b/relnotes/v1.7.1.md new file mode 100644 index 0000000000..f818f31868 --- /dev/null +++ b/relnotes/v1.7.1.md @@ -0,0 +1,12 @@ +### Bug fixes + +* [#147](https://github.com/rubocop-hq/rubocop-performance/issues/147): Fix an error for `Performance/AncestorsInclude` when using `ancestors.include?` without receiver. ([@koic][]) +* [#150](https://github.com/rubocop-hq/rubocop-performance/pull/150): Fix an incorrect autocorrect for `Performance/BigDecimalWithNumericArgument` when a precision is specified. ([@eugeneius][]) + +### Changes + +* [#149](https://github.com/rubocop-hq/rubocop-performance/pull/149): Mark `Performance/AncestorsInclude` as unsafe. ([@eugeneius][]) +* [#145](https://github.com/rubocop-hq/rubocop-performance/issues/145): Mark `Performance/StringInclude` as `SafeAutocorrect: false` and disable autocorrect by default. ([@koic][]) + +[@koic]: https://github.com/koic +[@eugeneius]: https://github.com/eugeneius