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

[build] Prepare for release of Selenium 4.22.0 #59

Merged
merged 6 commits into from
Jun 12, 2024

Conversation

titusfortner
Copy link
Owner

@titusfortner titusfortner commented Jun 12, 2024

User description

Warning: Manually update the changelogs before merging

This PR:

  • Updates Rust version for Selenium Manager release
  • Updates Pinned browser version to coincide with new CDP release
  • Adds support for new CDP version and removes old CDP version
  • Selenium Manager references the new Selenium Manager release
  • Updates Maven Dependencies
  • Adds new authors to authors file
  • Updates all versions for all bindings
  • Generates rough change logs for each bindings (please tidy them up before merging this)

PR Type

enhancement, dependencies, documentation


Description

  • Updated DevTools package and class references from v123 to v126 across multiple languages (Java, C#, Ruby).
  • Updated pinned browser versions and their corresponding URLs and SHA256 checksums.
  • Updated Selenium version to 4.22.0.dev202406120518 in various files.
  • Added new protocol definitions and build rules for Chromium DevTools v126.
  • Updated Maven dependencies to newer versions.
  • Added new authors to the AUTHORS file.

Changes walkthrough 📝

Relevant files
Enhancement
27 files
v126Target.java
Update DevTools Target to v126                                                     

java/src/org/openqa/selenium/devtools/v126/v126Target.java

  • Updated package and class references from v123 to v126.
  • Modified imports to reflect the new version.
  • Updated method implementations to use v126 classes.
  • +12/-12 
    v126Network.java
    Update DevTools Network to v126                                                   

    java/src/org/openqa/selenium/devtools/v126/v126Network.java

  • Updated package and class references from v123 to v126.
  • Modified imports to reflect the new version.
  • Updated method implementations to use v126 classes.
  • +10/-10 
    v126Events.java
    Update DevTools Events to v126                                                     

    java/src/org/openqa/selenium/devtools/v126/v126Events.java

  • Updated package and class references from v123 to v126.
  • Modified imports to reflect the new version.
  • Updated method implementations to use v126 classes.
  • +9/-9     
    v126Domains.java
    Update DevTools Domains to v126                                                   

    java/src/org/openqa/selenium/devtools/v126/v126Domains.java

  • Updated package and class references from v123 to v126.
  • Modified imports to reflect the new version.
  • Updated method implementations to use v126 classes.
  • +13/-13 
    v126Javascript.java
    Update DevTools Javascript to v126                                             

    java/src/org/openqa/selenium/devtools/v126/v126Javascript.java

  • Updated package and class references from v123 to v126.
  • Modified imports to reflect the new version.
  • Updated method implementations to use v126 classes.
  • +7/-7     
    v126Log.java
    Update DevTools Log to v126                                                           

    java/src/org/openqa/selenium/devtools/v126/v126Log.java

  • Updated package and class references from v123 to v126.
  • Modified imports to reflect the new version.
  • Updated method implementations to use v126 classes.
  • +5/-5     
    v126CdpInfo.java
    Update DevTools CDP Info to v126                                                 

    java/src/org/openqa/selenium/devtools/v126/v126CdpInfo.java

  • Updated package and class references from v123 to v126.
  • Modified imports to reflect the new version.
  • Updated method implementations to use v126 classes.
  • +4/-4     
    V126Domains.cs
    Update DevTools Domains to v126 for .NET                                 

    dotnet/src/webdriver/DevTools/v126/V126Domains.cs

  • Updated namespace and class references from V123 to V126.
  • Modified method implementations to use V126 classes.
  • +11/-11 
    V126Network.cs
    Update DevTools Network to v126 for .NET                                 

    dotnet/src/webdriver/DevTools/v126/V126Network.cs

  • Updated namespace and class references from V123 to V126.
  • Modified method implementations to use V126 classes.
  • +12/-12 
    V126JavaScript.cs
    Update DevTools JavaScript to v126 for .NET                           

    dotnet/src/webdriver/DevTools/v126/V126JavaScript.cs

  • Updated namespace and class references from V123 to V126.
  • Modified method implementations to use V126 classes.
  • +8/-8     
    V126Target.cs
    Update DevTools Target to v126 for .NET                                   

    dotnet/src/webdriver/DevTools/v126/V126Target.cs

  • Updated namespace and class references from V123 to V126.
  • Modified method implementations to use V126 classes.
  • +7/-7     
    V126Log.cs
    Update DevTools Log to v126 for .NET                                         

    dotnet/src/webdriver/DevTools/v126/V126Log.cs

  • Updated namespace and class references from V123 to V126.
  • Modified method implementations to use V126 classes.
  • +7/-7     
    DevToolsDomains.cs
    Add support for DevTools v126 in .NET                                       

    dotnet/src/webdriver/DevTools/DevToolsDomains.cs

    • Updated supported DevTools versions to include v126.
    +1/-1     
    version.rb
    Update DevTools version to 0.126.0                                             

    rb/lib/selenium/devtools/version.rb

    • Updated DevTools version to 0.126.0.
    +1/-1     
    selenium-dotnet-version.bzl
    Update Selenium .NET version and add DevTools v126 support

    dotnet/selenium-dotnet-version.bzl

  • Updated Selenium .NET version to 4.22.0-nightly202406120518.
  • Added support for DevTools v126.
  • +2/-2     
    __init__.py
    Update Selenium version to 4.22.0.dev202406120518               

    py/selenium/webdriver/init.py

    • Updated Selenium version to 4.22.0.dev202406120518.
    +1/-1     
    setup.py
    Update Selenium version to 4.22.0.dev202406120518 in setup.py

    py/setup.py

    • Updated Selenium version to 4.22.0.dev202406120518.
    +1/-1     
    versions.bzl
    Add support for DevTools v126 in Java                                       

    java/src/org/openqa/selenium/devtools/versions.bzl

    • Updated supported DevTools versions to include v126.
    +1/-1     
    __init__.py
    Update Selenium version to 4.22.0.dev202406120518               

    py/selenium/init.py

    • Updated Selenium version to 4.22.0.dev202406120518.
    +1/-1     
    js_protocol.pdl
    Add new protocol definition for Chromium DevTools v126     

    common/devtools/chromium/v126/js_protocol.pdl

    • Added new protocol definition for Chromium DevTools v126.
    +1807/-1
    BUILD.bazel
    Add build rules for Chromium DevTools v126                             

    common/devtools/chromium/v126/BUILD.bazel

    • Added build rules for Chromium DevTools v126.
    +38/-1   
    BUILD.bazel
    Update Selenium version and add DevTools v126 support       

    javascript/node/selenium-webdriver/BUILD.bazel

  • Updated Selenium version to 4.22.0-nightly202406120518.
  • Added support for DevTools v126.
  • +2/-2     
    BUILD.bazel
    Update Selenium version and add DevTools v126 support       

    py/BUILD.bazel

  • Updated Selenium version to 4.22.0.dev202406120518.
  • Added support for DevTools v126.
  • +2/-2     
    package-lock.json
    Update Selenium version in package-lock.json                         

    package-lock.json

    • Updated Selenium version to 4.22.0-nightly202406120518.
    +1/-1     
    package.json
    Update Selenium version in package.json                                   

    javascript/node/selenium-webdriver/package.json

    • Updated Selenium version to 4.22.0-nightly202406120518.
    +1/-1     
    BUILD.bazel
    Add build rules for DevTools v126                                               

    java/src/org/openqa/selenium/devtools/v126/BUILD.bazel

    • Added build rules for DevTools v126.
    +1/-1     
    BUILD.bazel
    Add support for DevTools v126 in Ruby                                       

    rb/lib/selenium/devtools/BUILD.bazel

    • Added support for DevTools v126.
    +1/-1     
    Tests
    8 files
    DevToolsTargetTest.cs
    Update DevTools Target Tests to v126                                         

    dotnet/test/common/DevTools/DevToolsTargetTest.cs

  • Updated test references from V125 to V126.
  • Modified test configurations to reflect the new version.
  • +3/-3     
    DevToolsConsoleTest.cs
    Update DevTools Console Tests to v126                                       

    dotnet/test/common/DevTools/DevToolsConsoleTest.cs

  • Updated test references from V125 to V126.
  • Modified test configurations to reflect the new version.
  • +2/-2     
    DevToolsNetworkTest.cs
    Update DevTools Network Tests to v126                                       

    dotnet/test/common/DevTools/DevToolsNetworkTest.cs

  • Updated test references from V125 to V126.
  • Modified test configurations to reflect the new version.
  • +2/-2     
    DevToolsPerformanceTest.cs
    Update DevTools Performance Tests to v126                               

    dotnet/test/common/DevTools/DevToolsPerformanceTest.cs

  • Updated test references from V125 to V126.
  • Modified test configurations to reflect the new version.
  • +2/-2     
    DevToolsProfilerTest.cs
    Update DevTools Profiler Tests to v126                                     

    dotnet/test/common/DevTools/DevToolsProfilerTest.cs

  • Updated test references from V125 to V126.
  • Modified test configurations to reflect the new version.
  • +2/-2     
    DevToolsSecurityTest.cs
    Update DevTools Security Tests to v126                                     

    dotnet/test/common/DevTools/DevToolsSecurityTest.cs

  • Updated test references from V125 to V126.
  • Modified test configurations to reflect the new version.
  • +2/-2     
    DevToolsTabsTest.cs
    Update DevTools Tabs Tests to v126                                             

    dotnet/test/common/DevTools/DevToolsTabsTest.cs

  • Updated test references from V125 to V126.
  • Modified test configurations to reflect the new version.
  • +2/-2     
    DevToolsLogTest.cs
    Update DevTools Log Tests to v126                                               

    dotnet/test/common/DevTools/DevToolsLogTest.cs

  • Updated test references from V125 to V126.
  • Modified test configurations to reflect the new version.
  • +1/-1     
    Configuration changes
    3 files
    StableChannelChromeDriver.cs
    Update default Chrome browser version to 126                         

    dotnet/test/common/CustomDriverConfigs/StableChannelChromeDriver.cs

    • Updated default Chrome browser version to 126.
    +1/-1     
    WebDriver.csproj
    Update build command to include DevTools v126                       

    dotnet/src/webdriver/WebDriver.csproj

    • Updated build command to include DevTools v126.
    +1/-1     
    Rakefile
    Update Java release targets to include DevTools v126         

    Rakefile

    • Updated Java release targets to include DevTools v126.
    +1/-1     
    Dependencies
    3 files
    repositories.bzl
    Update pinned browser versions and checksums                         

    common/repositories.bzl

  • Updated pinned browser versions for Firefox and Edge.
  • Updated URLs and SHA256 checksums for browser archives.
  • +25/-25 
    selenium_manager.bzl
    Update Selenium Manager URLs and checksums                             

    common/selenium_manager.bzl

    • Updated Selenium Manager download URLs and SHA256 checksums.
    +6/-6     
    MODULE.bazel
    Update Maven dependencies                                                               

    MODULE.bazel

    • Updated Maven dependencies to newer versions.
    +24/-24 
    Documentation
    2 files
    conf.py
    Update documentation version to 4.22.0.dev202406120518     

    py/docs/source/conf.py

    • Updated documentation version to 4.22.0.dev202406120518.
    +1/-1     
    AUTHORS
    Add new authors to AUTHORS file                                                   

    AUTHORS

    • Added new authors to the AUTHORS file.
    +4/-0     

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    @titusfortner
    Copy link
    Owner Author

    Hmm, the merge branch names look weird, but whatever, just need to see if my other actions kick off when this gets merged.

    @titusfortner titusfortner marked this pull request as ready for review June 12, 2024 05:27
    @titusfortner titusfortner merged commit 99a4a02 into release-4.22.0 Jun 12, 2024
    Copy link

    PR Reviewer Guide 🔍

    ⏱️ Estimated effort to review [1-5]

    4

    🧪 Relevant tests

    No

    🔒 Security concerns

    No

    ⚡ Key issues to review

    Possible Bug:
    The PR introduces a large number of changes across multiple files and components. It is crucial to ensure that all updates, especially those related to version updates and dependencies, are compatible and do not introduce any breaking changes. Thorough testing and validation are recommended.

    Dependency Management:
    The PR updates several dependencies. It is important to verify that these updates do not conflict with other parts of the system and that all necessary adjustments for compatibility are made.

    Code Consistency:
    With the renaming of classes and updates in version numbers, ensure that all references across the project are updated to maintain consistency. This includes checking that all documentation and comments are aligned with the new changes.

    Copy link

    Failed to generate code suggestions for PR

    @titusfortner titusfortner deleted the release-preparation-4.22.0 branch June 12, 2024 05:51
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants