This week we made two releases of Cookstyle including a major version bump with a 2.0 release. Why two releases? Well we wanted to make sure we could push a few important changes before making a major version release that includes potential breaking changes.
The 2.0 release was necessitated by a CVE in the Rubocop engine, which required upgrading Cookstyle’s Rubocop engine to the latest release. Within that new release of Rubocop a large number of cops were moved from the “style” namespace to the “layout” namespace. If you had previously disabled rules related to layout in your .rubocop.yml file you may need to update that config to the new namespace. Other than that we’ve enabled 2 new rules and disabled 2 existing rules. Check the changelog for complete details.