mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-10 01:30:37 -04:00
12f931e52c
# Description of Changes The output of `spacetime version list` is sorted in alphabetical order, which is not the correct semver order. This fixes the order printed, by sorting correctly. Example before: ``` 1.11.0 1.9.0 1.3.0 1.3.1 1.1.2 1.12.0 (current) 1.0.0 ``` After: ``` 1.12.0 (current) 1.11.0 1.9.0 1.3.1 1.3.0 1.1.2 1.0.0 ``` # API and ABI breaking changes Not an API or ABI breaking change # Expected complexity level and risk 1 # Testing Ran `spacetime version list` and `spacetime version list --all` with the new code and confirmed that the result was correctly sorted. I additionally tested that if the latest available version was not installed that it would show with the upgrade hint command.