Skip to content

chore(deps): update possibly breaking-change dependencies (minor) - autoclosed

This MR contains the following updates:

Package Type Update Change
gitlab-com/gl-infra/platform/runway/runwayctl minor v3.44.5 -> v3.59.3
lefthook minor 1.7.7 -> 1.11.3
rubocop (source, changelog) minor 1.62.1 -> 1.73.2
rubocop-rspec (changelog) minor 2.27.1 -> 2.31.0
ruby (source) minor 3.2.6 -> 3.4.2
ruby final minor 3.2 -> 3.4
ruby/ruby (source) minor 3.2.6 -> 3.4.2

WARNING: this job ran in a Renovate pipeline that doesn't support the configuration required for common-ci-tasks Renovate presets.


Release Notes

gitlab-com/gl-infra/platform/runway/runwayctl (gitlab-com/gl-infra/platform/runway/runwayctl)

v3.59.3

Compare Source

3.59.3 (2025-03-12)

Bug Fixes
  • deps: update module golang.org/x/oauth2 to v0.28.0 (226c104)

Changelog

v3.59.2

Compare Source

3.59.2 (2025-03-12)

Bug Fixes
  • deps: update module gitlab.com/gitlab-org/api/client-go to v0.124.0 (ffc6823)
  • deps: update module google.golang.org/grpc to v1.71.0 (193592c)

Changelog

v3.59.1

Compare Source

3.59.1 (2025-03-11)

Bug Fixes
  • deps: update googlecloud-go-sdk (1d1d18f)

Changelog

v3.59.0

Compare Source

3.59.0 (2025-03-10)

Features
  • update rollout steps to go from 50 to 100% in one step (be424cd)
Bug Fixes
  • ci-tasks: handle CI job permissions error (2d178dc)

Changelog

  • f324759b1a66bc3571ad248cc89c41ee55945082: Merge branch 'cfeick/ci-job-permissions-error' into 'main' (Chance Feick cfeick@gitlab.com)
  • 8085fd711fac294442caf8a721d47dc3e982a8bd: Merge branch 'update-rollout-percentages' into 'main' (Florian Forster fforster@gitlab.com)
  • be424cdad4197a279e522ba71761016dd5fb1acf: feat: update rollout steps to go from 50 to 100% in one step (Gonzalo Servat gservat@gitlab.com)
  • 2d178dc8457218b5e6b7b154cb87c7bd98201e27: fix(ci-tasks): handle CI job permissions error (Chance Feick cfeick@gitlab.com)

v3.58.5

Compare Source

3.58.5 (2025-02-28)

Bug Fixes

Changelog

  • 71c281aa52c997da940f93155e6b613f7b6014e5: Merge branch 'fforster/inventory' into 'main' (Sylvester Chin schin@gitlab.com)
  • f34a0358a9c82e3266ceed4516f3dc39c37e48db: fix(inventory): Remove path from Kustomization. (Florian Forster fforster@gitlab.com)

v3.58.4

Compare Source

3.58.4 (2025-02-28)

Bug Fixes

Changelog

  • 8dcdc077ced9d65c7f48fb3242719da1b2b33f38: Merge branch 'fforster/inventory' into 'main' (Florian Forster fforster@gitlab.com)
  • a391f7df7b96bf8f7e02c4399a66e6e6805cbb8b: fix(inventory): Add the prune field to Kustomization. (Florian Forster fforster@gitlab.com)

v3.58.3

Compare Source

3.58.3 (2025-02-27)

Bug Fixes

Changelog

v3.58.2

Compare Source

3.58.2 (2025-02-26)

Bug Fixes
  • deps: update module github.com/prometheus/prometheus to v0.302.1 (06cc477)

Changelog

v3.58.1

Compare Source

3.58.1 (2025-02-25)

Bug Fixes
  • deps: update googlecloud-go-sdk (a04b50c)
  • deps: update module github.com/google/go-cmp to v0.7.0 (e8c86c1)
  • deps: update module github.com/spf13/cobra to v1.9.1 (de8d613)

Changelog

v3.58.0

Compare Source

3.58.0 (2025-02-24)

Features
  • disable deletion protection on Cloud Run svc/job (99fe264)

Changelog

v3.57.1

Compare Source

3.57.1 (2025-02-20)

Reverts
  • Revert "feat: use RUNWAY_CONFIG_PATH only" (65121f0)

Changelog

v3.57.0

Compare Source

3.57.0 (2025-02-20)

Features

Changelog

  • 0421454e1b36687e24d61e2582ca3100ae16fca7: Merge branch 'fforster/inventory' into 'main' (Florian Forster fforster@gitlab.com)
  • 8622bad7ce5ba9ccbd2383fd369f629b680b0aac: feat(inventory): Make the inventory generator more flexible. (Florian Forster fforster@gitlab.com)

v3.56.0

Compare Source

3.56.0 (2025-02-20)

Features
  • add deploy host condition to the rules (9cb3d29)

Changelog

  • 91ed59ea4b476999ab010c9b4f7a6cf3b3fa0d4b: Merge branch 'add-deploy-host-condition' into 'main' (Gonzalo Servat gservat@gitlab.com)
  • 9cb3d297bcdb41ae386dd345a2834d8fe04ecffd: feat: add deploy host condition to the rules (Gonzalo Servat gservat@gitlab.com)

v3.55.6

Compare Source

3.55.6 (2025-02-19)

Bug Fixes

Changelog

  • b3ccd0444079883349b8c6a558c8e15f353f8fdc: Merge branch 'fforster/inventory' into 'main' (Florian Forster fforster@gitlab.com)
  • 841a77aef6b0c4b1faf1ec2435b9ddb3118e3774: fix(inventory): Ensure that the interval field is formatted correctly. (Florian Forster fforster@gitlab.com)

v3.55.5

Compare Source

3.55.5 (2025-02-19)

Bug Fixes

Changelog

  • 715a123db85a766c280cc2a2605143743229fe43: Merge branch 'cfeick/renovate-automerge' into 'main' (Florian Forster fforster@gitlab.com)
  • d1cea394d9642d383baf813e3532a313d601771e: fix(renovate): automerge (Chance Feick cfeick@gitlab.com)

v3.55.4

Compare Source

3.55.4 (2025-02-19)

Bug Fixes

Changelog

  • 28c0e68c298c3e5177f88c0e9ceaffe93c6f3aa1: Merge branch 'cfeick/yamlfmt-whitespace' into 'main' (Chance Feick cfeick@gitlab.com)
  • f035b70fd5bbf3d94c59b4ddc05ad7f5e8dc1b4d: fix(ci): yamlfmt (Chance Feick cfeick@gitlab.com)

v3.55.3

Compare Source

3.55.3 (2025-02-18)

Bug Fixes
  • deps: update module github.com/fluxcd/source-controller/api to v1.5.0 (27a6560)

Changelog

v3.55.2

Compare Source

3.55.2 (2025-02-17)

Bug Fixes
  • deps: update module k8s.io/apimachinery to v0.32.2 (3346050)

Changelog

v3.55.1

Compare Source

3.55.1 (2025-02-14)

Bug Fixes
  • deps: update module gitlab.com/gitlab-org/api/client-go to v0.123.0 (28cf86d)

Changelog

v3.55.0

Compare Source

3.55.0 (2025-02-14)

Features
  • Allow service projects to select which change lock tag to use. (67eb91b)

Changelog

  • f6466156ebefc26302f7a69894679a215f9e4678: Merge branch 'fforster/freeze' into 'main' (Chance Feick cfeick@gitlab.com)
  • 67eb91b6d54dedb7f3765a5a8e4a1fcf147d99ad: feat: Allow service projects to select which change lock tag to use. (Florian Forster fforster@gitlab.com)

v3.54.3

Compare Source

3.54.3 (2025-02-13)

Bug Fixes
  • deps: update googlecloud-go-sdk (840e0ba)

Changelog

v3.54.2

Compare Source

3.54.2 (2025-02-13)

Bug Fixes
  • deps: update module github.com/prometheus/common to v0.62.0 (d97425a)

Changelog

v3.54.1

Compare Source

3.54.1 (2025-02-13)

Bug Fixes
  • deps: update module golang.org/x/oauth2 to v0.26.0 (0558fc3)

Changelog

v3.54.0

Compare Source

3.54.0 (2025-02-13)

Features

