I was wondering why sbt-updates didn't report ScalaTest 3.1.0-RC3 as an update for 3.1.0-SNAP13 and the reason is that VersionOrdering considers 3.1.0-RC3 less than 3.1.0-SNAP13. Here are all ScalaTest versions sbt-updates found ordered by VersionOrdering:
I think it orders this part of the version lexicographically following semver#11. For the real-world libraries, it may indeed make sense to treat rc differently.
Hi,
I was wondering why sbt-updates didn't report ScalaTest 3.1.0-RC3 as an update for 3.1.0-SNAP13 and the reason is that
VersionOrdering
considers 3.1.0-RC3 less than 3.1.0-SNAP13. Here are all ScalaTest versions sbt-updates found ordered byVersionOrdering
:I think 3.1.0-SNAP13 should be less than 3.1.0-RC3 and will try to change
VersionOrdering
accordingly.