Releases: github/rubocop-github
Releases · github/rubocop-github
v0.27.0
What's Changed
- Bump rubocop from 1.76.0 to 1.76.1 by @dependabot[bot] in #314
- Bump rack from 3.1.15 to 3.1.16 in the bundler group by @dependabot[bot] in #310
- Bump rake from 13.2.1 to 13.3.0 by @dependabot[bot] in #309
- Bump ruby/setup-ruby from 1.244.0 to 1.245.0 by @dependabot[bot] in #315
- Bump actions/attest-build-provenance from 2.3.0 to 2.4.0 by @dependabot[bot] in #316
- Bump rubocop from 1.76.1 to 1.77.0 by @dependabot[bot] in #317
- Bump ncipollo/release-action from 1.16.0 to 1.18.0 by @dependabot[bot] in #318
- Bump rubocop from 1.77.0 to 1.78.0 by @dependabot[bot] in #319
- Bump ruby/setup-ruby from 1.245.0 to 1.246.0 by @dependabot[bot] in #320
- Bump ruby/setup-ruby from 1.246.0 to 1.247.0 by @dependabot[bot] in #321
- Bump nokogiri from 1.18.8 to 1.18.9 in the bundler group by @dependabot[bot] in #322
- Bump ruby/setup-ruby from 1.247.0 to 1.248.0 by @dependabot[bot] in #323
- Bump ruby/setup-ruby from 1.248.0 to 1.251.0 by @dependabot[bot] in #325
- Bump ruby/setup-ruby from 1.251.0 to 1.253.0 by @dependabot[bot] in #326
- Bump rubocop from 1.78.0 to 1.79.1 by @dependabot[bot] in #328
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #330
- Bump ruby/setup-ruby from 1.253.0 to 1.255.0 by @dependabot[bot] in #329
- Bump rubocop-rails from 2.32.0 to 2.33.0 by @dependabot[bot] in #331
- Bump rubocop-rails from 2.33.0 to 2.33.3 by @dependabot[bot] in #334
- Bump actionview from 7.2.2.1 to 7.2.2.2 by @dependabot[bot] in #333
- Bump ruby/setup-ruby from 1.255.0 to 1.256.0 by @dependabot[bot] in #335
- Bump actions/attest-build-provenance from 2.4.0 to 3.0.0 by @dependabot[bot] in #337
- Bump ruby/setup-ruby from 1.256.0 to 1.264.0 by @dependabot[bot] in #350
- Bump ncipollo/release-action from 1.18.0 to 1.20.0 by @dependabot[bot] in #341
- Bump rubocop-performance from 1.25.0 to 1.26.0 by @dependabot[bot] in #343
- Bump rubocop-rails from 2.33.3 to 2.33.4 by @dependabot[bot] in #347
- Bump rubocop from 1.79.2 to 1.81.1 by @dependabot[bot] in #348
- Bump rack from 3.2.0 to 3.2.2 in the bundler group across 1 directory by @dependabot[bot] in #349
- Bump ruby/setup-ruby from 1.264.0 to 1.265.0 by @dependabot[bot] in #352
- Bump minitest from 5.25.5 to 5.26.0 by @dependabot[bot] in #353
- Bump rubocop-performance from 1.26.0 to 1.26.1 by @dependabot[bot] in #354
- Add some more styleguide links by @alexanderadam in #355
- Bump minitest from 5.26.0 to 5.26.1 by @dependabot[bot] in #362
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #365
- Bump ruby/setup-ruby from 1.265.0 to 1.270.0 by @dependabot[bot] in #367
- Bump rake from 13.3.0 to 13.3.1 by @dependabot[bot] in #359
- Bump rubocop from 1.81.1 to 1.81.7 by @dependabot[bot] in #360
- Update actionview requirement from ~> 7.2.2.1 to ~> 7.2.3 by @dependabot[bot] in #361
- Bump rubocop-rails from 2.33.4 to 2.34.0 by @dependabot[bot] in #363
- Bump minitest from 5.26.1 to 5.27.0 by @dependabot[bot] in #373
- Bump rubocop from 1.81.7 to 1.82.1 by @dependabot[bot] in #376
- Bump rubocop-rails from 2.34.2 to 2.34.3 by @dependabot[bot] in #379
- Bump ruby/setup-ruby from 1.270.0 to 1.282.0 by @dependabot[bot] in #383
- Bump actions/attest-build-provenance from 3.0.0 to 3.1.0 by @dependabot[bot] in #371
- Bump actions/attest-build-provenance from 3.1.0 to 3.2.0 by @dependabot[bot] in #388
- Bump ruby/setup-ruby from 1.282.0 to 1.286.0 by @dependabot[bot] in #387
- Bump ruby/setup-ruby from 1.286.0 to 1.287.0 by @dependabot[bot] in #389
- Bump ruby/setup-ruby from 1.287.0 to 1.288.0 by @dependabot[bot] in #391
- Bump rubocop from 1.82.1 to 1.84.2 by @dependabot[bot] in #392
- Bump rack from 3.2.4 to 3.2.5 in the bundler group across 1 directory by @dependabot[bot] in #393
- Bump actions/attest-build-provenance from 3.2.0 to 4.1.0 by @dependabot[bot] in #395
- Bump ruby/setup-ruby from 1.288.0 to 1.290.0 by @dependabot[bot] in #398
- Bump rubocop from 1.84.2 to 1.85.1 by @dependabot[bot] in #399
- Bump ruby/setup-ruby from 1.290.0 to 1.292.0 by @dependabot[bot] in #400
- Update required Ruby version to >= 3.3 by @issyl0 in #401
- Bump nokogiri from 1.18.10 to 1.19.1 in the bundler group across 1 directory by @dependabot[bot] in #402
- Bump the version to 0.27.0 by @issyl0 in #403
New Contributors
- @alexanderadam made their first contribution in #355
Full Changelog: v0.26.0...v0.27.0
v0.26.0
What's Changed
- Bump rubocop-rails from 2.31.0 to 2.32.0 by @dependabot in #301
- Fix deprecated Naming/PredicateName cop - rename to Naming/PredicatePrefix by @copilot-swe-agent in #312
- Bump version to 0.26.0 by @peter-evans in #313
New Contributors
- @copilot-swe-agent made their first contribution in #312
- @peter-evans made their first contribution in #313
Full Changelog: v0.25.0...v0.26.0
v0.25.0
What's Changed
- Specify the plugin class name explicitly by @mgriffin in #306
- Bump ruby/setup-ruby from 1.238.0 to 1.244.0 by @dependabot in #304
- Bump rubocop from 1.75.5 to 1.75.7 by @dependabot in #305
- Bump to version 0.25.0 by @mgriffin in #307
Full Changelog: v0.24.0...v0.25.0
v0.24.0
What's Changed
- Bump rack from 3.1.10 to 3.1.11 in the bundler group by @dependabot in #261
- Bump ruby/setup-ruby from 1.221.0 to 1.222.0 by @dependabot in #263
- Bump actions/attest-build-provenance from 2.2.0 to 2.2.3 by @dependabot in #262
- Bump rack from 3.1.11 to 3.1.12 in the bundler group by @dependabot in #266
- Bump rubocop-rails from 2.30.2 to 2.30.3 by @dependabot in #265
- Bump rubocop from 1.73.0 to 1.73.2 by @dependabot in #264
- Bump json from 2.10.1 to 2.10.2 in the bundler group by @dependabot in #268
- Bump ruby/setup-ruby from 1.222.0 to 1.227.0 by @dependabot in #273
- Bump minitest from 5.25.4 to 5.25.5 by @dependabot in #271
- Bump rubocop from 1.73.2 to 1.74.0 by @dependabot in #270
- Bump ruby/setup-ruby from 1.227.0 to 1.228.0 by @dependabot in #274
- Seeing
unless !thingbreaks my brain by @issyl0 in #284 - Bump
nokogiriand the minimum required Ruby version by @issyl0 in #286 - Bump actions/attest-build-provenance from 2.2.3 to 2.3.0 by @dependabot in #290
- Update actionview requirement from ~> 7.1.5.1 to ~> 7.2.2.1 by @dependabot in #289
- Bump ruby/setup-ruby from 1.228.0 to 1.238.0 by @dependabot in #296
- Bump rack from 3.1.12 to 3.1.14 in the bundler group by @dependabot in #295
- Bump rubocop-performance from 1.24.0 to 1.25.0 by @dependabot in #279
- Bump rubocop-rails from 2.30.3 to 2.31.0 by @dependabot in #277
- Fix variable naming in
Rails/ViewRenderLiteralby @issyl0 in #297 - Bump version to 0.24.0 by @issyl0 in #287
Full Changelog: v0.23.0...v0.24.0
v0.23.0
What's Changed
- Attest Build Provenance by @GrantBirki in #253
- Bump ncipollo/release-action from 1.14.0 to 1.16.0 by @dependabot in #256
- Bump rubocop-rails from 2.30.1 to 2.30.2 by @dependabot in #255
- deps: gem updates by @GrantBirki in #257
- use
pluginsblock for rubocop-performance and rubocop-rails by @GrantBirki in #259
Full Changelog: v0.22.0...v0.23.0
v0.22.0
What's Changed
- config/default: Enable
Lint/ParenthesesAsGroupedExpressionby @issyl0 in #135 - Fix usage documentation for Inheriting all rules and cops by @codeminator in #136
- Add Dependabot config file by @sentinel in #137
- Bump actions/checkout from 2 to 3 by @dependabot in #138
- Update codeowners, dependencies and build config to fix Dependabot PRs by @bensheldon in #139
- Enable rules recently enabled in the GitHub monolith by @sampart in #140
- Improve check for hash literals by @jhawthorn in #141
- Bum dev dependencies by @composerinteralia in #144
- Update default.yml to enable case indentation by @jcmanzo in #143
- Add GitHub/AvoidObjectSendWithDynamicMethod cop by @cheshire137 in #145
- Bump actions/checkout from 3 to 4 by @dependabot in #142
- Remove Ruby 2.7 from test matrix; update Nokogiri v1.16.2 by @bensheldon in #146
- ci: Only run on PRs by @issyl0 in #147
- Set required_ruby_version to 3 by @abraham in #148
- Bump rack from 3.0.8 to 3.0.9.1 by @dependabot in #149
- Bump minitest from 5.20.0 to 5.22.2 by @dependabot in #152
- Bump actionview from 7.1.2 to 7.1.3.2 by @dependabot in #154
- Add grouped Dependabot updates for Bundler by @bensheldon in #155
- Add a few styleguide links by @mgriffin in #158
- Bump minitest from 5.22.2 to 5.22.3 by @dependabot in #157
- Bump rubocop from 1.48.1 to 1.62.1 by @dependabot in #156
- Bump rubocop-rails from 2.22.2 to 2.24.1 by @dependabot in #159
- Bump rubocop-performance from 1.19.1 to 1.20.2 by @dependabot in #150
- Bump rubocop-performance from 1.20.2 to 1.21.0 by @dependabot in #160
- Bump rake from 13.1.0 to 13.2.1 by @dependabot in #162
- Bump rubocop from 1.62.1 to 1.63.1 by @dependabot in #163
- Bump rubocop from 1.63.1 to 1.63.3 by @dependabot in #164
- Bump rubocop from 1.63.3 to 1.63.4 by @dependabot in #165
- Bump rubocop from 1.63.4 to 1.63.5 by @dependabot in #167
- Bump nokogiri from 1.16.2 to 1.16.5 by @dependabot in #168
- Bump rexml from 3.2.6 to 3.2.8 by @dependabot in #169
- Bump rubocop-rails from 2.24.1 to 2.25.0 by @dependabot in #171
- Bump minitest from 5.22.3 to 5.23.0 by @dependabot in #172
- Bump actionview from 7.1.3.2 to 7.1.3.3 by @dependabot in #173
- Bump rubocop from 1.63.5 to 1.64.1 by @dependabot in #176
- Bump minitest from 5.23.0 to 5.23.1 by @dependabot in #175
- add new rules to pending by @abraham in #170
- Bump actionview from 7.1.3.3 to 7.1.3.4 by @dependabot in #177
- Bump rubocop-performance from 1.21.0 to 1.21.1 by @dependabot in #178
RuboCop::Cop::GitHub::RailsControllerRenderLiteral: Make error message helpful forlocalsoffence by @jdennes in #183- Bump rexml from 3.3.0 to 3.3.3 in the bundler group by @dependabot in #184
- Bump minitest from 5.23.1 to 5.24.1 by @dependabot in #181
- Bump rubocop from 1.64.1 to 1.65.1 by @dependabot in #185
- Bump rubocop-rails from 2.25.0 to 2.25.1 by @dependabot in #180
- Bump minitest from 5.24.1 to 5.25.1 by @dependabot in #186
- Bump actionview from 7.1.3.4 to 7.1.4 by @dependabot in #189
- Bump rubocop-rails from 2.25.1 to 2.26.0 by @dependabot in #190
- Declare least necessary permissions for GitHub Action; pin ruby/setup-ruby to sha by @bensheldon in #197
- Bump rubocop from 1.65.1 to 1.66.1 by @dependabot in #192
- Bump rubocop-rails from 2.26.0 to 2.26.2 by @dependabot in #196
- Bump rubocop-performance from 1.21.1 to 1.22.1 by @dependabot in #195
- Bump ruby/setup-ruby from 1.196.0 to 1.197.0 by @dependabot in #198
- Bump actionview from 7.1.4 to 7.1.4.1 by @dependabot in #200
- Bump rubocop from 1.66.1 to 1.67.0 by @dependabot in #199
- Bump ruby/setup-ruby from 1.197.0 to 1.198.0 by @dependabot in #203
- Bump ruby/setup-ruby from 1.198.0 to 1.200.0 by @dependabot in #207
- Bump actionview from 7.1.4.1 to 7.1.5 by @dependabot in #206
- Bump rubocop-rails from 2.26.2 to 2.27.0 by @dependabot in #202
- Bump rubocop from 1.67.0 to 1.68.0 by @dependabot in #205
- Bump rubocop-performance from 1.22.1 to 1.23.0 by @dependabot in #210
- Bump ruby/setup-ruby from 1.200.0 to 1.202.0 by @dependabot in #209
- Bump rubocop from 1.68.0 to 1.69.0 by @dependabot in #212
- Bump rails-html-sanitizer from 1.6.0 to 1.6.1 in the bundler group by @dependabot in #213
- Bump minitest from 5.25.1 to 5.25.4 by @dependabot in #214
- Bump ruby/setup-ruby from 1.202.0 to 1.204.0 by @dependabot in #217
- Remove "rubygems: latest" from setup-ruby workflow by @bensheldon in #220
- Bump rubocop from 1.69.0 to 1.69.2 by @dependabot in #218
- Bump actionview from 7.1.5 to 7.1.5.1 by @dependabot in #219
- Fix link to ParenthesesAsGroupedExpression by @sampart in #227
- Bump rubocop from 1.69.2 to 1.70.0 by @dependabot in #229
- Bump ruby/setup-ruby from 1.204.0 to 1.207.0 by @dependabot in #225
- Enable
Layout/SpaceInsideHashLiteralBracesby @issyl0 in #231 - Bump rubocop-rails from 2.27.0 to 2.28.0 by @dependabot in #224
- Bump rubocop-performance from 1.23.0 to 1.23.1 by @dependabot in #226
- Prepare to release v0.22.0 by @issyl0 in #232
- Bump ruby/setup-ruby from 1.207.0 to 1.213.0 by @dependabot in #236
- Bump rubocop-rails from 2.28.0 to 2.29.0 by @dependabot in #237
- Bump ruby/setup-ruby from 1.213.0 to 1.214.0 by @dependabot in #240
- Bump rubocop from 1.70.0 to 1.71.0 by @dependabot in #239
- Bump rubocop-rails from 2.29.0 to 2.29.1 by @dependabot in #238
- Bump ruby/setup-ruby from 1.214.0 to 1.215.0 by @dependabot in #241
- Bump ruby/setup-ruby from 1.215.0 to 1.217.0 by @dependabot in #243
- Bump ruby/setup-ruby from 1.217.0 to 1.218.0 by @dependabot in #244
- Bump rack from 3.1.8 to 3.1.10 in the bundler group by @dependabot in #246
- Bump ruby/setup-ruby from 1.218.0 to 1.219.0 by @dependabot in #247
- Bump rubocop from 1.71.0 to 1.71.2 by @dependabot in #245
- Bump rubocop-rails from 2.29.1 to 2.30.1 by @dependabot in #250
- Bump ruby/setup-ruby from 1.219.0 to 1.221.0 by @dependabot in #248
- Bump rubocop-performance from 1.23.1 to 1.24.0 by @dependabot in #251
- Automated Releases by @GrantBirki in https://github.com/github/ru...
v0.20.0
What's Changed
- Format .github/workflows/ci.yml by @ydah in #111
- config/rails_cops: Update styleguide links now
master=>mainby @issyl0 in #125 - config/default: Link some rules to their styleguide justifications by @issyl0 in #124
- config/rails: Broader ERB exclude paths by @issyl0 in #126
- Allow RailsViewRenderShorthand errors to be autocorrected by @mgriffin in #114
- Fix Styleguide link in default.yml by @sampart in #129
- Add link to Style Guide from README by @sampart in #130
- config/default: Remove some redundant
Enabled: truefor cops by @issyl0 in #128 - Add Rails recommendations to styleguide by @sampart in #131
- Add contribution instructions, code of conduct, and codeowners by @bensheldon in #122
- Replace custom
RailsApplicationRecordandRailsRenderInlinecops with their upstream equivalent by @bensheldon in #123 - STYLEGUIDE: For each styleguide recommendation, link to the RuboCop rule by @issyl0 in #132
- STYLEGUIDE:
UnusedBlockArgumentis inLintnotStyleby @issyl0 in #134 - config/default: Upstream cop disables since this is the central place by @issyl0 in #127
New Contributors
- @ydah made their first contribution in #111
- @mgriffin made their first contribution in #114
- @sampart made their first contribution in #129
Full Changelog: v0.19.0...v0.20.0
v0.19.0
Significant Changes
- config/default: Unset
DisabledByDefault: trueby @issyl0 in #119 - Accessibility Cops have been migrated to https://github.com/github/rubocop-rails-accessibility
Other Changes
- Fix .rubocop.yml example by @orhantoy in #104
- Migrate accessibility rubocop rule
ImageHasAltfrom dotcom to erblint-github by @bolonio in #105 - Migrate accessibility rubocop rule
NoRedundantImageAltfrom dotcom to erblint-github by @bolonio in #106 - Migrate accessibility rubocop rule
NoPositiveTabindexfrom dotcom to erblint-github by @bolonio in #107 - Migrate accessibility rubocop rule
LinkHreffrom dotcom to erblint-github by @bolonio in #108 - Add improvements to styleguide by @elenatanasoiu in #113
- Delete GitHub/Accessibility cops; point to
rubocop-rails-accessibilityby @issyl0 in #118 - fix(STYLEGUIDE.md): remove extra opening code block by @francisfuzz in #115
- README, guides: Clean up leftover
GitHub/Accessibilitycop references by @issyl0 in #120 - Separate Ruby (
rubocop-github) from Rails (rubocop-github-rails) cops and rules to disambiguate rule inheritance from custom cops by @bensheldon in #121 - fix(STYLEGUIDE.md): use list item instead of codeblock by @francisfuzz in #116
New Contributors
- @bolonio made their first contribution in #105
- @elenatanasoiu made their first contribution in #113
- @francisfuzz made their first contribution in #115
- @bensheldon made their first contribution in #121
Full Changelog: v0.18.0...v0.19.0
v0.18.0
- Changed: Layout/IndentationWidth cop enabled by default
- Changed: Use the new
Cop::BaseAPI instead of the deprecatedCop::Cop - Removed: support for Ruby 2.6
- Removed: deprecated config files for RuboCop < 0.68
v0.17.0
- Remove version constraints for rubocop, rubocop-performance, and rubocop-rails
- Test against Ruby 3.1