Changelog

  • 147c875ccc29f52806d97e18b54f82cd8dbc83d6: Merge branch 'fforster/inventory' into 'main' (Florian Forster fforster@gitlab.com)
  • 39cc28213961817f0d25e7d0bfaa2704b35cbe92: feat: Add the inventory show subcommand. (Florian Forster fforster@gitlab.com)

v3.53.3

Compare Source

3.53.3 (2025-02-11)

Bug Fixes
  • deps: update module google.golang.org/protobuf to v1.36.5 (89ad3a1)

Changelog

v3.53.2

Compare Source

3.53.2 (2025-02-03)

Bug Fixes
  • reconciler: max instances for VPC access (eed44da)

Changelog

v3.53.1

Compare Source

3.53.1 (2025-01-29)

Bug Fixes
  • deps: update module google.golang.org/grpc to v1.70.0 (f22a270)

Changelog

v3.53.0

Compare Source

3.53.0 (2025-01-09)

Features
  • implicitly enable vpc access when using cloudsql (e83404e)

Changelog

  • e282dda37af759f6b1c66482d64db5da116c843e: Merge branch 'sc1-implicit-vpc-access' into 'main' (Sylvester Chin schin@gitlab.com)
  • e83404eb4e13e0b86b869bbc1d2d7acbb29f4a83: feat: implicitly enable vpc access when using cloudsql (Sylvester Chin schin@gitlab.com)

v3.52.1

Compare Source

3.52.1 (2025-01-08)

Bug Fixes
  • make the matchStrings pattern generic for all packages (c40cf38)

Changelog

  • dd578291c764c581a0df5795b2e74c1172068f7c: Merge branch 'update-renovate-config' into 'main' (Gonzalo Servat gservat@gitlab.com)
  • c40cf386c570d2127efcdaade5d48b97965a014a: fix: make the matchStrings pattern generic for all packages (Gonzalo Servat gservat@gitlab.com)

v3.52.0

Compare Source

3.52.0 (2025-01-08)

Features

Changelog

  • f1c6a2f4ae3fa5df969396c5728a903f4c516674: Merge branch 'sc1-cloudsql-mount' into 'main' (Sylvester Chin schin@gitlab.com)
  • 6097e89649eee024ffc6f39f593bc9d008271cf3: feat: add psc flag (Sylvester Chin schin@gitlab.com)

v3.51.10

Compare Source

3.51.10 (2025-01-06)

Bug Fixes
  • deps: update module github.com/prometheus/prometheus to v0.301.0 (d764394)

Changelog

v3.51.9

Compare Source

3.51.9 (2025-01-06)

Bug Fixes
  • deps: update module golang.org/x/term to v0.28.0 (2b81aaa)

Changelog

v3.51.8

Compare Source

3.51.8 (2025-01-06)

Bug Fixes
  • deps: update module golang.org/x/oauth2 to v0.25.0 (17d5d65)

Changelog

v3.51.7

Compare Source

3.51.7 (2024-12-31)

Bug Fixes
  • deps: update module google.golang.org/api to v0.214.0 (ac56f9f)

Changelog

v3.51.6

Compare Source

3.51.6 (2024-12-16)

Bug Fixes
  • deps: update module google.golang.org/grpc to v1.69.0 (95f8900)

Changelog

v3.51.5

Compare Source

3.51.5 (2024-12-16)

Bug Fixes
  • deps: update module cloud.google.com/go/compute to v1.31.0 (449c41c)

Changelog

v3.51.4

Compare Source

3.51.4 (2024-12-12)

Bug Fixes
  • deps: update module google.golang.org/grpc to v1.68.1 (171903f)

Changelog

v3.51.3

Compare Source

3.51.3 (2024-12-12)

Bug Fixes
  • deps: update module google.golang.org/api to v0.211.0 (b898fd9)

Changelog

v3.51.2

Compare Source

3.51.2 (2024-12-04)

Bug Fixes
  • bump json-schema-for-humans to fix pages job (1dbfc49)

Changelog

  • 35b1164271187f9f20bbc588bdf55deace2134d1: Merge branch 'bump-json-schema-for-humans' into 'main' (Gonzalo Servat gservat@gitlab.com)
  • 2ba49d0b80fee8c04ee6b2645f39d530dc8db9c9: Merge branch 'renovate/vault-1.x' into 'main' (Gonzalo Servat gservat@gitlab.com)
  • 4ddd61dbe44f526d4aac19ec66d846f88aa16633: Merge branch 'sc1-embed-version' into 'main' (Sylvester Chin schin@gitlab.com)
  • 4150b4afa17cd5b52b5191c5084bf77173a8958d: Merge branch 'sc1-fix-renovate-preset' into 'main' (Sylvester Chin schin@gitlab.com)
  • afca0cc3c447b0e89ae7582fae487677a860a191: chore(deps): update dependency vault to v1.18.2 (GitLab Renovate Bot ops-contact+gl-common-ci-tasks-self-renovate@gitlab.com)
  • e3f1bffa04e65021f66677918632421506f72d9d: chore: remove --runway_revision flag usage (Sylvester Chin schin@gitlab.com)
  • 1dbfc490b5ef2ad514f651ebf576ca21810aea66: fix: bump json-schema-for-humans to fix pages job (Gonzalo Servat gservat@gitlab.com)

v3.51.1

Compare Source

3.51.1 (2024-12-02)

Bug Fixes
  • deps: update module github.com/prometheus/prometheus to v0.300.1 (c96157a)

Changelog

v3.51.0

Compare Source

3.51.0 (2024-11-27)

Features

Changelog

  • bb38276a6426c0bdbdf7cf50a5548cf41d19372c: Merge branch 'fforster/renovate' into 'main' (Florian Forster fforster@gitlab.com)
  • 7a7c83979478f37bb55cb6b9b0358a8d3d46716b: feat(Renovate): Add a Renovate config for updating Runway versions. (Florian Forster fforster@gitlab.com)

v3.50.1

Compare Source

3.50.1 (2024-11-27)

Bug Fixes
  • correct goreleaser release image name (2378f19)
  • deps: update module google.golang.org/api to v0.209.0 (51213da)

Changelog

  • f6d3a915f4cf7dae4849b855d925d38345193827: Apply 2 suggestion(s) to 1 file(s) (Sylvester Chin schin@gitlab.com)
  • 12d03fce9fea0974dc0fe6a545919ff31bd3b375: Merge branch 'renovate/gitlab-17.x-lockfile' into 'main' (Sylvester Chin schin@gitlab.com)
  • 6b63f5fa2ab368e20659455e84ba9e91adad5a92: Merge branch 'renovate/googlecloud-go-sdk' into 'main' (Florian Forster fforster@gitlab.com)
  • 0435601b4f3e0f14dc4d0a8bfea337564bfacb87: Merge branch 'sc1-fix-release-image-name' into 'main' (Sylvester Chin schin@gitlab.com)
  • ef83a76ebafcd5a6f2c38de7e9253e2f8f212f34: Merge branch 'sc1-use-goreleaser' into 'main' (Sylvester Chin schin@gitlab.com)
  • 5e5108a5a32de20382fbf6dfc92d34499b739af4: chore(deps): update terraform gitlab to v17.6.0 (GitLab Renovate Bot ops-contact+gl-common-ci-tasks-self-renovate@gitlab.com)
  • 51213da97e6fa0bdc01439da9d616de520c8f291: fix(deps): update module google.golang.org/api to v0.209.0 (GitLab Renovate Bot ops-contact+gl-common-ci-tasks-self-renovate@gitlab.com)
  • 2378f19d1b28a080924e406e0a1e99bed6f55029: fix: correct goreleaser release image name (Sylvester Chin schin@gitlab.com)

v3.50.0

Compare Source

3.50.0 (2024-11-25)

Features
  • grafana: add runway version into annotation (386550d)

v3.49.3

Compare Source

3.49.3 (2024-11-21)

Bug Fixes
  • deps: update googlecloud-go-sdk (c46f5f1)

v3.49.2

Compare Source

3.49.2 (2024-11-20)

Bug Fixes
  • vault: remove duplicate in platform_secrets_list_map (41b6a37)

v3.49.1

Compare Source

3.49.1 (2024-11-20)

Bug Fixes
  • remove redundant depends_on (ae0c54f)

v3.49.0

Compare Source

3.49.0 (2024-11-19)

Features
  • read platform secrets from Vault (b46a4b0)

v3.48.0

Compare Source

3.48.0 (2024-11-18)

