🚨 [security] Update rubocop-rails 2.28.0 → 2.30.0 (minor) #730
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop-rails (2.28.0 → 2.30.0) · Repo · Changelog
Release Notes
2.30.0
2.29.1
2.29.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 75 commits:
Cut 2.30.0
Update Changelog
Use RuboCop Performance 1.24 for development
Merge pull request #1434 from koic/pluginfy_with_lint_roller
Pluginfy RuboCop Rails
Merge pull request #1441 from koic/fix_an_error_for_rails_delegate_cop
Fix an error for `Rails/Delegate`
Merge pull request #1438 from ydakuka/912-add-more-delegation-targets-to-rails-delegate
Suppress RuboCop's offense
[Fix rubocop#912] Enhance `Rails/Delegate` by adding delegation detection for `self.class`, constants, instance variables, and class variables
Merge pull request #1433 from ydakuka/1071-fix-an-error-occurring-in-the-rails-file-path-cop-when-file-join-is-used-with-a-variable
[Fix rubocop#1071] Fix `Rails/FilePath` cop to correctly handle `File.join` with variables and ignore leading and multiple slashes in string literal arguments for `Rails.root.join` and `File.join`
Suppress redundant configuration logging for rubocop-rails
Avoid unnecessary `send`
Suppress RuboCop's offenses
Add `shared_context` for Rails 8.1
Merge pull request #1432 from dvandersluis/use-node-groups
Use node groups in node patterns to replace unions of types
Use `Node#any_block_type?`
Fix a build error
Remove a redundant config in spec_helper.rb
Switch back docs version to master
Cut 2.29.1
Update Changelog
Apply `bundle exec rubocop --regenerate-todo`
Merge pull request #1419 from ydakuka/fix/enhance-rails-duplicate-association-to-handle-alias
[Fix rubocop#1356] Enhance Rails/DuplicateAssociation to handle alias
Merge pull request #1415 from ydakuka/fix/typeerror_in_the_file_path_cop
[Fix rubocop#1389] Handle TypeError caused by an array in Rails/FilePath cop
Merge pull request #1424 from koic/fix_an_error_for_rails_strong_parameters_expect
Merge pull request #1416 from ydakuka/fix/typeerror_in_the_root_pathname_methods_cop
[Fix #1423] Fix an error for `Rails/StrongParametersExpect`
[Fix rubocop#1389] Handle TypeError caused by an array in Rails/RootPathname cop
Merge pull request #1421 from ydakuka/fix/enhance-rails-save-bang-to-properly-handle-instance-variables
[Fix rubocop#1228] Enhance Rails/SaveBang to properly handle instance variables
Merge pull request #1420 from koic/fix_an_incorrect_autocorrect_for_rails_strong_parameters_expect
[Fix #1417] Fix an incorrect autocorrect for `Rails/StrongParametersExpect`
Switch back docs version to master
Cut 2.29.0
Update Changelog
Merge pull request #1414 from viralpraxis/fix-rails-http-positional-arguments-cop-false-positives-on-forwarded-args
Merge pull request #1412 from koic/add_new_rails_strong_parameters_expect_cop
Merge pull request #1411 from koic/make_registered_cops_aware_of_all_cops_migrated_schema_version
Fix `Rails/HttpPositionalArguments` cop false positives with arguments forwarding
Add new `Rails/StrongParametersExpect` cop
Add missing `Include` paths for `Rails/MultipleRoutePaths`
[Fix #1410] Make registered cops aware of `AllCops: MigratedSchemaVersion`
Merge pull request #1407 from koic/add_new_rails_multiple_route_paths_cop
Merge pull request #1409 from Earlopain/reversible-migration-error
Fix an error for `Rails/ReversibleMigration` when calling `drop_table` without any arguments
Remove a useless constant
Add new `Rails/MultipleRoutePaths` cop
Merge pull request #1406 from eugeneius/index_by_index_with_enclosing_block
Merge pull request #1405 from eugeneius/index_with_hash_literal_without_braces
Fix autocorrection for `Rails/IndexBy` and `Rails/IndexWith` when `map { ... }.to_h` is enclosed in another block
Fix autocorrection for `Rails/IndexWith` when the value is a hash literal without braces
Remove a useless gem file
Merge pull request #1404 from eugeneius/index_by_index_with_numblock
Use RuboCop RSpec 3.3 for development
Bump license years to 2025
Update `Rails/IndexBy` and `Rails/IndexWith` to support numbered block parameters
Merge pull request #1403 from koic/ci_against_ruby_34
CI against Ruby 3.4
Merge pull request #1402 from Earlopain/ci-sync
Merge pull request #1397 from mterada1228/fix-rails-timezone
Fix an incorrect autocorrect for `Rails/TimeZone` when Time.new has a string argument
Various other small workflow changes from rubocop
Add options to the actions-codespell configuration to check hidden files and file name
Improve the configuration options of the yamllint-github-action
CI: Move internal_investigation to linting.yml
CI: Consistent naming of steps
Add GitHub token permissions for workflows
Suppress RuboCop offenses
Fix a typo
Switch back docs version to master
✳️ rubocop (1.71.1 → 1.72.2) · Repo · Changelog
Release Notes
1.72.2
1.72.1
1.72.0
1.71.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
1.3.5
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Release concurrent-ruby 1.3.5 and concurrent-ruby-edge 0.7.2
chore: fix typos (#1076)
Set rake-compiler source and target to Java 8 (#1071)
Improve ancestor classes spec
Avoid error when member is present on ancestor class
Remove dependency on logger
Release Notes
1.14.7
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 8 commits:
Bump to 1.14.7
remove post-install message
Merge pull request #709 from voxik/ruby-3.4
Add Rails 7.2 and 8.0 into test matrix.
Adjust the test matrix for Rails 8.1
Add `base64` / `mutex_m` dependencies for Rails 6.1
Ruby 3.4 `Hash#inspect` compatibility.
Add 'ruby-head' to test matrix
Release Notes
2.10.1 (from changelog)
2.10.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 61 commits:
Release 2.10.1
Merge pull request #749 from byroot/fix-state-roundtrip
Fix a compatibility issue with `MultiJson.dump(obj, pretty: true)`
Update changelog
Release 2.10.0
Apply recent C optimizations to Java encoder (#725)
Skip installing ragel on CI
Merge pull request #745 from etiennebarrie/optimize-symbol-generation
Merge pull request #746 from etiennebarrie/fix-json-coder-NaN-Infinity
Optimize Symbol generation in strict mode
Fix JSON::Coder to call as_json proc for NaN and Infinity
Merge pull request #744 from eregon/optimize-utf8_to_json
Optimize and cleanup #utf8_to_json
Refactor further to expose the simpler escape search possible
Merge pull request #742 from byroot/refactor-convert-utf8
Refactor convert_UTF8_to_JSON to split searching and escaping code
Merge pull request #741 from nobu/ctype-plain-char
Avoid plain char for ctype macros
Merge pull request #740 from Edouard-chin/ec-minor-fixed
Few doc tweaks:
Make benchmarks JRuby compatible
Update changelog
Merge pull request #718 from etiennebarrie/json-coder
Allow JSON::Fragment to be used even in strict mode
Introduce JSON::Coder
Update gemspec URIs
Add some JSON::Fragment documentation
Merge pull request #735 from tompng/fix_invalid_number
Reject invalid number: `-` `-.1` `-e0`
Merge pull request #734 from tompng/error_on_invalid_comments
Merge pull request #733 from tompng/unicode_escape_fix
Raise parse error on invalid comments
Fix parsing incomplete unicode escape "\uaaa"
Fix JSON::Fragment#to_json signature
Merge pull request #732 from etiennebarrie/fragment
Introduce JSON::Fragment
Fix a regression in the parser with leading /
Merge pull request #731 from byroot/arm64-ci
Test on aarch64 Ubuntu
json_string_unescape: use memchr to search for backslashes
Cleanup json_decode_float
parser.c: Pass the JSON_ParserConfig pointer
Use RSTRING_END
Replace fbuffer by stack buffers or RB_ALLOCV in parser.c
Implement write barriers for ParserConfig objects
Cleanup c ext Rakefile
Merge pull request #729 from byroot/handrolled
Finalize Kevin's handrolled parser.
Initial handrolled parser
Refactor JSONFixturesTest
Removed unnecessary sections
Fix a method redefinition warning in C parser
Merge pull request #728 from byroot/refactor-parser
Refactor JSON::Ext::Parser to split configuration and parsing state
Merge pull request #727 from etiennebarrie/remove-State-_generate
Remove Generator::State#_generate
Merge pull request #726 from ruby/support-bundled-gems
Refactor to omit JSON::GenericObject tests
Require "date"
Merge pull request #724 from byroot/lookup-3
Improve lookup tables for string escaping.
Release Notes
3.3.7.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 5 commits:
Update changelog.
Bump version.
* parser/current: add -dev prefix to 3.4 branch (#1067)
* parser/current: bump 3.2 branch to 3.2.7 (#1066)
Update changelog.
Security Advisories 🚨
🚨 Possible Log Injection in Rack::CommonLogger
Commits
See the full diff on Github. The new version differs by 2 commits:
Bump patch version.
Escape non-printable characters when logging.
🆕 lint_roller (added, 1.1.0)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands