Skip to content

Use proper version semantics instead of int versions when detecting updates #7347

@craxal

Description

@craxal

Currently, we use int versions to detect whether an update is available for the current version of Storage Explorer. Because int versions always increment, this becomes problematic when patch updates are released after minor updates.

For example, say the following versions are released in sequence:

  1. 1.9.0 (20)
  2. 1.10.0 (21)
  3. 1.9.1 (22)

With the current version comparison logic, 1.9.1 would mistakenly be considered an update for 1.10.0.

This problem can be solved by using proper version semantics (i.e. 1.9.1 < 1.10.0, so it would not be considered an update for 1.10.0).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions