09-17-2015, 10:16 PM
Currently plugin versions are integers. Because of this I barely update my plugin versions (since going from version 1 to 2 seems rather large for small changes.)
I suggest we change this to strings. That way developers can choose their own version format. Lua supports comparing strings ("1.5.2" < "1.5.3" gives true) so version checking should still be rather simple. There are some difficulties though. For example "1.10.1" < "1.9.9" still gives true, but I think the plugins themselves should fix that.
Or if I remember correctly @xoft once said he wanted to remove plugin versions, but I can't find where he said that. It could also be on the Gallery server. It could also be that he didn't say it at all
I suggest we change this to strings. That way developers can choose their own version format. Lua supports comparing strings ("1.5.2" < "1.5.3" gives true) so version checking should still be rather simple. There are some difficulties though. For example "1.10.1" < "1.9.9" still gives true, but I think the plugins themselves should fix that.
Or if I remember correctly @xoft once said he wanted to remove plugin versions, but I can't find where he said that. It could also be on the Gallery server. It could also be that he didn't say it at all