Releases: actions/setup-java
v4.5.0
What's Changed
Bug fixes:
- Improve archive extraction on windows runners without powershell core and Update micromatch dependency by @priyagupta108 in #689
- Update workflows for GraalVM and Version Enhancements by @mahabaleshwars in #699
- Refine
isGhes
logic by @jww3 in #697
New Contributors:
- @priyagupta108 made their first contribution in #689
- @jww3 made their first contribution in #697
Full Changelog: v4...v4.5.0
v4.4.0
What's Changed
Add-ons :
- Add support for Oracle GraalVM by @fniephaus in #501
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup-java
uses: actions/setup-java@v4
with:
distribution: 'graalvm'
java-version: '21'
Bug fixes :
- Add architecture to cache key by @Zxilly in #664
This addresses issues with caching by adding the architecture (arch) to the cache key, ensuring that cache keys are accurate to prevent conflicts.
Note: This change may break previous cache keys as they will no longer be compatible with the new format. - Resolve check failures by @aparnajyothi-y in #687
New Contributors
Full Changelog: v4...v4.4.0
v4.3.0
What's Changed
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup-java
uses: actions/setup-java@v4
with:
distribution: 'sapmachine'
java-version: '21'
Bug fixes :
- Fix typos on Corretto by @johnshajiang in #666
- IBM Semeru Enhancement on arm64 by @mahabaleshwars in #677
- Resolve Basic Validation Check Failures by @aparnajyothi-y in #682
New Contributors :
- @johnshajiang made their first contribution in #666
- @Shegox made their first contribution in #614
Full Changelog: v4...v4.3.0
v4.2.2
What's Changed
Bug fixes:
- Fix macos latest check failures by @HarithaVattikuti in #634
- Fix dragonwell distribution parsing issues by @Accelerator1996 in #643
Documentation changes
- Update advanced documentation for java-version-file by @mahabaleshwars in #622
Dependency updates:
- Bump undici from 5.28.3 to 5.28.4 and other dependency updates by @dependabot in #616
Full Changelog: v4...v4.2.2
v4.2.1
What's Changed
- Patch for java version file to accept it from any path by @mahabaleshwars in #610
Full Changelog: v4...v4.2.1
v4.2.0
What's Changed
- Updated actions/httpclient version to 2.2.1 and other dependencies by @HarithaVattikuti in #607
- Added .tool-versions file support along with .java-version file by @mahabaleshwars in #606
New Contributors
- @HarithaVattikuti made their first contribution in #607
Full Changelog: v4...v4.2.0
V4.1.0
What's Changed
- Added Windows Arm64 Support for Windows Arm64 Runners by @mahabaleshwars in #595
- feat: bump actions/checkout and actions/setup-java to v4 by @kbdharun in #533
- Handle authorization when the token is undefined by @peter-murray in #556
- Documentation update of Java 21 by @Okeanos in #566
- Documentation update about maven-gpg-plugin version note by @IvanZosimov in #570
- Oracle JDK 21 support by @jdubois in #538
- Fix typo in configuration example by @Bananeweizen in #572
New Contributors
- @kbdharun made their first contribution in #533
- @peter-murray made their first contribution in #556
- @jdubois made their first contribution in #538
- @Bananeweizen made their first contribution in #572
- @mahabaleshwars made their first contribution in #595
Full Changelog: v4...v4.1.0
v4.0.0
What's Changed
In the scope of this release, the version of the Node.js runtime was updated to 20. The majority of dependencies were updated to the latest versions. From now on, the code for the setup-java will run on Node.js 20 instead of Node.js 16.
Breaking changes
- Update Node.js runtime to version 20 by @aparnajyothi-y in #558
Non-breaking changes
- Adding support for microsoft openjdk 21.0.0 by @ralfstuckert in #546
- Update @actions/cache dependency and documentation by @IvanZosimov in #549
- Implementation of the cache-dependency-path option to control caching dependency by @itchyny in #499
New Contributors
- @ralfstuckert made their first contribution in #546
- @itchyny made their first contribution in #499
Full Changelog: v3...v4.0.0
v3.13.0
What's changed
In the scope of this release, support for Dragonwell JDK was added by @Accelerator1996 in #532
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup-java
uses: actions/setup-java@v3
with:
distribution: 'dragonwell'
java-version: '17'
Several inaccuracies were also fixed:
- Fix XML namespaces wrongly using https by @gnodet in #503
- Fix typo and remove unintentional(?) word by @CyberFlameGO in #518
- Fix usage link within the README.md file by @dassiorleando in #525
New Contributors
- @CyberFlameGO made their first contribution in #518
- @dassiorleando made their first contribution in #525
- @gnodet made their first contribution in #503
- @Accelerator1996 made their first contribution in #532
Full Changelog: v3...v3.13.0
v3.12.0
In scope of this release the following changes were made:
Bug fixes:
- Always check postfix "Contents/Home" on macOS by @erwin1 in #397
- Fix sbt/scala cache key by @Dogacel in #478
- Corretto toolcache folder name fix by @IvanZosimov in #480
- Update versions of Oracle JDK and Microsoft Build of OpenJDK by @anishi1222 in #489
- Update Oracle JDK download URL calculation by @nikolai-laevskii in #507
Feature implementations:
Resolving dependencies issues:
- Remove implicit dependencies by @nikolai-laevskii in #494
- Update xml2js by @dmitry-shibanov in #484
- Update dependencies by @IvanZosimov in #511
Infrastructure updates:
- Fix glob bug in package.json scripts section by @IvanZosimov in #475
- Update mocks by @nikolai-laevskii in #498
Documentation changes:
New Contributors
- @erwin1 made their first contribution in #397
- @Dogacel made their first contribution in #478
- @anishi1222 made their first contribution in #489
- @nikolai-laevskii made their first contribution in #498
- @ragsmpl made their first contribution in #500
- @Endi327 made their first contribution in #280
Full Changelog: v3...v3.12.0