Skip to content

Latest commit

 

History

History
445 lines (306 loc) · 27.2 KB

changelog.md

File metadata and controls

445 lines (306 loc) · 27.2 KB

Changelog

v3.5.0 (2024-11-02)

Full Changelog

✨ Implemented enhancements:

  • Question: Why we use git log with format to get the Current commit? #355
  • SetGitExe doesn't recognize VS Git locations #324
  • Projects don't rebuild after committing #322
  • New tag without version drop semver to zeros #319
  • Add vswhere fallback to locate git provided by VS #372 (@kzu)
  • Simplify IsDirty with newer typed constants in ThisAssembly #368 (@kzu)
  • Allow opting-out of GitBranch default in CI #366 (@kzu)
  • Set default GitBranch from CI env variables #365 (@kzu)
  • Using simpler git command to get current commit #356 (@kzu)

🔨 Other:

  • Using GitInfo with Ncrunch #345

🔀 Merged:

  • Adopt SL v2 via ThisAssembly.Constants and document in readme(s) #370 (@kzu)
  • +Mᐁ includes #367 (@devlooped-bot)
  • +Mᐁ includes #357 (@devlooped-bot)
  • Clean code #352 (@gitfool)
  • Remove redundant depends on targets #346 (@gitfool)
  • Fix fast up-to-date-check #343 (@gitfool)
  • Disable rogue command echo #342 (@gitfool)

v3.3.5 (2024-05-13)

Full Changelog

✨ Implemented enhancements:

  • Can not find all git info when on branch with '.' in the name #328

🐛 Fixed bugs:

  • ThisAssembly.Git.IsDirty is included when GitThisAssembly is false #337
  • Update to 3.3.4 via Nuget crashes #335
  • Git.Branch always gives [HEAD] for detached HEAD commit. #333
  • Do not emit ThisAssembly.Git.IsDirty when GitThisAssembly is false #338 (@kzu)

v3.3.4 (2024-02-15)

Full Changelog

🐛 Fixed bugs:

  • GetInfo 3.3.3 fails like #273 ('ThisAssembly.Git' is inaccessible...) on non-SDK style .csproj, 2.3.0 works fine #326
  • Weird race condition with targets #321

🔀 Merged:

  • Fix race conditions #330 (@gitfool)

v3.3.3 (2023-08-30)

Full Changelog

🐛 Fixed bugs:

  • parse('')" cannot be evaluated. version string portion was too short or too long #300
  • Shield from invalid git version #313 (@kzu)

🔀 Merged:

  • +Mᐁ includes #315 (@devlooped-bot)

v3.3.2 (2023-08-30)

Full Changelog

🐛 Fixed bugs:

  • LangVersion latest and using 11.0 constants #311
  • Privacy about SponsorLink with GitInfo #299
  • Linux compatibility issues? #298
  • Bump ThisAssembly to get fix for C#11 raw strings #312 (@kzu)

v3.3.1 (2023-08-11)

Full Changelog

🔀 Merged:

  • Bump to downstream ThisAssembly without SponsorLink #305 (@kzu)
  • +Mᐁ includes #303 (@devlooped-bot)

v3.3.0 (2023-08-11)

Full Changelog

🔀 Merged:

  • Remove current implementation of SponsorLink for now #302 (@kzu)

v3.2.0 (2023-08-11)

Full Changelog

v3.1.2 (2023-08-02)

Full Changelog

🔀 Merged:

  • replace all invalid chars in semver string with "-" #295 (@smorokin)

v3.1.1 (2023-07-07)

Full Changelog

🐛 Fixed bugs:

  • IsDirty is no more constant #287
  • IsDirty always false #285

v3.1.0 (2023-06-05)

Full Changelog

🐛 Fixed bugs:

  • Ensure IsDirty is a constant #288 (@kzu)

v3.0.7 (2023-06-05)

Full Changelog

✨ Implemented enhancements:

  • Branch name is wrong when compiling from a git worktree #189

🐛 Fixed bugs:

  • Version 3.0.5: Error 'ThisAssembly.Git' is inaccessible due to its protection level #273

