Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update ferrum requirement from ~> 0.15.0 to >= 0.15, < 0.17 #9

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 2, 2024

Updates the requirements on ferrum to permit the latest version.

Release notes

Sourced from ferrum's releases.

0.16

Added

  • Ferrum::Network#wait_for_idle! raises an error if timeout reached.
  • Ferrum::Browser#close closes browser gracefully issuing a CDP command, doesn't clean up ruby resources.
  • Ferrum::Node#remove removes node from DOM tree.
  • Ferrum::Node#exists? check whether the node in ruby world still exists in the DOM tree.
  • Ferrum::Cookies#store stores all cookies of current page in a file.
  • Ferrum::Cookies#load Loads all cookies from the file and sets them for current page.
  • Ferrum::Page#screenshot supports webp image format.
  • Ferrum::Page#activate activates the target for the given page.

Changed

  • Ferrum::Network#wait_for_idle now returns true or false. Doesn't raise an error [BREAKING CHANGE].

Fixed

  • :ws_url option is now used without modifications WYSIWYG.
  • Network.requestWillBeSent callback didn't handle params in a type-safe way
  • Page.frameStoppedLoading callback shouldn't wait for document_node_id response
  • JSON::NestingError is raised when browser returns very deeply nested JSON and crashes the thread #498
Changelog

Sourced from ferrum's changelog.

0.16 - (Dec 1, 2024)

Added

  • Ferrum::Network#wait_for_idle! raises an error if timeout reached.
  • Ferrum::Browser#close closes browser gracefully issuing a CDP command, doesn't clean up ruby resources.
  • Ferrum::Node#remove removes node from DOM tree.
  • Ferrum::Node#exists? check whether the node in ruby world still exists in the DOM tree.
  • Ferrum::Cookies#store stores all cookies of current page in a file.
  • Ferrum::Cookies#load Loads all cookies from the file and sets them for current page.
  • Ferrum::Page#screenshot supports webp image format.
  • Ferrum::Page#activate activates the target for the given page.

Changed

  • Ferrum::Network#wait_for_idle now returns true or false. Doesn't raise an error [BREAKING CHANGE].

Fixed

  • :ws_url option is now used without modifications WYSIWYG.
  • Network.requestWillBeSent callback didn't handle params in a type-safe way
  • Page.frameStoppedLoading callback shouldn't wait for document_node_id response
  • JSON::NestingError is raised when browser returns very deeply nested JSON and crashes the thread #498

Removed

0.15 - (Feb 17, 2024)

Added

  • Ferrum::Page#disable_javascript disables the JavaScript from the HTML source #407
  • Ferrum::Page#set_viewport emulates the viewport #406
  • Ferrum::Downloads #416
    • #files information about downloaded files
    • #wait wait for file download to be completed
    • #set_behavior where and whether to store file
  • Browser::Client#command accepts :async parameter #433
  • Ferrum::Browser introduce :flatten mode with one connection and sessions #434
  • Support for ping requests #417
  • Ferrum::Browser introduce :ws_url option to set external websocket for a browser #435

Changed

  • Ferrum::Page#screeshot accepts :area option #410
  • Resizing page on creation is gone and moved to Cuprite #427
  • Min Ruby version is 2.7
  • Refactored internal API of Ferrum::Browser, Ferrum::Page, Ferrum::Context, Ferrum::Contexts, Ferrum::Target instead of passing browser and making cyclic dependency on the browser instance, we pass now a thin client #431
  • Bump websocket-driver to ~> 0.7 #432
  • Got rid of Concurrent::Async in Ferrum::Browser::Subscriber #432
  • Ferrum::Page#set_window_bounds is renamed to Ferrum::Page#window_bounds=

... (truncated)

Commits
  • b9cd95a Bump up
  • 39118bc chore: Remove RM logo
  • 45c28e7 Timestamp CHANGELOG (#502)
  • 7cc1a63 chore: rubocop
  • 66b1c82 chore: rubocop
  • 600d63d feat: Implement Ferrum::Page#activate
  • c6f4801 ref: Convert runtime error to InvalidScreenshotFormatError
  • cbf33fd Support webp in screenshot (#473)
  • 7b0a8a1 fix: JSON::NestingError for deeply nested JSON object (#498)
  • 5ca5e9e fix: Page.frameStoppedLoading should not wait for document_node_id response
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [ferrum](https://github.com/rubycdp/ferrum) to permit the latest version.
- [Release notes](https://github.com/rubycdp/ferrum/releases)
- [Changelog](https://github.com/rubycdp/ferrum/blob/main/CHANGELOG.md)
- [Commits](rubycdp/ferrum@v0.15...v0.16)

---
updated-dependencies:
- dependency-name: ferrum
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 2, 2024
@DuncSmith DuncSmith closed this Dec 4, 2024
Copy link
Author

dependabot bot commented on behalf of github Dec 4, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/bundler/ferrum-gte-0.15-and-lt-0.17 branch December 4, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant