GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Prepare cache v5 release by salmanmkc · Pull Request #2194 · actions/toolkit

Conversation

@salmanmkc

@salmanmkc salmanmkc commented Dec 9, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This pull request documents the release of version 5.0.0 for the @actions/cache package, highlighting several dependency updates, a dependency removal, and node 24 support.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@salmanmkc
salmanmkc requested a review from a team as a code owner December 9, 2025 16:10
Copilot AI review requested due to automatic review settings December 9, 2025 16:10
Copilot started reviewing on behalf of salmanmkc December 9, 2025 16:10
View session
@salmanmkc
Prepare cache v5 release
b046462
@salmanmkc
salmanmkc force-pushed the prepare-cache-release-v5.0.0 branch from 40cee30 to b046462 Compare December 9, 2025 16:11
Copilot AI reviewed Dec 9, 2025
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR prepares the @actions/cache package for its v5.0.0 release by upgrading all @actions dependencies to their latest major versions, ensuring compatibility with Node.js 24 and addressing security vulnerabilities.

Key Changes:

  • Major version bumps for all @actions dependencies (@actions/core, @actions/exec, @actions/glob, @actions/http-client, and @actions/io)
  • Updated documentation to reference v5.0.0 instead of v4.0.0
  • Node.js 24 support and node-fetch override for security

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
packages/cache/package.json Updated all @actions dependencies from v1.x/v0.x/v2.x to their latest major versions (v2.x/v0.5.x/v3.x)
packages/cache/package-lock.json Synchronized lockfile with updated dependencies, including proper nested dependency resolution for packages with conflicting version requirements
packages/cache/RELEASES.md Added v5.0.0 release notes documenting the dependency upgrades and new Node.js 24 support
packages/cache/README.md Updated version references from 4.0.0 to 5.0.0 in the important changes section
Files not reviewed (1)
  • packages/cache/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
jsoref
jsoref reviewed Dec 10, 2025
View reviewed changes
Comment thread packages/cache/package.json Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jsoref jsoref mentioned this pull request Dec 10, 2025
v5+: DeprecationWarning: The punycode module is deprecated actions/setup-node#1364
Closed
GhadimiR
GhadimiR previously approved these changes Dec 10, 2025
View reviewed changes
@salmanmkc
chore: update dependencies and remove deprecated package
45ec4a2
- Removed `@azure/ms-rest-js` dependency to fix Node.js 24+ punycode deprecation warning.
  - The `TransferProgressEvent` type is now imported from `@azure/core-rest-pipeline`.
- Updated `package.json` to reflect the new dependency.
- Updated tests to import `TransferProgressEvent` from the new package.
- Updated `package-lock.json` to remove `@azure/ms-rest-js` and include `@azure/core-rest-pipeline`.
- Bumped versions of several dependencies including `@azure/storage-blob` and `@azure/storage-common`.
@salmanmkc
salmanmkc dismissed GhadimiR’s stale review via 45ec4a2 December 10, 2025 11:04
@salmanmkc
chore(cache): regenerate package-lock.json with Node 24
eb7ff84
@jsoref

jsoref commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

https://www.npmjs.com/package/undici has a 7.x, but there are still things pulling in 5.x:

toolkit/packages/cache/package-lock.json

Line 100 in eb7ff84

"undici": "^5.25.4"

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@salmanmkc

salmanmkc commented Dec 10, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

https://www.npmjs.com/package/undici has a 7.x, but there are still things pulling in 5.x:

toolkit/packages/cache/package-lock.json

Line 100 in eb7ff84

"undici": "^5.25.4"

This can be a follow up. It requires bumping another 3 packages which will delay this process even further. So far npm audit seems to be fine how it is, and we can look into bumping this later.

jsoref reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jsoref

jsoref commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

Do note that https://www.npmjs.com/package/undici#user-content-long-term-support says:

Undici aligns with the Node.js LTS schedule. The following table shows the supported versions:

Undici Version Bundled in Node.js Node.js Versions Supported End of Life
5.x 18.x ≥14.0 (tested: 14, 16, 18) 2024-04-30
... ... ... ...
7.x 24.x ≥20.18.1 (tested: 20, 22, 24) 2027-04-30
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jsoref

