Releases: Aldaviva/GitHooks
Releases · Aldaviva/GitHooks
0.2.1
- Look for
PublishSingleFile
andPublishAOT
at any depth of.csproj
XML file, not just direct children of the parentProject
element (Elements
does not imply children, Microsoft!). - Conform to NuGet JSON encoding by not escaping
+
to\u002B
, which makes diffs very messy whenILLink.Tasks
is removed.
0.2.0
- Analyze staged (index) files instead of working directory files, because that's what will get committed
- Report all FIXMEs found, not just the first one
- Added binaries for more CPU architectures and OSes (Windows arm64; Linux x64, arm, and arm64)
- Binaries are now uploaded to a release in one big ZIP file because many of them need to have the same filename (
pre-commit[.exe]
), and renaming them to avoid collisions in a release might lead to users keeping the wrong filename and the hook never running
- Binaries are now uploaded to a release in one big ZIP file because many of them need to have the same filename (
- Parse
.csproj
files using LINQ to XML instead of regular expressions - Parse
package.lock.json
files using System.Text.Json instead of regular expressions - Disable AOT because it wasn't faster than JIT
0.1.1
0.1.0
- Stop commit if any staged files contain
FIXME
- Remove
Microsoft.NET.ILLink.Tasks
dependency from .NETpackage.lock.json
files to preventdotnet restore --locked-mode
from failing- Unless a
.csproj
file in the same folder has AOT compilation enabled with<PublishAot>true</PublishAot>
- Unless a