Extend the Optimize Update to support preview release versioning

XMLWordPrintable

    • Type: Feature Request
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.9.0, 3.9.0-preview-1
    • Affects Version/s: None
    • Component/s: backend, blog
    • 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

      1. Running a preview release, e.g. 3.9.0-preview-1 allows an administrator to update to the final 3.9.0 release
      2. 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`

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: