图数据库软件 Dgraph 决定从语义版本切换到日历版本YY.0M.PatchNumber
,本文介绍 Dgraph 的实施方案。
Versioning Scheme
YY: Short year which indicates which year the release was made GA.
0M: Zero padded month indicating the month that the release was made GA. We will have major releases every four months: (March, July, November) or (03, 07, 11). These releases will have bug fixes and new features with the possibility of breaking changes. We will provide scripts and tools to make upgrades easier between these versions.
PatchNumber: Patch releases are focused on bug fixes and are backward compatible. If a bug fix has a breaking change it will not be released until the next major release but will be available as a beta.
Beta Releases: Beta releases are available before the GA and are cut from the release branch, which will be in sync with the master branch. Their naming scheme contains the release the beta is destined for (YY.0M.0-beta.MMMDD), and the date that the beta was made available (YY.0M.0-beta.MMMDD). Before GA we will have a period of code freeze on the release branch and then we will make the release GA. This is done to make sure we are releasing a high quality and stable product. After the release is GA, every new feature will then go to the next release branch. It is up to the Dgraph team to decide when to do a beta release, we will aim to do a beta release every time we are ready with a new feature.