Skip to content

Releases: nix-community/cache-nix-action

v7.0.2

30 Jan 20:31

Choose a tag to compare

What's Changed

Fixed

Changed (deps)

Update deps via dependabot (click to view)
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.53.0 to 8.53.1 by @dependabot[bot] in #284
  • chore(deps): bump DeterminateSystems/determinate-nix-action from 3.15.1 to 3.15.2 in the minor-actions-dependencies group by @dependabot[bot] in #288
  • chore(deps-dev): bump eslint-config-love from 144.0.0 to 147.0.0 by @dependabot[bot] in #287
  • chore(deps-dev): bump prettier from 3.8.0 to 3.8.1 by @dependabot[bot] in #286
  • chore(deps-dev): bump @typescript-eslint/parser from 8.53.1 to 8.54.0 by @dependabot[bot] in #290
  • chore(deps): bump @actions/github from 7.0.0 to 8.0.0 by @dependabot[bot] in #291
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.53.1 to 8.54.0 by @dependabot[bot] in #289
  • chore(deps-dev): bump eslint-config-love from 147.0.0 to 149.0.0 by @dependabot[bot] in #294

Full Changelog: v7...v7.0.2

v7

08 Jan 16:50

Choose a tag to compare

What's changed compared to v6

Breaking changes (action)

Breaking changes (saveFromGC)

Added (action)

  • Support ca-derivations by @deemp in #130
  • Support cachix/install-nix-action and DeterminateSystems/determinate-nix-action by @deemp in #234
  • Support custom cache URL by @deemp in #244
  • Use Temporal by @deemp in #260

Fixed (action)

  • Fix assumptions in nix commands by @deemp in #240
  • Install sqlite on macOS only when it's missing and if there's at least one cache to restore by @deemp in #241
  • Run zstd in multi-threaded mode by @deemp in #243
  • Align with upstream by @deemp in #249
  • Fix skipping restore on hit primary key by @deemp in #259
  • Checkpoint SQLite WAL before saving cache by @CathalMullan in #278
  • Checkpoint Nix store database before copying it by @deemp in #279
  • Fix: Nix versions under v2.33 not supported by @deemp in #295
  • Use a more precise check by @deemp in 47869c4

Fixed (saveFromGC)

Fixed (CI)

Fixed (docs)

Changed (deps)

Update deps via dependabot.
  • chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #183
  • chore(deps-dev): bump eslint from 9.22.0 to 9.37.0 by @dependabot[bot] in #207
  • chore(deps-dev): bump eslint-plugin-import from 2.31.0 to 2.32.0 by @dependabot[bot] in #210
  • chore(deps-dev): bump @typescript-eslint/parser from 8.26.1 to 8.46.0 by @dependabot[bot] in #208
  • chore(deps-dev): bump ts-jest from 29.2.6 to 29.4.4 by @dependabot[bot] in #200
  • chore(deps): bump nixbuild/nix-quick-install-action from 30 to 34 by @dependabot[bot] in #204
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.26.1 to 8.46.0 by @dependabot[bot] in #209
  • chore(deps-dev): bump eslint-import-resolver-typescript from 3.8.3 to 4.4.0 by @dependabot[bot] in #143
  • chore(deps-dev): bump eslint-plugin-n from 17.16.2 to 17.23.1 by @dependabot[bot] in #215
  • chore(deps-dev): bump nock from 14.0.1 to 14.0.10 by @dependabot[bot] in #213
  • chore(deps-dev): bump ts-jest from 29.4.4 to 29.4.5 by @dependabot[bot] in #211
  • chore(deps-dev): bump eslint-plugin-jest from 28.11.0 to 29.0.1 by @dependabot[bot] in #214
  • chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #220
  • chore(deps): bump dedent from 1.5.3 to 1.7.0 by @dependabot[bot] in #218
  • chore(deps-dev): bump prettier from 3.5.3 to 3.6.2 by @dependabot[bot] in #216
  • chore(deps): bump @actions/github from 6.0.0 to 6.0.1 by @dependabot[bot] in #212
  • chore(deps-dev): bump jest-circus from 29.7.0 to 30.2.0 by @dependabot[bot] in #219
  • chore(deps-dev): bump eslint-config-love from 119.0.0 to 133.0.0 by @dependabot[bot] in #217
  • chore(deps-dev): bump eslint-plugin-jest from 29.0.1 to 29.5.0 by @dependabot[bot] in #223
  • chore(deps-dev): bump @types/jest from 29.5.14 to 30.0.0 by @dependabot[bot] in #230
  • chore(deps-dev): bump @typescript-eslint/parser from 8.50.0 to 8.50.1 by @dependabot[bot] in #231
  • chore(deps-dev): bump eslint-plugin-jest from 29.9.0 to 29.11.0 by @dependabot[bot] in #235
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.50.0 to 8.50.1 by @dependabot[bot] in #233
  • chore(deps-dev): bump eslint-plugin-jest from 29.11.0 to 29.11.1 by @dependabot[bot] in #251
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.50.1 to 8.51.0 by @dependabot[bot] in #257
  • chore(deps-dev): bump eslint-plugin-jest from 29.11.1 to 29.11.2 by @dependabot[bot] in #255
  • chore(deps-dev): bump eslint-plugin-jest from 29.11.2 to 29.12.0 by @dependabot[bot] in #264
  • chore(deps): bump @actions/github from 6.0.1 to 7.0.0 by @dependabot[bot] in #272
  • chore(deps-dev): bump eslint-config-love from 140.0.0 to 144.0.0 by @dependabot[bot] in #271
  • chore(deps-dev): bump @typescript-eslint/parser from 8.51.0 to 8.52.0 by @dependabot[bot] in #269
  • chore(deps-dev): bump eslint-plugin-jest from 29.12.0 to 29.12.1 by @dependabot[bot] in #266
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.51.0 to 8.52.0 by @dependabot[bot] in #268
  • chore(deps-dev): bump @typescript-eslint/parser from 8.52.0 to 8.53.0 by @dependabot[bot] in #273
  • chore(deps-dev): bump prettier from 3.7.4 to 3.8.0 by @dependabot[bot] in #277
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.52.0 to 8.53.0 by @dependabot[bot] in #274
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.53.0 to 8.53.1 by @dependabot[bot] in #284
  • chore(deps): bump DeterminateSystems/determinate-nix-action from 3.15.1 to 3.15.2 in the minor-actions-dependencies group by @dependabot[bot] in #288
  • chore(deps-dev): bump eslint-config-love from 144.0.0 to 147.0.0 by @dependabot[bot] in #287
  • chore(deps-dev): bump prettier from 3.8.0 to 3.8.1 by @dependabot[bot] in #286
  • chore(deps-dev): bump @typescript-eslint/parser from 8.53.1 to 8.54.0 by @dependabot[bot] in #290
  • chore(deps): bump @actions/github from 7.0.0 to 8.0.0 by @dependabot[bot] in #291
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.53.1 to 8.54.0 by @dependabot[bot] in #289
  • chore(deps-dev): bump eslint-config-love from 147.0.0 to 149.0.0 by @dependabot[bot] in #294