Features
  • set manual trigger at service project (b655585)

v3.47.2

Compare Source

3.47.2 (2024-11-18)

Bug Fixes
  • deps: update module github.com/prometheus/prometheus to v0.300.0 (873e768)
  • deps: update module google.golang.org/protobuf to v1.35.2 (ae61c8e)

v3.47.1

Compare Source

3.47.1 (2024-11-18)

Bug Fixes
  • deps: update googlecloud-go-sdk (e8ee52b)

v3.47.0

Compare Source

3.47.0 (2024-11-15)

Features
  • ci-tasks: manual deployment strategy (a75b9ba)

v3.46.4

Compare Source

3.46.4 (2024-11-14)

Bug Fixes
  • deps: update module github.com/prometheus/prometheus to v0.55.1 (bde2684)

v3.46.3

Compare Source

3.46.3 (2024-11-14)

Bug Fixes
  • deps: update module golang.org/x/term to v0.26.0 (a9dfe68)

v3.46.2

Compare Source

3.46.2 (2024-11-14)

Bug Fixes
  • deps: update module golang.org/x/oauth2 to v0.24.0 (dd8bbf1)
  • deps: update module google.golang.org/grpc to v1.68.0 (ceac61a)

v3.46.1

Compare Source

3.46.1 (2024-11-08)

Bug Fixes
  • deps: update googlecloud-go-sdk (1289649)

v3.46.0

Compare Source

3.46.0 (2024-11-07)

Features
  • add VPC access support to services and jobs (4c89ac5)

v3.45.1

Compare Source

3.45.1 (2024-11-06)

Bug Fixes
  • deps: update module github.com/prometheus/common to v0.60.1 (5c86a1e)

v3.45.0

Compare Source

3.45.0 (2024-10-30)

Features
  • trigger a new revision for any change to the Runway YAML spec (8f694cc)

v3.44.8

Compare Source

3.44.8 (2024-10-30)

Bug Fixes
  • ci-tasks: change lock check dry run (2552967)

v3.44.7

Compare Source

3.44.7 (2024-10-29)

Bug Fixes
  • set create_before_destroy to [secure] on some docker resources (fbe5e09)

v3.44.6

Compare Source

3.44.6 (2024-10-21)

Bug Fixes
  • deps: update module google.golang.org/api to v0.201.0 (5026399)
evilmartians/lefthook (lefthook)

v1.11.3

Compare Source

v1.11.2

Compare Source

v1.11.1

Compare Source

v1.11.0

Compare Source

v1.10.11

Compare Source

v1.10.10

Compare Source

v1.10.9

