Upgrade to use node24#1630
Conversation
|
Please i need help or guidance, any form rendered will be duly appreciated |
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the cache action from Node.js 20 to Node.js 24 to take advantage of the new runtime version now available on GitHub Actions runners.
- Updates GitHub Actions configuration files to use Node.js 24 runtime
- Upgrades development dependencies to support Node.js 24
- Updates package.json engines requirement to enforce Node.js 24+
Reviewed Changes
Copilot reviewed 26 out of 32 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| save/action.yml, restore/action.yml, action.yml | Updates runtime from 'node20' to 'node24' |
| package.json | Upgrades dev dependencies and adds Node.js 24+ engine requirement |
| .github/workflows/*.yml | Updates CI workflows to use Node.js 24 |
| .licenses/npm/*.dep.yml | Updates dependency license files due to package upgrades |
- Use local cache package with file:../packages/cache instead of published version - Update all action.yml files to use node24 runtime - Update dependencies to support Node 24 (@types/node@24.1.0) - Rebuild dist files with local cache package - Add engines field requiring node >=24
- Keep Node 24 package.json with local cache package reference - Keep rebuilt dist files with local cache package - Preserve package-lock.json with updated dependencies - Include latest license updates from main
|
Hi @salmanmkc This PR seems to have stalled for the past months. What are the plans? Will you continue with this PR or replace it? |
Hoping to get it completed soon, just bumping toolkit at the moment and once that is done I should be able to get cache upgraded. |
Uses updated cache package that removes @azure/ms-rest-js dependency to fix Node 24 punycode deprecation warning.
This reverts commit fe92eaf.
So all is ready to basically be released, I just need reviews/approvals. Either this week or probably sometime in January. |
Bumps [actions/cache](https://github.com/actions/cache) from 4.3.0 to 5.0.1. Release notes *Sourced from [actions/cache's releases](https://github.com/actions/cache/releases).* > v5.0.1 > ------ > > > [!IMPORTANT] > > **`actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`.** > > > > If you are using self-hosted runners, ensure they are updated before upgrading. > > --- > > v5.0.1 > ====== > > What's Changed > -------------- > > * fix: update `@actions/cache` for Node.js 24 punycode deprecation by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1685](https://redirect.github.com/actions/cache/pull/1685) > * prepare release v5.0.1 by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1686](https://redirect.github.com/actions/cache/pull/1686) > > v5.0.0 > ====== > > What's Changed > -------------- > > * Upgrade to use node24 by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1630](https://redirect.github.com/actions/cache/pull/1630) > * Prepare v5.0.0 release by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1684](https://redirect.github.com/actions/cache/pull/1684) > > **Full Changelog**: <actions/cache@v5...v5.0.1> > > v5.0.0 > ------ > > > [!IMPORTANT] > > **`actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`.** > > > > If you are using self-hosted runners, ensure they are updated before upgrading. > > --- > > What's Changed > -------------- > > * Upgrade to use node24 by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1630](https://redirect.github.com/actions/cache/pull/1630) > * Prepare v5.0.0 release by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1684](https://redirect.github.com/actions/cache/pull/1684) > > **Full Changelog**: <actions/cache@v4.3.0...v5.0.0> Changelog *Sourced from [actions/cache's changelog](https://github.com/actions/cache/blob/main/RELEASES.md).* > Releases > ======== > > Changelog > --------- > > ### 5.0.1 > > * Update `@azure/storage-blob` to `^12.29.1` via `@actions/cache@5.0.1` [#1685](https://redirect.github.com/actions/cache/pull/1685) > > ### 5.0.0 > > > [!IMPORTANT] > > `actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`. > > If you are using self-hosted runners, ensure they are updated before upgrading. > > ### 4.3.0 > > * Bump `@actions/cache` to [v4.1.0](https://redirect.github.com/actions/toolkit/pull/2132) > > ### 4.2.4 > > * Bump `@actions/cache` to v4.0.5 > > ### 4.2.3 > > * Bump `@actions/cache` to v4.0.3 (obfuscates SAS token in debug logs for cache entries) > > ### 4.2.2 > > * Bump `@actions/cache` to v4.0.2 > > ### 4.2.1 > > * Bump `@actions/cache` to v4.0.1 > > ### 4.2.0 > > TLDR; The cache backend service has been rewritten from the ground up for improved performance and reliability. [actions/cache](https://github.com/actions/cache) now integrates with the new cache service (v2) APIs. > > The new service will gradually roll out as of **February 1st, 2025**. The legacy service will also be sunset on the same date. Changes in these release are **fully backward compatible**. > > **We are deprecating some versions of this action**. We recommend upgrading to version `v4` or `v3` as soon as possible before **February 1st, 2025.** (Upgrade instructions below). > > If you are using pinned SHAs, please use the SHAs of versions `v4.2.0` or `v3.4.0` > > If you do not upgrade, all workflow runs using any of the deprecated [actions/cache](https://github.com/actions/cache) will fail. > > Upgrading to the recommended versions will not break your workflows. > > ### 4.1.2 ... (truncated) Commits * [`9255dc7`](actions/cache@9255dc7) Merge pull request [#1686](https://redirect.github.com/actions/cache/issues/1686) from actions/cache-v5.0.1-release * [`8ff5423`](actions/cache@8ff5423) chore: release v5.0.1 * [`9233019`](actions/cache@9233019) Merge pull request [#1685](https://redirect.github.com/actions/cache/issues/1685) from salmanmkc/node24-storage-blob-fix * [`b975f2b`](actions/cache@b975f2b) fix: add peer property to package-lock.json for dependencies * [`d0a0e18`](actions/cache@d0a0e18) fix: update license files for `@actions/cache`, fast-xml-parser, and strnum * [`74de208`](actions/cache@74de208) fix: update `@actions/cache` to ^5.0.1 for Node.js 24 punycode fix * [`ac7f115`](actions/cache@ac7f115) peer * [`b0f846b`](actions/cache@b0f846b) fix: update `@actions/cache` with storage-blob fix for Node.js 24 punycode depr... * [`a783357`](actions/cache@a783357) Merge pull request [#1684](https://redirect.github.com/actions/cache/issues/1684) from actions/prepare-cache-v5-release * [`3bb0d78`](actions/cache@3bb0d78) docs: highlight v5 runner requirement in releases * Additional commits viewable in [compare view](actions/cache@0057852...9255dc7) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [actions/cache](https://github.com/actions/cache) from 4.3.0 to 5.0.1. Release notes *Sourced from [actions/cache's releases](https://github.com/actions/cache/releases).* > v5.0.1 > ------ > > > [!IMPORTANT] > > **`actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`.** > > > > If you are using self-hosted runners, ensure they are updated before upgrading. > > --- > > v5.0.1 > ====== > > What's Changed > -------------- > > * fix: update `@actions/cache` for Node.js 24 punycode deprecation by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1685](https://redirect.github.com/actions/cache/pull/1685) > * prepare release v5.0.1 by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1686](https://redirect.github.com/actions/cache/pull/1686) > > v5.0.0 > ====== > > What's Changed > -------------- > > * Upgrade to use node24 by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1630](https://redirect.github.com/actions/cache/pull/1630) > * Prepare v5.0.0 release by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1684](https://redirect.github.com/actions/cache/pull/1684) > > **Full Changelog**: <actions/cache@v5...v5.0.1> > > v5.0.0 > ------ > > > [!IMPORTANT] > > **`actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`.** > > > > If you are using self-hosted runners, ensure they are updated before upgrading. > > --- > > What's Changed > -------------- > > * Upgrade to use node24 by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1630](https://redirect.github.com/actions/cache/pull/1630) > * Prepare v5.0.0 release by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/cache#1684](https://redirect.github.com/actions/cache/pull/1684) > > **Full Changelog**: <actions/cache@v4.3.0...v5.0.0> Changelog *Sourced from [actions/cache's changelog](https://github.com/actions/cache/blob/main/RELEASES.md).* > Releases > ======== > > Changelog > --------- > > ### 5.0.1 > > * Update `@azure/storage-blob` to `^12.29.1` via `@actions/cache@5.0.1` [#1685](https://redirect.github.com/actions/cache/pull/1685) > > ### 5.0.0 > > > [!IMPORTANT] > > `actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`. > > If you are using self-hosted runners, ensure they are updated before upgrading. > > ### 4.3.0 > > * Bump `@actions/cache` to [v4.1.0](https://redirect.github.com/actions/toolkit/pull/2132) > > ### 4.2.4 > > * Bump `@actions/cache` to v4.0.5 > > ### 4.2.3 > > * Bump `@actions/cache` to v4.0.3 (obfuscates SAS token in debug logs for cache entries) > > ### 4.2.2 > > * Bump `@actions/cache` to v4.0.2 > > ### 4.2.1 > > * Bump `@actions/cache` to v4.0.1 > > ### 4.2.0 > > TLDR; The cache backend service has been rewritten from the ground up for improved performance and reliability. [actions/cache](https://github.com/actions/cache) now integrates with the new cache service (v2) APIs. > > The new service will gradually roll out as of **February 1st, 2025**. The legacy service will also be sunset on the same date. Changes in these release are **fully backward compatible**. > > **We are deprecating some versions of this action**. We recommend upgrading to version `v4` or `v3` as soon as possible before **February 1st, 2025.** (Upgrade instructions below). > > If you are using pinned SHAs, please use the SHAs of versions `v4.2.0` or `v3.4.0` > > If you do not upgrade, all workflow runs using any of the deprecated [actions/cache](https://github.com/actions/cache) will fail. > > Upgrading to the recommended versions will not break your workflows. > > ### 4.1.2 ... (truncated) Commits * [`9255dc7`](actions/cache@9255dc7) Merge pull request [#1686](https://redirect.github.com/actions/cache/issues/1686) from actions/cache-v5.0.1-release * [`8ff5423`](actions/cache@8ff5423) chore: release v5.0.1 * [`9233019`](actions/cache@9233019) Merge pull request [#1685](https://redirect.github.com/actions/cache/issues/1685) from salmanmkc/node24-storage-blob-fix * [`b975f2b`](actions/cache@b975f2b) fix: add peer property to package-lock.json for dependencies * [`d0a0e18`](actions/cache@d0a0e18) fix: update license files for `@actions/cache`, fast-xml-parser, and strnum * [`74de208`](actions/cache@74de208) fix: update `@actions/cache` to ^5.0.1 for Node.js 24 punycode fix * [`ac7f115`](actions/cache@ac7f115) peer * [`b0f846b`](actions/cache@b0f846b) fix: update `@actions/cache` with storage-blob fix for Node.js 24 punycode depr... * [`a783357`](actions/cache@a783357) Merge pull request [#1684](https://redirect.github.com/actions/cache/issues/1684) from actions/prepare-cache-v5-release * [`3bb0d78`](actions/cache@3bb0d78) docs: highlight v5 runner requirement in releases * Additional commits viewable in [compare view](actions/cache@0057852...9255dc7) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
## [5.1.1](v5.1.0...v5.1.1) (2026-02-06) ### 🐛 Bug Fixes * **deps:** bump actions/cache from 4 to 5 ([#89](#89)) ([22da9c3](22da9c3)), closes [actions/cache#1630](actions/cache#1630) [actions/cache#1684](actions/cache#1684) [actions/cache#1642](actions/cache#1642) [actions/cache#1655](actions/cache#1655) [actions/cache#1642](actions/cache#1642) [actions/cache#1620](actions/cache#1620) [actions/cache#1634](actions/cache#1634) [actions/cache#1636](actions/cache#1636) [actions/cache#1620](actions/cache#1620) [actions/cache#1577](actions/cache#1577) [actions/cache#1577](actions/cache#1577) [#1474](https://github.com/myparcelnl/actions/issues/1474) [#1475](https://github.com/myparcelnl/actions/issues/1475) [#1684](https://github.com/myparcelnl/actions/issues/1684) [#1630](https://github.com/myparcelnl/actions/issues/1630) * **deps:** bump actions/checkout from 5 to 6 ([#88](#88)) ([7a79c37](7a79c37)), closes [actions/checkout#2248](actions/checkout#2248) [actions/checkout#2286](actions/checkout#2286) [actions/checkout#2298](actions/checkout#2298) [actions/checkout#2311](actions/checkout#2311) [actions/checkout#2301](actions/checkout#2301) [actions/checkout#2286](actions/checkout#2286) [actions/checkout#2248](actions/checkout#2248) [actions/checkout#2301](actions/checkout#2301) [actions/checkout#2226](actions/checkout#2226) [actions/checkout#2305](actions/checkout#2305) [actions/checkout#1971](actions/checkout#1971) [actions/checkout#1977](actions/checkout#1977) [actions/checkout#2043](actions/checkout#2043) [actions/checkout#2044](actions/checkout#2044) [actions/checkout#2194](actions/checkout#2194) [actions/checkout#2224](actions/checkout#2224) [actions/checkout#2236](actions/checkout#2236) [actions/checkout#1941](actions/checkout#1941) [actions/checkout#1946](actions/checkout#1946) [actions/checkout#1924](actions/checkout#1924) [actions/checkout#1180](actions/checkout#1180) [actions/checkout#1777](actions/checkout#1777) [actions/checkout#1872](actions/checkout#1872) [actions/checkout#1739](actions/checkout#1739) [actions/checkout#1697](actions/checkout#1697) [actions/checkout#1774](actions/checkout#1774) [actions/checkout#1776](actions/checkout#1776) [actions/checkout#1732](actions/checkout#1732) [actions/checkout#1703](actions/checkout#1703) [actions/checkout#1694](actions/checkout#1694) [actions/checkout#1696](actions/checkout#1696) [actions/checkout#1695](actions/checkout#1695) [#2311](https://github.com/myparcelnl/actions/issues/2311) [#2298](https://github.com/myparcelnl/actions/issues/2298) [#2286](https://github.com/myparcelnl/actions/issues/2286) [#2248](https://github.com/myparcelnl/actions/issues/2248) * **deps:** bump myparcelnl/actions from 4 to 5 ([#84](#84)) ([0370671](0370671)), closes [#80](#80) [#80](#80) [#81](#81) [actions/checkout#2226](actions/checkout#2226) [actions/checkout#2238](actions/checkout#2238) [actions/checkout#1971](actions/checkout#1971) [actions/checkout#1977](actions/checkout#1977) [actions/checkout#2043](actions/checkout#2043) [actions/checkout#2044](actions/checkout#2044) [actions/checkout#2194](actions/checkout#2194) [actions/checkout#2224](actions/checkout#2224) [actions/checkout#2236](actions/checkout#2236) [actions/checkout#2237](actions/checkout#2237) [actions/checkout#1971](actions/checkout#1971) [actions/checkout#1977](actions/checkout#1977) [actions/checkout#2043](actions/checkout#2043) [actions/checkout#2194](actions/checkout#2194) [actions/checkout#2236](actions/checkout#2236) [actions/checkout#1941](actions/checkout#1941) [actions/checkout#1946](actions/checkout#1946) [actions/checkout#1924](actions/checkout#1924) [actions/checkout#1919](actions/checkout#1919) [actions/checkout#2226](actions/checkout#2226) [actions/checkout#1971](actions/checkout#1971) [actions/checkout#1977](actions/checkout#1977) [actions/checkout#2043](actions/checkout#2043) [actions/checkout#2044](actions/checkout#2044) [actions/checkout#2194](actions/checkout#2194) [actions/checkout#2224](actions/checkout#2224) [actions/checkout#2236](actions/checkout#2236) [actions/checkout#1941](actions/checkout#1941) [actions/checkout#1946](actions/checkout#1946) [actions/checkout#1924](actions/checkout#1924) [actions/checkout#1180](actions/checkout#1180) [actions/checkout#1777](actions/checkout#1777) [actions/checkout#1872](actions/checkout#1872) [actions/checkout#1739](actions/checkout#1739) [actions/checkout#1697](actions/checkout#1697) [actions/checkout#1774](actions/checkout#1774) [actions/checkout#1776](actions/checkout#1776) [actions/checkout#1732](actions/checkout#1732) [actions/checkout#1703](actions/checkout#1703) [actions/checkout#1694](actions/checkout#1694) [actions/checkout#1696](actions/checkout#1696) [actions/checkout#1695](actions/checkout#1695) [actions/checkout#1707](actions/checkout#1707) [actions/checkout#1692](actions/checkout#1692) [actions/checkout#1688](actions/checkout#1688) [actions/checkout#1693](actions/checkout#1693) [actions/checkout#1643](actions/checkout#1643) [#2238](https://github.com/myparcelnl/actions/issues/2238) [#2226](https://github.com/myparcelnl/actions/issues/2226) [#74](#74) [#72](#72) [#72](#72) [#82](#82) [#81](#81) [#76](#76) [#80](#80)
Resolves the Node.js 20 deprecation annotation surfaced on the first green run. v5.0.0 release notes confirm the upgrade to Node 24 (PR actions/cache#1630). Requires Actions Runner ≥ 2.327.1, which ubuntu-latest already provides. actions/checkout@v5 is already Node 24, no bump needed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [actions/cache](https://github.com/actions/cache) | major | `v4` → `v5.0.5` | --- ### Release Notes <details> <summary>actions/cache (actions/cache)</summary> ### [`v5.0.5`](https://github.com/actions/cache/releases/tag/v5.0.5) [Compare Source](actions/cache@v5.0.4...v5.0.5) #### What's Changed - Update ts-http-runtime dependency by [@​yacaovsnc](https://github.com/yacaovsnc) in [#​1747](actions/cache#1747) **Full Changelog**: <actions/cache@v5...v5.0.5> ### [`v5.0.4`](https://github.com/actions/cache/releases/tag/v5.0.4) [Compare Source](actions/cache@v5.0.3...v5.0.4) #### What's Changed - Add release instructions and update maintainer docs by [@​Link-](https://github.com/Link-) in [#​1696](actions/cache#1696) - Potential fix for code scanning alert no. 52: Workflow does not contain permissions by [@​Link-](https://github.com/Link-) in [#​1697](actions/cache#1697) - Fix workflow permissions and cleanup workflow names / formatting by [@​Link-](https://github.com/Link-) in [#​1699](actions/cache#1699) - docs: Update examples to use the latest version by [@​XZTDean](https://github.com/XZTDean) in [#​1690](actions/cache#1690) - Fix proxy integration tests by [@​Link-](https://github.com/Link-) in [#​1701](actions/cache#1701) - Fix cache key in examples.md for bun.lock by [@​RyPeck](https://github.com/RyPeck) in [#​1722](actions/cache#1722) - Update dependencies & patch security vulnerabilities by [@​Link-](https://github.com/Link-) in [#​1738](actions/cache#1738) #### New Contributors - [@​XZTDean](https://github.com/XZTDean) made their first contribution in [#​1690](actions/cache#1690) - [@​RyPeck](https://github.com/RyPeck) made their first contribution in [#​1722](actions/cache#1722) **Full Changelog**: <actions/cache@v5...v5.0.4> ### [`v5.0.3`](https://github.com/actions/cache/releases/tag/v5.0.3) [Compare Source](actions/cache@v5.0.2...v5.0.3) #### What's Changed - Bump `@actions/cache` to v5.0.5 (Resolves: <https://github.com/actions/cache/security/dependabot/33>) - Bump `@actions/core` to v2.0.3 **Full Changelog**: <actions/cache@v5...v5.0.3> ### [`v5.0.2`](https://github.com/actions/cache/releases/tag/v5.0.2): v.5.0.2 [Compare Source](actions/cache@v5.0.1...v5.0.2) ### v5.0.2 #### What's Changed When creating cache entries, 429s returned from the cache service will not be retried. ### [`v5.0.1`](https://github.com/actions/cache/releases/tag/v5.0.1) [Compare Source](actions/cache@v5...v5.0.1) > \[!IMPORTANT] > **`actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`.** > > If you are using self-hosted runners, ensure they are updated before upgrading. *** ### v5.0.1 #### What's Changed - fix: update [@​actions/cache](https://github.com/actions/cache) for Node.js 24 punycode deprecation by [@​salmanmkc](https://github.com/salmanmkc) in [#​1685](actions/cache#1685) - prepare release v5.0.1 by [@​salmanmkc](https://github.com/salmanmkc) in [#​1686](actions/cache#1686) ### v5.0.0 #### What's Changed - Upgrade to use node24 by [@​salmanmkc](https://github.com/salmanmkc) in [#​1630](actions/cache#1630) - Prepare v5.0.0 release by [@​salmanmkc](https://github.com/salmanmkc) in [#​1684](actions/cache#1684) **Full Changelog**: <actions/cache@v5...v5.0.1> ### [`v5.0.0`](https://github.com/actions/cache/releases/tag/v5.0.0) [Compare Source](actions/cache@v5...v5) > \[!IMPORTANT] > **`actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`.** > > If you are using self-hosted runners, ensure they are updated before upgrading. *** #### What's Changed - Upgrade to use node24 by [@​salmanmkc](https://github.com/salmanmkc) in [#​1630](actions/cache#1630) - Prepare v5.0.0 release by [@​salmanmkc](https://github.com/salmanmkc) in [#​1684](actions/cache#1684) **Full Changelog**: <actions/cache@v4.3.0...v5.0.0> ### [`v5`](actions/cache@v4.3.0...v5) [Compare Source](actions/cache@v4.3.0...v5) ### [`v4.3.0`](https://github.com/actions/cache/releases/tag/v4.3.0) [Compare Source](actions/cache@v4.2.4...v4.3.0) #### What's Changed - Add note on runner versions by [@​GhadimiR](https://github.com/GhadimiR) in [#​1642](actions/cache#1642) - Prepare `v4.3.0` release by [@​Link-](https://github.com/Link-) in [#​1655](actions/cache#1655) #### New Contributors - [@​GhadimiR](https://github.com/GhadimiR) made their first contribution in [#​1642](actions/cache#1642) **Full Changelog**: <actions/cache@v4...v4.3.0> ### [`v4.2.4`](https://github.com/actions/cache/releases/tag/v4.2.4) [Compare Source](actions/cache@v4.2.3...v4.2.4) #### What's Changed - Update README.md by [@​nebuk89](https://github.com/nebuk89) in [#​1620](actions/cache#1620) - Upgrade `@actions/cache` to `4.0.5` and move `@protobuf-ts/plugin` to dev depdencies by [@​Link-](https://github.com/Link-) in [#​1634](actions/cache#1634) - Prepare release `4.2.4` by [@​Link-](https://github.com/Link-) in [#​1636](actions/cache#1636) #### New Contributors - [@​nebuk89](https://github.com/nebuk89) made their first contribution in [#​1620](actions/cache#1620) **Full Changelog**: <actions/cache@v4...v4.2.4> ### [`v4.2.3`](https://github.com/actions/cache/releases/tag/v4.2.3) [Compare Source](actions/cache@v4.2.2...v4.2.3) #### What's Changed - Update to use [@​actions/cache](https://github.com/actions/cache) 4.0.3 package & prepare for new release by [@​salmanmkc](https://github.com/salmanmkc) in [#​1577](actions/cache#1577) (SAS tokens for cache entries are now masked in debug logs) #### New Contributors - [@​salmanmkc](https://github.com/salmanmkc) made their first contribution in [#​1577](actions/cache#1577) **Full Changelog**: <actions/cache@v4.2.2...v4.2.3> ### [`v4.2.2`](https://github.com/actions/cache/releases/tag/v4.2.2) [Compare Source](actions/cache@v4.2.1...v4.2.2) #### What's Changed > \[!IMPORTANT] > As a reminder, there were important backend changes to release v4.2.0, see [those release notes](https://github.com/actions/cache/releases/tag/v4.2.0) and [the announcement](actions/cache#1510) for more details. - Bump [@​actions/cache](https://github.com/actions/cache) to v4.0.2 by [@​robherley](https://github.com/robherley) in [#​1560](actions/cache#1560) **Full Changelog**: <actions/cache@v4.2.1...v4.2.2> ### [`v4.2.1`](https://github.com/actions/cache/releases/tag/v4.2.1) [Compare Source](actions/cache@v4.2.0...v4.2.1) #### What's Changed > \[!IMPORTANT] > As a reminder, there were important backend changes to release v4.2.0, see [those release notes](https://github.com/actions/cache/releases/tag/v4.2.0) and [the announcement](actions/cache#1510) for more details. - docs: GitHub is spelled incorrectly in caching-strategies.md by [@​janco-absa](https://github.com/janco-absa) in [#​1526](actions/cache#1526) - docs: Make the "always save prime numbers" example more clear by [@​Tobbe](https://github.com/Tobbe) in [#​1525](actions/cache#1525) - Update force deletion docs due a recent deprecation by [@​sebbalex](https://github.com/sebbalex) in [#​1500](actions/cache#1500) - Bump [@​actions/cache](https://github.com/actions/cache) to v4.0.1 by [@​robherley](https://github.com/robherley) in [#​1554](actions/cache#1554) #### New Contributors - [@​janco-absa](https://github.com/janco-absa) made their first contribution in [#​1526](actions/cache#1526) - [@​Tobbe](https://github.com/Tobbe) made their first contribution in [#​1525](actions/cache#1525) - [@​sebbalex](https://github.com/sebbalex) made their first contribution in [#​1500](actions/cache#1500) **Full Changelog**: <actions/cache@v4.2.0...v4.2.1> ### [`v4.2.0`](https://github.com/actions/cache/releases/tag/v4.2.0) [Compare Source](actions/cache@v4.1.2...v4.2.0) ####⚠️ Important Changes The cache backend service has been rewritten from the ground up for improved performance and reliability. [actions/cache](https://github.com/actions/cache) now integrates with the new cache service (v2) APIs. The new service will gradually roll out as of **February 1st, 2025**. The legacy service will also be sunset on the same date. Changes in these release are **fully backward compatible**. **We are deprecating some versions of this action**. We recommend upgrading to version `v4` or `v3` as soon as possible before **February 1st, 2025.** (Upgrade instructions below). If you are using pinned SHAs, please use the SHAs of versions `v4.2.0` or `v3.4.0` If you do not upgrade, all workflow runs using any of the deprecated [actions/cache](https://github.com/actions/cache) will fail. Upgrading to the recommended versions will not break your workflows. Read more about the change & access the migration guide: [reference to the announcement](actions/cache#1510). ##### Minor changes Minor and patch version updates for these dependencies: - [@​actions/core](https://github.com/actions/core): `1.11.1` - [@​actions/io](https://github.com/actions/io): `1.1.3` - [@​vercel/ncc](https://github.com/vercel/ncc): `0.38.3` **Full Changelog**: <actions/cache@v4.1.2...v4.2.0> ### [`v4.1.2`](https://github.com/actions/cache/releases/tag/v4.1.2) [Compare Source](actions/cache@v4.1.1...v4.1.2) #### What's Changed - Add Bun example by [@​idleberg](https://github.com/idleberg) in [#​1456](actions/cache#1456) - Revise `isGhes` logic by [@​jww3](https://github.com/jww3) in [#​1474](actions/cache#1474) - Bump braces from 3.0.2 to 3.0.3 by [@​dependabot](https://github.com/dependabot) in [#​1475](actions/cache#1475) - Add dependabot.yml to enable automatic dependency upgrades by [@​Link-](https://github.com/Link-) in [#​1476](actions/cache#1476) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [#​1478](actions/cache#1478) - Bump actions/stale from 3 to 9 by [@​dependabot](https://github.com/dependabot) in [#​1479](actions/cache#1479) - Bump github/codeql-action from 2 to 3 by [@​dependabot](https://github.com/dependabot) in [#​1483](actions/cache#1483) - Bump actions/setup-node from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [#​1481](actions/cache#1481) - Prepare `4.1.2` release by [@​Link-](https://github.com/Link-) in [#​1477](actions/cache#1477) #### New Contributors - [@​idleberg](https://github.com/idleberg) made their first contribution in [#​1456](actions/cache#1456) - [@​jww3](https://github.com/jww3) made their first contribution in [#​1474](actions/cache#1474) - [@​Link-](https://github.com/Link-) made their first contribution in [#​1476](actions/cache#1476) **Full Changelog**: <actions/cache@v4.1.1...v4.1.2> ### [`v4.1.1`](https://github.com/actions/cache/releases/tag/v4.1.1) [Compare Source](actions/cache@v4.1.0...v4.1.1) #### What's Changed - Restore original behavior of `cache-hit` output by [@​joshmgross](https://github.com/joshmgross) in [#​1467](actions/cache#1467) **Full Changelog**: <actions/cache@v4.1.0...v4.1.1> ### [`v4.1.0`](https://github.com/actions/cache/releases/tag/v4.1.0) [Compare Source](actions/cache@v4.0.2...v4.1.0) #### What's Changed - Fix cache-hit output when cache missed by [@​fchimpan](https://github.com/fchimpan) in [#​1404](actions/cache#1404) - Deprecate `save-always` input by [@​joshmgross](https://github.com/joshmgross) in [#​1452](actions/cache#1452) #### New Contributors - [@​ottlinger](https://github.com/ottlinger) made their first contribution in [#​1437](actions/cache#1437) - [@​Olegt0rr](https://github.com/Olegt0rr) made their first contribution in [#​1377](actions/cache#1377) - [@​fchimpan](https://github.com/fchimpan) made their first contribution in [#​1404](actions/cache#1404) - [@​x612skm](https://github.com/x612skm) made their first contribution in [#​1434](actions/cache#1434) - [@​todgru](https://github.com/todgru) made their first contribution in [#​1311](actions/cache#1311) - [@​Jcambass](https://github.com/Jcambass) made their first contribution in [#​1463](actions/cache#1463) - [@​mackey0225](https://github.com/mackey0225) made their first contribution in [#​1462](actions/cache#1462) - [@​quatquatt](https://github.com/quatquatt) made their first contribution in [#​1445](actions/cache#1445) **Full Changelog**: <actions/cache@v4.0.2...v4.1.0> ### [`v4.0.2`](https://github.com/actions/cache/releases/tag/v4.0.2) [Compare Source](actions/cache@v4.0.1...v4.0.2) #### What's Changed - Fix `fail-on-cache-miss` not working by [@​cdce8p](https://github.com/cdce8p) in [#​1327](actions/cache#1327) **Full Changelog**: <actions/cache@v4.0.1...v4.0.2> ### [`v4.0.1`](https://github.com/actions/cache/releases/tag/v4.0.1) [Compare Source](actions/cache@v4...v4.0.1) #### What's Changed - Update README.md by [@​yacaovsnc](https://github.com/yacaovsnc) in [#​1304](actions/cache#1304) - Update examples by [@​yacaovsnc](https://github.com/yacaovsnc) in [#​1305](actions/cache#1305) - Update actions/cache publish flow by [@​bethanyj28](https://github.com/bethanyj28) in [#​1340](actions/cache#1340) - Update [@​actions/cache](https://github.com/actions/cache) by [@​bethanyj28](https://github.com/bethanyj28) in [#​1341](actions/cache#1341) #### New Contributors - [@​yacaovsnc](https://github.com/yacaovsnc) made their first contribution in [#​1304](actions/cache#1304) **Full Changelog**: <actions/cache@v4...v4.0.1> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMTQuNCIsInVwZGF0ZWRJblZlciI6IjQzLjIxNC40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJ0ZW1wbGF0ZSJdfQ==--> Reviewed-on: https://git.lx.e6a.app/tools/cookie-py/pulls/86
Summary
This PR updates the
actions/cacheaction to support Node.js 24 runtime.Why
Node.js 20 reaches end-of-life in April 2026. Upgrading to Node.js 24 ensures continued support and access to the latest features and security updates.
Changes
Runtime
action.ymlto usenode24runtimeDependencies
@actions/cache^3.3.0^5.0.0@actions/core^1.11.1^2.0.0@actions/exec^1.1.1^2.0.0@actions/io^1.1.3^2.0.0Workflows
actions/checkoutto v5Other
@vercel/ncclicensedTesting
Tested restore and save functionality:
Uploading cache

Fetching cache

This can be ignored but the reason for the dependency bumps were to also remove the punycode deprecation warnings?
Uploading cache

Fetching cache
