Extension versioning requirements

To discuss development of addons / skins / customization of MediaMonkey.

Moderator: jiri

TIV73
Posts: 108
Joined: Sat Nov 12, 2011 1:31 pm
Contact:

Extension versioning requirements

Post 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"
Ludek
Posts: 3466
Joined: Fri Mar 09, 2007 9:00 am
Contact:

Re: Extension versioning requirements

Post by Ludek »

Currently only

Code: Select all

"version": "2.5.9"
is valid.

So typically start with

Code: Select all

"version": "1.0.0"
TIV73
Posts: 108
Joined: Sat Nov 12, 2011 1:31 pm
Contact:

Re: Extension versioning requirements

Post by TIV73 »

Excellent, thanks for the clarification!
Post Reply