Skip to content

ref(api)!: remove what 0.22 deprecated - #760

Merged
route merged 1 commit into
mainfrom
remove-0.22-deprecations
Dec 1, 2026
Merged

route merged 1 commit into
mainfrom
remove-0.22-deprecations

Conversation

@route

@route route commented Dec 1, 2026

Copy link
Copy Markdown
Member

Removes everything Ferrum 0.22 deprecated. The version stays at 0.22.0 and the entries are under Unreleased in the changelog.

Ferrum::Browser.new(extensions: [...])  # => option ignored, use init_scripts:
browser.add_extension(path)             # => NoMethodError, use add_init_script
network.clear(:traffic)                 # => NoMethodError, use clear_traffic
browser.reset                           # => NoMethodError, use contexts.reset

Removed

  • Options: :extensions, browser.add_extension and browser.extensions.
  • Network: network.clear, with CLEAR_TYPE.
  • Browser: browser.reset.
  • Ferrum::Utils::Deprecate, nothing uses it anymore.

Remove the :extensions option, browser.add_extension and browser.extensions, use :init_scripts, add_init_script and
init_scripts. Remove network.clear, use clear_traffic or clear_cache, and browser.reset, use contexts.reset.
Utils::Deprecate goes too, nothing uses it anymore.
@route
route merged commit e7a6ffc into main Dec 1, 2026
7 checks passed
@route
route deleted the remove-0.22-deprecations branch December 1, 2026 13:31
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