diff --git a/CHANGELOG.md b/CHANGELOG.md index 47b3f76d8f..cc819f1072 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 2.7.1 (2020-07-26) + ### Bug fixes * [#297](https://github.com/rubocop-hq/rubocop-rails/pull/297): Handle an upstream Ruby issue where the DidYouMean module is not available, which would break the `Rails/UnknownEnv` cop. ([@taylorthurlow][]) diff --git a/docs/antora.yml b/docs/antora.yml index 34b6c248ba..a281741611 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -2,6 +2,6 @@ name: rubocop-rails title: RuboCop Rails # We always provide version without patch here (e.g. 1.1), # as patch versions should not appear in the docs. -version: master +version: '2.7' nav: - modules/ROOT/nav.adoc diff --git a/lib/rubocop/rails/version.rb b/lib/rubocop/rails/version.rb index 59b37fbe02..94c212467c 100644 --- a/lib/rubocop/rails/version.rb +++ b/lib/rubocop/rails/version.rb @@ -4,7 +4,7 @@ module RuboCop module Rails # This module holds the RuboCop Rails version information. module Version - STRING = '2.7.0' + STRING = '2.7.1' end end end diff --git a/relnotes/v2.7.1.md b/relnotes/v2.7.1.md new file mode 100644 index 0000000000..2ad590e1d2 --- /dev/null +++ b/relnotes/v2.7.1.md @@ -0,0 +1,13 @@ +### Bug fixes + +* [#297](https://github.com/rubocop-hq/rubocop-rails/pull/297): Handle an upstream Ruby issue where the DidYouMean module is not available, which would break the `Rails/UnknownEnv` cop. ([@taylorthurlow][]) +* [#300](https://github.com/rubocop-hq/rubocop-rails/issues/300): Fix `Rails/RenderInline` error on variable key in render options. ([@tejasbubane][]) +* [#305](https://github.com/rubocop-hq/rubocop-rails/issues/305): Fix crash in `Rails/MatchRoute` cop when `via` option is a variable. ([@tejasbubane][]) + +### Changes + +* [#301](https://github.com/rubocop-hq/rubocop-rails/issues/301): Set disalbed by default for `Rails/PluckId`. ([@koic][]) + +[@taylorthurlow]: https://github.com/taylorthurlow +[@tejasbubane]: https://github.com/tejasbubane +[@koic]: https://github.com/koic