New Contributors

Full Changelog: v6...v7

v7.0.1

17 Jan 19:46

Choose a tag to compare

What's Changed

Fixed

  • Checkpoint Nix store database before saving cache by @CathalMullan in #278
  • Checkpoint Nix store database before copying it by @deemp in #279

Fixed (CI)

Changed (deps)

Update deps via dependabot (click to view)
  • chore(deps): bump @actions/github from 6.0.1 to 7.0.0 by @dependabot[bot] in #272
  • chore(deps-dev): bump eslint-config-love from 140.0.0 to 144.0.0 by @dependabot[bot] in #271
  • chore(deps-dev): bump @typescript-eslint/parser from 8.51.0 to 8.52.0 by @dependabot[bot] in #269
  • chore(deps-dev): bump eslint-plugin-jest from 29.12.0 to 29.12.1 by @dependabot[bot] in #266
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.51.0 to 8.52.0 by @dependabot[bot] in #268
  • chore(deps-dev): bump @typescript-eslint/parser from 8.52.0 to 8.53.0 by @dependabot[bot] in #273
  • chore(deps-dev): bump prettier from 3.7.4 to 3.8.0 by @dependabot[bot] in #277
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.52.0 to 8.53.0 by @dependabot[bot] in #274

New Contributors

Full Changelog: v7...v7.0.1

v7.0.0

31 Dec 15:42

Choose a tag to compare

What's Changed

Breaking changes

Breaking changes (saveFromGC)

Added (action)

  • Support ca-derivations by @deemp in #130
  • Support cachix/install-nix-action and DeterminateSystems/determinate-nix-action by @deemp in #234
  • Support custom cache URL by @deemp in #244
  • Use Temporal by @deemp in #260

Fixed (action)

  • Fix assumptions in nix commands by @deemp in #240
  • Install sqlite on macOS only when it's missing and if there's at least one cache to restore by @deemp in #241
  • Run zstd in multi-threaded mode by @deemp in #243
  • Align with upstream by @deemp in #249
  • Fix skipping restore on hit primary key by @deemp in #259

Fixed (saveFromGC)

Changed (docs)

Changed (deps)