v3.0.6 (2023-05-05)

Full Changelog

✨ Implemented enhancements:

  • Allow forcing templated code gen for C# #269 (@kzu)

🐛 Fixed bugs:

  • The name 'IsDirtyString' does not exist in the current context #281
  • Update to version 3.x breaks Avalonia projects #260
  • CSC : error SL01: SponsorLink has been incorrectly configured #251
  • Fix missing code from missing dependency #282 (@kzu)

🔀 Merged:

  • Additional bump to get complete fix #283 (@kzu)

v3.0.5 (2023-03-22)

Full Changelog

🐛 Fixed bugs:

  • ThisAssemblyNamespace is ignored when updating from 2.3.0 to 3.0.4 #258
  • Bump to ThisAssembly version that doesn't run so early #268 (@kzu)
  • Fix IsDirty generator when using a custom namespace #267 (@kzu)
  • Fix backs-compat generation when custom namespace in use #266 (@kzu)

🔀 Merged:

  • fix typo 'alwas' with 'always' #257 (@codingdave)
  • Set AzureDevOps branch name also for PR #256 (@trejjam)

v3.0.4 (2023-02-22)

Full Changelog

🐛 Fixed bugs:

  • Branch Names with '/' generate invalid versions #244
  • V3 IsDirty is a string #243
  • Migration from v2 -> v3 #240
  • Reintroduce IsDirty boolean property from 2.3 #249 (@kzu)
  • Replace / and \ in branches with dashes when setting default Version #248 (@kzu)

v3.0.2 (2023-02-18)

Full Changelog

✨ Implemented enhancements:

  • 💜 Bump SponsorLink for better privacy #242 (@kzu)

v3.0.1 (2023-02-17)

Full Changelog

✨ Implemented enhancements:

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

v3.0.0 (2023-02-16)

Full Changelog

🔀 Merged:

  • Rename Analyzer > GitInfo.CodeAnalysis #233 (@kzu)

v3.0.0-rc (2023-02-09)

Full Changelog

✨ Implemented enhancements:

  • Set Version and PackageVersion to a default value #232 (@kzu)

v3.0.0-alpha (2023-02-07)

Full Changelog

✨ Implemented enhancements:

  • Stale info on unrelated changes #186
  • Should $(GitDefaultBranch) now default to main rather than master #167
  • Integrate better with SourceLink and built-in support in the SDK #128
  • Switch to ThisAssembly.Constants for C# #229 (@kzu)
  • Properly detect HEAD changes for incremental builds #226 (@kzu)
  • Change GitDefaultBranch to main instead of master #225 (@kzu)
  • Improve targets organization by moving ThisAssembly to another targets #219 (@kzu)
  • Switch to built-in .NET SDK AssemblyMetadata support #218 (@kzu)

🐛 Fixed bugs:

  • Missing Git Information with Docker build #216
  • Version issue with Multi-target projects #202
  • Git isDirty triggers rebuilds #183
  • GitInfo.cache collects warnings which leads to build errors #91

🔨 Other:

  • $(GitBranch) prop value is empty in .csproj file #178

🔀 Merged:

  • Delete removed define for assembly metadata #220 (@kzu)

v2.3.0 (2022-11-18)

Full Changelog

🐛 Fixed bugs:

  • make the gitinfo caches location configurable to be able to reuse the same information over several projects that are built #190

🔀 Merged:

  • Feature/use git info cache for all solution projects #191 (@tisis2)

v2.2.1 (2022-11-16)

Full Changelog

✨ Implemented enhancements:

  • maybe: show better error msg if windows visual studio git outputs linux paths #131
  • Add release notes #89
  • Can the same be used for managed C++? If not create it? #67
  • Cake: Use within Cake #48
  • Doesn't work with projects on SMB shares #8
  • Add section on how to set versions from MSBuild #211 (@kzu)
  • Fix "MSBuild customizations" misnomer & add link to documentation #206 (@JimmyCushnie)
  • fix bug Branch name is wrong when compiling from a git worktree #197 (@li-zhixin)
  • Properly escape GitExe and CygPathExe for WSL #195 (@socram8888)
  • Update "dirty" file only when GitIsDirty changes #184 (@AmoreCadenza)
  • Fix of buildTransitive feature of package #182 (@PadreSVK)

