diff --git a/lib/CHANGELOG.md b/CHANGELOG.md similarity index 86% rename from lib/CHANGELOG.md rename to CHANGELOG.md index ef32595..aa577dd 100644 --- a/lib/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## [Unreleased](https://github.com/rubycdp/ferrum/compare/v0.14.3...main) ## +## [Unreleased](https://github.com/rubycdp/ferrum/compare/v0.15...main) ## ### Added @@ -9,19 +9,35 @@ ### Removed -## [0.14.3](https://github.com/rubycdp/cuprite/compare/v0.14.2...v0.14.3) - (Nov 12, 2022) ## +## [0.15](https://github.com/rubycdp/ferrum/compare/v0.14.3...0.15) - (Nov 4, 2023) ## ### Added +- `url_blocklist | url_allowlist` aliases for `whitelist | blacklist` +- Support steps option for dragging [#182] ### Changed +- Drop support for Ruby 2.6 [#173] +- Support for `whitelist | blacklist` through Ferrum [#173] + +### Fixed +- `Capybara::Cuprite::Driver` support custom `:save_path` option, not only `Capybara.save_path` [#217] +- Send correct inputType when typing [#244] +- Send instance of KeyboardEvent on keyup/keydown/keypress [#246] + +### Removed + +## [0.14.3](https://github.com/rubycdp/cuprite/compare/v0.14.2...v0.14.3) - (Nov 12, 2022) ## + +### Added + +### Changed - Compatibility with latest Ferrum - `Cuprite::Browser#timeout=` passes value to a page - Use `Ferrum::Browser::Options` instead of hash - Don't call `browser.network.authorize` if there are no credentials ### Fixed - - Expand `Capybara.save_path` ### Removed @@ -34,7 +50,6 @@ ### Changed ### Fixed - - Files in gemspec ### Removed @@ -47,7 +62,6 @@ ### Changed ### Fixed - - Use `Ferrum::Utils` instead of `Ferrum` ### Removed @@ -56,11 +70,9 @@ ## [0.14](https://github.com/rubycdp/cuprite/compare/v0.13...v0.14) - (Oct 5, 2022) ## ### Added - - Implement Browser#drag and #drag_by ### Changed - - Drop Capybara 2 support - Refactoring: delegate methods to browser - Bump Ruby to 2.6 @@ -68,7 +80,6 @@ - Compatibility with latest Ferrum ### Fixed - - Fix ruby warning ### Removed @@ -79,11 +90,9 @@ ### Added ### Changed - - Compatibility with latest Ferrum ### Fixed - - Fix cannot read property 'parentNode' of null ### Removed @@ -94,11 +103,9 @@ ### Added ### Changed - - Compatibility with latest Ferrum ### Fixed - - Fix setting input type color - `Ferrum::NodeNotFoundError` should be treated by capybara @@ -108,11 +115,9 @@ ## [0.11](https://github.com/rubycdp/cuprite/compare/v0.10...v0.11) - (Jul 29, 2020) ## ### Added - - `Capybara::Cuprite::Driver#wait_for_reload` wait until the whole page is reloaded or raise a timeout error. ### Changed - - Compatibility with latest Ferrum ### Fixed @@ -123,16 +128,13 @@ ## [0.10](https://github.com/rubycdp/cuprite/compare/v0.9...v0.10) - (Apr 7, 2020) ## ### Added - - Ability to pass binding to debug method `page.driver.debug(binding)` - Support for click delay and offset position ### Changed - - Update README ### Fixed - - Command line being slow after debugging with `page.driver.debug` and exiting it ### Removed @@ -141,18 +143,15 @@ ## [0.9](https://github.com/rubycdp/cuprite/compare/v0.8...v0.9) - (Jan 28, 2020) ## ### Added - - `Capybara::Cuprite::Driver.wait_for_network_idle` natively waits for network idle and if there are no active connections returns or raises `TimeoutError` error. - CUPRITE_DEBUG env should turn debug mode on as FERRUM_DEBUG - Set value for input type range ### Changed - - No monkey-patching for `Capybara::Cuprite::Page` ### Fixed - - LocalJumpError in on(:request) callback ### Removed @@ -161,7 +160,6 @@ ## [0.8](https://github.com/rubycdp/cuprite/compare/v0.7.1...v0.8) - (Oct 29, 2019) ## ### Added - - Use Ferrum contexts to work with pages. - `Capybara::Cuprite::Browser` - `#page` @@ -180,7 +178,6 @@ ### Changed ### Fixed - - `Capybara::Cuprite::Page#find_modal` use browser timeout ### Removed @@ -193,7 +190,6 @@ ### Changed ### Fixed - - `url_whitelist`, `url_blacklist`, `status_code`, `network_traffic`, `clear_network_traffic`, `response_headers`, `clear_memory_cache`, `basic_authorize` fixed to use dedicated network namespace to work with network @@ -205,7 +201,6 @@ ### Added ### Changed - - Separate `Ferrum` and `Cuprite` ### Fixed diff --git a/lib/capybara/cuprite/version.rb b/lib/capybara/cuprite/version.rb index 68e6577..4fb9dd9 100644 --- a/lib/capybara/cuprite/version.rb +++ b/lib/capybara/cuprite/version.rb @@ -2,6 +2,6 @@ module Capybara module Cuprite - VERSION = "0.14.3" + VERSION = "0.15" end end