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

# stoplight breaking changes

stoplight 6.0.0 (October 2, 2026) is its newest release with breaking changes, 37 of them. The first: stoplight 6.0.0 drops support for Ruby 3.2. Every breaking API change we have recorded in stoplight on RubyGems: 77 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.0.1`. [Source repository](https://github.com/bolshakov/stoplight)

Its 6.0.0 release requires [Ruby 3.3](https://since.dev/calendar/ruby/3.3.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [5.0.1](#v-5-0-1) to [6.0.0](#v-6-0-0): 45 breaking changes in 2 versions.
- From [0.2.0](#v-0-2-0) to [6.0.0](#v-6-0-0): 71 breaking changes in 9 versions.

## stoplight 6.0.0 breaking changes

stoplight 6.0.0, released October 2, 2026: 37 breaking changes.

- **Removed**  

Stoplight 6 requires Ruby 3.3 or later; upgrade Ruby before upgrading the gem. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Removed** `data_store`  

The data_store option is no longer accepted per light; pass it when registering a system or the registry instead. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Removed** `error_notifier`  

The error_notifier option is no longer accepted per light; configure it on the registry or system instead. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Removed** `Light.with`  

The Light#with and with\_\* builder methods are gone; they were deprecated since 5.0. Pass settings to Stoplight.register instead. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Removed** `min_requests`  

The min_requests setting for error_rate is gone; the minimum is now fixed at 100 requests. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Removed** `notifiers`  

The notifiers option is no longer accepted per light; move notifier setup to the registry or telemetry subscriptions. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Removed** `Stoplight`  

Stoplight() and Stoplight.light no longer accept data_store, notifiers or error_notifier and raise ArgumentError. Set them once with Stoplight.configure. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Removed** `Stoplight.DataStore.Redis.new`  

Passing warn_on_clock_skew to Stoplight::DataStore::Redis.new raises ArgumentError. Drop the option. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Removed** `traffic_control`  

Passing traffic_control as a hash now raises ConfigurationError. Use the symbol form such as traffic_control: :error_rate. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Removed** `warn_on_clock_skew`  

The warn_on_clock_skew option is gone because Redis now supplies the clock; remove it from configuration. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Removed** `with_cool_off_time`  

Pass cool_off_time to Stoplight() at creation time instead. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Removed** `with_data_store`  

Pass settings to Stoplight() at creation time or configure the data store with Stoplight.configure. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Removed** `with_error_notifier`  

Configure the error notifier with Stoplight.configure instead. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Removed** `with_notifiers`  

Configure notifiers with Stoplight.configure instead. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Removed** `with_skipped_errors`  

Pass skipped_errors to Stoplight() at creation time instead. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Removed** `with_threshold`  

Pass threshold to Stoplight() at creation time instead. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Removed** `with_tracked_errors`  

Pass tracked_errors to Stoplight() at creation time instead. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Removed** `with_window_size`  

Pass window_size to Stoplight() at creation time instead. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Renamed**  

Public RBS type signatures now live under the domain, infrastructure, wiring and telemetry namespaces. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Behavior changed**  

State transitions, cool-off expiry and recovery timing now follow Redis's clock instead of the application server's clock. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Behavior changed**  

The Admin dashboard routes now use stable light IDs rather than light names in URLs, so old name-based links change. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Behavior changed**  

Procs and anonymous classes are no longer accepted as error matchers; use named classes or modules. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Behavior changed**  

Circuits in Redis start green after deploy because state is stored under new keys. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Behavior changed**  

Keys are now namespaced stoplight:v6 and old stoplight:v5 keys are ignored, so every circuit starts green after deploy. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Behavior changed** `cool_off_time`  

Floats, strings, nil and zero for cool_off_time now raise a configuration error; use an Integer of at least 1. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Behavior changed** `light.color`  

light.color now returns :green, :yellow or :red. Compare against Stoplight::Color constants instead of string literals. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Behavior changed** `light.lock`  

light.lock( [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Behavior changed** `light.state`  

light.state now returns :unlocked, :locked_green or :locked_red. Compare against Stoplight::State constants. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Behavior changed** `skipped_errors`  

Procs, anonymous classes and instances are rejected with ArgumentError for skipped_errors. Use named Class or Module constants. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Behavior changed** `Stoplight`  

Lights are registered once and reused, so every call site for a name must use identical settings or Stoplight raises an error. Register each light once at boot. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Behavior changed** `Stoplight.Error.RedLight`  

The message now names the light and states that traffic is stopped. Code that parses the old bare-name message must change. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Behavior changed** `tracked_errors`  

Procs, anonymous classes and instances are rejected with ArgumentError for tracked_errors. Use named Class or Module constants. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Behavior changed** `window_size`  

Floats, strings, nil and zero for window_size now raise a configuration error; use an Integer of at least 1. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0)
- **Default changed** `error_rate`  

The minimum sample for error_rate rose from 10 to a fixed 100 requests, so lights need 100 requests in their window before they can trip. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Configuration changed**  

Stoplight 6 needs Ruby 3.3 or newer and no longer tests or supports older Redis or Valkey versions. Upgrade the runtime and servers before upgrading the gem. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Configuration changed**  

Older Redis and Valkey versions are no longer tested or supported. Upgrade your server before upgrading the gem. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)
- **Signature changed** `Stoplight.Domain.TrafficControl.ErrorRate.new`  

Stoplight::Domain::TrafficControl::ErrorRate.new accepts no arguments now. [github.com](https://github.com/bolshakov/stoplight/blob/v6.0.0/UPGRADING.md)

## stoplight 6.0.0.rc1 breaking changes

stoplight 6.0.0.rc1, released October 2, 2026: 8 breaking changes.

- **Removed** `min_requests`  

min_requests is no longer part of the ErrorRate public API. Code that passes it must be updated. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0.rc1)
- **Removed** `with`  

The #with method is gone. Code that calls it must be changed. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0.rc1)
- **Removed** `with_*`  

The #with\_\* methods are gone. Code that calls them must be changed. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0.rc1)
- **Behavior changed** `Generic.notify`  

Generic#notify receives Domain::LightInfo rather than Domain::Config. Notifiers that read config fields must be updated. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0.rc1)
- **Behavior changed** `record_failure`  

record_failure returns the resulting metrics snapshot. Code that depends on its previous return value must be checked. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0.rc1)
- **Behavior changed** `SystemClock`  

SystemClock returns monotonic time in milliseconds instead of its previous unit. Code relying on the old values must be adjusted. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0.rc1)
- **Configuration changed** `cool_off_time`  

The cool_off_time setting expects integer values now. Update settings that pass other types. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0.rc1)
- **Configuration changed** `window_size`  

The window_size setting expects integer values now. Update settings that pass other types. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v6.0.0.rc1)

## stoplight 5.0.1 breaking changes

stoplight 5.0.1, released June 20, 2025: 4 breaking changes.

- **Removed**  

The release removed several deprecated interfaces. Code still calling them must move to the new APIs described in the migration guide. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v5.0.1)
- **Behavior changed**  

The stored data format is incompatible with earlier versions, so existing circuit breaker states are lost on upgrade and all breakers reset to green. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v5.0.1)
- **Configuration changed**  

The global configuration API was reworked, so existing Stoplight.configure code must be updated following the migration guide. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v5.0.1)
- **Signature changed** `run`  

Fallbacks are no longer configured on the light instance; pass them as an argument to the run method for each call. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v5.0.1)

## stoplight 4.0.0 breaking changes

stoplight 4.0.0, released August 18, 2023: 4 breaking changes.

- **Removed**  

Stoplight 4.0 removed certain branded notifiers. Upgrade following the UPGRADING.md guide and use the separate notifier gems instead. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v4.0.0)
- **Removed**  

Only Stoplight::Notifier::IO and Stoplight::Notifier::Logger remain bundled. Code using other notifiers must switch to a separate notifier gem or write its own. [github.com](https://github.com/bolshakov/stoplight/blob/master/UPGRADING.md)
- **Behavior changed**  

Existing Redis circuit state is not read by the new structure, so Stoplight starts without errors recorded before the upgrade. [github.com](https://github.com/bolshakov/stoplight/blob/master/UPGRADING.md)
- **Signature changed** `Stoplight`  

Stoplight() returns an immutable Stoplight::CircuitBreaker that is reconfigured through chained with\_ methods rather than changed in place. Code that relied on mutating the returned object must be updated. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v4.0.0)

## stoplight 3.0.0 breaking changes

stoplight 3.0.0, released February 23, 2022: 1 breaking change.

- **Removed**  

Release 3.0.0 ends support for Ruby 2.5.x. Users on Ruby 2.5 must upgrade their Ruby version before using this release. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v3.0.0)

## stoplight 2.0.0 breaking changes

stoplight 2.0.0, released April 26, 2016: 4 breaking changes.

- **Removed**  

Ruby 2.0 is no longer supported; upgrade the Ruby version before using this release. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v2.0.0)
- **Removed** `with_blacklisted_errors`  

The with_blacklisted_errors method is gone; use with_error_handler instead. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v2.0.0)
- **Removed** `with_whitelisted_errors`  

The with_whitelisted_errors method is gone; use with_error_handler instead. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v2.0.0)
- **Renamed** `with_timeout`  

Replace with_timeout with with_cool_off_time. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v2.0.0)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### stoplight 0.5.0 breaking changes

stoplight 0.5.0, released November 19, 2014: 2 breaking changes.

- **Behavior changed**  

When a stoplight fails while green and a fallback is provided, it now uses the fallback instead of re-raising the exception. Code that relies on the exception must be updated. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v0.5.0)
- **Behavior changed**  

Data stores now store only failures and states, with failures kept in a ring buffer, so older failure records may be dropped. Code reading stored data may see less history. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v0.5.0)

### stoplight 0.4.0 breaking changes

stoplight 0.4.0, released September 17, 2014: 5 breaking changes.

- **Removed** `Stoplight.Mixin`  

Stoplight::Mixin has been removed; code that includes it must stop using it. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v0.4.0)
- **Behavior changed** `notification format`  

The notification format is now a lambda that accepts the same parameters the format string accepted; format strings must be converted to lambdas. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v0.4.0)

And 3 more in this version.

### stoplight 0.3.0 breaking changes

stoplight 0.3.0, released September 11, 2014: 6 breaking changes.

- **Removed** `Stoplight`  

The forwarded methods on the Stoplight module were removed. Call the underlying objects directly instead. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v0.3.0)
- **Removed** `Stoplight.DataStore.Base`  

Some methods were moved from Stoplight::DataStore::Base to Stoplight::DataStore, so calls on Base for those methods no longer work. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v0.3.0)

And 4 more in this version.

### stoplight 0.2.0 breaking changes

stoplight 0.2.0, released August 18, 2014: 6 breaking changes.

- **Renamed** `Stoplight.Error.NoFallback`  

Stoplight::Error::NoFallback was renamed to Stoplight::Error::RedLight. Rescue clauses and references must use the new name. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v0.2.0)
- **Renamed** `Stoplight.Light.DEFAULT_THRESHOLD`  

Stoplight::Light::DEFAULT_THRESHOLD was renamed to Stoplight::DEFAULT_THRESHOLD. Update references to the new name. [github.com](https://github.com/bolshakov/stoplight/releases/tag/v0.2.0)

And 4 more in this version.

## 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.
