All running jobs now have performed_at set so use that in status query; fix flaky test that took advisory lock in before block by @bensheldon in bensheldon/good_job#1444
Refactor inline adapter to enable deferred execution after enqueue to allow batch-callbacks to use transaction-based advisory lock by @bensheldon in bensheldon/good_job#1433
#13191: Fix an error for Style/IfWithSemicolon when using nested single-line if/;/end in block of if/else branches. (@koic)
#13178: Fix false positive for Style/EmptyLiteral with Hash.new([]). (@earlopain)
#13176: Fix crash in Style/EmptyElse when AllowComments: true and the else clause is missing. (@vlad-pisanov)
#13185: Fix false negatives in Style/MapIntoArray autocorrection when using ensure, def, defs and for. (@vlad-pisanov)
RuboCop 1.66
New features
#13077: Add new global StringLiteralsFrozenByDefault option for correct analysis with RUBYOPT=--enable=frozen-string-literal. (@earlopain)
#13080: Add new DocumentationExtension global option to serve documentation with extensions different than .html. (@earlopain)
#13074: Add new Lint/UselessNumericOperation cop to check for inconsequential numeric operations. ([@zopolis4][])
#13061: Add new Style/RedundantInterpolationUnfreeze cop to check for dup and @+ on interpolated strings in Ruby >= 3.0. (@earlopain)
Bug fixes
#13093: Fix an error for Lint/ImplicitStringConcatenation when implicitly concatenating a string literal with a line break and string interpolation. (@koic)
#13098: Fix an error for Style/IdenticalConditionalBranches when handling empty case branches. (@koic)
#13113: Fix an error for Style/IfWithSemicolon when a nested if with a semicolon is used. (@koic)
#13097: Fix an error for Style/InPatternThen when using alternative pattern matching deeply. (@koic)
#13159: Fix an error for Style/OneLineConditional when using if/then/else/end with multiple expressions in the then body. (@koic)
#13092: Fix an incorrect autocorrect for Layout/EmptyLineBetweenDefs when two method definitions are on the same line separated by a semicolon. (@koic)
#13116: Fix an incorrect autocorrect for Style/IfWithSemicolon when a single-line if/;/end has an argument in the then body expression. (@koic)
#13161: Fix incorrect autocorrect for Style/IfWithSemicolon when using multiple expressions in the else body. (@koic)
#13132: Fix incorrect autocorrect for Style/TrailingBodyOnMethodDefinition when an expression precedes a method definition on the same line with a semicolon. (@koic)
#13164: Fix incorrect autocorrect behavior for Layout/BlockAlignment when EnforcedStyleAlignWith: either (default). (@koic)
#13087: Fix an incorrect autocorrect for Style/MultipleComparison when expression with more comparisons precedes an expression with less comparisons. ([@fatkodima][])
#13172: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when ensure or else and end are on the same line. (@koic)
#13107: Fix an error for Lint/ImplicitStringConcatenation when there are multiple adjacent string interpolation literals on the same line. (@koic)
#13111: Fix an error for Style/GuardClause when if clause is empty and correction would not fit on single line because of Layout/LineLength. (@earlopain)
#13137: Fix an error for Style/ParallelAssignment when using __FILE__. (@earlopain)
#13143: Fix an error during TargetRubyVersion detection if the gemspec is not valid syntax. (@earlopain)
#13131: Fix false negatives for Lint/Void when using ensure, defs and numblock. (@vlad-pisanov)
#13174: Fix false negatives for Style/MapIntoArray when initializing the destination using Array[], Array([]), or Array.new([]). (@vlad-pisanov)
#13173: Fix false negatives for Style/EmptyLiteral when using Array[], Hash[], Array.new([]) and Hash.new([]). (@vlad-pisanov)
#13126: Fix a false positive for Style/Alias when using multiple alias in def. (@koic)
#13085: Fix a false positive for Style/EmptyElse when a comment-only else is used after elsif and AllowComments: true is set. (@koic)
#13118: Fix a false positive for Style/MapIntoArray when splatting. (@earlopain)
#13105: Fix false positives for Style/ArgumentsForwarding when forwarding kwargs/block arg with non-matching additional args. (@koic)
#13139: Fix false positives for Style/RedundantCondition when using modifier if or unless. (@koic)
#13134: Fix false negative for Lint/Void when using using frozen literals. (@vlad-pisanov)
#13148: Fix incorrect autocorrect for Lint/EmptyConditionalBody when missing elsif body with end on the same line. (@koic)
#13109: Fix an error for the Lockfile parser when it contains incompatible BUNDLED WITH versions. (@earlopain)
#13112: Fix detection of TargetRubyVersion through the gemfile if the gemfile ruby version is below 2.7. (@earlopain)
#13191: Fix an error for Style/IfWithSemicolon when using nested single-line if/;/end in block of if/else branches. ([@koic][])
#13178: Fix false positive for Style/EmptyLiteral with Hash.new([]). ([@earlopain][])
#13176: Fix crash in Style/EmptyElse when AllowComments: true and the else clause is missing. ([@vlad-pisanov][])
#13185: Fix false negatives in Style/MapIntoArray autocorrection when using ensure, def, defs and for. ([@vlad-pisanov][])
1.66.0 (2024-08-31)
New features
#13077: Add new global StringLiteralsFrozenByDefault option for correct analysis with RUBYOPT=--enable=frozen-string-literal. ([@earlopain][])
#13080: Add new DocumentationExtension global option to serve documentation with extensions different than .html. ([@earlopain][])
#13074: Add new Lint/UselessNumericOperation cop to check for inconsequential numeric operations. ([@zopolis4][])
#13061: Add new Style/RedundantInterpolationUnfreeze cop to check for dup and @+ on interpolated strings in Ruby >= 3.0. ([@earlopain][])
Bug fixes
#13093: Fix an error for Lint/ImplicitStringConcatenation when implicitly concatenating a string literal with a line break and string interpolation. ([@koic][])
#13098: Fix an error for Style/IdenticalConditionalBranches when handling empty case branches. ([@koic][])
#13113: Fix an error for Style/IfWithSemicolon when a nested if with a semicolon is used. ([@koic][])
#13097: Fix an error for Style/InPatternThen when using alternative pattern matching deeply. ([@koic][])
#13159: Fix an error for Style/OneLineConditional when using if/then/else/end with multiple expressions in the then body. ([@koic][])
#13092: Fix an incorrect autocorrect for Layout/EmptyLineBetweenDefs when two method definitions are on the same line separated by a semicolon. ([@koic][])
#13116: Fix an incorrect autocorrect for Style/IfWithSemicolon when a single-line if/;/end has an argument in the then body expression. ([@koic][])
#13161: Fix incorrect autocorrect for Style/IfWithSemicolon when using multiple expressions in the else body. ([@koic][])
#13132: Fix incorrect autocorrect for Style/TrailingBodyOnMethodDefinition when an expression precedes a method definition on the same line with a semicolon. ([@koic][])
#13164: Fix incorrect autocorrect behavior for Layout/BlockAlignment when EnforcedStyleAlignWith: either (default). ([@koic][])
#13087: Fix an incorrect autocorrect for Style/MultipleComparison when expression with more comparisons precedes an expression with less comparisons. ([@fatkodima][])
#13172: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when ensure or else and end are on the same line. ([@koic][])
#13107: Fix an error for Lint/ImplicitStringConcatenation when there are multiple adjacent string interpolation literals on the same line. ([@koic][])
#13111: Fix an error for Style/GuardClause when if clause is empty and correction would not fit on single line because of Layout/LineLength. ([@earlopain][])
#13137: Fix an error for Style/ParallelAssignment when using __FILE__. ([@earlopain][])
#13143: Fix an error during TargetRubyVersion detection if the gemspec is not valid syntax. ([@earlopain][])
#13131: Fix false negatives for Lint/Void when using ensure, defs and numblock. ([@vlad-pisanov][])
#13174: Fix false negatives for Style/MapIntoArray when initializing the destination using Array[], Array([]), or Array.new([]). ([@vlad-pisanov][])
#13173: Fix false negatives for Style/EmptyLiteral when using Array[], Hash[], Array.new([]) and Hash.new([]). ([@vlad-pisanov][])
#13126: Fix a false positive for Style/Alias when using multiple alias in def. ([@koic][])
#13085: Fix a false positive for Style/EmptyElse when a comment-only else is used after elsif and AllowComments: true is set. ([@koic][])
#13118: Fix a false positive for Style/MapIntoArray when splatting. ([@earlopain][])
#13105: Fix false positives for Style/ArgumentsForwarding when forwarding kwargs/block arg with non-matching additional args. ([@koic][])
#13139: Fix false positives for Style/RedundantCondition when using modifier if or unless. ([@koic][])
#13134: Fix false negative for Lint/Void when using using frozen literals. ([@vlad-pisanov][])
#13148: Fix incorrect autocorrect for Lint/EmptyConditionalBody when missing elsif body with end on the same line. ([@koic][])
#13109: Fix an error for the Lockfile parser when it contains incompatible BUNDLED WITH versions. ([@earlopain][])
#13112: Fix detection of TargetRubyVersion through the gemfile if the gemfile ruby version is below 2.7. ([@earlopain][])
#13155: Fixes an error when the server cache directory has too long path, causing rubocop to fail even with caching disabled. ([@protocol7][])
#1309: Support Rails 7 syntax for Rails/EnumHash cop. (@ytjmt)
#1298: Support Rails 7 syntax for Rails/EnumUniqueness cop. (@ytjmt)
Bug fixes
#1335: Fix an error for Rails/BulkChangeTable when the block for change_table is empty. (@earlopain)
#1325: Fix an error for Rails/RenderPlainText when the content type is passed as a constant. (@earlopain)
#1337: Fix an error for Rails/Validation when passing no arguments. (@earlopain)
#1330: Fix an error for Rails/WhereNot when using placeholder without second argument. (@earlopain)
#1311: Fix false negatives for Rails/ActionControllerFlashBeforeRender when using implicit render or rescue blocks. (@tldn0718)
#1313: Fix false positives for Rails/CompactBlank when using collection.reject!. (@koic)
#1319: Fix a false positive for Rails/RedundantPresenceValidationOnBelongsTo when removing presence would leave other non-validation options like allow_blank without validations. (@earlopain)
#1306: Make Rails/PluralizationGrammar aware of byte methods. (@earlopain)
#1302: Allow params receiver by default for Style/CollectionMethods. (@koic)
#1321: Fix an error for Rails/WhereEquals when the second argument is not yet typed (where("foo = ?", )). (@earlopain)
Changes
#1308: Change Rails/CompactBlank to handle select(&:present?). (@fatkodima)
#1303: Change Rails/IgnoredSkipActionFilterOption to handle multiple callbacks. (@fatkodima)
#1199: Make Rails/WhereEquals aware of where.not(...). (@earlopain)
#1003: Change Rails/RootPathnameMethods to detect offenses on Dir.[]. (@r7kamura)
Bumps the bundler-all group with 21 updates in the / directory:
10.4.16.0
10.4.19.0
1.156.0
1.160.0
1.18.3
1.18.4
5.0.7
5.1.0
4.1.0
4.2.1
1.5.7
1.5.8
5.18.2
5.19.0
5.6.0
5.7.0
4.23.0
4.24.0
1.65.0
1.66.1
2.25.1
2.26.1
3.0.3
3.0.5
0.27.0
0.29.0
7.1.3.4
7.1.4
5.0.0
5.1.0
6.4.6
6.5.0
1.1.0
1.1.1
0.4.14
0.4.16
3.13.0
3.13.1
3.13.1
3.13.3
3.5.1
3.5.2
Updates
autoprefixer-rails
from 10.4.16.0 to 10.4.19.0Changelog
Sourced from autoprefixer-rails's changelog.
Commits
987430a
Release 10.4.19.05b36bc6
build: upgrade dependencies16fe8da
Update autoprefixer to 10.4.19cf0af28
Update documentation on source maps in README.md8cb3b04
Add Ruby 3.3 to CI matrixUpdates
aws-sdk-s3
from 1.156.0 to 1.160.0Changelog
Sourced from aws-sdk-s3's changelog.
Commits
Updates
bootsnap
from 1.18.3 to 1.18.4Changelog
Sourced from bootsnap's changelog.
Commits
cae219a
Release 1.18.4407bdef
Merge pull request #489 from Shopify/fix-load-error7afa951
Fix bootsnap setup in environments without bundlerc5513d9
Merge pull request #487 from Uaitt/update-gh-action-versions65691ca
Update GitHub actions versions156b8c9
Merge pull request #485 from Uaitt/changelog-typoe76fe38
Merge pull request #486 from Uaitt/correct-rubocop-offenses9ec8d70
Correct Rubocop offenses47ad134
Correct a typo present in the CHANGELOGf627992
Add --version flagUpdates
chartkick
from 5.0.7 to 5.1.0Changelog
Sourced from chartkick's changelog.
Commits
4a328e5
Version bump to 5.1.0 [skip ci]aac53ce
Updated license year [skip ci]14ccbf1
Updated license year [skip ci]b9dd170
Updated Chart.js to 4.4.4e3cdfec
Improved code [skip ci]c3b3926
Dropped support for Ruby < 3.1Updates
good_job
from 4.1.0 to 4.2.1Release notes
Sourced from good_job's releases.
... (truncated)
Changelog
Sourced from good_job's changelog.
... (truncated)
Commits
9a78188
Release good_job v4.2.12b815ca
Bump fugit from 1.11.0 to 1.11.1 (#1471)d8ea45a
Bump rexml from 3.3.3 to 3.3.6 (#1473)0e3d094
fix strict_loading_by_default in BaseRecord (#1475)43ec2ad
Release good_job v4.2.02da97eb
respect perform_throttle even if perform_limit is provided (#1470)cc9784d
Update compatibility matrix, remove compatibility code (#1465)59c3300
Update cron documentation to remove confusion about multiple processes (#1467)a61fc09
Run tests with warnings enabled (#1462)72ba713
Fix a few method redefinition warnings (#1459)Updates
pg
from 1.5.7 to 1.5.8Changelog
Sourced from pg's changelog.
Commits
cb35e3f
Update to Postgresql-16.4 and OpenSSL-3.3.2 for Windows binary gems7af75a4
Bump VERSION to 1.5.8 and add changelog entryd4c6c61
Merge pull request #589 from larskanis/fix-host-dup-on-resetbf7d57f
Save connection options for conn.reseta2a3e6d
CI: github actions@v4
need distinct artifact namesdd060bc
Merge pull request #587 from larskanis/github-v47515aac
CI: Use latest github actions070b72b
Remove unused variable in spec65c5031
Improve code documentation60f74ff
Fix typoUpdates
sentry-rails
from 5.18.2 to 5.19.0Changelog
Sourced from sentry-rails's changelog.
Commits
43c5cc2
release: 5.19.0a09da50
Include Sentry meta tag in the layout automatically (#2369)Updates
textacular
from 5.6.0 to 5.7.0Changelog
Sourced from textacular's changelog.
Commits
89eedb3
release 5.7.0ea00b4a
relax Active Record dependency7ebd3e1
Merge pull request #159 from bensheldon/patch-168c7086
Merge pull request #161 from elektronaut/rails-7-20e854f8
Add support for TestCase.fixture_pathsf15394c
Fix migrations task0d23e59
Update gem requirements to allow Rails 7.24e1a6f3
Defer extending ActiveRecord::Base until Active Record is loadedUpdates
selenium-webdriver
from 4.23.0 to 4.24.0Release notes
Sourced from selenium-webdriver's releases.
Changelog
Sourced from selenium-webdriver's changelog.
Commits
748ffc9
Release 4.24.0 (#14429)e4258ea
[ci] Use a tag to figure out what we might want to release (#14378)a93c89b
Add timeout and tests for curb, also added the gem curb that was not part of ...7833dc0
[rb] Updating the Gemfile.lock as wellf4a86a4
[rb] BUGFIX: Add stamp to nightly build (#14320)5d1b216
[rb] Fix firefox pipeline by removing guards (#14277)5761c71
[rb] Add test for detached shadow root error type (#14267)0652bfc
[rb] Deprecate WebStorage JS methods (#14276)Updates
rubocop
from 1.65.0 to 1.66.1Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
ba8e7be
Cut 1.66.12900c91
Update Changelog08bed81
Fix an error forStyle/IfWithSemicolon
c2ae362
Don't parse YAML twice5f3481f
Userubocop-ast
SimpleForwardable
5e65a39
Merge pull request #13185 from vlad-pisanov/vp_map_into_array_2d18b3c9
Fix false negatives inStyle/MapIntoArray
autocorrection when using `ensure...3277118
[Fix #13182] Tweak the doc forStyle/RedundantInterpolationUnfreeze
9a38b11
Merge pull request #13179 from Earlopain/node-matcher-directiry-errorfd4f4d7
Fix an error forInternalAffairs/NodeMatcherDirective
when no second argumentUpdates
rubocop-rails
from 2.25.1 to 2.26.1Release notes
Sourced from rubocop-rails's releases.
Changelog
Sourced from rubocop-rails's changelog.