Skip to content

Commit 944f6f5

Browse files
committed
Cut 2.35.3
1 parent 7f93b76 commit 944f6f5

4 files changed

Lines changed: 11 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
## master (unreleased)
1111

12+
## 2.35.3 (2026-05-27)
13+
1214
### Bug fixes
1315

1416
* [#1630](https://github.com/rubocop/rubocop-rails/issues/1630): Fix a false positive in `Rails/StrongParametersExpect` when negating `params[:key]` with `!`, such as `!params[:key]`. ([@koic][])

docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: rubocop-rails
22
title: RuboCop Rails
33
# We always provide version without patch here (e.g. 1.1),
44
# as patch versions should not appear in the docs.
5-
version: ~
5+
version: '2.35'
66
nav:
77
- modules/ROOT/nav.adoc

lib/rubocop/rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module RuboCop
44
module Rails
55
# This module holds the RuboCop Rails version information.
66
module Version
7-
STRING = '2.35.2'
7+
STRING = '2.35.3'
88

99
def self.document_version
1010
STRING.match('\d+\.\d+').to_s

relnotes/v2.35.3.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
### Bug fixes
2+
3+
* [#1630](https://github.com/rubocop/rubocop-rails/issues/1630): Fix a false positive in `Rails/StrongParametersExpect` when negating `params[:key]` with `!`, such as `!params[:key]`. ([@koic][])
4+
* [#1629](https://github.com/rubocop/rubocop-rails/pull/1629): Fix false positives in `Rails/StrongParametersExpect` when using the safe navigation operator (`&.`) on `params[:key]`. Autocorrecting `params[:key]&.downcase` to `params.expect(:key).downcase` silently changes behavior — a missing param goes from returning `nil` to raising `ActionController::ParameterMissing`. ([@lucasmazza][])
5+
6+
[@koic]: https://github.com/koic
7+
[@lucasmazza]: https://github.com/lucasmazza

0 commit comments

Comments
 (0)