Skip to content

v0.9.0

Latest
Compare
Choose a tag to compare
@wfscheper wfscheper released this 20 Jul 16:14
· 62 commits to main since this release

Removed

  • This release of gotagger removes the deprecated git and marker packages, and the TagRepo public function that used them.

    gotagger is on it's 4th release since these were deprecated, and a v1.0.0 release is probably not far off. This is a good time to make this breaking change. #105

Added

  • Added a Force option to gotagger.Config and a corresponding -force flag to the CLI. Setting this to true forces the creation of a tag, even if the HEAD is not a "release" commit. #11
  • gotagger now takes a -path flag that restricts version calculation to commits that affected files below that directory. #93

Fixed

  • Fixed an issue where gotagger could not version the first commit. #103

  • Fixed an issue where gotagger would return an error versioning a go module that was not yet tagged. #104

  • gotagger error output is now correctly written to stderr.

    The error output of the CLI was incorrectly sent to stdin. #61

  • gotagger properly parses scopes with hyphens.

    The regex used by gotagger is now essentially the same as the default used by conventional-commit-parser. #95

Chores

  • The minimum version of go is now 1.17. Go 1.18 was released on 2022-03-15, which means go 1.16 is now EOL.

    The go version in the go.mod is updated to 1.17, so that gotagger can take advantage of the dependency pruning changes introduced in that version of go. Generally, this is not desirable, but this time the benefits are worth the potential disruption. #54

CI

  • Set the git author name and email when generating tags.