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 #71

Merged
merged 6 commits into from
Jun 18, 2024

Conversation

titusfortner
Copy link
Owner

@titusfortner titusfortner commented Jun 18, 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 references and class names from v123 to v126 across multiple languages (Java, C#, Ruby, Python).
  • Updated Maven and other dependencies to newer versions.
  • Added new authors to the AUTHORS file.
  • Updated version numbers for Selenium and WebDriver packages to 4.22.0.
  • Updated supported browser versions and DevTools versions to include v126.
  • Added change log entries for version 4.22.0 across different languages.

Changes walkthrough 📝

Relevant files
Enhancement
31 files
v126Target.java
Update DevTools Target to Version 126                                       

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

  • Updated package references from v123 to v126.
  • Renamed class from v123Target to v126Target.
  • Updated import statements to use v126 instead of v123.
  • +12/-12 
    v126Network.java
    Update DevTools Network to Version 126                                     

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

  • Updated package references from v123 to v126.
  • Renamed class from v123Network to v126Network.
  • Updated import statements to use v126 instead of v123.
  • +10/-10 
    v126Events.java
    Update DevTools Events to Version 126                                       

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

  • Updated package references from v123 to v126.
  • Renamed class from v123Events to v126Events.
  • Updated import statements to use v126 instead of v123.
  • +9/-9     
    v126Domains.java
    Update DevTools Domains to Version 126                                     

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

  • Updated package references from v123 to v126.
  • Renamed class from v123Domains to v126Domains.
  • Updated import statements to use v126 instead of v123.
  • +13/-13 
    v126Javascript.java
    Update DevTools Javascript to Version 126                               

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

  • Updated package references from v123 to v126.
  • Renamed class from v123Javascript to v126Javascript.
  • Updated import statements to use v126 instead of v123.
  • +7/-7     
    v126Log.java
    Update DevTools Log to Version 126                                             

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

  • Updated package references from v123 to v126.
  • Renamed class from v123Log to v126Log.
  • Updated import statements to use v126 instead of v123.
  • +5/-5     
    v126CdpInfo.java
    Update DevTools CDP Info to Version 126                                   

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

  • Updated package references from v123 to v126.
  • Renamed class from v123CdpInfo to v126CdpInfo.
  • Updated constructor to use v126Domains.
  • +4/-4     
    V126Domains.cs
    Update .NET DevTools Domains to Version 126                           

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

  • Updated namespace from V123 to V126.
  • Renamed class from V123Domains to V126Domains.
  • Updated DevTools version to 126.
  • +11/-11 
    V126Network.cs
    Update .NET DevTools Network to Version 126                           

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

  • Updated namespace from V123 to V126.
  • Renamed class from V123Network to V126Network.
  • +12/-12 
    V126JavaScript.cs
    Update .NET DevTools JavaScript to Version 126                     

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

  • Updated namespace from V123 to V126.
  • Renamed class from V123JavaScript to V126JavaScript.
  • +8/-8     
    V126Target.cs
    Update .NET DevTools Target to Version 126                             

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

  • Updated namespace from V123 to V126.
  • Renamed class from V123Target to V126Target.
  • +7/-7     
    V126Log.cs
    Update .NET DevTools Log to Version 126                                   

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

  • Updated namespace from V123 to V126.
  • Renamed class from V123Log to V126Log.
  • +7/-7     
    DevToolsDomains.cs
    Add Support for DevTools Version 126 in .NET                         

    dotnet/src/webdriver/DevTools/DevToolsDomains.cs

    • Updated supported DevTools versions to include V126.
    +1/-1     
    StableChannelChromeDriver.cs
    Update Default Browser Version to 126 in StableChannelChromeDriver

    dotnet/test/common/CustomDriverConfigs/StableChannelChromeDriver.cs

    • Updated default browser version to 126.
    +1/-1     
    version.rb
    Update Ruby DevTools Version to 0.126.0                                   

    rb/lib/selenium/devtools/version.rb

    • Updated DevTools version to 0.126.0.
    +1/-1     
    version.rb
    Update Ruby WebDriver Version to 4.22.0                                   

    rb/lib/selenium/webdriver/version.rb

    • Updated WebDriver version to 4.22.0.
    +1/-1     
    selenium-dotnet-version.bzl
    Update .NET Selenium Version and Supported DevTools Versions

    dotnet/selenium-dotnet-version.bzl

  • Updated Selenium version to 4.22.0.
  • Updated supported DevTools versions to include v126.
  • +2/-2     
    __init__.py
    Update Python WebDriver Version to 4.22.0                               

    py/selenium/webdriver/init.py

    • Updated WebDriver version to 4.22.0.
    +1/-1     
    setup.py
    Update Python Package Version to 4.22.0                                   

    py/setup.py

    • Updated package version to 4.22.0.
    +1/-1     
    versions.bzl
    Add Support for DevTools Version 126 in Java                         

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

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

    py/selenium/init.py

    • Updated Selenium version to 4.22.0.
    +1/-1     
    version.bzl
    Update Java Selenium Version to 4.22.0                                     

    java/version.bzl

    • Updated Selenium version to 4.22.0.
    +1/-1     
    js_protocol.pdl
    Add JS Protocol for DevTools Version 126                                 

    common/devtools/chromium/v126/js_protocol.pdl

    • Added new js_protocol.pdl file for DevTools version 126.
    +1807/-1
    BUILD.bazel
    Add Build Rules for DevTools Version 126                                 

    common/devtools/chromium/v126/BUILD.bazel

    • Added new build rules for DevTools version 126.
    +38/-1   
    WebDriver.csproj
    Update CDP Generation Command for Version 126                       

    dotnet/src/webdriver/WebDriver.csproj

    • Updated CDP generation command to include v126.
    +1/-1     
    Rakefile
    Update Java Release Targets for Version 126                           

    Rakefile

    • Updated Java release targets to include v126.
    +1/-1     
    BUILD.bazel
    Update JavaScript WebDriver Version and Supported Browsers

    javascript/node/selenium-webdriver/BUILD.bazel

  • Updated WebDriver version to 4.22.0.
  • Updated supported browser versions to include v126.
  • +2/-2     
    BUILD.bazel
    Update Python Selenium Version and Supported Browsers       

    py/BUILD.bazel

  • Updated Selenium version to 4.22.0.
  • Updated supported browser versions to include v126.
  • +2/-2     
    package.json
    Update JavaScript WebDriver Package Version to 4.22.0       

    javascript/node/selenium-webdriver/package.json

    • Updated WebDriver version to 4.22.0.
    +1/-1     
    BUILD.bazel
    Update Java DevTools Build to Version 126                               

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

    • Updated CDP version to v126.
    +1/-1     
    BUILD.bazel
    Add Support for CDP Version 126 in Ruby                                   

    rb/lib/selenium/devtools/BUILD.bazel

    • Updated supported CDP versions to include v126.
    +1/-1     
    Tests
    8 files
    DevToolsTargetTest.cs
    Update DevTools Target Test to Version 126                             

    dotnet/test/common/DevTools/DevToolsTargetTest.cs

    • Updated CurrentCdpVersion to V126.
    • Updated test ID to 126.
    +3/-3     
    DevToolsConsoleTest.cs
    Update DevTools Console Test to Version 126                           

    dotnet/test/common/DevTools/DevToolsConsoleTest.cs

    • Updated CurrentCdpVersion to V126.
    +2/-2     
    DevToolsNetworkTest.cs
    Update DevTools Network Test to Version 126                           

    dotnet/test/common/DevTools/DevToolsNetworkTest.cs

    • Updated CurrentCdpVersion to V126.
    +2/-2     
    DevToolsPerformanceTest.cs
    Update DevTools Performance Test to Version 126                   

    dotnet/test/common/DevTools/DevToolsPerformanceTest.cs

    • Updated CurrentCdpVersion to V126.
    +2/-2     
    DevToolsProfilerTest.cs
    Update DevTools Profiler Test to Version 126                         

    dotnet/test/common/DevTools/DevToolsProfilerTest.cs

    • Updated CurrentCdpVersion to V126.
    +2/-2     
    DevToolsSecurityTest.cs
    Update DevTools Security Test to Version 126                         

    dotnet/test/common/DevTools/DevToolsSecurityTest.cs

    • Updated CurrentCdpVersion to V126.
    +2/-2     
    DevToolsTabsTest.cs
    Update DevTools Tabs Test to Version 126                                 

    dotnet/test/common/DevTools/DevToolsTabsTest.cs

    • Updated CurrentCdpVersion to V126.
    +2/-2     
    DevToolsLogTest.cs
    Update DevTools Log Test to Version 126                                   

    dotnet/test/common/DevTools/DevToolsLogTest.cs

    • Updated CurrentCdpVersion to V126.
    +1/-1     
    Dependencies
    4 files
    repositories.bzl
    Update Browser and Driver Versions in Repositories             

    common/repositories.bzl

  • Updated Firefox beta version to 128.0b4.
  • Updated Edge version to 126.0.2592.61.
  • Updated EdgeDriver version to 126.0.2592.61.
  • +13/-13 
    selenium_manager.bzl
    Update Selenium Manager Binaries                                                 

    common/selenium_manager.bzl

    • Updated Selenium Manager binaries to new versions.
    +6/-6     
    MODULE.bazel
    Update Maven Dependencies                                                               

    MODULE.bazel

    • Updated Maven dependencies to newer versions.
    +25/-25 
    package-lock.json
    Update Package Lock for WebDriver Version 4.22.0                 

    package-lock.json

    • Updated WebDriver version to 4.22.0.
    +1/-1     
    Documentation
    7 files
    conf.py
    Update Python Documentation Version to 4.22.0                       

    py/docs/source/conf.py

    • Updated documentation version to 4.22.0.
    +1/-1     
    AUTHORS
    Add New Authors to AUTHORS File                                                   

    AUTHORS

    • Added new authors to the AUTHORS file.
    +5/-0     
    CHANGES
    Update Ruby Change Log for Version 4.22.0                               

    rb/CHANGES

    • Added change log entries for version 4.22.0.
    +35/-0   
    CHANGES.md
    Update JavaScript Change Log for Version 4.22.0                   

    javascript/node/selenium-webdriver/CHANGES.md

    • Added change log entries for version 4.22.0.
    +17/-0   
    CHANGELOG
    Update Java Change Log for Version 4.22.0                               

    java/CHANGELOG

    • Added change log entries for version 4.22.0.
    +16/-0   
    CHANGELOG
    Update .NET Change Log for Version 4.22.0                               

    dotnet/CHANGELOG

    • Added change log entries for version 4.22.0.
    +16/-0   
    CHANGES
    Update Python Change Log for Version 4.22.0                           

    py/CHANGES

    • Added change log entries for version 4.22.0.
    +11/-0   

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

    @titusfortner titusfortner marked this pull request as ready for review June 18, 2024 19:05
    @titusfortner titusfortner merged commit e865934 into temp_trunk Jun 18, 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 languages. It is crucial to ensure that all changes are compatible and do not introduce any regressions. Thorough testing across different environments and configurations is recommended.
    Code Consistency:
    The PR updates various dependencies and versions. It is important to verify that these updates do not break existing functionalities and are in line with the project's overall dependency management strategy.
    Documentation:
    The PR includes changes to documentation and comments. Reviewers should verify that the documentation is accurate and provides sufficient information about the changes.

    Copy link

    Failed to generate code suggestions for PR

    @titusfortner titusfortner deleted the release-preparation-4.22.0 branch June 18, 2024 19:53
    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