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
On this page
Latest version 6.0.1. Source repository
Its 6.0.0 release requires Ruby 3.3 or later. Ruby end of life dates.
- From 5.0.1 to 6.0.0: 45 breaking changes in 2 versions.
- From 0.2.0 to 6.0.0: 71 breaking changes in 9 versions.
stoplight 6.0.0 breaking changes
- Removed
Stoplight 6 requires Ruby 3.3 or later; upgrade Ruby before upgrading the gem. github.com - 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 - Removed
error_notifier
The error_notifier option is no longer accepted per light; configure it on the registry or system instead. github.com - 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 - Removed
min_requests
The min_requests setting for error_rate is gone; the minimum is now fixed at 100 requests. github.com - Removed
notifiers
The notifiers option is no longer accepted per light; move notifier setup to the registry or telemetry subscriptions. github.com - 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 - Removed
Stoplight.DataStore.Redis.new
Passing warn_on_clock_skew to Stoplight::DataStore::Redis.new raises ArgumentError. Drop the option. github.com - Removed
traffic_control
Passing traffic_control as a hash now raises ConfigurationError. Use the symbol form such as traffic_control: :error_rate. github.com - 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 - Removed
with_cool_off_time
Pass cool_off_time to Stoplight() at creation time instead. github.com - Removed
with_data_store
Pass settings to Stoplight() at creation time or configure the data store with Stoplight.configure. github.com - Removed
with_error_notifier
Configure the error notifier with Stoplight.configure instead. github.com - Removed
with_notifiers
Configure notifiers with Stoplight.configure instead. github.com - Removed
with_skipped_errors
Pass skipped_errors to Stoplight() at creation time instead. github.com - Removed
with_threshold
Pass threshold to Stoplight() at creation time instead. github.com - Removed
with_tracked_errors
Pass tracked_errors to Stoplight() at creation time instead. github.com - Removed
with_window_size
Pass window_size to Stoplight() at creation time instead. github.com - Renamed
Public RBS type signatures now live under the domain, infrastructure, wiring and telemetry namespaces. github.com - Behavior changed
State transitions, cool-off expiry and recovery timing now follow Redis's clock instead of the application server's clock. github.com - 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 - Behavior changed
Procs and anonymous classes are no longer accepted as error matchers; use named classes or modules. github.com - Behavior changed
Circuits in Redis start green after deploy because state is stored under new keys. github.com - Behavior changed
Keys are now namespaced stoplight:v6 and old stoplight:v5 keys are ignored, so every circuit starts green after deploy. github.com - 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 - Behavior changed
light.color
light.color now returns :green, :yellow or :red. Compare against Stoplight::Color constants instead of string literals. github.com - Behavior changed
light.lock
light.lock( github.com - Behavior changed
light.state
light.state now returns :unlocked, :locked_green or :locked_red. Compare against Stoplight::State constants. github.com - Behavior changed
skipped_errors
Procs, anonymous classes and instances are rejected with ArgumentError for skipped_errors. Use named Class or Module constants. github.com - 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 - 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 - Behavior changed
tracked_errors
Procs, anonymous classes and instances are rejected with ArgumentError for tracked_errors. Use named Class or Module constants. github.com - 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 - 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 - 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 - Configuration changed
Older Redis and Valkey versions are no longer tested or supported. Upgrade your server before upgrading the gem. github.com - Signature changed
Stoplight.Domain.TrafficControl.ErrorRate.new
Stoplight::Domain::TrafficControl::ErrorRate.new accepts no arguments now. github.com
stoplight 6.0.0.rc1 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 - Removed
with
The #with method is gone. Code that calls it must be changed. github.com - Removed
with_*
The #with_* methods are gone. Code that calls them must be changed. github.com - Behavior changed
Generic.notify
Generic#notify receives Domain::LightInfo rather than Domain::Config. Notifiers that read config fields must be updated. github.com - Behavior changed
record_failure
record_failure returns the resulting metrics snapshot. Code that depends on its previous return value must be checked. github.com - 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 - Configuration changed
cool_off_time
The cool_off_time setting expects integer values now. Update settings that pass other types. github.com - Configuration changed
window_size
The window_size setting expects integer values now. Update settings that pass other types. github.com
stoplight 5.0.1 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 - 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 - Configuration changed
The global configuration API was reworked, so existing Stoplight.configure code must be updated following the migration guide. github.com - 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
stoplight 4.0.0 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 - 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 - Behavior changed
Existing Redis circuit state is not read by the new structure, so Stoplight starts without errors recorded before the upgrade. github.com - 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
stoplight 3.0.0 breaking changes
- 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
stoplight 2.0.0 breaking changes
- Removed
Ruby 2.0 is no longer supported; upgrade the Ruby version before using this release. github.com - Removed
with_blacklisted_errors
The with_blacklisted_errors method is gone; use with_error_handler instead. github.com - Removed
with_whitelisted_errors
The with_whitelisted_errors method is gone; use with_error_handler instead. github.com - Renamed
with_timeout
Replace with_timeout with with_cool_off_time. github.com
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
stoplight 0.5.0 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 - 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
stoplight 0.4.0 breaking changes
- Removed
Stoplight.Mixin
Stoplight::Mixin has been removed; code that includes it must stop using it. github.com - 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
And 3 more in this version.
stoplight 0.3.0 breaking changes
- Removed
Stoplight
The forwarded methods on the Stoplight module were removed. Call the underlying objects directly instead. github.com - 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
And 4 more in this version.
stoplight 0.2.0 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 - Renamed
Stoplight.Light.DEFAULT_THRESHOLD
Stoplight::Light::DEFAULT_THRESHOLD was renamed to Stoplight::DEFAULT_THRESHOLD. Update references to the new name. github.com
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, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.