Obsidian version comparison doesn't comply with `semver` spec

Steps to reproduce

  1. Install any plugin
  2. Edit [path/to/vault]/.obsidian/plugins/[plugin-name]/manifest.json
  3. Change version from x.y.z to x.y.z-beta.1
  4. Open Options > Community Plugins
  5. Click Reload plugins button.
  6. Open [plugin-name]

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

Update button is visible

Actual result

Update button is not visible

Environment

SYSTEM INFO:
	Obsidian version: v1.7.0
	Installer version: v1.6.5
	Operating system: Windows 11 Pro 10.0.22631
	Login status: logged in
	Catalyst license: vip
	Insider build toggle: on
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 0
	Plugins enabled: 0

RECOMMENDATIONS:
	none

Additional information

Semantic Versioning Spec

11.3

When major, minor, and patch are equal, a pre-release version has lower precedence than a normal version:

Example: 1.0.0-alpha < 1.0.0

Thanks we will correct the docs. We don’t infact support semver, just x.y.z.

Well, that’s a misfortune, as it doesn’t help with using beta versions and BRAT

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.