Skip to content

Commit

Permalink
Format CHANGELOG cross bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
  • Loading branch information
VietND96 committed Feb 17, 2025
1 parent ce4c59f commit db6ee16
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 104 deletions.
6 changes: 5 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,11 @@ end

def update_changelog(version, language, path, changelog, header)
tag = previous_tag(version, language)
log = `git --no-pager log #{tag}...HEAD --pretty=format:"--> %B" --reverse #{path}`
if language == 'javascript'
log = `git --no-pager log #{tag}...HEAD --pretty=format:"- %s" --reverse #{path}`
else
log = `git --no-pager log #{tag}...HEAD --pretty=format:"* %s" --reverse #{path}`
end
commits = log.split('>>>').map { |entry|
lines = entry.split("\n")
lines.reject! { |line| line.match?(/^(----|Co-authored|Signed-off)/) || line.empty? }
Expand Down
31 changes: 10 additions & 21 deletions java/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
v4.29.0
======
--> [Java] Add Locale.ROOT to avoid port formatting issues for all drivers (#15121)
--> [java][bidi]: implement bidi `setCacheBehavior` (#15130)
--> [java] Enhance PageSize class to support for predefined and custom Paper Sizes (#15052)
--> [java] Ensure purging dead nodes service interval is configurable (#15175)
Fixes #15168
--> [java] Ensure Selenium logging options are respected if java logging properties are not set (#15197)
Fixes #14160 and #15176
--> [java] Do not enable CDP deprecation warning if BiDi enabled (#15170)
--> [java][js][rb][py][dotnet] Remove firefox cdp (#15200)
Related to #11736
--> [bazel] Remove empty globs
In Bazel 8, the default is to disallow empty globs. Rather
than make more changes as we update, instead we'll flip the
flag now and fix up any issues. This will make the Bazel 8
update simpler.
--> [grid] Add default sessionTimeout to NodeStatus to increase backward compatibility (#15229)
* [grid] Add default sessionTimeout to NodeStatus to increase backward compatibility
* Add test sessionTimeout from NodeStatus JSON scheme
--> [java] close the HttpClient if possible
--> [java] Avoid augmenting CDP for Firefox (#15271)
--> Update supported versions for Chrome DevTools
* Add CDP for Chrome 133 and remove 130
* [java] Ensure purging dead nodes service interval is configurable (#15175)
* [java] Ensure Selenium logging options are respected if java logging properties are not set (#15197)
* [java] Do not enable CDP deprecation warning if BiDi enabled (#15170)
* [java][js][rb][py][dotnet] Remove firefox cdp (#15200)
* [grid] Add default sessionTimeout to NodeStatus to increase backward compatibility (#15229)
* [java] close the HttpClient if possible
* [java] Avoid augmenting CDP for Firefox (#15271)
* [java] Remove deprecated non-w3c compliant NetworkConnection interface (#15270)
* [java] avoid downloading not needed browsers #15261

v4.28.1
======
Expand Down
22 changes: 3 additions & 19 deletions javascript/node/selenium-webdriver/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,7 @@
## 4.29.0
--> [javascript] Bumping version to nightly
--> [javascript] Fixing changelog
[skip ci]
--> [java][js][rb][py][dotnet] Remove firefox cdp (#15200)
Related to #11736
--> [bazel] Remove empty globs
In Bazel 8, the default is to disallow empty globs. Rather
than make more changes as we update, instead we'll flip the
flag now and fix up any issues. This will make the Bazel 8
update simpler.
--> [js][bidi]: implement bidi `setCacheBehavior` command (#15136)
* implement js bidi command `setCacheBehavior`
* add bidi tests for `setCacheBehavior`
* updated tests
* add input validation for context IDs
* use enum like structure (CacheBehavior)
* use named import in other network test files
* fix lib/network.js
--> Update supported versions for Chrome DevTools
- Add CDP for Chrome 133 and remove 130
- [java][js][rb][py][dotnet] Remove firefox cdp (#15200)
- [js][bidi]: implement bidi `setCacheBehavior` command (#15136)

## 4.28.1

Expand Down
19 changes: 6 additions & 13 deletions py/CHANGES
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
Selenium 4.29.0
--> [ci] Bumping Java and Python to nightly
--> [py] disable strict time stamps in Firefox profile (#15141)
--> [py] Enhance PrintOptions to support default, predefined, and custom page sizes (#15052) (#15064)
* Enhance PrintOptions to support default, predefined, and custom page sizes in Python (#15052)
* adding reference link for page sizes
* fixing format issues
* fixing the assertion to compare with then new default width
--> [java][js][rb][py][dotnet] Remove firefox cdp (#15200)
Related to #11736
--> [py]: handle named `get_cookie` and `delete_cookie` for None and empty strings (#15073)
* handle `None` and empty string case for `get_cookie()` and `delete_cookie()`
* run `format.sh`
* apply suggestion for test cases
* Add CDP for Chrome 133 and remove 130
* [py] disable strict time stamps in Firefox profile (#15141)
* [py] Enhance PrintOptions to support default, predefined, and custom page sizes (#15052) (#15064)
* [java][js][rb][py][dotnet] Remove firefox cdp (#15200)
* [py]: handle named `get_cookie` and `delete_cookie` for None and empty strings (#15073)
* [py] document cygwin path for `send_keys` (#15275)

Selenium 4.28.1
* [py] Fix installing most of the data from source distributions
Expand Down
48 changes: 6 additions & 42 deletions rb/CHANGES
Original file line number Diff line number Diff line change
@@ -1,46 +1,10 @@
4.29.0 (2025-02-11)
4.29.0 (2025-02-17)
=========================
--> Bumping version for nightly
--> [rb] Add Bidi Network Response Handler (#14900)
--> [java][js][rb][py][dotnet] Remove firefox cdp (#15200)
Related to #11736
--> [rb][BiDi] Add support for provide response command (#15080)
* Add response handler
* Update auth handlers and improve the :on method
* Request and response working as expected
* Add test for continue without auth and cancel auth
* Finish implementation
* Correct rubocop offenses
* Add alias for user to do network.bidi instead of network.network
* Fix rust file causing formatting error
* Handle requests and responses in block
* Add ability to pass handlers to each different intercepted element
* Headers working
* All tests passing and signatures simplified
* remove unnecessary changes
* remove unnecessary changes
* Added credentials and set cookie header to intercepted response
* Fix rubocop issues
* Make auth handler more user friendly
* Add filtering an url pattern support
* Fix formatting issues
* Modify tests to avoid element related failures on firefox
* Fix styling of comments
* Improve types and hash consistency
* Update all the places that use 9.4.8.0
* Serialize request values
* Refactor cookies, headers and set cookie headers
* Simplify serialization
* Add extra type support
* remove unnecessary comment
* Improve typing
* add provide response support
* Correct rubocop offenses
* Remove set cookie headers
* Remove set cookie headers
* Fix failing tests
* Add negative scenario
--> Update supported versions for Chrome DevTools
* Add CDP for Chrome 133 and remove 130
* [rb] Add Bidi Network Response Handler (#14900)
* [java][js][rb][py][dotnet] Remove firefox cdp (#15200)
* [rb][BiDi] Add support for provide response command (#15080)
* [rb][BiDi] Add set cache behaviour (#15114)

4.28.0 (2025-01-16)
=========================
Expand Down
2 changes: 1 addition & 1 deletion rust/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ rust_binary(
name = "selenium-manager",
srcs = ["src/main.rs"],
edition = "2021",
version = "0.4.29-nightly",
version = "0.4.29",
visibility = ["//visibility:public"],
deps = [
":selenium_manager",
Expand Down
10 changes: 5 additions & 5 deletions rust/Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "dd0b1d61473c324a69e9446829245d736b5cf37dfd115cacf1169662fa518d3e",
"checksum": "9c5df13665bbb4442be9c8674c176e8324d597425d8da1f20e952cea268d6168",
"crates": {
"addr2line 0.21.0": {
"name": "addr2line",
Expand Down Expand Up @@ -13204,9 +13204,9 @@
],
"license_file": "LICENSE"
},
"selenium-manager 0.4.29-nightly": {
"selenium-manager 0.4.29": {
"name": "selenium-manager",
"version": "0.4.29-nightly",
"version": "0.4.29",
"package_url": "https://github.com/SeleniumHQ/selenium",
"repository": null,
"targets": [
Expand Down Expand Up @@ -13355,7 +13355,7 @@
"selects": {}
},
"edition": "2021",
"version": "0.4.29-nightly"
"version": "0.4.29"
},
"license": "Apache-2.0",
"license_ids": [
Expand Down Expand Up @@ -21478,7 +21478,7 @@
},
"binary_crates": [],
"workspace_members": {
"selenium-manager 0.4.29-nightly": "rust"
"selenium-manager 0.4.29": "rust"
},
"conditions": {
"aarch64-apple-darwin": [
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "selenium-manager"
version = "0.4.29-nightly" # don't forget to update rust/BUILD.bazel
version = "0.4.29" # don't forget to update rust/BUILD.bazel
edition = "2021"
authors = ["Selenium <selenium-developers@googlegroups.com"]
license = "Apache-2.0"
Expand Down

0 comments on commit db6ee16

Please # to comment.