🐛 Fixed bugs:

  • MSBuild variables don't work for MAUI projects #203
  • Execution fails if using WSL and username contains spaces #194
  • delete #193
  • [Question] Commit Message #185
  • Build fails if git config log.showSignature true #180
  • Disable signatures when obtaining commit date - fixes #180 #213 (@socram8888)

🔨 Other:

  • Deleted #181
  • Publish new version to nuget.org #159

🔀 Merged:

  • +Mᐁ includes #207 (@devlooped-bot)
  • +M▼ includes #200 (@github-actions[bot])
  • Integrate .csproj section on code example on README.md #173 (@paonath)

v2.2.0 (2021-08-25)

Full Changelog

✨ Implemented enhancements:

  • Add source repository information to package #169
  • Add support for nuget transitive dependencies (via PackageReference) #154
  • GitThisAssemblyMetadata documentation is confusing #152
  • Feature request: let _CommitDateFormat be configurable #144
  • Build error when the first commit on a new branch is a cherry pick #133
  • support for git worktree #88
  • Issue with GitIsDirty and GitCache #60

🐛 Fixed bugs:

  • Handle add non-zero exit codes from Git #147 (@Therzok)

🔨 Other:

  • Project URL should be devlooped.github.io/GitInfo #149

🔀 Merged:

  • 🖆 Apply devlooped/oss template, nugetize and modernize #168 (@kzu)
  • Is dirty always check #165 (@freza-tm)
  • Add support for nuget transitive dependecy for .targets #155 (@PadreSVK)
  • Updating content readme.txt for issue #152 #153 (@daiplusplus)
  • Allowed git commit date format to be configured through GitCommitDateFormat property #145 (@tomcurran)
  • Add --always to default name-rev args, so a commit hash is used instead of 'undefined' #132 (@andersforsgren)

v2.1.2 (2020-09-24)

Full Changelog

✨ Implemented enhancements:

  • Option to exclude merges when calculating SemVerPatch #124
  • RepositoryUrl may contain username and password #122
  • Folder Syntax are not supported #101
  • Only consider version tags #100
  • Add "CheckinDate" to the ThisAssembly to be used in AssemblyInfo #65
  • Error when the path to file GitInfo.txt contains spaces #13
  • Include boolean indicating whether working tree is dirty #10
  • GitExe in the PATH should be first #6
  • Thoughts on including date information #2

🔨 Other:

  • Possibility to exclude tag refs from $(GitBranch) #126
  • "Unrecognized escape sequence" when remote url is a Windows path #119
  • GitSemVerPatch always 0 after update from 2.0.26 to 2.0.29 #116
  • Add GitSha override when building #114
  • Use MSBuild property to determine base version instead of external file #113
  • [Feature] Retrieve repository url #109
  • ASP.NET Core 3.1 GitThisAssemblyMetadata setting? #108
  • Change ThisAssembly access to Public #107
  • Include origin in git info #103
  • Can't Get BaseVersion.Patch+1 #99
  • Build fails if git config log.showSignature true #86
  • Emit assembly attributes #85
  • Conflicts when using InternalsVisibleTo #84
  • Broken link #83
  • Incremental build is broken #81
  • dotnet tool #79
  • Question regarding ThisAssembly.Git.Tag - separate commit using a plus? #78
  • Is there a way to make GitInfo work with Xamarin Live Player #77
  • GitInfo.txt per project leaves GitSemVerPatch at zero #76
  • How to add pre-release information only if building from dev branches or on dev box #70
  • Default protection level of ThisAssembly #69
  • Info on target (release/debug/...)? #68
  • csproj example #62
  • Cannot use on OSX #61
  • Preffered Version Scheme #59
  • naming clash? "ThisAssembly" exists in Microsoft.Build.Utilities.v4.0 #56
  • Cannot access internal class "ThisAssembly" here #55
  • Commits not counting correctly when base branch is already ahead #54
  • Examples to increase the counters. #49
  • Clean up the output by using EchoOff for Exec #47
  • If no Git found, build should fail #46
  • HOWTO dotnet core nuget versioning #45
  • Using GitInfo in a WPF app causes build failure #44
  • Assembly Metadata IsDirty must be a string #43
  • Build fails from dotnet publish #41
  • Templates should have the <auto-generated /> tag as first line #39
  • packed-refs need be tracked. #37
  • ThisAssembly.Git.Commit: Information Mis-match #33
  • VB.Net: Strict Mode #32
  • Using GitSemVer in TFS builds/releases. #29
  • Branch names with slashes are chopped #27
  • Set default value for GitIsDirty #23
  • Confused about where values come from #21
  • override ThisAssemblyNamespace #20
  • Build error with 1.1.32 #17
  • Usefulness of Git.SemVer.Patch compared to Git.Commits? #9
  • Cant get it to work on Universal Windows Platform #7
  • Tag prefix per project possible ? #5
  • Still -Pre release on nuget? #1

