Maintaining a preview and stable channel of the PowerShell extension in the VSCode marketplace, we've hit a couple of painful issues:
After discussing the issue somewhat offline, there are other extensions in the VSCode Marketplace that use semver v2 or that have preview channels that manage the complexity of this partially using date-driven versions. For example, the Python extension.
My proposal is to use a YYYY.MM.DD version scheme.
However an alternative might be:
YYYY.MMDD.ReleaseVersion
But I want to discuss it here so we can try to pick up any pros and cons
The Python extension actually uses: YYYY.MM.Revision. This seems like a good solution
Because the PS extension is not software that is consumed by others like a library, using another versioning format seems to be not an issue, especially since the majority of user's are on the latest version anyway due to auto-update. To the users a datetime based versioning gives them more information about how recent it is, similar to the Windows OS.
Should they add the preview-feature to the marketplace at some point, then things might get complicated but for now, I'd be OK with it.
Most helpful comment
Because the PS extension is not software that is consumed by others like a library, using another versioning format seems to be not an issue, especially since the majority of user's are on the latest version anyway due to auto-update. To the users a datetime based versioning gives them more information about how recent it is, similar to the Windows OS.
Should they add the preview-feature to the marketplace at some point, then things might get complicated but for now, I'd be OK with it.