2022-03-30 11:16:49 +01:00
# Releases
2024-10-22 11:54:14 +01:00
### 4.1.2
- Add GitHub Enterprise Cloud instances hostname filters to inform API endpoint choices - [#1474 ](https://github.com/actions/cache/pull/1474 )
- Security fix: Bump braces from 3.0.2 to 3.0.3 - [#1475 ](https://github.com/actions/cache/pull/1475 )
2024-10-08 18:08:22 +01:00
### 4.1.1
2024-10-22 11:54:14 +01:00
2024-10-08 18:08:22 +01:00
- Restore original behavior of `cache-hit` output - [#1467 ](https://github.com/actions/cache/pull/1467 )
2024-10-04 22:00:33 +01:00
### 4.1.0
2024-10-22 11:54:14 +01:00
2024-10-04 22:00:33 +01:00
- Ensure `cache-hit` output is set when a cache is missed - [#1404 ](https://github.com/actions/cache/pull/1404 )
- Deprecate `save-always` input - [#1452 ](https://github.com/actions/cache/pull/1452 )
2024-02-15 21:17:45 +00:00
### 4.0.2
- Fixed restore `fail-on-cache-miss` not working.
2024-02-29 18:11:38 +00:00
### 4.0.1
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Updated `isGhes` check
2022-03-30 11:16:49 +01:00
2024-02-29 18:11:38 +00:00
### 4.0.0
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Updated minimum runner version support from node 12 -> node 20
2022-05-30 13:01:54 +01:00
2024-02-29 18:11:38 +00:00
### 3.3.3
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Updates @actions/cache to v3.2.3 to fix accidental mutated path arguments to `getCacheVersion` [actions/toolkit#1378 ](https://github.com/actions/toolkit/pull/1378 )
- Additional audit fixes of npm package(s)
2022-05-30 13:01:54 +01:00
2024-02-29 18:11:38 +00:00
### 3.3.2
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Fixes bug with Azure SDK causing blob downloads to get stuck.
2022-06-06 13:31:18 +01:00
2024-02-29 18:11:38 +00:00
### 3.3.1
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Reduced segment size to 128MB and segment timeout to 10 minutes to fail fast in case the cache download is stuck.
2022-07-13 05:57:51 +01:00
2024-02-29 18:11:38 +00:00
### 3.3.0
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Added option to lookup cache without downloading it.
2022-08-04 11:37:56 +01:00
2024-02-29 18:11:38 +00:00
### 3.2.6
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Fix zstd not being used after zstd version upgrade to 1.5.4 on hosted runners.
2022-08-09 17:48:03 +01:00
2024-02-29 18:11:38 +00:00
### 3.2.5
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Added fix to prevent from setting MYSYS environment variable globally.
2022-08-18 15:13:31 +01:00
2024-02-29 18:11:38 +00:00
### 3.2.4
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Added option to fail job on cache miss.
2022-09-30 06:17:16 +01:00
2024-02-29 18:11:38 +00:00
### 3.2.3
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Support cross os caching on Windows as an opt-in feature.
- Fix issue with symlink restoration on Windows for cross-os caches.
2022-10-04 07:47:17 +01:00
2024-02-29 18:11:38 +00:00
### 3.2.2
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Reverted the changes made in 3.2.1 to use gnu tar and zstd by default on windows.
2022-10-13 11:36:33 +01:00
2024-02-29 18:11:38 +00:00
### 3.2.1
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Update `@actions/cache` on windows to use gnu tar and zstd by default and fallback to bsdtar and zstd if gnu tar is not available. ([issue](https://github.com/actions/cache/issues/984))
- Added support for fallback to gzip to restore old caches on windows.
- Added logs for cache version in case of a cache miss.
2022-12-21 14:08:44 +00:00
2024-02-29 18:11:38 +00:00
### 3.2.0
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Released the two new actions - [restore ](restore/action.yml ) and [save ](save/action.yml ) for granular control on cache
2022-12-21 14:08:44 +00:00
2024-02-29 18:11:38 +00:00
### 3.2.0-beta.1
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Added two new actions - [restore ](restore/action.yml ) and [save ](save/action.yml ) for granular control on cache.
2022-12-21 14:08:44 +00:00
### 3.1.0-beta.3
2023-03-13 05:02:46 +00:00
2022-12-21 14:08:44 +00:00
- Bug fixes for bsdtar fallback if gnutar not available and gzip fallback if cache saved using old cache action on windows.
2024-02-29 18:11:38 +00:00
### 3.1.0-beta.2
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Added support for fallback to gzip to restore old caches on windows.
2022-12-21 14:08:44 +00:00
2024-02-29 18:11:38 +00:00
### 3.1.0-beta.1
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Update `@actions/cache` on windows to use gnu tar and zstd by default and fallback to bsdtar and zstd if gnu tar is not available. ([issue](https://github.com/actions/cache/issues/984))
2022-12-23 06:19:17 +00:00
2024-02-29 18:11:38 +00:00
### 3.0.11
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Update toolkit version to 3.0.5 to include `@actions/core@^1.10.0`
- Update `@actions/cache` to use updated `saveState` and `setOutput` functions from `@actions/core@^1.10.0`
2022-12-27 11:08:40 +00:00
2024-02-29 18:11:38 +00:00
### 3.0.10
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Fix a bug with sorting inputs.
- Update definition for restore-keys in README.md
2023-01-09 05:31:52 +00:00
2024-02-29 18:11:38 +00:00
### 3.0.9
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Enhanced the warning message for cache unavailablity in case of GHES.
2023-01-30 11:10:58 +00:00
2024-02-29 18:11:38 +00:00
### 3.0.8
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Fix zstd not working for windows on gnu tar in issues [#888 ](https://github.com/actions/cache/issues/888 ) and [#891 ](https://github.com/actions/cache/issues/891 ).
- Allowing users to provide a custom timeout as input for aborting download of a cache segment using an environment variable `SEGMENT_DOWNLOAD_TIMEOUT_MINS` . Default is 60 minutes.
2023-02-10 06:14:56 +00:00
2024-02-29 18:11:38 +00:00
### 3.0.7
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Fixed [#810 ](https://github.com/actions/cache/issues/810 ) - download stuck issue. A new timeout is introduced in the download process to abort the download if it gets stuck and doesn't finish within an hour.
2023-02-20 19:44:02 +00:00
2024-02-29 18:11:38 +00:00
### 3.0.6
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Fixed [#809 ](https://github.com/actions/cache/issues/809 ) - zstd -d: no such file or directory error
- Fixed [#833 ](https://github.com/actions/cache/issues/833 ) - cache doesn't work with github workspace directory
2023-03-09 12:30:28 +00:00
2024-02-29 18:11:38 +00:00
### 3.0.5
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Removed error handling by consuming actions/cache 3.0 toolkit, Now cache server error handling will be done by toolkit. ([PR](https://github.com/actions/cache/pull/834))
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
### 3.0.4
2023-03-13 05:02:46 +00:00
2024-02-29 18:11:38 +00:00
- Fixed tar creation error while trying to create tar with path as `~/` home folder on `ubuntu-latest` . ([issue](https://github.com/actions/cache/issues/689))
2023-09-06 19:41:49 +01:00
2024-02-29 18:11:38 +00:00
### 3.0.3
2023-09-06 19:41:49 +01:00
2024-02-29 18:11:38 +00:00
- Fixed avoiding empty cache save when no files are available for caching. ([issue](https://github.com/actions/cache/issues/624))
2024-01-10 14:37:39 +00:00
2024-02-29 18:11:38 +00:00
### 3.0.2
2024-01-11 15:37:08 +00:00
2024-02-29 18:11:38 +00:00
- Added support for dynamic cache size cap on GHES.
2024-01-15 14:13:28 +00:00
2024-02-29 18:11:38 +00:00
### 3.0.1
2024-01-10 14:37:39 +00:00
2024-02-29 18:11:38 +00:00
- Added support for caching from GHES 3.5.
- Fixed download issue for files > 2GB during restore.
### 3.0.0
- Updated minimum runner version support from node 12 -> node 16