---
title: "rubocop-rspec 3.11.0 Breaking Changes on RubyGems"
description: "What each rubocop-rspec release removed, renamed or changed: 25 breaking changes in 7 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/rubocop-rspec
last_updated: 2026-12-04
---

# rubocop-rspec breaking changes

rubocop-rspec 3.11.0 (November 27, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed RSpec.MatchWithSimpleRegex. Every breaking API change we have recorded in rubocop-rspec on RubyGems: 25 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.11.0`, released November 27, 2026. [Source repository](https://github.com/rubocop/rubocop-rspec)

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

- From [2.0.0](#v-2-0-0) to [3.11.0](#v-3-11-0): 7 breaking changes in 2 versions.
- From [1.0](#v-1-0) to [3.11.0](#v-3-11-0): 22 breaking changes in 4 versions.

## rubocop-rspec 3.11.0 breaking changes

rubocop-rspec 3.11.0, released November 27, 2026: 2 breaking changes.

- **Behavior changed** `RSpec.MatchWithSimpleRegex`  

The cop's autocorrect is now unsafe, so it is no longer applied by default and must be enabled explicitly if you want it. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v3.11.0)
- **Configuration changed**  

The minimum RuboCop version is raised to 1.92, so projects on older RuboCop must upgrade. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v3.11.0)

## rubocop-rspec 3.0.0 breaking changes

rubocop-rspec 3.0.0, released June 11, 2024: 5 breaking changes.

- **Removed**  

The cops extracted from the Capybara, FactoryBot and Rails departments were removed, so configuration that references them will no longer work. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v3.0.0)
- **Removed** `RSpec.Capybara.FeatureMethods`  

The RSpec/Capybara/FeatureMethods cop was removed. Change configuration to use RSpec/Dialect instead. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v3.0.0)
- **Removed** `RSpec.FilePath`  

The RSpec/FilePath cop was removed and configuration referencing it will no longer apply. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v3.0.0)
- **Removed** `RuboCop.RSpec.Language.NodePattern`  

The RuboCop::RSpec::Language::NodePattern class was removed and code that uses it will break. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v3.0.0)
- **Default changed**  

Many cops that were pending are now enabled by default, so code that previously passed may now report offenses unless those cops are disabled. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v3.0.0)

## rubocop-rspec 2.0.0 breaking changes

rubocop-rspec 2.0.0, released November 6, 2020: 12 breaking changes.

- **Removed** `AllCops.FactoryBot.Patterns`  

Use the standard Include option for the relevant cop instead of this option. [github.com](https://github.com/rubocop/rubocop-rspec/blob/master/docs/modules/ROOT/pages/upgrade%5Fto%5Fversion%5F2.adoc)
- **Removed** `AllCops.RSpec.Patterns`  

Use the standard Include option for the relevant cop instead of this option. [github.com](https://github.com/rubocop/rubocop-rspec/blob/master/docs/modules/ROOT/pages/upgrade%5Fto%5Fversion%5F2.adoc)
- **Removed** `on_top_level_describe`  

Custom cops must use on_top_level_example_group or on_top_level_group instead. [github.com](https://github.com/rubocop/rubocop-rspec/blob/master/docs/modules/ROOT/pages/upgrade%5Fto%5Fversion%5F2.adoc)
- **Removed** `RSpec.EmptyExampleGroup.CustomIncludeMethods`  

Use the new RSpec DSL configuration instead of CustomIncludeMethods in your .rubocop.yml. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v2.0.0)
- **Removed** `RSpec.InvalidPredicateMatcher`  

The cop no longer exists, so remove it from your configuration. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v2.0.0)
- **Removed** `RuboCop.Cop.RSpec.Cop`  

The deprecated base class is gone. Custom cops must inherit from RuboCop::Cop::RSpec::Base instead. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v2.0.0)
- **Removed** `RuboCop.Cop.RSpec.TopLevelDescribe`  

Custom cops using TopLevelDescribe must switch to TopLevelGroup and its hooks. [github.com](https://github.com/rubocop/rubocop-rspec/blob/master/docs/modules/ROOT/pages/upgrade%5Fto%5Fversion%5F2.adoc)
- **Removed** `single_top_level_describe?`  

Use the top_level_groups query method instead, for example top_level_groups.one?. [github.com](https://github.com/rubocop/rubocop-rspec/blob/master/docs/modules/ROOT/pages/upgrade%5Fto%5Fversion%5F2.adoc)
- **Behavior changed**  

File filtering is no longer done by the package, so file selection settings may behave differently. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v2.0.0)
- **Behavior changed** `Hooks.ALL`  

Hooks::ALL and similar Language constants and helpers behave differently, so custom cops using them must be updated. [github.com](https://github.com/rubocop/rubocop-rspec/blob/master/docs/modules/ROOT/pages/upgrade%5Fto%5Fversion%5F2.adoc)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## rubocop-rspec 2.0.0.pre breaking changes

rubocop-rspec 2.0.0.pre, released November 6, 2020: 3 breaking changes.

- **Renamed** `Capybara.*`  

Cops named Capybara/\* are now named RSpec/Capybara/\*. Update cop names in your configuration and any inline disable comments. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v2.0.0.pre)
- **Renamed** `FactoryBot.*`  

Cops named FactoryBot/\* are now named RSpec/FactoryBot/\*. Update cop names in your configuration and any inline disable comments. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v2.0.0.pre)
- **Renamed** `Rails.*`  

Cops named Rails/\* are now named RSpec/Rails/\*. Update cop names in your configuration and any inline disable comments. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v2.0.0.pre)

## rubocop-rspec 1.0 breaking changes

rubocop-rspec 1.0, released June 16, 2014: 1 breaking change.

- **Removed** `UnitSpecNaming`  

The UnitSpecNaming cop is replaced by DescribeClass, DescribeMethod and FileName, which are enabled by default. Update any configuration that references UnitSpecNaming. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v1.0)

## rubocop-rspec 1.0.rc3 breaking changes

rubocop-rspec 1.0.rc3, released June 16, 2014: 1 breaking change.

- **Renamed** `RSpecFileName`  

Cops are renamed to the namespaced style, for example RSpec/FileName instead of RSpecFileName. Update cop names in configuration files. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v1.0.rc3)

## Older versions

1 older version.

### rubocop-rspec 1.0.rc1 breaking changes

rubocop-rspec 1.0.rc1, released June 16, 2014: 1 breaking change.

- **Behavior changed** `RSpecFileName`  

The file name check now uses the common naming convention and ignores spec files with multiple top level describes. Files that previously were flagged may now pass, and the reverse may occur. [github.com](https://github.com/rubocop/rubocop-rspec/releases/tag/v1.0.rc1)

## Related packages

- [rubocop-capybara](https://since.dev/packages/gem/rubocop-capybara.md)
- [rubocop-md](https://since.dev/packages/gem/rubocop-md.md)
- [rubocop-minitest](https://since.dev/packages/gem/rubocop-minitest.md)
- [rubocop-rake](https://since.dev/packages/gem/rubocop-rake.md)
- [rubocop-thread_safety](https://since.dev/packages/gem/rubocop-thread%5Fsafety.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.
