From 7a2b99312f7a4eab31a56b5fe6af86b8a4f63761 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 29 Jun 2024 23:49:00 +0900 Subject: [PATCH] Update Changelog --- CHANGELOG.md | 16 ++++++++++++++++ ...nge_1295_covers_validates_comparison_of_in.md | 1 - ...ge_add_link_to_if_and_unless_to_link_blank.md | 1 - ...rk_rails_skips_model_validations_as_unsafe.md | 1 - .../change_where_range_unsafe_autocorrect.md | 1 - ...ix_change_column_null_in_bulk_change_table.md | 1 - changelog/fix_error_for_rails_not_null_column.md | 1 - changelog/fix_where_range_complex_expressions.md | 1 - changelog/fix_where_range_spaces.md | 1 - 9 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 changelog/change_1295_covers_validates_comparison_of_in.md delete mode 100644 changelog/change_add_link_to_if_and_unless_to_link_blank.md delete mode 100644 changelog/change_mark_rails_skips_model_validations_as_unsafe.md delete mode 100644 changelog/change_where_range_unsafe_autocorrect.md delete mode 100644 changelog/fix_change_column_null_in_bulk_change_table.md delete mode 100644 changelog/fix_error_for_rails_not_null_column.md delete mode 100644 changelog/fix_where_range_complex_expressions.md delete mode 100644 changelog/fix_where_range_spaces.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 651e0b7c13..188bc09100 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,20 @@ ## master (unreleased) +### Bug fixes + +* [#1280](https://github.com/rubocop/rubocop-rails/issues/1280): Look for change_column_null for `Rails/BulkChangeTable`. ([@ccutrer][]) +* [#1299](https://github.com/rubocop/rubocop-rails/pull/1299): Fix an error for `Rails/NotNullColumn` when the block for `change_table` is empty. ([@earlopain][]) +* [#1281](https://github.com/rubocop/rubocop-rails/issues/1281): Fix `Rails/WhereRange` autocorrect for complex expressions. ([@fatkodima][]) +* [#1282](https://github.com/rubocop/rubocop-rails/issues/1282): Fix `Rails/WhereRange` to correctly handle template strings with extra spaces. ([@fatkodima][]) + +### Changes + +* [#1295](https://github.com/rubocop/rubocop-rails/issues/1295): Cover validates_comparison_of in `Rails/Validation`. ([@ChaelCodes][]) +* [#1288](https://github.com/rubocop/rubocop-rails/issues/1288): Let `Rails/LinkToBlank` look into `link_to_if` and `link_to_unless`, too. ([@fwolfst][]) +* [#1286](https://github.com/rubocop/rubocop-rails/issues/1286): Mark `Rails/SkipsModelValidations` as unsafe. ([@koic][]) +* [#1283](https://github.com/rubocop/rubocop-rails/issues/1283): Mark `Rails/WhereRange` as unsafe autocorrect. ([@fatkodima][]) + ## 2.25.0 (2024-05-17) ### New features @@ -1080,3 +1094,5 @@ [@tldn0718]: https://github.com/tldn0718 [@amomchilov]: https://github.com/amomchilov [@lukasfroehlich1]: https://github.com/lukasfroehlich1 +[@ChaelCodes]: https://github.com/ChaelCodes +[@fwolfst]: https://github.com/fwolfst diff --git a/changelog/change_1295_covers_validates_comparison_of_in.md b/changelog/change_1295_covers_validates_comparison_of_in.md deleted file mode 100644 index bdcadc8ec6..0000000000 --- a/changelog/change_1295_covers_validates_comparison_of_in.md +++ /dev/null @@ -1 +0,0 @@ -* [#1295](https://github.com/rubocop/rubocop-rails/issues/1295): Cover validates_comparison_of in `Rails/Validation`. ([@ChaelCodes][]) diff --git a/changelog/change_add_link_to_if_and_unless_to_link_blank.md b/changelog/change_add_link_to_if_and_unless_to_link_blank.md deleted file mode 100644 index 2f3090c6ba..0000000000 --- a/changelog/change_add_link_to_if_and_unless_to_link_blank.md +++ /dev/null @@ -1 +0,0 @@ -* [#1288](https://github.com/rubocop/rubocop-rails/issues/1288): Let `Rails/LinkToBlank` look into `link_to_if` and `link_to_unless`, too. ([@fwolfst][]) diff --git a/changelog/change_mark_rails_skips_model_validations_as_unsafe.md b/changelog/change_mark_rails_skips_model_validations_as_unsafe.md deleted file mode 100644 index c00622911f..0000000000 --- a/changelog/change_mark_rails_skips_model_validations_as_unsafe.md +++ /dev/null @@ -1 +0,0 @@ -* [#1286](https://github.com/rubocop/rubocop-rails/issues/1286): Mark `Rails/SkipsModelValidations` as unsafe. ([@koic][]) diff --git a/changelog/change_where_range_unsafe_autocorrect.md b/changelog/change_where_range_unsafe_autocorrect.md deleted file mode 100644 index a3e597751e..0000000000 --- a/changelog/change_where_range_unsafe_autocorrect.md +++ /dev/null @@ -1 +0,0 @@ -* [#1283](https://github.com/rubocop/rubocop-rails/issues/1283): Mark `Rails/WhereRange` as unsafe autocorrect. ([@fatkodima][]) diff --git a/changelog/fix_change_column_null_in_bulk_change_table.md b/changelog/fix_change_column_null_in_bulk_change_table.md deleted file mode 100644 index 51e6f3588a..0000000000 --- a/changelog/fix_change_column_null_in_bulk_change_table.md +++ /dev/null @@ -1 +0,0 @@ -* [#1280](https://github.com/rubocop/rubocop-rails/issues/1280): Look for change_column_null for `Rails/BulkChangeTable`. ([@ccutrer][]) diff --git a/changelog/fix_error_for_rails_not_null_column.md b/changelog/fix_error_for_rails_not_null_column.md deleted file mode 100644 index 0a5813fb15..0000000000 --- a/changelog/fix_error_for_rails_not_null_column.md +++ /dev/null @@ -1 +0,0 @@ -* [#1299](https://github.com/rubocop/rubocop-rails/pull/1299): Fix an error for `Rails/NotNullColumn` when the block for `change_table` is empty. ([@earlopain][]) diff --git a/changelog/fix_where_range_complex_expressions.md b/changelog/fix_where_range_complex_expressions.md deleted file mode 100644 index b09633405a..0000000000 --- a/changelog/fix_where_range_complex_expressions.md +++ /dev/null @@ -1 +0,0 @@ -* [#1281](https://github.com/rubocop/rubocop-rails/issues/1281): Fix `Rails/WhereRange` autocorrect for complex expressions. ([@fatkodima][]) diff --git a/changelog/fix_where_range_spaces.md b/changelog/fix_where_range_spaces.md deleted file mode 100644 index 3de6b0ff60..0000000000 --- a/changelog/fix_where_range_spaces.md +++ /dev/null @@ -1 +0,0 @@ -* [#1282](https://github.com/rubocop/rubocop-rails/issues/1282): Fix `Rails/WhereRange` to correctly handle template strings with extra spaces. ([@fatkodima][])