---
title: "cookstyle 8.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each cookstyle release removed, renamed or changed: 14 breaking changes in 5 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/cookstyle
last_updated: 2026-12-04
---

# cookstyle breaking changes

cookstyle 8.0.0 (April 23, 2025) is its newest release with breaking changes. The first: Upgrades RuboCop to 1.75.2 and enables new cops by default in cookstyle 8.0.0. Every breaking API change we have recorded in cookstyle on RubyGems: 14 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `9.0.9`. [Source repository](https://github.com/chef/cookstyle)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 1 breaking change in 1 version.
- From [2.0.0](#v-2-0-0) to [8.0.0](#v-8-0-0): 11 breaking changes in 4 versions.

## cookstyle 8.0.0 breaking changes

cookstyle 8.0.0, released April 23, 2025: 1 breaking change.

- **Behavior changed**  

The release upgrades the bundled RuboCop to 1.75.2 and enables new cops, so code that previously passed may now report new offenses. [github.com](https://github.com/chef/cookstyle/blob/v8.0.0/CHANGELOG.md)

## cookstyle 7.0.0 breaking changes

cookstyle 7.0.0, released October 29, 2020: 1 breaking change.

- **Configuration changed** `Style.NumericPredicate`  

The Style/NumericPredicate cop is turned off, so code that Cookstyle previously flagged for numeric predicate style no longer gets that offense reported. [github.com](https://github.com/chef/cookstyle/blob/v7.0.0/CHANGELOG.md)

## cookstyle 6.0.19 breaking changes

cookstyle 6.0.19, released March 20, 2020: 7 breaking changes.

- **Behavior changed**  

ChefDeprecation cops now exit Cookstyle with -1 instead of passing, which fails CI tests until the flagged code is resolved. [github.com](https://github.com/chef/cookstyle/releases/tag/v6.0.19)
- **Default changed** `ChefStyle.UnnecessaryOSCheck`  

This cop now runs by default, so code with unnecessary OS checks will be flagged unless it is disabled in config. [github.com](https://github.com/chef/cookstyle/releases/tag/v6.0.19)
- **Default changed** `Lint.SendWithMixinArgument`  

This cop now runs by default, so code using send with mixin arguments will be flagged unless it is disabled in config. [github.com](https://github.com/chef/cookstyle/releases/tag/v6.0.19)
- **Default changed** `Naming.PredicateName`  

This cop no longer runs by default; users who relied on its warnings must enable it in config. [github.com](https://github.com/chef/cookstyle/releases/tag/v6.0.19)
- **Default changed** `Style.HashEachMethod`  

This cop now runs by default, so hash iteration patterns that can be simplified will be flagged unless it is disabled in config. [github.com](https://github.com/chef/cookstyle/releases/tag/v6.0.19)
- **Default changed** `Style.MultilineWhenThen`  

This cop now runs by default, so multiline case statements using then may be flagged unless it is disabled in config. [github.com](https://github.com/chef/cookstyle/releases/tag/v6.0.19)
- **Configuration changed**  

Many RuboCop built-in cops were renamed, so rubocop.yml files that enable or disable rules may show warnings and need updating. [github.com](https://github.com/chef/cookstyle/releases/tag/v6.0.19)

## cookstyle 3.0.0 breaking changes

cookstyle 3.0.0, released May 7, 2018: 2 breaking changes.

- **Behavior changed**  

The bundled RuboCop engine moved from 0.49 to 0.55, which may show new warnings for existing rules. Expect to review and fix newly reported offenses in your code. [github.com](https://github.com/chef/cookstyle/blob/v3.0.0/CHANGELOG.md)
- **Configuration changed**  

The names of many rules were changed. If you disabled rules in .rubocop.yml, update those entries to the new names. [github.com](https://github.com/chef/cookstyle/blob/v3.0.0/CHANGELOG.md)

## cookstyle 2.0.0 breaking changes

cookstyle 2.0.0, released June 1, 2017: 3 breaking changes.

- **Default changed** `Layout.EmptyLinesAroundExceptionHandlingKeywords`  

The cop is now enabled by default and will flag empty lines around exception handling keywords in existing code. [github.com](https://github.com/chef/cookstyle/blob/v2.0.0/CHANGELOG.md)
- **Default changed** `Style.YodaCondition`  

The cop is now enabled by default and will flag yoda-style conditions in existing code. [github.com](https://github.com/chef/cookstyle/blob/v2.0.0/CHANGELOG.md)
- **Configuration changed**  

A large number of rules moved from the Style namespace to the Layout namespace, so custom .rubocop.yml settings for whitespace or layout rules may need updating. [github.com](https://github.com/chef/cookstyle/blob/v2.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
