Skip to content

ref: remove what 0.21 deprecated - #396

Merged
route merged 2 commits into
mainfrom
remove-0.21-deprecations
Nov 25, 2026
Merged

route merged 2 commits into
mainfrom
remove-0.21-deprecations

Conversation

@route

@route route commented Nov 25, 2026

Copy link
Copy Markdown
Member

Removes the two deprecations added in 0.21.

  • CUPRITE_DEBUG no longer turns on CUPRITE_LOG=* and no longer warns. Use CUPRITE_LOG=*.
  • Capybara::Cuprite::PendingConnectionsError always inherits from Ferrum::StatusError. It no longer subclasses Ferrum::PendingConnectionsError, which Ferrum deprecates. As a result, rescue Ferrum::PendingConnectionsError no longer catches Cuprite's error; before, it caught it and warned. The shim that added the warning, its constant, its RBS and its spec are removed. Rescue Capybara::Cuprite::PendingConnectionsError or Ferrum::StatusError instead.

Locally, RuboCop and rbs validate are clean and spec/driver_spec.rb passes. The full suite runs on CI.

Ferrum deprecates its PendingConnectionsError, so Cuprite's error inherits Ferrum::StatusError and the warning on rescuing Ferrum's
error, deprecated in 0.21, is removed.
@route
route merged commit 3d1b5be into main Nov 25, 2026
6 checks passed
@route
route deleted the remove-0.21-deprecations branch November 25, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant