Summary
`SpigotDownloader` fetches versions with `sort=-name`, which sorts version strings lexicographically. This means `2.9` sorts after `2.10` (because `"9" > "1"`), so the "latest" version may actually be an older release.
Location
`paper/src/main/kotlin/party/morino/mpm/infrastructure/downloader/spigot/SpigotDownloader.kt` line ~75
Impact
Medium — Incorrect "latest" version detection for SpigotMC plugins with version numbers that don't sort lexicographically.
Suggested Fix
Use the Spiget API's `sort=-id` or `sort=-releaseDate` to get chronologically latest versions, or fetch all versions and apply semantic version comparison.
Summary
`SpigotDownloader` fetches versions with `sort=-name`, which sorts version strings lexicographically. This means `2.9` sorts after `2.10` (because `"9" > "1"`), so the "latest" version may actually be an older release.
Location
`paper/src/main/kotlin/party/morino/mpm/infrastructure/downloader/spigot/SpigotDownloader.kt` line ~75
Impact
Medium — Incorrect "latest" version detection for SpigotMC plugins with version numbers that don't sort lexicographically.
Suggested Fix
Use the Spiget API's `sort=-id` or `sort=-releaseDate` to get chronologically latest versions, or fetch all versions and apply semantic version comparison.