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

# rubocop-thread_safety breaking changes

rubocop-thread_safety 0.8.0 (September 14, 2026) is its newest release with breaking changes, 3 of them. The first: Behavior changed ThreadSafety.MutableClassInstanceVariable. Every breaking API change we have recorded in rubocop-thread_safety on RubyGems: 8 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.8.0`, released September 14, 2026. [Source repository](https://github.com/rubocop/rubocop-thread%5Fsafety)

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

- From [0.6.0](#v-0-6-0) to [0.8.0](#v-0-8-0): 3 breaking changes in 1 version.

## rubocop-thread_safety 0.8.0 breaking changes

rubocop-thread_safety 0.8.0, released September 14, 2026: 3 breaking changes.

- **Behavior changed** `ThreadSafety.MutableClassInstanceVariable`  

The cop now treats TestCase's setup and teardown DSL as aware context, which can change which offenses it reports. [github.com](https://github.com/rubocop/rubocop-thread%5Fsafety/blob/v0.8.0/CHANGELOG.md)
- **Configuration changed**  

Loading the gem now only loads the cops needed for a run, which depends on a newer RuboCop. Users on older RuboCop must upgrade to 1.89.0 or later. [github.com](https://github.com/rubocop/rubocop-thread%5Fsafety/blob/v0.8.0/CHANGELOG.md)
- **Configuration changed**  

The gem now requires RuboCop 1.81 or later. Users on older RuboCop versions must upgrade. [github.com](https://github.com/rubocop/rubocop-thread%5Fsafety/blob/v0.8.0/CHANGELOG.md)

## rubocop-thread_safety 0.6.0 breaking changes

rubocop-thread_safety 0.6.0, released November 11, 2024: 5 breaking changes.

- **Removed**  

The gem no longer supports MRI versions older than 2.7. Upgrade Ruby to 2.7 or later before using this release. [github.com](https://github.com/rubocop/rubocop-thread%5Fsafety/blob/v0.6.0/CHANGELOG.md)
- **Removed**  

The gem no longer supports RuboCop older than 1.48. Upgrade RuboCop to 1.48 or later before using this release. [github.com](https://github.com/rubocop/rubocop-thread%5Fsafety/blob/v0.6.0/CHANGELOG.md)
- **Renamed** `ThreadSafety.InstanceVariableInClassMethod`  

The cop was renamed to better reflect its purpose. Update any configuration or inline disable comments that reference the old name. [github.com](https://github.com/rubocop/rubocop-thread%5Fsafety/blob/v0.6.0/CHANGELOG.md)
- **Behavior changed**  

Instance variables in ActionDispatch callbacks inside singleton methods are no longer flagged, so some existing offenses will disappear. [github.com](https://github.com/rubocop/rubocop-thread%5Fsafety/blob/v0.6.0/CHANGELOG.md)
- **Behavior changed** `ThreadSafety.InstanceVariableInClassMethod`  

The cop now reports instance variables within class_eval and exec blocks, so existing code may get new offenses. [github.com](https://github.com/rubocop/rubocop-thread%5Fsafety/blob/v0.6.0/CHANGELOG.md)

## 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-rspec](https://since.dev/packages/gem/rubocop-rspec.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.