jsoref commented Dec 10, 2025

Copy link
Copy Markdown
Contributor
  • Also note that migrate off @azure/ms-rest-js and @azure/core-http #1836 asked to move off azure/core-http

Which is kinda important, since it's still included:

toolkit/packages/artifact/package.json

Line 46 in 2c52220

"@azure/core-http": "^3.0.5",

And it triggers:

npm warn deprecated @azure/[email protected]: This package is no longer supported. Please refer to https://github.com/Azure/azure-sdk-for-js/blob/490ce4dfc5b98ba290dee3b33a6d0876c5f138e2/sdk/core/README.md

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@salmanmkc

salmanmkc commented Dec 10, 2025

Copy link
Copy Markdown
Contributor Author

Do note that https://www.npmjs.com/package/undici#user-content-long-term-support says:

Undici aligns with the Node.js LTS schedule. The following table shows the supported versions:

Undici Version
Bundled in Node.js
Node.js Versions Supported
End of Life

5.x
18.x
≥14.0 (tested: 14, 16, 18)
2024-04-30

...
...
...
...

7.x
24.x
≥20.18.1 (tested: 20, 22, 24)
2027-04-30

Thanks, that's useful to know

  • Also note that migrate off @azure/ms-rest-js and @azure/core-http #1836 asked to move off azure/core-http

Which is kinda important, since it's still included:

toolkit/packages/artifact/package.json

Line 46 in 2c52220

"@azure/core-http": "^3.0.5",

And it triggers:

npm warn deprecated @azure/[email protected]: This package is no longer supported. Please refer to https://github.com/Azure/azure-sdk-for-js/blob/490ce4dfc5b98ba290dee3b33a6d0876c5f138e2/sdk/core/README.md

As per core-http, will keep that in mind when upgrading artifact, thanks for pointing that out. Will keep it out of this PR though since this is for cache.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@salmanmkc

salmanmkc commented Dec 10, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Do note that https://www.npmjs.com/package/undici#user-content-long-term-support says:

Undici aligns with the Node.js LTS schedule. The following table shows the supported versions:

Undici Version
Bundled in Node.js
Node.js Versions Supported
End of Life

5.x
18.x
≥14.0 (tested: 14, 16, 18)
2024-04-30

...
...
...
...

7.x
24.x
≥20.18.1 (tested: 20, 22, 24)
2027-04-30

I've made this PR, releases will need to follow at some point. #2205

Seems a bit more involved, I will work on trying to make it compatible.

jsoref reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

salmanmkc added 4 commits December 11, 2025 13:57
@salmanmkc
chore(cache): update @actions/core to 2.0.1
7c1b12a
@salmanmkc
Merge remote-tracking branch 'origin/main' into prepare-cache-release…
6785788
…-v5.0.0
@salmanmkc
update releases
bdd6eb4
@salmanmkc
PR number update in releases
c6502bc
@salmanmkc
salmanmkc requested a review from a team as a code owner December 11, 2025 14:35
@salmanmkc
chore(releases): update release notes for v5.0.0 to remove punycode d…
cc6abe3
…eprecation warning
@salmanmkc
salmanmkc force-pushed the prepare-cache-release-v5.0.0 branch from abc0556 to cc6abe3 Compare December 11, 2025 14:43
@salmanmkc
salmanmkc requested a review from a team December 11, 2025 15:25
zaataylor
zaataylor approved these changes Dec 11, 2025
View reviewed changes
@salmanmkc
salmanmkc merged commit e74405f into main Dec 11, 2025
Derrick-MUGISHA pushed a commit to Derrick-MUGISHA/toolkit that referenced this pull request Oct 12, 2026
@salmanmkc
Merge pull request actions#2194 from actions/prepare-cache-release-v5…
1eb445a
….0.0

Prepare cache v5 release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@zaataylor zaataylor zaataylor approved these changes
@GhadimiR GhadimiR GhadimiR left review comments
+1 more reviewer
@jsoref jsoref jsoref left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@salmanmkc @jsoref @zaataylor @GhadimiR
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.