Skip to content

2.1.0

Choose a tag to compare

@volmer volmer released this 23 Apr 13:13
· 944 commits to main since this release

Thank you for reading our release notes! I'm never sure if folks really check this out. After all, if a tree falls in a forest but it doesn't introduce breaking changes, does it count as a release? Anyway, here's what's new:

  • We now require RuboCop 1.13 and up.
  • Inherit mode is now set to merge configs for inclusions and exclusions. In case you want to completely override exclusions and inclusions, you might need to explicit configure your preferred inherit mode in your RuboCop config file. More info in the PR: #250
  • The Lint/Syntax cop is now enabled. It goes without saying but syntax errors do violate the Style Guide! (PR #254)
  • We also re-enabled the Layout/BeginEndAlignment cop. It was disabled in the past due to a bug, and now it's back to fix your code blocks! (PR #258)
  • This is a big one: we finally removed the DisabledByDefault: true setting and we disabled all unwanted cops one-by-one. This should not have any consequence for most people using our gem, but in case you are using other RuboCop extensions or your own custom cops, you might notice that now everything comes enabled by default (unless you are disabling them yourself). If you were overriding this setting to false you might also be able to remove it from your RuboCop config file. (PR #220)
  • Last but not least: Style/WordArray and Style/SymbolArray are now enabled and set to enforce the brackets style. This rule was actually introduced back in 2019 to the Style Guide but we did not enforce it with RuboCop. Well, now we do! (and therefore we are not considering this a breaking change). (PR #256)