release: v1.2.4 - let @Last modified by follow real edits - #22
Merged
Merged
Conversation
Set forceLastModifiedAuthorUpdate to false. With it on, every fix-headers run stamped whoever ran it as @last modified by on every file. From fix-headers 2.2.0 (CLDMV/fix-headers#128) that field changes only when a file's content was edited, and a header-only rewrite just updates @last modified time, so the force is no longer wanted. Also bump this repository's own @cldmv/fix-headers to 2.2.0 (no headers changed) and document 2.2.0 as the version the author rules need. Refs #15
#18 (@vitest/coverage-v8 5.0.3) and #19 (globals 17.13.0) merged into next two minutes after the v1.2.3 release merged and were wiped by the post-release reset of next (CLDMV/.github#360). Re-applied at latest, together with vitest 5.0.3 from #17.
Contributor
Author
🔒 Dependency Review
|
Contributor
Author
📦 Bundle size unchanged
📊 Generated by |
Shinrai
approved these changes
Oct 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
@cldmv/configs v1.2.4 Changelog
Release Date: October 2026
Release Type: Patch
Branch:
release/1.2.4Overview
The shared
fix-headers.jsonstops forcing@Last modified by. Until now every fix-headers run in an extending repository stamped whoever ran it as the last modifier of every file it touched, even when the only change was a header rewrite such as a new date format. WithforceLastModifiedAuthorUpdateset tofalseand fix-headers 2.2.0,@Last modified bynow records the last person who actually edited a file's content, while@Last modified timestill moves whenever fix-headers rewrites a header.Together with
forceAuthorUpdate: false, which shipped in v1.2.3, the shared config no longer rewrites anyone's authorship:@Authorkeeps the file's creator, and@Last modified byfollows real edits. Extending repositories should upgrade to@cldmv/fix-headers2.2.0 or later alongside this release.🐛 Bug Fixes
@Last modified byfollows real edits (#20)forceLastModifiedAuthorUpdatewastrue, so every run rewrote@Last modified byto the identity running fix-headers (the name on their signing key, orgit config user.namewithout one) on every file it changed. A contributor who rannpm run fix:headerstherefore became the last modifier of every restamped file, even files they never opened (#15).The option is now
false. From fix-headers 2.2.0 (CLDMV/fix-headers#128) the field changes only when a file's content, everything outside the header, differs from the last commit, or when the file is new:@Last modified time@Last modified by@Author@Date, spacing, filename, …)On fix-headers releases before 2.2.0 the same setting keeps the existing
@Last modified byon every run, real edits included, so the upgrade matters.🔧 Dependencies
@cldmv/fix-headers^2.1.4→^2.2.0(#20), dev-only. The repository's own header pass ran under 2.2.0 and changed no files.vitestand@vitest/coverage-v8^5.0.2→^5.0.3, andglobals^17.12.0→^17.13.0(#21), dev-only. The coverage and globals bumps first merged as #18 and #19, two minutes after the v1.2.3 release, and were lost whennextwas reset after that release (CLDMV/.github#360). deps: restore the vitest and globals bumps lost in the next reset #21 re-applies them, together with the vitest bump from #17.📚 Documentation
fix-headers.jsontable and notes explain both author settings, and the requirements now name fix-headers 2.2.0 as the version the author rules need.forceAuthorUpdate: false, which its notes left out.Upgrade notes
@cldmv/fix-headersto 2.2.0 or later in every repository that extends this config. On older fix-headers,@Last modified bywould no longer update even when a file is edited.@Last modified byvalues alone and only changes them on files whose content was edited since the last commit. No repository-wide restamp of authors.👥 Contributors
Avg: 100.0% ·
117287f· Node lts/*Co-authored-by: Shinrai Shinrai@users.noreply.github.com