Releases: axel-op/googlejavaformat-action
Releases · axel-op/googlejavaformat-action
v4.0.0
What's Changed
Breaking changes
- The
files-excluded
input is now treated as a glob pattern (previously as a regular expression). This makes its behaviour consistent with thefiles
input. - The
version
input was replaced byrelease-name
to make it clear that it expects the name of a release of Google Java Format.
Other changes
- Add hints for enterprise users regarding rate-limiting/GITHUB_TOKEN by @RPCMoritz in #29
- Use Node 20 to run the action by @PushpamKumarTR in #34
- Add action typings by @krzema12 in #26
New Contributors
- @krzema12 made their first contribution in #26
- @RPCMoritz made their first contribution in #29
- @kyu08 made their first contribution in #31
- @PushpamKumarTR made their first contribution in #34
Full Changelog: v3.6.0...v4.0.0
v3.6.0
What's Changed
- Add a new
files-excluded
argument to exclude some files from being sent to the executable.
New Contributors
- @dulmandakh made their first contribution in #18
Full Changelog: 3.5.0...v3.6.0
3.5.0
Add some add-exports
statements to the Java command in order to suppress some warnings related to the violation of encapsulation.
See https://github.com/google/google-java-format#jdk-16.
Custom commit message
It is now possible to provide a custom commit message.
Use GITHUB_TOKEN
To bypass the rate-limit issue on MacOS machines, this action now has a githubToken
input that it will use, if provided, to authenticate calls to the GitHub API.
This release has initially been published under the v3.3.0
tag, which contained multiple bugs. They have been fixed in v3.3.2
.
Windows compatibility
This action now works on Windows machines.
v3.1.0
- Adds the version input to use a specific version of Google Java Format.
- Git username has been edited from "GitHub Actions" to "github-actions".
v3.0.0
- As Google Java Format now requires JDK 11 minimum, the action will fallback to version 1.7 for older JDK versions.
- Fixes a bug that prevented some outputs on stderr to be properly printed to the console.
- Improves logs.
v2.0.0
Second version in Javascript
v1.0.0
First version