Skip to content

Releases: palantir/sls-version-java

1.5.0

09 Feb 20:41
106fca5
Compare
Choose a tag to compare
Type Description Link
Fix SlsVersion is now serializable. #763

1.4.0

19 Jan 10:11
c07e211
Compare
Choose a tag to compare

Automated release, no documented user facing changes

1.3.0

06 Jan 18:19
5439d5c
Compare
Choose a tag to compare
Type Description Link
Fix OrderableSlsVersion.valueOf will now refuse to interpret a version string containing a number greater than Integer.MAX_VALUE as a valid orderable version. Previously they would be parsed, but have surprising sorting behaviour. #549

1.2.0

09 Aug 18:13
48dd184
Compare
Choose a tag to compare
Type Description Link
Improvement Avoid unnecessary substring invocations while parsing sls versions #488

1.1.0

09 Aug 17:18
32481c2
Compare
Choose a tag to compare

Automated release, no documented user facing changes

1.0.0

22 Jun 14:28
ac9a30c
Compare
Choose a tag to compare
Type Description Link
Break This library now requires Java 11+ (previously it could run on Java 8+). This allows us to eliminate some String allocations from parsing SLS versions. #466

0.18.0

21 Jun 15:09
d9d00dd
Compare
Choose a tag to compare
Type Description Link
Improvement Parsing the simplest x.y.z type of OrderableSlsVersion no longer uses regexes. Allocation is reduced by about 75% #463

0.17.0

15 Jun 19:16
0bb74db
Compare
Choose a tag to compare
Type Description Link
Improvement Parsing an OrderableSlsVersion no longer runs the regex matcher twice, reducing allocation slightly #462

0.16.0

08 Jun 20:07
5553e19
Compare
Choose a tag to compare
Type Description Link
Improvement SlsVersionMatcher#safeValueOf now allocates 94% less memory per invocation, by avoiding throwing and catching a NumberFormatException. Specifically, it would allocate ~2192 bytes for every single invocation in my benchmark, and now it allocates 152 bytes per op. It's also ~10x faster. #455

0.15.0

08 Jun 13:19
c02160c
Compare
Choose a tag to compare
Type Description Link
Improvement SlsVersionMatcher#safeValueOf no longer involves throwing and catching exceptions as part of its normal behaviour. #456