-
v5.0.0 Stable
released this
2025-09-04 01:47:21 +08:00 | 24 commits to main since this releaseWhat's Changed
Breaking Changes
- Enhance caching in setup-node with automatic package manager detection by @priya-kinthali in https://github.com/actions/setup-node/pull/1348
This update, introduces automatic caching when a valid
packageManagerfield is present in yourpackage.json. This aims to improve workflow performance and make dependency management more seamless.
To disable this automatic caching, setpackage-manager-cache: falsesteps: - uses: actions/checkout@v5 - uses: actions/setup-node@v5 with: package-manager-cache: false- Upgrade action to use node24 by @salmanmkc in https://github.com/actions/setup-node/pull/1325
Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. See Release Notes
Dependency Upgrades
- Upgrade @octokit/request-error and @actions/github by @dependabot[bot] in https://github.com/actions/setup-node/pull/1227
- Upgrade uuid from 9.0.1 to 11.1.0 by @dependabot[bot] in https://github.com/actions/setup-node/pull/1273
- Upgrade undici from 5.28.5 to 5.29.0 by @dependabot[bot] in https://github.com/actions/setup-node/pull/1295
- Upgrade form-data to bring in fix for critical vulnerability by @gowridurgad in https://github.com/actions/setup-node/pull/1332
- Upgrade actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/actions/setup-node/pull/1345
New Contributors
- @priya-kinthali made their first contribution in https://github.com/actions/setup-node/pull/1348
- @salmanmkc made their first contribution in https://github.com/actions/setup-node/pull/1325
Full Changelog: https://github.com/actions/setup-node/compare/v4...v5.0.0
Downloads