Skip to content

v2.0.3

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Jul 08:20
· 91 commits to main since this release
v2.0.3
65152cb

Bugfixes

  1. We were trying to open a cache file when using -c --no-cache, breaking some CI workflows. This is now handled more gracefully.

  2. When comparing mod times, we used the precision the underlying file system gave us. Some formatters, such as dos2unix, manipulate the mod time, but not to the same precision. This was causing false positives when using --no-cache --fail-on-change. We now truncate the mod time to second-level precision before comparing, as POSIX specifies that mod time should be EPOCH (second) precision. This brings us back in line with v1 behaviour.

Summary Improvements

We have improved the summary statistics presented at the end of each run, clarifying what has happened and removing unnecessary precision in the elapsed time.

nix fmt 
traversed 116 files
emitted 116 files for processing
formatted 67 files (0 changed) in 696ms

Changelog

Nixpkgs PR Tracker

https://nixpk.gs/pr-tracker.html?pr=325465