Skip to content

v2.0.0

Compare
Choose a tag to compare
@RobSmyth RobSmyth released this 19 Jun 06:01
· 133 commits to main since this release

December 1, 2024

This release has breaking changes that will impact users that are either:

  • Using the generated JSON Git2SemVer.VersionInfo.g.json file in custom code.
  • Using the Git API in custom C# script (csx) code.

Added

  • C# scripting (csx):
    • IGitTool fluent API added (#5).
    • IGitTool functionality to get commits between revision ranges (#5).

Changed

  • Breaking change to generated JSON file Git2SemVer.VersionInfo.g.json. These will only impact users using this file externally.
    • CommitId Id property renamed to Sha.
    • CommitChangeTypeId enumb None value (1) added. All higher numbers bumped.
    • Rev bumped to 2.
    • Others
  • Breaking change IGitTool method signatures changed. Introduced Fluent API.
  • TeamCity automatic build label updating now adds build number metadata to release build label, e.g: 1.2.3+34567 (#33).

Fixed

  • On a new repo without any release tags, conventional commit version bumps are ignored (#34).