Skip to content

Releases: devlooped/GitInfo

v3.1.0

05 Jun 20:40
@kzu kzu
Compare
Choose a tag to compare
Ensure IsDirty is a constant

Fixes the regression reported in #287.
Fixes #285.

v3.0.7

05 Jun 20:09
@kzu kzu
1fc797a
Compare
Choose a tag to compare

Bump ThisAssembly.Constants dependency to fix missing Git.IsDirtyString constant

v3.0.6

05 May 15:36
@kzu kzu
Compare
Choose a tag to compare

What's Changed

✨ Implemented enhancements

  • Allow forcing templated code gen for C# by @kzu in #269

🐛 Fixed bugs

  • Fix missing code from missing dependency by @kzu in #282

🔨 Other

  • Additional bump to get complete fix by @kzu in #283

Full Changelog: v3.0.5...v3.0.6

v3.0.5

22 Mar 18:11
@kzu kzu
Compare
Choose a tag to compare

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 of master 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

Full Changelog: v2.3.0...v3.0.5

v3.0.4

22 Feb 03:07
@kzu kzu
c19da19
Compare
Choose a tag to compare

What's Changed

🐛 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

Full Changelog: v3.0.2...v3.0.4

v3.0.2

18 Feb 00:54
@kzu kzu
Compare
Choose a tag to compare

What's Changed

✨ Implemented enhancements

  • 💜 Bump SponsorLink for better privacy by @kzu in #242

Full Changelog: v3.0.1...v3.0.2

v3.0.1

17 Feb 22:52
@kzu kzu
Compare
Choose a tag to compare

What's Changed

✨ Implemented enhancements

  • Make sure we don't surface SponsorLink as an API by @kzu in #241

Full Changelog: v3.0.0...v3.0.1

v3.0.0

16 Feb 01:04
@kzu kzu
Compare
Choose a tag to compare

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 of master 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

10 Feb 01:54
@kzu kzu
Compare
Choose a tag to compare
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

07 Feb 22:43
@kzu kzu
Compare
Choose a tag to compare

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 of master 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

  • Delete removed define for assembly metadata by @kzu in #220

Full Changelog: v2.3.0...v3.0.0-alpha