Update deps via dependabot.
  • chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #183
  • chore(deps-dev): bump eslint from 9.22.0 to 9.37.0 by @dependabot[bot] in #207
  • chore(deps-dev): bump eslint-plugin-import from 2.31.0 to 2.32.0 by @dependabot[bot] in #210
  • chore(deps-dev): bump @typescript-eslint/parser from 8.26.1 to 8.46.0 by @dependabot[bot] in #208
  • chore(deps-dev): bump ts-jest from 29.2.6 to 29.4.4 by @dependabot[bot] in #200
  • chore(deps): bump nixbuild/nix-quick-install-action from 30 to 34 by @dependabot[bot] in #204
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.26.1 to 8.46.0 by @dependabot[bot] in #209
  • chore(deps-dev): bump eslint-import-resolver-typescript from 3.8.3 to 4.4.0 by @dependabot[bot] in #143
  • chore(deps-dev): bump eslint-plugin-n from 17.16.2 to 17.23.1 by @dependabot[bot] in #215
  • chore(deps-dev): bump nock from 14.0.1 to 14.0.10 by @dependabot[bot] in #213
  • chore(deps-dev): bump ts-jest from 29.4.4 to 29.4.5 by @dependabot[bot] in #211
  • chore(deps-dev): bump eslint-plugin-jest from 28.11.0 to 29.0.1 by @dependabot[bot] in #214
  • chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #220
  • chore(deps): bump dedent from 1.5.3 to 1.7.0 by @dependabot[bot] in #218
  • chore(deps-dev): bump prettier from 3.5.3 to 3.6.2 by @dependabot[bot] in #216
  • chore(deps): bump @actions/github from 6.0.0 to 6.0.1 by @dependabot[bot] in #212
  • chore(deps-dev): bump jest-circus from 29.7.0 to 30.2.0 by @dependabot[bot] in #219
  • chore(deps-dev): bump eslint-config-love from 119.0.0 to 133.0.0 by @dependabot[bot] in #217
  • chore(deps-dev): bump eslint-plugin-jest from 29.0.1 to 29.5.0 by @dependabot[bot] in #223
  • chore(deps-dev): bump @types/jest from 29.5.14 to 30.0.0 by @dependabot[bot] in #230
  • chore(deps-dev): bump @typescript-eslint/parser from 8.50.0 to 8.50.1 by @dependabot[bot] in #231
  • chore(deps-dev): bump eslint-plugin-jest from 29.9.0 to 29.11.0 by @dependabot[bot] in #235
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.50.0 to 8.50.1 by @dependabot[bot] in #233
  • chore(deps-dev): bump eslint-plugin-jest from 29.11.0 to 29.11.1 by @dependabot[bot] in #251
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.50.1 to 8.51.0 by @dependabot[bot] in #257
  • chore(deps-dev): bump eslint-plugin-jest from 29.11.1 to 29.11.2 by @dependabot[bot] in #255
  • chore(deps-dev): bump eslint-plugin-jest from 29.11.2 to 29.12.0 by @dependabot[bot] in #264

New Contributors

Full Changelog: v6...v7.0.0

v6

19 Feb 14:12
135667e

Choose a tag to compare

Breaking changes

Features

  • Support human-readable values for gc-max-store-size* inputs (#78)
  • Prototype a method for saving flake attributes from garbage collection (#53)

Fixes

  • Update to the latest actions-toolkit (#50).
  • Fix cacheId not set after saving the cache (ddaea70)
  • Fix Nix store database merging logic (use paths instead of hashes) (#69)
  • Fix garbage collection logic (#62, 04c4f50)
  • Fix purging logic (#72)
  • Fix nix store database merging logic (use derivation paths instead of derivation output paths when calculating new derivation ids) (#84)
  • Use bigint instead of number for the store size (#117)
  • Fix saving a cache (#122)

Documentation and maintenance

  • Bump the nix-quick-install-action to v30

Pending

v6.1.4

Fixes

v6.1.3

22 Apr 17:45
135667e

Choose a tag to compare

Fixes

  • Use bigint instead of number for the store size (#117)
  • Fix saving a cache (#122)

v6.1.2

12 Mar 09:26
c448f06

Choose a tag to compare

Fixes

  • Fix nix store database merging logic (#84)

v6.1.1

11 Mar 08:39

Choose a tag to compare

Fixes

  • Make the warning that the cache save failed to not be printed if we don't save a cache (25b011a).

Documentation and maintenance

  • Add example to the gc-max-store-size input description (6369d8e).
  • Update deps via dependabot

v6.1.0

10 Mar 20:05

Choose a tag to compare

Features

  • Support human-readable values for gc-max-store-size* inputs (#78)
  • Prototype a method for saving flake attributes from garbage collection (#53)

Fixes

  • Fix Nix store database manipulation (#69)
  • Fix garbage collection logic (#62, 04c4f50)
  • Fix purging logic (#72)

Documentation and maintenance

  • Bump the nix-quick-install-action to v30

v6.0.0

18 Feb 22:39

Choose a tag to compare

Breaking changes

Fixes

  • Update to the latest actions-toolkit (#50).
  • Fix cacheId not set after saving the cache (ddaea70).