SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Parse semantic versions more strictly

Pathoschild opened this issue ยท 1 comments

commented

SMAPI is parsing semantic version strings more often (e.g. #308), so we should make sure it parses them in a sane way to avoid future issues. It currently has pretty naive parse logic which handles all sorts of invalid input:

input parsed as
1 1.0.0
1.2.3.4 1.2.3-4
1..2..3 1.0.0-2..3
1.apple 1.0.0-apple
commented

Done in develop for the upcoming release.