From e52b1be0574650813bf0985a7ddaa27500839ab6 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Mon, 22 Jan 2024 18:48:35 -0600 Subject: [PATCH] update versions and changelogs for 4.17 --- dotnet/CHANGELOG | 18 +++++ dotnet/selenium-dotnet-version.bzl | 2 +- java/CHANGELOG | 64 +++++++++++++++++ java/version.bzl | 2 +- javascript/node/selenium-webdriver/CHANGES.md | 17 +++++ .../node/selenium-webdriver/package.json | 2 +- py/BUILD.bazel | 2 +- py/CHANGES | 22 ++++++ py/docs/source/conf.py | 2 +- py/selenium/__init__.py | 2 +- py/selenium/webdriver/__init__.py | 2 +- py/setup.py | 2 +- rb/CHANGES | 11 +++ rb/Gemfile.lock | 72 +++++++++---------- rb/lib/selenium/webdriver/version.rb | 2 +- rust/BUILD.bazel | 2 +- rust/CHANGELOG.md | 7 ++ rust/Cargo.Bazel.lock | 10 +-- rust/Cargo.lock | 2 +- rust/Cargo.toml | 2 +- 20 files changed, 192 insertions(+), 53 deletions(-) diff --git a/dotnet/CHANGELOG b/dotnet/CHANGELOG index e1642f24d6331..ed8745347edef 100644 --- a/dotnet/CHANGELOG +++ b/dotnet/CHANGELOG @@ -1,3 +1,21 @@ +v4.17.0 +====== + +* Add csharp to Selenium Manager input for tracking (see #13288) +* Consider log handlers as null when not initiated +* Lazy initialization of log handlers when required +* Specify the dll as nuget content explicitly (#13332) +* Extract downloadable zip file in memory (#13277) +* Update references from desiredCapabilities to capabilities +* Don't output to user's console, rather use logging (Fixes #13410) +* Add function to enable halting targets until runtime.runIfWaitingForDebugger is invoked (#13330) +* Properly get selenium manager from bazel output (#13452) +* Remove deprecated DriverService constructors with options parameter +* Remove deprecated methods for toggling legacy protocol +* Remove deprecated class RemoteWebElement +* Improve logging performance when it is disabled (#13464) +* Add CDP for Chrome 121 and remove 118 + v4.16.2 ====== diff --git a/dotnet/selenium-dotnet-version.bzl b/dotnet/selenium-dotnet-version.bzl index c5e769f84b46a..8fe3291a4194e 100644 --- a/dotnet/selenium-dotnet-version.bzl +++ b/dotnet/selenium-dotnet-version.bzl @@ -1,6 +1,6 @@ # BUILD FILE SYNTAX: STARLARK -SE_VERSION = "4.16.2" +SE_VERSION = "4.17.0" ASSEMBLY_VERSION = "4.0.0.0" SUPPORTED_NET_STANDARD_VERSIONS = ["netstandard2.0"] diff --git a/java/CHANGELOG b/java/CHANGELOG index 54c2a19b355fd..f830df55253cf 100644 --- a/java/CHANGELOG +++ b/java/CHANGELOG @@ -1,3 +1,67 @@ +v4.17.0 +====== + +* Self-signed certificate do not require certificate file (#13268) +* Remove deprecated event listener classes (#13200) +* Add ability to disable UI on grid (#13212) +* Recognise `chrome-headless-shell` as Chrome browser (#13292) +* Remove most of guava from remote package +* Add java to Selenium Manager input for tracking (see #13288) +* Add cookie support for network module (#13325) +* Refactored log capture and formatting code (#13322) +* Add support for Input module (Actions) (#13259) +* Close http connection for RemoteNode (#13313) +* Add Duration overload to SlowLoadableComponent constructor and deprecate the int (#13309) +* Improve logging errors (#13327) +* Ensure calling close() and quit() don't cause BiDi websocket errors (#13333) +* Check for emptiness instead of using length or size (#13335) +* Remove unnecessary overridden methods (#13336) +* improved logging when driver discovery failed +* WebSocket NoVNC session against the grid URL contains trailing slash (#13353) +* Updating channel name from Aurora to Dev +* Removing mentions to firefox-bin in docs and tests +* Deprecate FirefoxBinary class +* Deprecate json wire related ErrorCodes +* Fix the ScreenshotException message +* Add ShadowRoot.hashCode / .equals #13326 +* Deprecate unused RemoteStatus +* Remove use of guava from FluentWait +* Remove all references to firefox-bin +* Deprecate all html5 offline storage implementations See #10397 (#13373) +* Remove endpoints and commands that are not w3c compliant (#13372) +* Deprecate methods for getting and setting location (#13372) +* Deprecate methods for getting and setting network connection (#13372) +* remove non-w3c endpoint references that are mobile specific +* Add auth required event +* Copy the output in a daemon thread +* No longer accept session requests with desiredCapabilities +* Remove requiredCapabilities from metadata ignored list +* Deprecate `AddWebStorage` augmenter provider as well (#13399) +* Update logging and errors for driver management +* Deprecate `ContextAware` interface (#13405) +* Add check back to driver service session factory +* Fix broken driver finder conditional +* Node WebSocket not working with sub-path option (#13407) +* Add window proxy properties class +* Schema HTTPS in Distributor, SessionQueue, SessionMap (#13413) +* Add BiDi Input module release command (#13362) +* Add Node properties class as precursor to BiDi's locateNodes command +* Deprecate `NoSuchContextException` (#13425) +* Ensure the worker thread is stopped +* Log the complete exception +* Add deprecation annotation to FirefoxBinary +* Add a warning while passing a decorated driver to augmenter (#13246) +* Tapping the Node session when there is WebSocket activity (#12223) +* Small code improvement in ProxyWebsocketsIntoGrid +* Using `max-sessions` from Node when it was declared (#12836) +* Fix typo in NodeFlags (#13440) +* Add locate nodes command (#13445) +* Add user friendly methods to locate nodes +* Add click dialog support to Federated Credential Management implementation +* Use the ErrorCodec to encode exceptions +* Ignore null text of UnhandledAlertException +* Add CDP for Chrome 121 and remove 118 + v4.16.1 ====== diff --git a/java/version.bzl b/java/version.bzl index aa18ce770a6f6..d1f10e335f28a 100644 --- a/java/version.bzl +++ b/java/version.bzl @@ -1,2 +1,2 @@ -SE_VERSION = "4.17.0-SNAPSHOT" +SE_VERSION = "4.17.0" TOOLS_JAVA_VERSION = "17" diff --git a/javascript/node/selenium-webdriver/CHANGES.md b/javascript/node/selenium-webdriver/CHANGES.md index f342a3c0c44e8..1a29c8a37a7c5 100644 --- a/javascript/node/selenium-webdriver/CHANGES.md +++ b/javascript/node/selenium-webdriver/CHANGES.md @@ -1,3 +1,20 @@ +## 4.17.0 + +* Add javascript to Selenium Manager input for tracking (see #13288) +* remove deprecated headless methods and associated references +* Add script message event (#13153) +* Update channel name from Aurora to Dev +* Remove firefox_channels.js example as Channels is deprecated +* Add Input module command (#13360) +* remove all references to firefox-bin +* download files from remote server (#13102) +* Add auth required event +* Add traverse history command +* Add test to get iframe's browsing context +* Add Input module JS command +* Add test for node properties in +* Add CDP for Chrome 121 and remove 118 + ## 4.16.0 #### :bug: Bug fix diff --git a/javascript/node/selenium-webdriver/package.json b/javascript/node/selenium-webdriver/package.json index a50f78f2c4208..72eabdc9af080 100644 --- a/javascript/node/selenium-webdriver/package.json +++ b/javascript/node/selenium-webdriver/package.json @@ -1,6 +1,6 @@ { "name": "selenium-webdriver", - "version": "4.16.0", + "version": "4.17.0", "description": "The official WebDriver JavaScript bindings from the Selenium project", "license": "Apache-2.0", "keywords": [ diff --git a/py/BUILD.bazel b/py/BUILD.bazel index b9a8e4183cbf2..2f8c53708bef6 100644 --- a/py/BUILD.bazel +++ b/py/BUILD.bazel @@ -20,7 +20,7 @@ compile_pip_requirements( ], ) -SE_VERSION = "4.16.0" +SE_VERSION = "4.17.0" BROWSER_VERSIONS = [ "v85", diff --git a/py/CHANGES b/py/CHANGES index 96f6774659ef9..db77317d1f84d 100644 --- a/py/CHANGES +++ b/py/CHANGES @@ -1,3 +1,25 @@ +Selenium 4.17.0 +* Add page load strategy enum (#13258) +* Use correct file name when bumping versions (#13282) +* Filter which bidi logs are recorded based on event type (#12951) +* Add python to Selenium Manager input for tracking (see #13288) +* Sleep depending on the number of attempts to check if the service has started (#13321) +* Use subprocess.DEVNULL instead of open(os.devnull) to avoid leaking a file handle (#13329) +* Remove all references to firefox-bin +* Check if architecture/platform combination is supported for Selenium Manager (#13381) +* Remove extension connection class and other usages of webdriver.xpi +* remove deprecated verbose argument from edge service +* remove deprecated desired_capabilities property from webdriver +* remove deprecated application cache support +* truncate large strings when logging requests +* Update WPEWebKit support code (#13278) +* [py] Fix WPEWebKit python support code +* Do not change profile preferences of an existing directory by default (#13477) +* Deprecate firefox profile methods that are not supported (#13477) +* deprecate FirefoxBinary class (#13476) +* Fix type error in mypy (#13482) +* Add CDP for Chrome 121 and remove 118 + Selenium 4.16.0 * Fix inadvertent code change in mutation_event * Fix bug in using SE_MANAGER_PATH diff --git a/py/docs/source/conf.py b/py/docs/source/conf.py index 936b95db407f6..3b2ae96518254 100644 --- a/py/docs/source/conf.py +++ b/py/docs/source/conf.py @@ -58,7 +58,7 @@ # The short X.Y version. version = '4.15' # The full version, including alpha/beta/rc tags. -release = '4.16.0' +release = '4.17.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/py/selenium/__init__.py b/py/selenium/__init__.py index 1a7cf3e765632..117417a8da2e6 100644 --- a/py/selenium/__init__.py +++ b/py/selenium/__init__.py @@ -16,4 +16,4 @@ # under the License. -__version__ = "4.16.0" +__version__ = "4.17.0" diff --git a/py/selenium/webdriver/__init__.py b/py/selenium/webdriver/__init__.py index f4044c50c7675..076c6c9838c42 100644 --- a/py/selenium/webdriver/__init__.py +++ b/py/selenium/webdriver/__init__.py @@ -44,7 +44,7 @@ from .wpewebkit.service import Service as WPEWebKitService # noqa from .wpewebkit.webdriver import WebDriver as WPEWebKit # noqa -__version__ = "4.16.0" +__version__ = "4.17.0" # We need an explicit __all__ because the above won't otherwise be exported. __all__ = [ diff --git a/py/setup.py b/py/setup.py index 8e4c37878b27e..c805cbd66d389 100755 --- a/py/setup.py +++ b/py/setup.py @@ -27,7 +27,7 @@ setup_args = { 'cmdclass': {'install': install}, 'name': 'selenium', - 'version': "4.16.0", + 'version': "4.17.0", 'license': 'Apache 2.0', 'description': 'Python bindings for Selenium', 'long_description': open(join(abspath(dirname(__file__)), "README.rst")).read(), diff --git a/rb/CHANGES b/rb/CHANGES index 8555da61a11ad..2f1d68def8897 100644 --- a/rb/CHANGES +++ b/rb/CHANGES @@ -1,3 +1,14 @@ +4.17.0 (2024-01-22) +========================= + +* Logger defaults output to stderr instead of stdout +* Fully support Chrome 120+ old headless mode (#13271) +* Add ruby to Selenium Manager input for tracking (see #13288) +* Define default command_list (fixes #13307) +* Fix issues with incorrectly named edge browser +* Check for whether driver supports full page screenshots to error (#12799) +* Add CDP for Chrome 121 and remove 118 + 4.16.0 (2023-12-06) ========================= diff --git a/rb/Gemfile.lock b/rb/Gemfile.lock index 4ef318a6f4fd1..eda3ccbfbd9b7 100644 --- a/rb/Gemfile.lock +++ b/rb/Gemfile.lock @@ -3,7 +3,7 @@ PATH specs: selenium-devtools (0.121.0) selenium-webdriver (~> 4.2) - selenium-webdriver (4.17.0.nightly) + selenium-webdriver (4.17.0) base64 (~> 0.2) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) @@ -12,8 +12,8 @@ PATH GEM remote: https://rubygems.org/ specs: - abbrev (0.1.1) - activesupport (7.1.2) + abbrev (0.1.2) + activesupport (7.1.3) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) @@ -23,46 +23,46 @@ GEM minitest (>= 5.1) mutex_m tzinfo (~> 2.0) - addressable (2.8.5) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) base64 (0.2.0) - bigdecimal (3.1.4) - concurrent-ruby (1.2.2) + bigdecimal (3.1.6) + concurrent-ruby (1.2.3) connection_pool (2.4.1) crack (0.4.5) rexml csv (3.2.8) - debug (1.8.0) - irb (>= 1.5.0) - reline (>= 0.3.1) + debug (1.9.1) + irb (~> 1.10) + reline (>= 0.3.8) diff-lcs (1.5.0) drb (2.2.0) ruby2_keywords ffi (1.16.3) ffi (1.16.3-x64-mingw32) fileutils (1.7.2) - hashdiff (1.0.1) + hashdiff (1.1.0) i18n (1.14.1) concurrent-ruby (~> 1.0) - io-console (0.6.0) - irb (1.9.0) + io-console (0.7.2) + irb (1.11.1) rdoc - reline (>= 0.3.8) - json (2.6.3) - json (2.6.3-java) + reline (>= 0.4.2) + json (2.7.1) + json (2.7.1-java) language_server-protocol (3.17.0.3) listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) logger (1.6.0) - minitest (5.20.0) + minitest (5.21.2) mutex_m (0.2.0) - parallel (1.23.0) - parser (3.2.2.4) + parallel (1.24.0) + parser (3.3.0.5) ast (~> 2.4.1) racc - psych (5.1.1.1) + psych (5.1.2) stringio public_suffix (5.0.4) racc (1.7.3) @@ -73,12 +73,12 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) - rbs (3.3.2) + rbs (3.4.2) abbrev - rdoc (6.6.0) + rdoc (6.6.2) psych (>= 4.0.0) - regexp_parser (2.8.2) - reline (0.4.0) + regexp_parser (2.9.0) + reline (0.4.2) io-console (~> 0.5) rexml (3.2.6) rspec (3.12.0) @@ -94,34 +94,34 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) rspec-support (3.12.1) - rubocop (1.57.2) + rubocop (1.60.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.4) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.1, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.30.0) parser (>= 3.2.1.0) - rubocop-capybara (2.19.0) + rubocop-capybara (2.20.0) + rubocop (~> 1.41) + rubocop-factory_bot (2.25.1) rubocop (~> 1.41) - rubocop-factory_bot (2.24.0) - rubocop (~> 1.33) - rubocop-performance (1.19.1) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) - rubocop-rspec (2.25.0) + rubocop-performance (1.20.2) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) + rubocop-rspec (2.26.1) rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) rubyzip (2.3.2) - securerandom (0.3.0) + securerandom (0.3.1) steep (1.5.3) activesupport (>= 5.1) concurrent-ruby (>= 1.1.10) @@ -137,8 +137,8 @@ GEM securerandom (>= 0.1) strscan (>= 1.0.0) terminal-table (>= 2, < 4) - stringio (3.0.9) - strscan (3.0.7) + stringio (3.1.0) + strscan (3.0.9) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) tzinfo (2.0.6) diff --git a/rb/lib/selenium/webdriver/version.rb b/rb/lib/selenium/webdriver/version.rb index 48a40fe27cf1e..02ee4d914c4e4 100644 --- a/rb/lib/selenium/webdriver/version.rb +++ b/rb/lib/selenium/webdriver/version.rb @@ -19,6 +19,6 @@ module Selenium module WebDriver - VERSION = '4.17.0.nightly' + VERSION = '4.17.0' end # WebDriver end # Selenium diff --git a/rust/BUILD.bazel b/rust/BUILD.bazel index 6f9cf023f6b9b..f0cc8d673f900 100644 --- a/rust/BUILD.bazel +++ b/rust/BUILD.bazel @@ -77,7 +77,7 @@ rust_binary( name = "selenium-manager", srcs = ["src/main.rs"], edition = "2021", - version = "0.4.17-nightly", + version = "0.4.17", visibility = ["//visibility:public"], deps = [ ":selenium_manager", diff --git a/rust/CHANGELOG.md b/rust/CHANGELOG.md index 9cd210e179329..c63b7b25c7a55 100644 --- a/rust/CHANGELOG.md +++ b/rust/CHANGELOG.md @@ -1,3 +1,10 @@ +0.4.17 +====== + +* Use latest browser from cache when browser path is not discovered (#13283) +* Throw a descriptive message when error parsing JSON from response (#13291) +* Tracking Selenium Manager usage through Plausible (#11211) (#13173) + 0.4.16 ====== * Use online mapping to discover proper geckodriver version (#11671) (#13133) diff --git a/rust/Cargo.Bazel.lock b/rust/Cargo.Bazel.lock index 7a7c0b579f347..81ea843c28a02 100644 --- a/rust/Cargo.Bazel.lock +++ b/rust/Cargo.Bazel.lock @@ -1,5 +1,5 @@ { - "checksum": "1d06eec2c22227cf3d1a8ccec8ff414f3719faa35aff22345fb8cad5427e9bc0", + "checksum": "a402fcfe1613603f458e0e0bd1b8f0115a52c9dc9403fa3435a4f313329af9fc", "crates": { "addr2line 0.19.0": { "name": "addr2line", @@ -8089,9 +8089,9 @@ }, "license": "Apache-2.0/ISC/MIT" }, - "selenium-manager 0.4.17-nightly": { + "selenium-manager 0.4.17": { "name": "selenium-manager", - "version": "0.4.17-nightly", + "version": "0.4.17", "repository": null, "targets": [ { @@ -8216,7 +8216,7 @@ "selects": {} }, "edition": "2021", - "version": "0.4.17-nightly" + "version": "0.4.17" }, "license": "Apache-2.0" }, @@ -13625,7 +13625,7 @@ }, "binary_crates": [], "workspace_members": { - "selenium-manager 0.4.17-nightly": "rust" + "selenium-manager 0.4.17": "rust" }, "conditions": { "aarch64-apple-darwin": [ diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 74fe2c414fb4b..762ffe05a83b1 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -1505,7 +1505,7 @@ dependencies = [ [[package]] name = "selenium-manager" -version = "0.4.17-nightly" +version = "0.4.17" dependencies = [ "anyhow", "assert_cmd", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index d6f71c693634b..af24ecada8b11 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "selenium-manager" -version = "0.4.17-nightly" # don't forget to update rust/BUILD.bazel +version = "0.4.17" # don't forget to update rust/BUILD.bazel edition = "2021" authors = ["Selenium