Skip to content

Commit 1cb96f9

Browse files
committed
Update Changelog
1 parent e40d8b9 commit 1cb96f9

21 files changed

+34
-20
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,35 @@
22

33
## master (unreleased)
44

5+
### New features
6+
7+
* [#547](https://github.com/rubocop/rubocop-rails/pull/547): Add new `Rails/ActionOrder` cop. ([@mollerhoj][])
8+
* [#565](https://github.com/rubocop/rubocop-rails/issues/565): Add cop Rails/WhereNotWithMultipleConditions. ([@niklas-hasselmeyer][])
9+
* [#771](https://github.com/rubocop/rubocop-rails/pull/771): Add new `Rails/IgnoredColumnsAssignment` cop. ([@fsateler][], [@kkitadate][])
10+
* [#790](https://github.com/rubocop/rubocop-rails/issues/790): Make `Style/HashExcept` aware of TargetRubyVersion: 2.x because Rails has `Hash#except`. ([@koic][])
11+
12+
### Bug fixes
13+
14+
* [#786](https://github.com/rubocop/rubocop-rails/issues/786): Fix a false negative for `Rails/ActionControllerTestCase` when extending `ActionController::TestCase` and having a method definition. ([@koic][])
15+
* [#792](https://github.com/rubocop/rubocop-rails/issues/792): Fix a false negative for `Rails/RedundantPresenceValidationOnBelongsTo` when belongs_to at least one block and one hash like `belongs_to :company, -> { where(foo: true) }, inverse_of: :employee`. ([@PedroAugustoRamalhoDuarte][])
16+
* [#781](https://github.com/rubocop/rubocop-rails/issues/781): Make `Rails/DynamicFindBy` aware of `find_by_token_for`. ([@koic][])
17+
* [#809](https://github.com/rubocop/rubocop-rails/issues/809): Fix an error for `Rails/FreezeTime` when using `travel_to` without argument. ([@koic][])
18+
* [#794](https://github.com/rubocop/rubocop-rails/issues/794): Fix an error for `Rails/RedundantReceiverInWithOptions` when calling a method with a receiver in `with_options` without block arguments. ([@koic][])
19+
* [#782](https://github.com/rubocop/rubocop-rails/issues/782): Fix an incorrect autocorrect for `Rails/EagerEvaluationLogMessage` when using `Style/MethodCallWithArgsParentheses`'s autocorrection together. ([@koic][])
20+
* [#776](https://github.com/rubocop/rubocop-rails/issues/776): Fix an incorrect autocorrect for `Rails/Presence` when using arithmetic operation in `else` branch. ([@koic][])
21+
* [#813](https://github.com/rubocop/rubocop-rails/pull/813): Fix errors that occur when unrelated `tag` is investigated by `Rails/ContentTag`. ([@r7kamura][])
22+
* [#808](https://github.com/rubocop/rubocop-rails/issues/808): Fix false positive for `Rails/ActionControllerFlashBeforeRender` when `render` call precedes `flash` call. ([@americodls][])
23+
* [#778](https://github.com/rubocop/rubocop-rails/issues/778): Fix a false positive for `Rails/DynamicFindBy` when using `page.find_by_id` as a Capybara testing API. ([@koic][])
24+
* [#816](https://github.com/rubocop/rubocop-rails/pull/816): Fix an incorrect autocorrect for `Rails/Presence` when a right-hand side of the relational operator. ([@ydah][])
25+
26+
### Changes
27+
28+
* [#779](https://github.com/rubocop/rubocop-rails/issues/779): Add `mail` to `AllowedMethods` of `Style/SymbolProc`. ([@koic][])
29+
* [#796](https://github.com/rubocop/rubocop-rails/issues/796): Add several directories to `Exclude` to prevent slow investigation. ([@koic][])
30+
* [#822](https://github.com/rubocop/rubocop-rails/issues/822): Extends `Rails/HttpStatus` cop to check `routes.rb`. ([@anthony-robin][])
31+
* [#787](https://github.com/rubocop/rubocop-rails/issues/787): Make `Rails/Pluck` aware of all keys. ([@koic][])
32+
* [#800](https://github.com/rubocop/rubocop-rails/issues/800): Make `Rails/TimeZone` aware of timezone UTF offset. ([@inkstak][])
33+
534
## 2.16.1 (2022-09-17)
635

736
### Bug fixes
@@ -686,3 +715,8 @@
686715
[@r7kamura]: https://github.com/r7kamura
687716
[@americodls]: https://github.com/americodls
688717
[@bdewater]: https://github.com/bdewater
718+
[@inkstak]: https://github.com/inkstak
719+
[@PedroAugustoRamalhoDuarte]: https://github.com/PedroAugustoRamalhoDuarte
720+
[@mollerhoj]: https://github.com/mollerhoj
721+
[@niklas-hasselmeyer]: https://github.com/niklas-hasselmeyer
722+
[@fsateler]: https://github.com/fsateler

changelog/change_add_mail_to_allowed_methods_of_style_symbol_proc.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/change_add_several_dir_to_exclude_to_prevent_slow_investigation.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/change_extends_http_status_to_detect_redirect_routes.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/change_make_rails_pluck_aware_of_all_keys.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/change_make_rails_time_zone_aware_of_timezone_offset.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_a_false_negative_for_rails_action_controller_test_case.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_a_false_negative_for_rails_redundant_presence_validation_on_belongs_to.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_a_false_positive_for_rails_dynamic_find_by.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_an_error_for_rails_freeze_time.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)