-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
Not defined
Problem Definition
User Story
As a administrator
I want to use a preview release and be able to update to the final minor release
So that I have a smooth update path from a preview release
Use Cases
- Running a preview release, e.g. 3.9.0-preview-1 allows an administrator to update to the final 3.9.0 release
- If there are multiple preview releases an administrator can update perform sequential updates from them, e.g. from 3.9.0-preview-1 to 3.9.0-preview-2
Solution Definition
Solution Ideas
The update logic needs to support preview suffixes defined using the `pre-release`-section of semantic versioning: https://semver.org/spec/v2.0.0.html#spec-item-9 .
Supporting preview versioning in the update logic means:
- the version comparison always treats versions without a preview suffix as newer
- the version comparison can compare preview versions, considering 3.9.0-preview-2 newer than 3.9.0-preview-1
- an `UpgradePlan` can use a preview version as `to/fromVersion`