pg-semver icon indicating copy to clipboard operation
pg-semver copied to clipboard

Doesn't support 4-dot versions

Open hopeseekr opened this issue 10 months ago • 1 comments
trafficstars

Internal error: 7 ERROR: bad semver value '10.0.0.0': expected - (dash) or + (plus) at char 6

At least in the C++ and PHP ecosystems, the fourth dot is a patch release, usually done immediately after release when minor fixes are needed.

hopeseekr avatar Jan 04 '25 15:01 hopeseekr

Sure, but that's not valid according to the standard. You can see that in the official regex. Try adding 10.0.0.0 to the "Test String" field and see it doesn't match.

theory avatar Jan 04 '25 15:01 theory