Compare Source

  • fix: make uninstall --remove-configs description more accurate (#​934) by @​scop

v1.10.8

Compare Source

v1.10.7

Compare Source

v1.10.6

Compare Source

Changelog

v1.10.5

Compare Source

  • feat: add lefthook option for custom path or command (#​927) by @​mrexox
  • chore: update config template with new jobs by @​mrexox

v1.10.4

Compare Source

v1.10.3

Compare Source

v1.10.2

Compare Source

v1.10.1

Compare Source

v1.10.0

Compare Source

v1.9.3

Compare Source

v1.9.2

Compare Source

v1.9.1

Compare Source

v1.9.0

Compare Source

v1.8.5

Compare Source

v1.8.4

Compare Source

v1.8.2

Compare Source

v1.8.1

Compare Source

  • chore: bump Go to 1.23 (#​856) by Valentin Kiselev
  • fix: skip git lfs hook when calling manually (#​855) by Valentin Kiselev

v1.8.0

Compare Source

v1.7.22

Compare Source

v1.7.21

Compare Source

v1.7.18

Compare Source

v1.7.17

Compare Source

v1.7.16

Compare Source

v1.7.15

Compare Source

v1.7.14

Compare Source

Fix lefthook NPM package to include OpenBSD package as optional dependency.

v1.7.13

Compare Source

v1.7.12

Compare Source

v1.7.11

Compare Source

v1.7.10

Compare Source

v1.7.9

Compare Source

v1.7.8

Compare Source

rubocop/rubocop (rubocop)

v1.73.2

Compare Source

Bug fixes
  • #​13942: Fix incorrect disabling of departments when inheriting configuration. ([@​koic][])
  • #​13766: Fix false positives for Style/InverseMethods when using any? or none? with safe navigation operator. ([@​koic][])
  • #​13938: Fix false positives for Style/RedundantCondition when a variable or a constant is used. ([@​koic][])
  • #​13935: Fix a false negative for Style/RedundantFreeze when calling methods that produce frozen objects with numblocks. ([@​earlopain][])
  • #​13928: Fix end pattern with unmatched parenthesis: / (RegexpError) on Ruby 3.2.0. ([@​dvandersluis][])
  • #​13933: Fix wrong autocorrect for Style/KeywordParametersOrder when the arguments are on multiple lines and contain comments. ([@​earlopain][])
Changes

v1.73.1

Compare Source

Bug fixes
  • #​13920: Fix an error for Lint/MixedCaseRange when /[[ ]]/ is used. ([@​koic][])
  • #​13912: Fix wrong autocorrect for Lint/EmptyConditionalBody when assigning to a variable with only a single branch. ([@​earlopain][])
  • #​13913: Fix false positives for Style/RedundantCondition when using when true is used as the true branch and the condition is not a predicate method. ([@​koic][])
  • #​13909: Fix false positive with Layout/ClosingParenthesisIndentation when first parameter is a hash. ([@​tejasbubane][])
  • #​13915: Fix writing generics type of rbs-inline annotation for nested class in Style/CommentedKeyword. ([@​dak2][])
  • #​13916: Fix Lint/LiteralAsCondition acting on the right hand side of && nodes. ([@​zopolis4][])

v1.73.0

Compare Source

New features
Bug fixes
  • #​13867: Fix an error for plugins when not running RuboCop through Bundler. ([@​earlopain][])
  • #​13902: Fix false negative for Style/RedundantSelfAssignment when the method receives a block. ([@​vlad-pisanov][])
  • #​13826: Fix false positives for regex cops when Lint/MixedCaseRange is enabled. ([@​earlopain][])
  • #​13818: Fix false positives for Lint/Void when using operator method call without argument. ([@​koic][])
  • #​13896: Fix a false positive for Style/TrivialAccessors with instance_eval and numblocks. ([@​earlopain][])
  • #​13910: Fix false positives for Style/EndlessMethod when using setter method definitions. ([@​koic][])
  • #​13889: Fix autocorrection for Layout/LineLength with interpolated strings when not on the first line. ([@​dvandersluis][])
  • #​13900: Fix infinite loop between Layout/EmptyLinesAroundAccessModifier and Layout/EmptyLinesAroundBlockBody with EnforcedStyle: no_empty_lines. ([@​dvandersluis][])
  • #​12692: Fix Style/AccessorGrouping with constants. ([@​tejasbubane][])
  • #​13882: Fix Style/RedundantFormat for annotated template strings with missing hash keys. ([@​dvandersluis][])
  • #​13880: Fix Style/RedundantFormat when given double-splatted arguments. ([@​dvandersluis][])
  • #​13907: Don't offer autocorrect for Style/StringConcatenation when numblocks are used. ([@​earlopain][])
  • #​13876: Don't consider require 'pp' to be redundant for Lint/RedundantRequireStatement. ([@​earlopain][])
  • #​13885: Update Style/HashExcept and Style/HashSlice to not register an offense if selecting over the hash value. ([@​dvandersluis][])
Changes
  • #​12948: Add ForbiddenNames configuration to Naming/VariableName to specify names that are forbidden. ([@​dvandersluis][])
  • #​13117: Add partial autocorrect support to Lint/LiteralAsCondition cop to check for redundant conditions. ([@​zopolis4][])
  • #​13892: Allow merging of configured arrays and non-arrays. ([@​sambostock][])
  • #​13833: Add Reference to common params. ([@​sambostock][])
  • #​13890: Update Lint/RedundantTypeConversion to not register an offense when given a constructor with exception: false. ([@​dvandersluis][])
  • #​13729: Update Style/RedundantCondition cop to detect conditional expressions where the true branch is true and suggest replacing them with a logical OR. ([@​datpmt][])

v1.72.2

Compare Source

Bug fixes
  • #​13853: Fix exclusion of relative paths in plugin's AllCops: Exclude as expected. ([@​koic][])
  • #​13844: Fix an error for Style/RedundantFormat when a template argument is used without keyword arguments. ([@​koic][])
  • #​13857: Fix an error for Style/RedundantFormat when numeric placeholders is used in the template argument. ([@​koic][])
  • #​13861: Fix ArgumentError related to two deprecated AllowedPattern APIs. ([@​koic][])
  • #​13849: Fix an error for Lint/UselessConstantScoping when multiple assigning to constants after private access modifier. ([@​koic][])
  • #​13856: Fix false positives for Lint/UselessConstantScoping when a constant is used after private access modifier with arguments. ([@​koic][])
Changes

v1.72.1

Compare Source

Bug fixes
  • #​13836: Fix an error for Style/RedundantParentheses when a different expression appears before a range literal. ([@​koic][])
  • #​13839: Fix false positives for Lint/RedundantTypeConversion when passing block arguments when generating a Hash or a Set. ([@​koic][])
Changes
  • #​13839: Extension plugin is loaded automatically with `require 'rubocop/rspec/support'. ([@​koic][])

v1.72.0

Compare Source

New features
Bug fixes
  • #​13807: Fix false negatives for Style/RedundantParentheses when chaining [] method calls. ([@​koic][])
  • #​13788: Fix false negatives for Style/RedundantParentheses when [] method is called with variable or constant receivers. ([@​koic][])
  • #​13811: Fix false negatives for Style/RedundantParentheses when handling range literals with redundant parentheses. ([@​koic][])
  • #​13796: Fix crash in Layout/EmptyLinesAroundMethodBody for endless methods. ([@​dvandersluis][])
  • #​13817: Fix false positive for format specifier with non-numeric precision. ([@​dvandersluis][])
  • #​12672: Fix false positives for Lint/FormatParameterMismatch when the width value is interpolated. ([@​dvandersluis][])
  • #​12795: Fix Layout/BlockAlignment for blocks that are the body of an endless method. ([@​dvandersluis][])
  • #​13822: Fix undefined method Logger when processing watched file notifications. ([@​vinistock][])
  • #​13805: Make the language_server-protocol dependency version stricter. ([@​koic][])

v1.71.2

Compare Source

Bug fixes
  • #​13782: Fix an error Layout/ElseAlignment when else is part of a numblock. ([@​earlopain][])
  • #​13395: Fix a false positive for Lint/UselessAssignment when assigning in branch and block. ([@​pCosta99][])
  • #​13783: Fix a false positive for Lint/Void when each numblock with conditional expressions that has multiple statements. ([@​earlopain][])
  • #​13787: Fix incorrect autocorrect for Style/ExplicitBlockArgument when using arguments of zsuper in method definition. ([@​koic][])
  • #​13785: Fix Style/EachWithObject cop error in case of single block argument. ([@​viralpraxis][])
  • #​13781: Fix a false positive for Lint/UnmodifiedReduceAccumulator when omitting the accumulator in a nested numblock. ([@​earlopain][])

v1.71.1

Compare Source

Bug fixes
  • #​10081: Add the missing include RuboCop::RSpec::ExpectOffense in rubocop/rspec/support.rb. ([@​d4rky-pl][])
  • #​13765: Fix a false negative for Lint/AmbiguousBlockAssociation with numblocks. ([@​earlopain][])
  • #​13759: Fix a false negative for Lint/ConstantDefinitionInBlock with numblocks. ([@​earlopain][])
  • #​13741: Register an offense for Naming/BlockForwarding and Style/ArgumentsForwarding with Ruby >= 3.4 when the block argument is referenced inside a block. This was previously disabled because of a bug in Ruby 3.3.0. ([@​earlopain][])
  • #​13777: Fix a false negative for Layout/EmptyLineBetweenDefs with DefLikeMacros and numblocks. ([@​earlopain][])
  • #​13769: Fix a false negative for Style/RedundantParentheses with numblocks. ([@​earlopain][])
  • #​13780: Fix a false positive Style/AccessModifierDeclarations when using access modifier in a numblock. ([@​earlopain][])
  • #​13775: Fix a false positive for Lint/AssignmentInCondition when assigning in numblocks. ([@​earlopain][])
  • #​13773: Fix false positives for Layout/RedundantLineBreak when using numbered block parameter. ([@​koic][])
  • #​13761: Fix a false positive for Style/SuperArguments when calling super in a numblock. ([@​earlopain][])
  • #​13768: Fix a false positive for Lint/UnreachableCode with instance_eval numblock. ([@​earlopain][])
  • #​13750: Fix false positives for Style/RedundantSelfAssignment when assigning to attribute of self. ([@​koic][])
  • #​13739: Fix false positive for Style/HashExcept and Style/HashSlice when checking for inclusion with a range. ([@​dvandersluis][])
  • #​13751: Fix false positive in Layout/ExtraSpacing with ForceEqualSignAlignment: true for endless methods. ([@​dvandersluis][])
  • #​13767: Fix Style/IdenticalConditionalBranches autocorrect when condition is inside assignment. ([@​dvandersluis][])
  • #​13764: Fix a false negative for Layout/SingleLineBlockChain with numblocks. ([@​earlopain][])
  • #​13771: Fix wrong autocorrect for Style/SoleNestedConditional when using numblocks. ([@​earlopain][])

v1.71.0

Compare Source

New features
Bug fixes
  • #​13684: Fix a false positive for Style/FrozenStringLiteralComment when using the frozen string literal magic comment in Active Admin's arb files. ([@​koic][])
  • #​13372: Add rubocop_cache to the path given by --cache-root when pruning cache. ([@​capncavedan][])
  • #​13257: Fix department disable/enable comments enabling the cop for the whole file even if that file is excluded by the cop. ([@​earlopain][])
  • #​13704: Fix false positives for Lint/OutOfRangeRegexpRef when matching with match using safe navigation. ([@​koic][])
  • #​13720: Fix false positives for Style/BlockDelimiters when using brace blocks as conditions under EnforcedStyle: semantic. ([@​koic][])
  • #​13688: Fix false negative on Style/RedundantLineContinuation when the continuation is preceded by an interpolated string. ([@​dvandersluis][])
  • #​13677: Fix false negative on Style/RedundantLineContinuation when the continuation is followed by a percent array. ([@​dvandersluis][])
  • #​13692: Fix false positive in Style/RedundantLineContinuation when the ruby code ends with a commented continuation. ([@​dvandersluis][])
  • #​13675: Fix invalid autocorrect for Style/ArrayFirstLast when calling .[] or &.[] with 0 or -1. ([@​dvandersluis][])
  • #​13685: Fix syntax error introduced by Lint/SafeNavigationChain when adding safe navigation to an operator call inside a hash. ([@​dvandersluis][])
  • #​13725: Fix an incorrect autocorrect for Style/IfUnlessModifier when using omitted hash values in an assignment. ([@​elliottt][])
  • #​13667: Maintain precedence in autocorrect for Style/SoleNestedConditional. ([@​tejasbubane][])
  • #​13679: Fix false positive for Style/RedundantLineContinuation when calling methods with fully qualified constants. ([@​earlopain][])
  • #​13728: Fix a RuboCop error on provided glob pattern which matches directory. ([@​viralpraxis][])
  • #​13693: Fix Style/ConditionalAssignment cop error on unless without else and assign_inside_condition enforced style. ([@​viralpraxis][])
  • #​13669: Fix Style/FrozenStringLiteralComment cop error on unnormalized magic comment and never enforced style. ([@​viralpraxis][])
  • #​13696: Update Metrics/CollectionLiteralLength to only register for [] when called on Set. ([@​dvandersluis][])
Changes

v1.70.0

Compare Source

New features
Bug fixes
  • #​13589: Fix Lint/NonAtomicFileOperation to detect offenses with fully qualified constants. ([@​viralpraxis][])
  • #​13630: Fix CLI --format option to accept fully qualified formatter class names. ([@​viralpraxis][])
  • #​13624: Don't show warnings from Lint/Syntax when a syntax error occurs. ([@​earlopain][])
  • #​13605: Fix RuboCop::Cop::Util.to_string_literal to work correctly with frozen strings. ([@​viralpraxis][])
  • #​12393: Fix false negatives for Lint/Void inside of non-modifier conditionals. ([@​GabeIsman][])
  • #​13623: Fix false negatives for Style/MultipleComparison when setting AllowMethodComparison: false and comparing with simple method calls. ([@​koic][])
  • #​13644: Fix a false positive for Layout/EmptyLinesAroundAccessModifier when an access modifier and an expression are on the same line. ([@​koic][])
  • #​13645: Fix a false positive for Style/MethodCallWithArgsParentheses when setting EnforcedStyle: omit_parentheses and last argument is an endless range. ([@​earlopain][])
  • #​13614: Fix false positives for Style/RaiseArgs with anonymous splat and triple dot forwarding. ([@​earlopain][])
  • #​13591: Fix false positives for Lint/NestedMethodDefinition when defining a method on a constant or a method call. ([@​koic][])
  • #​13594: Fix false positives for Style/MultipleComparison when using multiple safe navigation method calls. ([@​koic][])
  • #​13654: Fix false positives for Style/RedundantInitialize when empty initialize method has arguments. ([@​marocchino][])
  • #​13608: Fix crash when running rubocop -d on a config with a remote inherit_from that causes a duplicate setting warning. ([@​dvandersluis][])
  • #​12430: Fix false negatives in Style/RedundantLineContinuation with multiple line continuations. ([@​dvandersluis][])
  • #​13638: Fix false positive for Naming/BlockForwarding when method just returns the block argument. ([@​mvz][])
  • #​13599: Fix incorrect autocorrect for Layout/HashAlignment when there is a multiline positional argument and Layout/ArgumentAlignment is configured with EnforcedStyle: with_fixed_indentation. ([@​dvandersluis][])
  • #​13586: Fix regression in Layout/SpaceAroundOperators when different comparison operators were aligned with each other. ([@​dvandersluis][])
  • #​13603: Fix Lint/LiteralInInterpolation cop error on invalid string literal. ([@​viralpraxis][])
  • #​13582: Fix Lint/NonAtomicFileOperation cop error on non-constant receiver. ([@​viralpraxis][])
  • #​13598: Fix Lint/Void cop error on if without body. ([@​viralpraxis][])
  • #​13634: Fix Style/ClassAndModuleChildren cop error on compact enforced style and unindented body. ([@​viralpraxis][])
  • #​13642: Fix Style/FloatDivision cop error if #to_f has implicit receiver. ([@​viralpraxis][])
  • #​13517: Fixes Style/HashExcept to recognize safe navigation when ActiveSupportExtensionsEnabled config is enabled. ([@​lovro-bikic][])
  • #​13585: Fix Style/HashSyntax cop error on implicit call method. ([@​viralpraxis][])
  • #​13632: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains elsif. ([@​viralpraxis][])
  • #​13659: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains multiple elsif. ([@​viralpraxis][])
  • #​13596: Fix Style/RedundantCondition cop error on parentheses and modifier if in else. ([@​viralpraxis][])
  • #​13616: Fix incorrect autocorrect for Style/RedundantRegexpArgument when the regex contains a single quote. ([@​mrzasa][])
  • #​13619: Fix Style/YodaExpression cop error in case of suffix form of operator. ([@​viralpraxis][])
  • #​13578: Update Layout/LineContinuationSpacing to ignore continuations inside a regexp or xstr. ([@​dvandersluis][])
  • #​13601: Update Style/SuperArguments to handle super with a block or with a chained method with a block. ([@​dvandersluis][])
  • #​13568: Fix NoMethodError in ConfigValidator when a Cop's config is not a Hash and raise ValidationError instead. ([@​amomchilov][])
Changes

v1.69.2

Compare Source

Bug fixes
  • #​13553: Fix an incorrect autocorrect for Style/MultipleComparison when a variable is compared multiple times after a method call. ([@​koic][])
  • #​13562: Fix Bundler/DuplicatedGem cop error in case of empty branch. ([@​viralpraxis][])
  • #​13573: Fix Lint/UnescapedBracketInRegexp cop failure with invalid multibyte escape. ([@​earlopain][])
  • #​13556: Fix false positives for Style/FileNull when using 'nul' string. ([@​koic][])
  • #​12995: Fix --disable-uncorrectable to not insert directives inside a string. ([@​dvandersluis][])
  • #​13320: Fix incorrect autocorrect when Layout/LineContinuationLeadingSpace and Style/StringLiterals autocorrects in the same pass. ([@​dvandersluis][])
  • #​13299: Fix Style/BlockDelimiters to always accept braces when an operator method argument is chained. ([@​dvandersluis][])
  • #​13565: Fix Style/RedundantLineContinuation false negatives when a redundant continuation follows a required continuation. ([@​dvandersluis][])
  • #​13551: Fix an incorrect autocorrect for Style/IfWithSemicolon when using multi value assignment in if with a semicolon is used. ([@​koic][])
  • #​13534: Fix Layout/LineLength cop failure in case of YARD-comment-like string. ([@​viralpraxis][])
  • #​13558: Fix Lint/NonAtomicFileOperation cop error in case of implicit receiver. ([@​viralpraxis][])
  • #​13564: Fix Metrics/ClassLength cop error in case of chained assignments. ([@​viralpraxis][])
  • #​13570: Fix Naming/RescuedExceptionsVariableName cop error when exception is assigned with writer method. ([@​viralpraxis][])
  • #​13559: Fix a false positive for Style/RedundantLineContinuation when a method definition is used as an argument for a method call. ([@​davidrunger][])
  • #​13574: Fix Style/ExactRegexpMatch cop error on invalid regular expression literal. ([@​viralpraxis][])
  • #​13554: Fix Style/FrozenStringLiteralComment false positive in case of non-downcased value literal. ([@​viralpraxis][])
  • #​13569: Fix Style/MethodCallWithoutArgsParentheses cop error in case of mass hash assignment. ([@​viralpraxis][])
  • #​13542: Fix Style/RedundantCondition cop failure in case of empty arguments. ([@​viralpraxis][])
  • #​13509: Update Layout/ExtraSpacing and Layout/SpaceAroundOperators to handle preceding operators inside strings. ([@​dvandersluis][])

v1.69.1

Compare Source

Bug fixes
  • #​13502: Fix an incorrect autocorrect for Style/DigChain when using safe navigation method chain with dig method. ([@​koic][])
  • #​13505: Fix an error for Style/ParallelAssignment when using the anonymous splat operator. ([@​earlopain][])
  • #​13184: Fix some false positives in Lint/UnreachableCode. ([@​isuckatcs][])
  • #​13494: Fix false positives for Style/HashExcept cop when using reject/!include?, reject/!in? or select/!exclude? combinations. ([@​lovro-bikic][])
  • #​13522: Fix Lint/UnescapedBracketInRegexp cop failure with invalid regular expression. ([@​viralpraxis][])
  • #​13523: Fix Style::AccessModifierDeclarations cop failure in case of if node without else. ([@​viralpraxis][])
  • #​13524: Fix Style/RedundantArgument cop failure while inspecting string literal with invalid encoding. ([@​viralpraxis][])
  • #​13528: Fix Style/RedundantParentheses cop failure in case of splatted case node without condition. ([@​viralpraxis][])
  • #​13521: Fix Style/RedundantSelf cop failure with kwnilarg argument node. ([@​viralpraxis][])
  • #​13526: Fix Style/StringConcatenation cop failure when there are mixed implicit and explicit concatenations. ([@​viralpraxis][])
  • #​13511: Fix false positive in Lint/UnescapedBracketInRegexp when using regexp_parser 2.9.2 and earlier. ([@​dvandersluis][])
  • #​13096: Update Style/BlockDelimiters to not change braces when they are required for syntax. ([@​dvandersluis][])
  • #​13512: Update Style/LambdaCall to be aware of safe navigation. ([@​dvandersluis][])

v1.69.0

Compare Source

New features
Bug fixes
  • #​13455: Fix a false positive for Layout/EmptyLineAfterGuardClause when using a guard clause outside oneliner block. ([@​koic][])
  • #​13412: Fix a false positive for Style/RedundantLineContinuation when there is a line continuation at the end of Ruby code followed by __END__ data. ([@​koic][])
  • #​13476: Allow to write generics type of RBS::Inline annotation after subclass definition in Style/CommentedKeyword. ([@​dak2][])
  • #​13441: Fix an incorrect autocorrect for Style/IfWithSemicolon when using return with value in if with a semicolon is used. ([@​koic][])
  • #​13448: Fix an incorrect autocorrect for Style/IfWithSemicolon when the then body contains an arithmetic operator method call with an argument. ([@​koic][])
  • #​13199: Make Style/RedundantCondition skip autocorrection when a branch has a comment. ([@​koic][])
  • #​13411: Fix Style/BitwisePredicate when having regular method. ([@​d4be4st][])
  • #​13432: Fix false positive for Lint/FloatComparison against nil. ([@​lovro-bikic][])
  • #​13461: Fix false positives for Lint/InterpolationCheck when using invalid syntax in interpolation. ([@​koic][])
  • #​13402: Fix a false positive for Lint/SafeNavigationConsistency when using unsafe navigation with both && and ||. ([@​koic][])
  • #​13434: Fix a false positive for Naming/MemoizedInstanceVariableName for assignment methods`. ([@​earlopain][])
  • #​13415: Fix false positives for Naming/MemoizedInstanceVariableName when using initialize_clone, initialize_copy, or initialize_dup. ([@​koic][])
  • #​13421: Fix false positives for Style/SafeNavigation when using a method chain that exceeds the MaxChainLength value and includes safe navigation operator. ([@​koic][])
  • #​13433: Fix autocorrection for Style/AccessModifierDeclarations for multiple inline symbols. ([@​dvandersluis][])
  • #​13430: Fix EmptyLinesAroundMethodBody for methods with arguments spanning multiple lines. ([@​aduth][])
  • #​13438: Fix incorrect correction in Lint/Void if an operator is called in a void context using a dot. ([@​dvandersluis][])
  • #​13419: Fix Lint/DeprecatedOpenSSLConstant false positive when the argument is a safe navigation method call. ([@​dvandersluis][])
  • #​13404: Fix Style/AccessModifierDeclarations to register (as positive or negative, depending on AllowModifiersOnSymbols value) access modifiers with multiple symbols. ([@​dvandersluis][])
  • #​13436: Fix incorrect offense and autocorrect for Lint/RedundantSplatExpansion when percent literal array is used in a safe navigation method call. ([@​lovro-bikic][])
  • #​13442: Fix an incorrect autocorrect for Style/NestedTernaryOperator when ternary operators are nested and the inner condition is parenthesized. ([@​koic][])
  • #​13444: Fix an incorrect autocorrect for Style/OneLineConditional when the else branch of a ternary operator has multiple expressions. ([@​koic][])
  • #​13483: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using escaped double quote character. ([@​koic][])
  • #​13497: Fix infinite loop error for Style/IfWithSemicolon when using nested if/;/end in if body. ([@​koic][])
  • #​13477: Update Layout/LeadingCommentSpace to accept multiline shebangs at the top of the file. ([@​dvandersluis][])
  • #​13453: Update Style/AccessModifierDeclarations to handle attr_* methods with multiple parameters. ([@​dvandersluis][])
  • #​12597: Update Style/SingleLineDoEndBlock to not register an offense if it will introduce a conflicting Layout/RedundantLineBreak offense. ([@​dvandersluis][])
Changes

v1.68.0

Compare Source

New features
Bug fixes
  • #​13401: Fix a false negative for Style/RedundantLineContinuation when there is a line continuation at the EOF. ([@​koic][])
  • #​13368: Fix an incorrect autocorrect for Naming/BlockForwarding with Style/ExplicitBlockArgument. ([@​koic][])
  • #​13391: Fix deserialization of unknown encoding offenses. ([@​earlopain][])
  • #​13348: Ensure Style/BlockDelimiters autocorrection does not move other code between the block and comment. ([@​dvandersluis][])
  • #​13382: Fix an error during error handling for custom ruby extractors when the extractor is a class. ([@​earlopain][])
  • #​13309: Fix a false negative for Lint/UselessAssignment cop when there is a useless assignment followed by a block. ([@​pCosta99][])
  • #​13255: Fix false negatives for Style/MapIntoArray when using non-splatted arguments. ([@​vlad-pisanov][])
  • #​13356: Fix a false positive for Layout/SpaceBeforeBrackets when there is a dot before []=. ([@​earlopain][])
  • #​13365: Fix false positives for Lint/SafeNavigationConsistency when using safe navigation on the LHS with operator method on the RHS of &&. ([@​koic][])
  • #​13390: Fix false positives for Style/GuardClause when using a local variable assigned in a conditional expression in a branch. ([@​koic][])
  • #​13337: Fix false positives for Style/RedundantLineContinuation when required line continuations for && is used with an assignment after a line break. ([@​koic][])
  • #​13387: Fix false positives in Style/RedundantParentheses when parentheses are used around method chain with do...end block in keyword argument. ([@​koic][])
  • #​13341: Fix false positives for Lint/SafeNavigationChain when a safe navigation operator is used with a method call as the RHS operand of && for the same receiver. ([@​koic][])
  • #​13324: Fix --disable-uncorrectable to not insert a comment inside a string continuation. ([@​dvandersluis][])
  • #​13364: Fix incorrect autocorrect with Lint/UselessAssignment a multiple assignment or for contains an inner assignment. ([@​dvandersluis][])
  • #​13353: Fix an incorrect autocorrect for Style/BlockDelimiters when EnforcedStyle: semantic is set and used with Layout/SpaceInsideBlockBraces. ([@​koic][])
  • #​13361: Fix false positives for Style/RedundantInterpolationUnfreeze and Style/RedundantFreeze when strings contain interpolated global, instance, and class variables. ([@​vlad-pisanov][])
  • #​13343: Prevent Layout/LineLength from breaking up a method with arguments chained onto a heredoc delimiter. ([@​dvandersluis][])
  • #​13374: Return exit code 0 with --display-only-correctable and --display-only-safe-correctable when no offenses are displayed. ([@​dvandersluis][])
  • #​13193: Fix false positive in Style/MultipleComparison when ComparisonsThreshold exceeds 2. ([@​fatkodima][], [@​vlad-pisanov][])
  • #​13325: Fix an incorrect autocorrect for Lint/NonAtomicFileOperation when using a postfix unless for file existence checks before creating a file, in cases with Dir.mkdir. ([@​kotaro0522][])
  • #​13397: Update PercentLiteralCorrector to be able to write pairs of delimiters without excessive escaping. ([@​dvandersluis][])
  • #​13336: Update Style/SafeNavigation to not autocorrect if the RHS of an and node is an or node. ([@​dvandersluis][])
  • #​13378: When removing parens in Style/TernaryParentheses with a send node condition, ensure its arguments are parenthesized. ([@​dvandersluis][])
Changes
  • #​13347: When running rubocop -V, show the analysis Ruby version of the current directory. ([@​earlopain][])

v1.67.0

Compare Source

New features
  • #​13259: Add new Lint/DuplicateSetElement cop. ([@​koic][])
  • #​13223: Add AllowRBSInlineAnnotation config option to Layout/LeadingCommentSpace to support RBS::Inline style annotation comments. ([@​tk0miya][])
  • #​13310: Display analysis Ruby version in rubocop -V. ([@​koic][])
Bug fixes
  • #​13314: Fix a false negative for Style/Semicolon when using a semicolon between a closing parenthesis after a line break and a consequent expression. ([@​koic][])
  • #​13217: Fix a false positive in Lint/ParenthesesAsGroupedExpression with compound ranges. ([@​gsamokovarov][])
  • #​13268: Fix a false positive for Style/BlockDelimiters when a single line do-end block with an inline rescue with a semicolon before rescue. ([@​koic][])
  • #​13298: Fix an error for Layout/AccessModifierIndentation when the access modifier is on the same line as the class definition. ([@​koic][])
  • #​13198: Fix an error for Style/OneLineConditional when using nested if/then/else/end. ([@​koic][])
  • #​13316: Fix an incorrect autocorrect for Lint/ImplicitStringConcatenation with Lint/TripleQuotes when string literals with triple quotes are used. ([@​koic][])
  • #​13220: Fix an incorrect autocorrect for Style/ArgumentsForwarding when using only forwarded arguments in brackets. ([@​koic][])
  • #​13202: Fix an incorrect autocorrect for Style/CombinableLoops when looping over the same data with different block variable names. ([@​koic][])
  • #​13291: Fix an incorrect autocorrect for Style/RescueModifier when using modifier rescue for method call with heredoc argument. ([@​koic][])
  • #​13226: Fix --auto-gen-config when passing an absolute config path. ([@​earlopain][])
  • #​13225: Avoid syntax error when correcting Style/OperatorMethodCall with / operations followed by a parenthesized argument. ([@​dvandersluis][])
  • #​13235: Fix an error for Style/IfUnlessModifier when multiline if that fits on one line and using implicit method call with hash value omission syntax. ([@​koic][])
  • #​13219: Fix a false positive for Style/ArgumentsForwarding with Ruby 3.0 and optional position arguments. ([@​earlopain][])
  • #​13271: Fix a false positive for Lint/AmbiguousRange when using rational literals. ([@​koic][])
  • #​13260: Fix a false positive for Lint/RedundantSafeNavigation with namespaced constants. ([@​earlopain][])
  • #​13224: Fix false positives for Style/OperatorMethodCall with named forwarding. ([@​earlopain][])
  • #​13213: Fix false positives for Style/AccessModifierDeclarations when AllowModifiersOnAttrs: true and using splat with a percent symbol array, or with a constant. ([@​koic][])
  • #​13145: Fix false positives for Style/RedundantLineContinuation when line continuations with comparison operator and the LHS is wrapped in parentheses. ([@​koic][])
  • #​12875: Fix false positive for Style/ArgumentsForwarding when argument is used inside a block. ([@​dvandersluis][])
  • #​13239: Fix false positive for Style/CollectionCompact when using delete_if. ([@​masato-bkn][])
  • #​13210: Fix omit_parentheses style for pattern match with value omission in single-line branch. ([@​gsamokovarov][])
  • #​13149: Handle crashes in custom Ruby extractors more gracefully. ([@​earlopain][])
  • #​13319: Handle literal forward slashes inside a regexp in Lint/LiteralInInterpolation. ([@​dvandersluis][])
  • #​13208: Fix an incorrect autocorrect for Style/IfWithSemicolon when single-line if/;/end when the then body contains a method call with [] or []=. ([@​koic][])
  • #​13318: Prevent modifying blocks with Style/HashEachMethods if the hash is modified within the block. ([@​dvandersluis][])
  • #​13293: Fix TargetRubyVersion from a gemspec when the gemspec is not named like the folder it is located in. ([@​earlopain][])
  • #​13211: Fix wrong autocorrect for Style/GuardClause when using heredoc without else branch. ([@​earlopain][])
  • #​13215: Fix wrong autocorrect for Lint/BigDecimalNew when using ::BigDecimal.new. ([@​earlopain][])
  • #​13215: Fix wrong autocorrect for Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses and whitespace. ([@​earlopain][])
  • #​13302: Fix incompatible autocorrect between Style/RedundantBegin and Style/BlockDelimiters with EnforcedStyle: braces_for_chaining. ([@​earlopain][])
Changes
  • #​13221: Do not group accessors having RBS::Inline annotation comments in Style/AccessorGrouping. ([@​tk0miya][])
  • #​13286: Add AllowedMethods configuration to Layout/FirstMethodArgumentLineBreak. ([@​dvandersluis][])
  • #​13110: Add support in Style/ArgumentsForwarding for detecting forwarding of all anonymous arguments. ([@​dvandersluis][])
  • #​13222: Allow to write RBS::Inline annotation comments after method definition in Style/CommentedKeyword. ([@​tk0miya][])
  • #​13253: Emit a deprecation when custom cops inherit from RuboCop::Cop::Cop. ([@​earlopain][])
  • #​13300: Set EnforcedShorthandSyntax: either by default for Style/HashSyntax. ([@​koic][])
  • #​13254: Enhance the autocorrect for Naming/InclusiveLanguage when a sole suggestion is set. ([@​koic][])
  • #​13232: Make server mode aware of auto-restart for local config update. ([@​koic][])
  • #​13270: Make Style/SelectByRegexp aware of filter in Ruby version 2.6 or above. ([@​masato-bkn][])
  • #​9816: Refine Lint/SafeNavigationConsistency cop to check that the safe navigation operator is applied consistently and without excess or deficiency. ([@​koic][])
  • #​13256: Report and correct more Style/SafeNavigation offenses. ([@​dvandersluis][])
  • #​13245: Support filter/filter! in Style/CollectionCompact. ([@​masato-bkn][])
  • #​13281: Support Ruby 3.4 for Lint/UriRegexp to avoid obsolete API. ([@​koic][])
  • #​13229: Update Style/MapIntoArray to be able to handle arrays created using [].tap. ([@​dvandersluis][])
  • #​13305: Update Style/ReturnNilInPredicateMethodDefinition to detect implicit nil returns inside if. ([@​dvandersluis][])
  • #​13327: Make server mode aware of auto-restart for .rubocop_todo.yml update. ([@​koic][])

v1.66.1

Compare Source

Bug fixes
  • #​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][])

v1.66.0

Compare Source

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][])
Changes
  • #​13150: Allow get_!, set_!, get_?, set_?, get_=, and set_= in Naming/AccessorMethodName. ([@​koic][])
  • #​13103: Make Lint/UselessAssignment autocorrection safe. ([@​koic][])
  • #​13099: Make Style/RedundantRegexpArgument respect the EnforcedStyle of Style/StringLiterals. ([@​koic][])
  • #​13165: Remove dependency on the rexml gem. ([@​bquorning][])
  • #​13090: Require RuboCop AST 1.32.0+ to use RuboCop::AST::RationalNode. ([@​koic][])

v1.65.1

Compare Source

New features
  • #​13068: Add config validation to Naming/PredicateName to check that all ForbiddenPrefixes are being checked. ([@​maxjacobson][])
Bug fixes
  • #​13051: Fix an error for Lint/FloatComparison when comparing with rational literal. ([@​koic][])
  • #​13065: Fix an error for Lint/UselessAssignment when same name variables are assigned using chained assignment. ([@​koic][])
  • #​13062: Fix an error for Style/InvertibleUnlessCondition when using empty parenthesis as condition. ([@​earlopain][])
  • #​11438: Explicitly load fileutils before calculating before_us. ([@​r7kamura][])
  • #​13044: Fix false negatives for Lint/ImplicitStringConcatenation when using adjacent string interpolation literals on the same line. ([@​koic][])
  • #​13083: Fix a false positive for Style/GlobalStdStream when using namespaced constants like Foo::STDOUT. ([@​earlopain][])
  • #​13081: Fix a false positive for Style/ZeroLengthPredicate when using safe navigation and non-zero comparison. ([@​fatkodima][])
  • #​13041: Fix false positives for Lint/UselessAssignment when pattern match variable is assigned and used in a block. ([@​koic][])
  • #​13076: Fix an incorrect autocorrect for Naming/RescuedExceptionsVariableName when using hash value omission. ([@​koic][])

v1.65.0

Compare Source

New features
Bug fixes
  • #​12954: Fix a false negative for Style/ArgumentsForwarding when arguments forwarding in yield. ([@​koic][])
  • #​13033: Fix a false positive for Layout/SpaceAroundOperators when using multiple spaces between an operator and a tailing comment. ([@​koic][])
  • #​12885: Fix a false positive for Lint/ToEnumArguments when enumerator is created for another method. ([@​koic][])
  • #​13018: Fix a false positive for Style/MethodCallWithArgsParentheses when EnforcedStyle: omit_parentheses is set and parenthesized method call is used before constant resolution. ([@​koic][])
  • #​12986: Fix a false positive for Style/RedundantBegin when endless method definition with rescue. ([@​koic][])
  • #​12985: Fix an error for Style/RedundantRegexpCharacterClass when using regexp_parser gem 2.3.1 or older. ([@​koic][])
  • #​13010: Fix an error for Style/SuperArguments when the hash argument is or-assigned. ([@​koic][])
  • #​13023: Fix an error for Style/SymbolProc when using lambda -> with one argument and multiline do...end block. ([@​koic][])
  • #​12989: Fix an error for the inherit_gem config when the Gemfile contains an uninstalled git gem. ([@​earlopain][])
  • #​12975: Fix an error for the inherit_gem config when running RuboCop without bundler and no Gemfile exists. ([@​earlopain][])
  • #​12997: Fix an error for Lint/UnmodifiedReduceAccumulator when the block is empty. ([@​earlopain][])
  • #​12979: Fix false negatives for Lint/Void when void expression with guard clause is not on last line. ([@​koic][])
  • #​12716: Fix false negatives for Lint/Void when using parenthesized void operators. ([@​koic][])
  • #​12471: Fix false negatives for Style/ZeroLengthPredicate when using safe navigation operator. ([@​koic][])
  • #​12960: Fix false positives for Lint/NestedMethodDefinition when definition of method on variable. ([@​koic][])
  • #​13012: Fix false positives for Style/HashExcept when using reject and calling include? method with bang. ([@​koic][])
  • #​12983: Fix false positives for Style/SendWithLiteralMethodName using send with writer method name. ([@​koic][])
  • #​12957: Fix false positives for Style/SuperArguments when calling super in a block. ([@​koic][])
Changes

v1.64.1

Compare Source

Bug fixes
  • #​12951: Fix an error for Style/Copyright when AutocorrectNotice is missing. ([@​koic][])
  • #​12932: Fix end position of diagnostic for LSP. ([@​ksss][])
  • #​12926: Fix a false positive for Style/SuperArguments when the methods block argument is reassigned before super. ([@​earlopain][])
  • #​12931: Fix false positives for Style/RedundantLineContinuation when line continuations involve break, next, or yield with a return value. ([@​koic][])
  • #​12924: Fix false positives for Style/SendWithLiteralMethodName when public_send argument is a method name that cannot be autocorrected. ([@​koic][])

v1.64.0

Compare Source

New features
Bug fixes
  • #​7189: Fix a false positive for Style/Copyright when using multiline copyright notice. ([@​koic][])
  • #​12914: Fix a false negative for Layout/EmptyComment when using an empty comment next to code after comment line. ([@​koic][])
  • #​12919: Fix false negatives for Style/ArgumentsForwarding when forward target is super. ([@​koic][])
  • #​12923: Fix false negatives for Style/ArgumentsForwarding when forward target is safe navigation method. ([@​koic][])
  • #​12894: Fix false positives for Style/MapIntoArray when using each without receiver with << to build an array. ([@​koic][])
  • #​12876: Fix an error for the lockfile parser if a gemfile exists but a lockfile doesn't. ([@​earlopain][])
  • #​12888: Fix --no-exclude-limit generating a todo with Max config instead of listing everything out with Exclude. ([@​earlopain][])
  • #​12898: Fix an error for TargetRailsVersion when parsing from the lockfile with prerelease rails. ([@​earlopain][])
Changes
  • #​12908: Add rubocop-rspec back to suggested extensions when rspec-rails is in use. ([@​pirj][])
  • #​12884: Align output from cop.documentation_url with --show-docs-url when passing a config as argument. ([@​earlopain][])
  • #​12905: Support ActiveSupportExtensionsEnabled for Style/SymbolProc. ([@​koic][])
  • #​12897: Respect user's intentions with workspace/executeCommand LSP method. ([@​koic][])

v1.63.5

Compare Source

Bug fixes
  • #​12877: Fix an infinite loop error for Layout/FirstArgumentIndentation when specifying EnforcedStyle: with_fixed_indentation of Layout/ArrayAlignment. ([@​koic][])
  • #​12873: Fix an error for Metrics/BlockLength when the CountAsOne config is invalid. ([@​koic][])
  • #​12881: Fix incorrect autocorrect when Style/NumericPredicate is used with negations. ([@​fatkodima][])
  • #​12882: Fix Layout/CommentIndentation for comment-only pattern matching. ([@​nekketsuuu][])

v1.63.4

Compare Source

Bug fixes
  • #​12871: Fix an error for rubocop -V when .rubocop.yml contains ERB. ([@​earlopain][])
  • #​12862: Fix a false positive for Style/RedundantLineContinuation when line continuations involve return with a return value. ([@​koic][])
  • #​12664: Fix handling of textDocument/diagnostic. ([@​muxcmux][])
  • #​12865: Fix Rails Cops, which weren't reporting any violations unless running with bundle exec. ([@​amomchilov][])

v1.63.3

Compare Source

Bug fixes
  • #​12857: Fix false negatives for Lint/UnreachableCode when using pattern matching. ([@​koic][])
  • #​12852: Fix an error for Lint/EmptyFile in formatters when using cache. ([@​earlopain][])
  • #​12848: Fix an error that occurs in RuboCop::Lockfile when the constant Bundler is uninitialized. ([@​koic][])
Changes

v1.63.2

Compare Source

Bug fixes
  • #​12843: Fix an error for Lint/MixedCaseRange when a character between Z and a is used in the regexp range. ([@​koic][])
  • #​12846: Fix an error for RuboCop::Lockfile when there is no Bundler environment. ([@​koic][])
  • #​12832: Fix an error for Style/ArgumentsForwarding when using block arg in nested method definitions. ([@​koic][])
  • #​12841: Fix false negatives for Lint/UnreachableLoop when using pattern matching. ([@​koic][])
  • #​12835: Allow global offenses to be disabled by directive comments. ([@​earlopain][])
Changes
  • #​12845: Exclude debug/open_nonstop from Lint/Debugger by default. ([@​koic][])

v1.63.1

Compare Source

Bug fixes
  • #​12828: Fix a false positive for Lint/AssignmentInCondition if assigning inside a method call. ([@​earlopain][])
  • #​12823: Fixed "uninitialized constant RuboCop::Lockfile::Bundler", caused when running RuboCop without bundler exec on codebases that use rubocop-rails. ([@​amomchilov][])

v1.63.0

Compare Source

New features
Bug fixes
  • #​12769: Fix a false positive for Lint/RedundantWithIndex when calling with_index with receiver and a block. ([@​koic][])
  • #​12547: Added a comment recommending upgrading to the latest version of Rubocop in the error text when an Infinite loop detected error occurs. ([@​Hiroto-Iizuka][])
  • #​12782: Fix an error for Style/Alias with EnforcedStyle: prefer_alias when calling alias_method with fewer than 2 arguments. ([@​earlopain][])
  • #​12781: Fix an error for Style/ExactRegexpMatch when calling match without a receiver. ([@​earlopain][])
  • #​12780: Fix an error for Style/RedundantEach when using reverse_each.each without a block. ([@​earlopain][])
  • #​12731: Treat &. the same way as . for setter methods in Lint/AssignmentInCondition. ([@​jonas054][])
  • #​12793: Fix false positives for Style/RedundantLineContinuation when using line continuation with modifier. ([@​koic][])
  • #​12807: Fix false positives for Naming/BlockForwarding when using explicit block forwarding in block method and others. ([@​koic][])
  • #​12796: Fix false positives for Style/EvalWithLocation when using eval with a line number from a method call or a variable. ([@​koic][])
  • #​12794: Fix false positives for Style/RedundantArgument when when single-quoted strings for cntrl character. ([@​koic][])
  • #​12797: Fix false positives for Style/RedundantLineContinuation when using line continuations with && or || operator in assignment. ([@​koic][])
  • #​12793: Fix false positives for Style/RedundantLineContinuation when multi-line continuations with operators. ([@​koic][])
  • #​12801: Fix incorrect autocorrect for Style/CollectionCompact when using delete_if. ([@​koic][])
  • #​12789: Make Style/RedundantPercentQ safe on multiline strings. ([@​boardfish][])
  • #​12802: Return global offenses for Naming/FileName and Naming/InclusiveLanguage for empty files. ([@​earlopain][])
  • #​12804: Return global offenses for Style/Copyright when the file is empty. ([@​earlopain][])
Changes
rubocop/rubocop-rspec (rubocop-rspec)

v2.31.0

Compare Source

  • Support AutoCorrect: contextual option for LSP. ([@​ydah])

v2.30.0

Compare Source

v2.29.2

Compare Source

  • Fix beginless and endless range bug for RepeatedIncludeExample cop. ([@​hasghari])
  • Fix a false positive for RSpec/RepeatedSubjectCall when subject is used as argument to function call. ([@​K-S-A])

v2.29.1

Compare Source

  • Fix an error in the default configuration. ([@​ydah])

v2.29.0

Compare Source

  • Fix an autocorrect error for RSpec/ExpectActual. ([@​bquorning])
  • Add new RSpec/UndescriptiveLiteralsDescription cop. ([@​ydah])
  • Add new RSpec/EmptyOutput cop. ([@​bquorning])

v2.28.0

Compare Source

  • Extract RSpec Rails cops to a separate repository, rubocop-rspec_rails. The rubocop-rspec_rails repository is a dependency of rubocop-rspec and the cops related to rspec-rails are aliased (RSpec/Rails/Foo == RSpecRails/Foo) until v3.0 is released, so the change will be invisible to users until then. ([@​ydah])

Configuration

📅 Schedule: Branch creation - "* 3-5 * * *" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This MR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading