Skip to content

in Update settings, let user choose "Use the latest release" or "Use the Long Term Support release" #8549

@mattab

Description

@mattab

The goal of this issue is to give Piwik administrators the ability to choose which Piwik major version they want to use.

Current Update Settings

update settings

Proposed changes to Piwik core

  • When a user selects "Use the latest beta release = Yes" then....
    • the very latest beta release will be used
    • (no change to this behavior)
  • When a user selects "Use the latest beta release = No" then....
    • Add a new label "Use the latest release" with two radio buttons:
    • Yes (recommended, Piwik 3.0.0)
    • No (use Long Term Support version, Piwik 2.15.1)

Changes to api.piwik.org service

  • the https://api.piwik.org/1.0/getLatestVersion/ service needs to be updated to know whether a given Piwik user is on the LTS channel or not
    • Add a new parameter eg. lts=1 or use_lts=1
    • when lts=1, return the last 2.X version
    • when lts=0, return the latest stable release

(fyi: I can make those changes to api.piwik.org whoever works on this please let me know)

Notes

  • high value to user: from the UI one can choose to use auto-update to the bleeding edge (beta), the latest stable release (3.X) or the Long Term Support version.
  • This is a change we should make in Piwik 2.15.0 as users need to be able to use the LTS version
  • the UI and feature should be designed to auomatically work when we next release Piwik 4.0, Piwik 5.0, etc. ideally we wouldn't need to change anything in Piwik core.

Metadata

Metadata

Assignees

Labels

EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions