Page 1 of 1

Extension versioning requirements

Posted: Sun Aug 02, 2020 1:51 pm
by TIV73
Hi there,
is there any documentation available on how versioning is handled for extension? I understand info.json should contain a version attribute, and if the version of an extension is higher than the version of an already installed extension with the same id, mediamonkey will upgrade it.

What I'm curious about is how that version needs to look like. Can I just use an integer and count up, or do should proper semver 2.0 version numbers be used? To provide some examples, which of the examples below would be considered valid for mediamonkey in order to correctly detect extension updates if the version is increased?

Code: Select all

"version": 2
"version": "2"
"version": "2.5"
"version": "2.5.9"
"version": "2.5.9-beta"

Re: Extension versioning requirements

Posted: Mon Aug 03, 2020 4:20 pm
by Ludek
Currently only

Code: Select all

"version": "2.5.9"
is valid.

So typically start with

Code: Select all

"version": "1.0.0"

Re: Extension versioning requirements

Posted: Tue Aug 04, 2020 1:20 am
by TIV73
Excellent, thanks for the clarification!