|
| 1 | +## v5.0.0 |
| 2 | + |
| 3 | +- Version numbers in branches other than `release` branches are no longer |
| 4 | + considered as a version source by default. Implemented in [#1541][pr-1541]. |
| 5 | +- [#1581][pr-1581] folds `GitTools.Core` back into GitVersion to make |
| 6 | + maintaining GitVersion easier. |
| 7 | + |
| 8 | +## v4.0.0 |
| 9 | + |
| 10 | +### Git Flow Changes |
| 11 | + |
| 12 | +When using GitFlow, a few things have changed. Hopefully the new settings just |
| 13 | +work for you |
| 14 | + |
| 15 | +- `develop` has pre-release tag of `alpha` now, not unstable. |
| 16 | +- `develop` will bump as soon as a `release` branch is created. |
| 17 | +- Look at the [GitFlow examples][gitflow] for details of how it works now. |
| 18 | + |
| 19 | +### Configuration Changes |
| 20 | + |
| 21 | +- `GitVersionConfig.yaml` is deprecated in favor of `GitVersion.yml`. |
| 22 | +- Regular expressions are no longer used as keys in branch config |
| 23 | + - We have named branches, and introduced a `regex` config which you can |
| 24 | + override. |
| 25 | + - The default keys are: `master`, `develop`, `feature`, `release`, `pull-request`, |
| 26 | + `hotfix` and `support` |
| 27 | + - Just run `GitVersion.exe` in your project directory and it will tell you |
| 28 | + what to change your config keys to |
| 29 | + - For example, `dev(elop)?(ment)?$` is now just `develop`, we suggest not |
| 30 | + overring regular expressions unless you really want to use a different convention. |
| 31 | +- `source-branches` added as a configuration option for branches, it helps |
| 32 | + GitVersion pick the correct source branch |
| 33 | + |
| 34 | +## v3.0.0 |
| 35 | + |
| 36 | +- NextVersion.txt has been deprecated, only `GitVersionConfig.yaml` is supported |
| 37 | +- `AssemblyFileSemVer` variable removed, `AssemblyVersioningScheme` configuration |
| 38 | + value makes this variable obsolete |
| 39 | +- Variables `ClassicVersion` and `ClassicVersionWithTag` removed |
| 40 | +- MSBuild task arguments (`AssemblyVersioningScheme`, `DevelopBranchTag`, |
| 41 | + `ReleaseBranchTag`, `TagPrefix`, `NextVersion`) have been removed, use |
| 42 | + `GitVersionConfig.yaml` instead |
| 43 | +- GitVersionTask's `ReleaseDateAttribute` no longer exists |
| 44 | + |
| 45 | +[gitflow]: https://gitversion.net/docs/git-branching-strategies/gitflow-examples_complete |
| 46 | +[pr-1541]: https://github.com/GitTools/GitVersion/pull/1541 |
| 47 | +[pr-1581]: https://github.com/GitTools/GitVersion/pull/1581 |
0 commit comments