Skip to content

ux: bug fix: fix logic used to show if an update is available

Andrew Chou requested to merge ac/1791/hasNewVersionReducer-bug into master

Closes #1791 (closed)

Potentially a good candidate for extracting as a separate library or at least as a testable util-like functionality.

Some edgier test cases that this solution considers (using a and b to denote semver-like versions):

  • a and b have identical version components, except a is a beta and b is not
  • a and b are betas, but only a has a tag
Edited by Andrew Chou

Merge request reports