🔀 Merged:

  • Allow tag and base version customization, flex matching #129 (@kzu)
  • Prevent tag refs in $(GitBranch) for detached heads. #127 (@andersforsgren)
  • Add GitCommitsIgnoreMerges option #125 (@christianerbsmehl)
  • Remove username and password from repository URL #123 (@sbj42)
  • Add GitCommitDate (#65) #121 (@nikolamilekic)
  • Use verbatim string literals in C# and F# templates #120 (@sbj42)
  • Fix GitSemVerPatch always 0 #117 (@ysc3839)
  • Make the PATCH / GitBaseVersionPatch optional #115 (@BoBiene)
  • Fix GitThisAssemblyMetadata #112 (@joacar)
  • Add repository url #111 (@joacar)
  • fixed #98 #110 (@pedoc)
  • Turn off signature display when running log #102 (@kzu)
  • Fix SemVer.Source not working in Visual Basic #97 (@MobileManiC)
  • F# support #93 (@ndani14)
  • Don't cause MSBuild warnings 'expected' failures #90 (@alanmcgovern)
  • Fix incremental build #82 (@shadow-cs)
  • Reintroduce NormalizeDirectory usage, fix actual error #75 (@kzu)
  • Ensure we normalize to the correct path separator #73 (@alanmcgovern)
  • Allow counting all commits in the repository #66 (@alanmcgovern)
  • Ensuring the GitExe is set when the initial target is not evaluated #58 (@adalon)
  • Fix for cygwin/WSL and add support for Windows Store WSL distros #57 (@chkn)
  • Add support for multi-targeting builds to retrieve Git information #53 (@kzu)
  • v2 #52 (@kzu)
  • Switch to 2017 image #51 (@kzu)
  • Use MSBuildRuntimeTime to discern xbuild #50 (@abock)
  • Don't do xbuild things on Windows #42 (@bojanrajkovic)
  • Add <auto-generated /> comments to templates #40 (@bvli)
  • track packed-refs as refs/heads may be empty when "packed-refs -all" have been used #38 (@bigbearzhu)
  • VB.Net: Strict Mode, fixes #32 #36 (@wahmedswl)
  • fixes #32 #35 (@wahmedswl)
  • Add support for git in WSL #31 (@chkn)
  • Update documentation (and whitespace) #26 (@dueringa)
  • Set default value for GitIsDirty in non-repos #25 (@dueringa)
  • Set default value for GitIsDirty in non-repos #24 (@dueringa)
  • Added support for worktrees #22 (@taylorjonl)
  • Update GitInputs list to include branch heads recursively #19 (@bigbearzhu)
  • add missing close paren breaking markdown link #11 (@jamesmanning)
  • Fix cygwin support #4 (@chkn)
  • Untabification of readme.txt #3 (@atifaziz)

* This Changelog was automatically generated by github_changelog_generator