From 2563954ff4e2cc72407eb7400d9bc8c96cb45edb Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Wed, 16 Sep 2020 00:01:30 +0900 Subject: [PATCH] Cut 2.8.1 --- CHANGELOG.md | 2 ++ docs/antora.yml | 2 +- lib/rubocop/rails/version.rb | 2 +- relnotes/v2.8.1.md | 15 +++++++++++++++ 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 relnotes/v2.8.1.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 51e77977d3..e675b028da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 2.8.1 (2020-09-16) + ### Bug fixes * [#345](https://github.com/rubocop-hq/rubocop-rails/issues/345): Fix error of `Rails/AfterCommitOverride` on `after_commit` with a lambda. ([@pocke][]) diff --git a/docs/antora.yml b/docs/antora.yml index 34b6c248ba..b218a506f8 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.8' nav: - modules/ROOT/nav.adoc diff --git a/lib/rubocop/rails/version.rb b/lib/rubocop/rails/version.rb index ad5c627ca7..5b183a2d69 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.8.0' + STRING = '2.8.1' end end end diff --git a/relnotes/v2.8.1.md b/relnotes/v2.8.1.md new file mode 100644 index 0000000000..d9b1a0aa55 --- /dev/null +++ b/relnotes/v2.8.1.md @@ -0,0 +1,15 @@ +### Bug fixes + +* [#345](https://github.com/rubocop-hq/rubocop-rails/issues/345): Fix error of `Rails/AfterCommitOverride` on `after_commit` with a lambda. ([@pocke][]) +* [#349](https://github.com/rubocop-hq/rubocop-rails/pull/349): Fix errors of `Rails/UniqueValidationWithoutIndex`. ([@Tietew][]) +* [#338](https://github.com/rubocop-hq/rubocop-rails/issues/338): Fix a false positive for `Rails/IndexBy` and `Rails/IndexWith` when the `each_with_object` hash is used in the transformed key or value. ([@eugeneius][]) +* [#351](https://github.com/rubocop-hq/rubocop-rails/pull/351): Add `<>` operator to `Rails/WhereNot` cop. ([@Tietew][]) +* [#352](https://github.com/rubocop-hq/rubocop-rails/pull/352): Do not register offense if given a splatted hash. ([@dvandersluis][]) +* [#346](https://github.com/rubocop-hq/rubocop-rails/pull/346): Fix a false positive for `Rails/DynamicFindBy` when any of the arguments are splat argument. ([@koic][]) +* [#357](https://github.com/rubocop-hq/rubocop-rails/issues/357): Fix a false positive for `Rails/ReversibleMigration` when keyword arguments of `change_column_default` are in the order of `to`, `from`. ([@koic][]) + +[@pocke]: https://github.com/pocke +[@Tietew]: https://github.com/Tietew +[@eugeneius]: https://github.com/eugeneius +[@dvandersluis]: https://github.com/dvandersluis +[@koic]: https://github.com/koic