# What changed in @actions/cache

> 4 changes in @actions/cache 5 to 6 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/npm/@actions/cache/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @actions/cache 6

### Fixes and other changes

- Windows BSD tar read scratch files are isolated per operation and cleanup is best-effort, preventing concurrent cache restores from racing over shared temporary archives. (6.3.0) — [release notes](https://github.com/actions/toolkit/blob/d2a4e705fe28214f67b8ea232aeffd280dca881c/packages/cache/RELEASES.md#630)

## @actions/cache 5

### New APIs and options

- Controls whether restore and save are skipped based on the effective cache mode; unset or unrecognized values leave behavior unchanged. (5.2.0) — [release notes](https://github.com/actions/toolkit/blob/d2a4e705fe28214f67b8ea232aeffd280dca881c/packages/cache/RELEASES.md#520)

### Fixes and other changes

- Windows BSD tar scratch files are isolated so concurrent cache list and extract operations do not share cache.tar. (5.3.0) — [release notes](https://github.com/actions/toolkit/blob/d2a4e705fe28214f67b8ea232aeffd280dca881c/packages/cache/RELEASES.md#530)
- Cache download failures with the cache read denied: prefix are surfaced as a core.warning without failing the run. (5.2.0) — [release notes](https://github.com/actions/toolkit/blob/d2a4e705fe28214f67b8ea232aeffd280dca881c/packages/cache/RELEASES.md#520)
