[build] Prepare for release of selenium-4.42.0#17322
Conversation
…ruction Making linter happy
Review Summary by QodoPrepare for release of Selenium 4.42.0 with CDP v146 support and dependency updates
WalkthroughsDescriptionRelease preparation for Selenium 4.42.0 with comprehensive updates across all language bindings and components: **Version Updates:** • Updated all language bindings to release version 4.42.0 (from nightly builds) • Updated Rust Selenium Manager to version 0.4.42 • Updated Ruby DevTools to version 0.146.0 **Chrome DevTools Protocol (CDP) v146 Support:** • Added complete v146 DevTools implementation for Java, .NET, and Ruby bindings • Updated CDP protocol definitions with new features: device bound sessions, smart card emulation, permission elements, and connection allowlist • Made AnimationEffect.iterations optional for infinite iterations handling • Removed deprecated SameParty cookie attributes and related CORS error codes • Updated CSS domain to use DOM.StyleSheetId **Dependency Updates:** • Updated Maven dependencies including google-java-format (1.34.1 → 1.35.0), protobuf-java (4.33.5 → 4.34.1), mockito-core (5.21.0 → 5.23.0) • Updated gRPC, Fabric8 Kubernetes client, Lettuce, OpenTelemetry, and Netty dependencies • Updated JavaScript dependencies: ws (^8.19.0 → ^8.20.0), @eslint/js and eslint (^9.39.2 → ^9.39.4) • Updated Ruby gem dependencies and RBS collection • Updated Grid UI dev dependencies: jest-util and ts-jest **Browser and Binary Updates:** • Updated Firefox beta from 150.0b6 to 150.0b7 • Updated Chrome beta from 147.0.7727.56 to 148.0.7778.6 • Updated ChromeDriver beta from 147.0.7727.56 to 148.0.7778.6 • Updated Selenium Manager binaries for Linux, macOS, and Windows **Documentation and Metadata:** • Added comprehensive v4.42.0 release notes for Java, .NET, Python, JavaScript, and Ruby • Updated issue template with latest version reference (4.41 → 4.42) • Updated AUTHORS list with 4 new contributors **Code Quality:** • Refactored Ruby hash building syntax using to_h with block syntax in multiple files • Updated test constants and CDP version aliases across DevTools tests File Changes1. java/src/org/openqa/selenium/devtools/v146/v146Target.java
|
Code Review by Qodo
|
There was a problem hiding this comment.
Pull request overview
Prepares the Selenium monorepo for the selenium-4.42.0 release by aligning version numbers across all bindings, updating supported CDP versions to include v146, and refreshing pinned tooling/dependencies used by the build and release pipelines.
Changes:
- Bump release versions across Rust/Ruby/Python/JS/Java/.NET and update changelogs.
- Update supported CDP version set to
v144, v145, v146across bindings/build tooling. - Refresh pinned browsers, Selenium Manager artifacts, and various build/dependency locks.
Reviewed changes
Copilot reviewed 57 out of 63 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| rust/CHANGELOG.md | Add 0.4.42 section (currently empty). |
| rust/Cargo.toml | Release version from nightly to 0.4.42. |
| rust/Cargo.lock | Lockfile version sync for selenium-manager. |
| rust/Cargo.Bazel.lock | Bazel cargo lock updated for release version. |
| rust/BUILD.bazel | Bazel target version set to 0.4.42. |
| rb/rbs_collection.lock.yaml | Update RBS collection revisions/deps. |
| rb/lib/selenium/webdriver/version.rb | Release Ruby webdriver version 4.42.0. |
| rb/lib/selenium/webdriver/devtools/response.rb | Refactor header map creation. |
| rb/lib/selenium/server.rb | Refactor assets map creation. |
| rb/lib/selenium/devtools/version.rb | Bump Ruby devtools to 0.146.0. |
| rb/lib/selenium/devtools/BUILD.bazel | Update Ruby CDP versions list. |
| rb/Gemfile.lock | Update gem resolutions + bundler version. |
| rb/CHANGES | Add 4.42.0 Ruby changelog entry. |
| rake_tasks/java.rake | Publish target moved to devtools v146. |
| rake_tasks/bazel.rake | Refactor index sorting to to_h. |
| py/selenium/webdriver/init.py | Release Python version to 4.42.0. |
| py/selenium/init.py | Release Python package version to 4.42.0. |
| py/pyproject.toml | Release Python project version to 4.42.0. |
| py/docs/source/conf.py | Docs release string set to 4.42.0. |
| py/CHANGES | Add 4.42.0 Python changelog entry. |
| py/BUILD.bazel | Set SE_VERSION + CDP versions to v146. |
| MODULE.bazel | Update Maven artifacts/BOMs + Ruby checksums. |
| javascript/selenium-webdriver/package.json | Release JS binding version + deps bump. |
| javascript/selenium-webdriver/CHANGES.md | Add 4.42.0 JS changelog entry. |
| javascript/selenium-webdriver/BUILD.bazel | Set VERSION + CDP versions to v146. |
| javascript/grid-ui/package.json | Bump Jest/ts-jest dev dependencies. |
| java/version.bzl | Java SE_VERSION set to 4.42.0. |
| java/src/org/openqa/selenium/devtools/versions.bzl | CDP versions list updated to v146+. |
| java/src/org/openqa/selenium/devtools/v146/v146Target.java | Fix v146 package/class wiring. |
| java/src/org/openqa/selenium/devtools/v146/v146Network.java | Fix v146 package/class wiring. |
| java/src/org/openqa/selenium/devtools/v146/v146Log.java | Fix v146 package/class wiring. |
| java/src/org/openqa/selenium/devtools/v146/v146Javascript.java | Fix v146 package/class wiring. |
| java/src/org/openqa/selenium/devtools/v146/v146Events.java | Fix v146 package/class wiring. |
| java/src/org/openqa/selenium/devtools/v146/v146Domains.java | Fix v146 package/class wiring. |
| java/src/org/openqa/selenium/devtools/v146/v146CdpInfo.java | Register CDP info for version 146. |
| java/src/org/openqa/selenium/devtools/v146/package-info.java | Correct package declaration to v146. |
| java/src/org/openqa/selenium/devtools/v146/BUILD.bazel | Set Bazel export to v146. |
| java/CHANGELOG | Add 4.42.0 Java changelog entry. |
| dotnet/test/webdriver/DevTools/DevToolsTargetTests.cs | Move tests to CurrentCdpVersion V146. |
| dotnet/test/webdriver/DevTools/DevToolsTabsTests.cs | Move tests to CurrentCdpVersion V146. |
| dotnet/test/webdriver/DevTools/DevToolsSecurityTests.cs | Move tests to CurrentCdpVersion V146. |
| dotnet/test/webdriver/DevTools/DevToolsProfilerTests.cs | Move tests to CurrentCdpVersion V146. |
| dotnet/test/webdriver/DevTools/DevToolsPerformanceTests.cs | Move tests to CurrentCdpVersion V146. |
| dotnet/test/webdriver/DevTools/DevToolsNetworkTests.cs | Move tests to CurrentCdpVersion V146. |
| dotnet/test/webdriver/DevTools/DevToolsLogTests.cs | Move tests to CurrentCdpVersion V146. |
| dotnet/test/webdriver/DevTools/DevToolsConsoleTests.cs | Move tests to CurrentCdpVersion V146. |
| dotnet/src/webdriver/DevTools/v146/V146Target.cs | Rename/update domain wrapper for v146. |
| dotnet/src/webdriver/DevTools/v146/V146Network.cs | Rename/update network wrapper for v146. |
| dotnet/src/webdriver/DevTools/v146/V146Log.cs | Rename/update log wrapper for v146. |
| dotnet/src/webdriver/DevTools/v146/V146JavaScript.cs | Rename/update JS wrapper for v146. |
| dotnet/src/webdriver/DevTools/v146/V146Domains.cs | Update domains container for v146. |
| dotnet/src/webdriver/DevTools/DevToolsDomains.cs | Switch supported CDP implementations to v146+. |
| dotnet/selenium-dotnet-version.bzl | Release .NET SE_VERSION + CDP versions. |
| dotnet/CHANGELOG | Add 4.42.0 .NET changelog entry. |
| common/selenium_manager.bzl | Update Selenium Manager artifact URLs + hashes. |
| common/repositories.bzl | Bump pinned beta browsers (Firefox/Chrome). |
| common/devtools/chromium/v146/js_protocol.pdl | Add Chromium CDP v146 JS protocol. |
| common/devtools/chromium/v146/BUILD.bazel | Add build rules to convert PDL→JSON. |
| common/devtools/chromium/v146/browser_protocol.pdl | Add/update Chromium CDP v146 browser protocol. |
| AUTHORS | Add newly credited contributors. |
| .github/ISSUE_TEMPLATE/bug-report.yml | Update “latest released” version to 4.42. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (2)
dotnet/src/webdriver/DevTools/v146/V146Network.cs:250
V146.Fetch.AuthChallengeResponse/V146.Fetch.AuthChallengeResponseResponseValuesaren’t valid references in this context (there’s noV146alias/namespace). Use the importedAuthChallengeResponse/AuthChallengeResponseResponseValuestypes directly, or fully qualify them withOpenQA.Selenium.DevTools.V146.Fetchconsistently.
dotnet/src/webdriver/DevTools/v146/V146Network.cs:269- This block still references
V146.Fetch.AuthChallengeResponseResponseValues.CancelAuth, which will not resolve without aV146alias. PreferAuthChallengeResponseResponseValues.CancelAuth(given theusing OpenQA.Selenium.DevTools.V146.Fetch;) or fully qualify the enum.
* bump versions * update devtools versions * update dependencies * changelogs updated * rust changelogs updated * update pinned browser versions * update selenium manager versions * update authors file * refactor(response): simplify header extraction and improve hash construction Making linter happy --------- Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com> Co-authored-by: Diego Molina <diemol@gmail.com>
Release Info
Updates Applied
Auto-generated by release-preparation workflow