Releases: devlooped/GitInfo
Releases · devlooped/GitInfo
v3.1.0
v3.0.7
v3.0.6
v3.0.5
What's Changed
✨ Implemented enhancements
- Switch to built-in .NET SDK AssemblyMetadata support by @kzu in #218
- Improve targets organization by moving ThisAssembly to another targets by @kzu in #219
- Change GitDefaultBranch to
main
instead ofmaster
by @kzu in #225 - Properly detect HEAD changes for incremental builds by @kzu in #226
- Switch to ThisAssembly.Constants for C# by @kzu in #229
- Set Version and PackageVersion to a default value by @kzu in #232
- Make sure we don't surface SponsorLink as an API by @kzu in #241
- 💜 Bump SponsorLink for better privacy by @kzu in #242
🐛 Fixed bugs
- Replace / and \ in branches with dashes when setting default Version by @kzu in #248
- Reintroduce IsDirty boolean property from 2.3 by @kzu in #249
- Fix backs-compat generation when custom namespace in use by @kzu in #266
- Fix IsDirty generator when using a custom namespace by @kzu in #267
- Bump to ThisAssembly version that doesn't run so early by @kzu in #268
🔨 Other
- Delete removed define for assembly metadata by @kzu in #220
- Rename Analyzer > GitInfo.CodeAnalysis by @kzu in #233
- Set AzureDevOps branch name also for PR by @trejjam in #256
- fix typo 'alwas' with 'always' by @codingdave in #257
New Contributors
- @dependabot made their first contribution in #231
- @trejjam made their first contribution in #256
- @codingdave made their first contribution in #257
Full Changelog: v2.3.0...v3.0.5
v3.0.4
v3.0.2
v3.0.1
v3.0.0
What's Changed
✨ Implemented enhancements
- Switch to built-in .NET SDK AssemblyMetadata support by @kzu in #218
- Improve targets organization by moving ThisAssembly to another targets by @kzu in #219
- Change GitDefaultBranch to
main
instead ofmaster
by @kzu in #225 - Properly detect HEAD changes for incremental builds by @kzu in #226
- Switch to ThisAssembly.Constants for C# by @kzu in #229
- Set Version and PackageVersion to a default value by @kzu in #232
Full Changelog: v2.3.0...v3.0.0
v3.0.0-rc
Set Version and PackageVersion to a default value It's not entirely intuitive that you install GitInfo and by default "nothing happens", as in, you get new code from ThisAssembly, but otherwise, no versioning changes happen. This might be counterintuitive to newcomers, who might just care to get something (a sensible default) going, before investing more in customizing GitInfo. This is how MinVer does it (provided there's a version tag in the repository) and it's quite intuitive. The way we do it here should be mostly backwards compat because: 1. Users leveraging assembly-version attributes will already have disabled .NET SDK assembly attribute generation 2. Users leveraging MSBuild targets to do this would be following the recommended guidance of creating a target that runs before specific targets, not as InitialTargets We make our version-setting target run as an inital target, which may have a minor impact on initial build perf, but but shouldn't be a problem since the same targets are run for DTB anyway (if you make them run before GetAssemblyVersion, which also runs before BeforeCompile and CoreCompile in the SDK). By being an initial target, we allow for existing customization in pretty much any target, prevail our own one, which becomes just a default. Even so, we check for GitVersion=false as an escape hatch for users who may encounter unforseen broken scenarios.
v3.0.0-alpha
What's Changed
✨ Implemented enhancements
- Switch to built-in .NET SDK AssemblyMetadata support by @kzu in #218
- Improve targets organization by moving ThisAssembly to another targets by @kzu in #219
- Change GitDefaultBranch to
main
instead ofmaster
by @kzu in #225 - Properly detect HEAD changes for incremental builds by @kzu in #226
- Switch to ThisAssembly.Constants for C# by @kzu in #229
🔨 Other
Full Changelog: v2.3.0...v3.0.0-alpha