semver4j icon indicating copy to clipboard operation
semver4j copied to clipboard

Version 1.1.1.1 is considered as valid version

Open obfischer opened this issue 2 years ago • 3 comments

Version 3.10.0 considers the version 1.1.1.1 as valid semantic version number. According to the semantic versioning specification, the version core must consist ony of the major version, the minor version and the patch version. Please accept only valid semantic version numbers.

obfischer avatar Sep 27 '21 08:09 obfischer

@obfischer if you are still interested, I've create active copy of the semver4j lib (https://github.com/semver4j/semver4j) and fix this issue in 1.0.1 version.

piotrooo avatar Jul 16 '22 05:07 piotrooo

@piotrooo Yes, of course. I also thought about forking it. I will switch to your version.

obfischer avatar Jul 20 '22 09:07 obfischer

@obfischer I have in plans to do a big refactor since 2.0.0. I have in plans to address all (or most) issues from this lib

piotrooo avatar Jul 20 '22 09:07 piotrooo