Skip to content

Commit

Permalink
Update Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Feb 25, 2023
1 parent c532db1 commit 1a791ec
Show file tree
Hide file tree
Showing 18 changed files with 30 additions and 17 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,32 @@

## master (unreleased)

### New features

* [#863](https://github.com/rubocop/rubocop-rails/pull/863): Add `Rails/ResponseParsedBody` cop. ([@r7kamura][])

### Bug fixes

* [#824](https://github.com/rubocop/rubocop-rails/pull/824): Fix a false negative for `Rails/ActionControllerTestCase` when the class is namespaced. ([@vlad-pisanov][])
* [#909](https://github.com/rubocop/rubocop-rails/issues/909): Fix a false positive for `Rails/ActionControllerFlashBeforeRender` when using `flash` before `redirect_to` in `if` branch. ([@koic][])
* [#898](https://github.com/rubocop/rubocop-rails/issues/898): Fix a false positive for `Rails/ActiveRecordAliases` when arguments of `update_attributes` is empty. ([@koic][])
* [#920](https://github.com/rubocop/rubocop-rails/pull/920): Fix an error for `Rails/NegateInclude` when there is no receiver. ([@fatkodima][])
* [#931](https://github.com/rubocop/rubocop-rails/pull/931): Fix error in `Rails/Presence` when ternary operators are used in multiple lines. ([@r7kamura][])
* [#687](https://github.com/rubocop/rubocop-rails/issues/687): Fix `Rails/HasManyOrHasOneDependent` to correctly handle association methods with receiver. ([@fatkodima][])
* [#929](https://github.com/rubocop/rubocop-rails/issues/929): Prevent `Rails/SquishedSQLHeredocs` applying when single-line comments are present. ([@john-h-k][])
* [#887](https://github.com/rubocop/rubocop-rails/issues/887): Fix a false positive for `Rails/NotNullColumn` when adding a `:virtual` column. ([@fatkodima][])
* [#918](https://github.com/rubocop/rubocop-rails/pull/918): Fix `Rails/FreezeTime` running against Rails < 5.2 apps. ([@DRBragg][])
* [#895](https://github.com/rubocop/rubocop-rails/pull/895): Fix `Rails/UnusedIgnoredColumns` not recognizing columns added via `+=`. ([@lucthev][])

### Changes

* [#263](https://github.com/rubocop/rubocop-rails/pull/263): Accept actions defined via `alias` in `Rails/LexicallyScopedActionFilter`. ([@fatkodima][])
* [#902](https://github.com/rubocop/rubocop-rails/pull/902): Ignore `redirect` method for `Style/FormatStringToken` by default. ([@javierjulio][])
* [#935](https://github.com/rubocop/rubocop-rails/pull/935): Make `Style/InverseMethods` aware of Active Support's `present?`, `blank?`, `include?`, and `exclude?` methods. ([@koic][])
* [#914](https://github.com/rubocop/rubocop-rails/issues/914): Make `Style/InverseMethods` aware of `valid?` and `invalid?` methods. ([@koic][])
* [#826](https://github.com/rubocop/rubocop-rails/issues/826): Mark `Rails/Pluck` as unsafe. ([@fatkodima][])
* [#896](https://github.com/rubocop/rubocop-rails/pull/896): Raise severity of `Rails/ActiveRecordOverride`, `Rails/DeprecatedActiveModelErrorsMethods`, `Rails/DuplicateAssociation`, `Rails/DuplicateScope`, `Rails/TopLevelHashWithIndifferentAccess`, and `Rails/WhereNotWithMultipleConditions` cops to warning. ([@koic][])

## 2.17.4 (2022-12-25)

### Bug fixes
Expand Down Expand Up @@ -791,3 +817,7 @@
[@bensheldon]: https://github.com/bensheldon
[@gurix]: https://github.com/gurix
[@etiennebarrie]: https://github.com/etiennebarrie
[@javierjulio]: https://github.com/javierjulio
[@john-h-k]: https://github.com/john-h-k
[@DRBragg]: https://github.com/DRBragg
[@lucthev]: https://github.com/lucthev

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/change_pluck_as_unsafe.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/change_raise_severity_of_some_cops_to_warning.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_error_for_negate_include_without_receiver.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_error_in_rails_presence_when_ternary.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_has_many_or_has_one_dependent_receiver.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_invalid_squish_sql_heredoc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_not_null_column_to_accept_virtual_columns.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_unused_ignored_columns_plus_equals.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/new_add_rails_response_parsed_body_cop.md

This file was deleted.

0 comments on commit 1a791ec

Please sign in to comment.