Releases: AlexisJehan/Javanilla
Releases · AlexisJehan/Javanilla
1.8.0
API changes
crypto
- Add
StandardKeyAgreements
,StandardKeyGenerators
andStandardSecretKeyFactories
classes
io
- Add
CountInputStream
,CountOutputStream
,InputStreams
,OutputStreams
,RangeInputStream
and
RangeOutputStream
classes - Add
CountReader
,CountWriter
,RangeReader
,RangeWriter
,Readers
andWriters
classes
io.bytes
- Deprecate
CountInputStream
,CountOutputStream
,InputStreams
,OutputStreams
,RangeInputStream
and
RangeOutputStream
classes
io.chars
- Deprecate
CountReader
,CountWriter
,RangeReader
,RangeWriter
,Readers
andWriters
classes
io.line
- Add
CountLineReader
,CountLineWriter
,FilterLineReader
,FilterLineWriter
,LineReader
,LineSeparator
,
LineWriter
,RangeLineReader
andRangeLineWriter
classes
io.lines
- Deprecate
CountLineReader
,CountLineWriter
,FilterLineReader
,FilterLineWriter
,LineReader
,LineSeparator
,
LineWriter
,RangeLineReader
andRangeLineWriter
classes
lang.Strings
- Add
substringBefore(CharSequence, char)
,substringBefore(CharSequence, CharSequence)
,
substringAfter(CharSequence, char)
andsubstringAfter(CharSequence, CharSequence)
methods
lang.array.IntArrays
- Add the
add(int[], int, int)
method - Deprecate the
addTemporary(int[], int, int)
method
misc.distance
- Add
Distance
,Distances
,EditDistance
,EditDistances
,LevenshteinDistance
andMinkowskiDistance
classes
misc.distances
- Deprecate
Distance
,Distances
,EditDistance
,EditDistances
,LevenshteinDistance
andMinkowskiDistance
classes
misc.quality.Ensure
- Add
notNullAndNotNullKeys(String, Map)
,notNullAndNotNullValues(String, Map)
and
notNullAndNotNullKeysAndValues(String, Map)
methods
misc.tree
- Add
LinkedTreeNode
andTreeNode
classes
misc.trees
- Deprecate
LinkedTreeNode
andTreeNode
classes
misc.tuple
- Add
Pair
,SerializablePair
,SerializableSingle
,SerializableTriple
,Single
andTriple
classes
misc.tuples
- Deprecate
Pair
,SerializablePair
,SerializableSingle
,SerializableTriple
,Single
andTriple
classes
net.ssl
- Add
StandardSslContexts
andStandardTrustManagerFactories
classes
security
- Add
StandardAlgorithmParameterGenerators
,StandardAlgorithmParameters
,StandardKeyFactories
,
StandardKeyPairGenerators
,StandardKeyStores
,StandardMessageDigests
andStandardSignatures
classes
security.cert
- Add
StandardCertificateFactories
,StandardCertPathBuilders
,StandardCertPathValidators
andStandardCertStores
classes
util.bag
- Add
BatchIterator
,CountIterator
,FilterIterator
,IndexedElement
,Iterables
,Iterators
,
PreparedIterator
,PrimitiveIterable
andRangeIterator
classes - Add
Lists
,Maps
andSets
classes
util.bag
- Add
Bag
,Bags
,FilterBag
,LimitedBag
andMapBag
classes
util.collection
- Deprecate
Lists
,Maps
andSets
classes
util.collection.bags
- Deprecate
Bag
,Bags
,FilterBag
,LimitedBag
andMapBag
classes
util.function
- Add
SerializableBiConsumer
,SerializableBiFunction
,SerializableBiPredicate
,SerializableConsumer
,
SerializableFunction
,SerializablePredicate
,SerializableProcedure
andSerializableSupplier
classes - Add
ThrowableBiConsumer
,ThrowableBiFunction
,ThrowableBiPredicate
,ThrowableConsumer
,ThrowableFunction
,
ThrowablePredicate
,ThrowableProcedure
andThrowableSupplier
classes
util.function.serializable
- Deprecate
SerializableBiConsumer
,SerializableBiFunction
,SerializableBiPredicate
,SerializableConsumer
,
SerializableFunction
,SerializablePredicate
,SerializableProcedure
andSerializableSupplier
classes
util.function.throwable
- Deprecate
ThrowableBiConsumer
,ThrowableBiFunction
,ThrowableBiPredicate
,ThrowableConsumer
,
ThrowableFunction
,ThrowablePredicate
,ThrowableProcedure
andThrowableSupplier
classes
util.iteration
- Deprecate
BatchIterator
,CountIterator
,FilterIterator
,IndexedElement
,Iterables
,Iterators
,
PreparedIterator
,PrimitiveIterable
andRangeIterator
classes
Notes
- Update the
junit-jupiter
dependency to5.9.1
- Update the
assertj-core
dependency to3.23.1
- Update the
maven-javadoc-plugin
plugin to3.4.1
1.7.0
API changes
lang.Strings
- Add
removeStartIgnoreCase(CharSequence, char)
,removeEndIgnoreCase(CharSequence, char)
,
contains(CharSequence, char)
,containsIgnoreCase(CharSequence, char)
,startsWith(CharSequence, char)
,
startsWithIgnoreCase(CharSequence, char)
,endsWith(CharSequence, char)
,endsWithIgnoreCase(CharSequence, char)
,
isBinary(CharSequence, boolean)
,isOctal(CharSequence, boolean)
,isDecimal(CharSequence, boolean)
,
isHexadecimal(CharSequence, boolean)
,isBase64(CharSequence)
andisBase64Url(CharSequence)
methods
lang.Throwables
- Add the
sneakyThrow(Throwable)
method - Deprecate
uncheck(ThrowableRunnable)
anduncheck(ThrowableSupplier)
methods
lang.array.ByteArrays
- Add
ofBinaryString(CharSequence, boolean)
,ofOctalString(CharSequence)
,ofOctalString(CharSequence, boolean)
,
ofDecimalString(CharSequence)
,ofDecimalString(CharSequence, boolean)
,
ofHexadecimalString(CharSequence, boolean)
,toBinaryString(CharSequence, boolean)
,toOctalString(CharSequence)
,
toOctalString(CharSequence, boolean)
,toDecimalString(CharSequence)
,toDecimalString(CharSequence, boolean)
and
toHexadecimalString(CharSequence, boolean)
methods
lang.array.IntArrays
- Remove the
add(int[], int, int)
method
util.function
- Add the
Procedure
class
util.function.serializable
- Add the
SerializableProcedure
class - Deprecate the
SerializableRunnable
class
util.function.throwable
- Add the
ThrowableProcedure
class - Deprecate the
ThrowableRunnable
class
util.function.throwable.ThrowableBiConsumer
- Add the
sneaky(ThrowableBiConsumer)
method
util.function.throwable.ThrowableBiFunction
- Add the
sneaky(ThrowableBiFunction)
method
util.function.throwable.ThrowableBiPredicate
- Add the
sneaky(ThrowableBiPredicate)
method
util.function.throwable.ThrowableConsumer
- Add the
sneaky(ThrowableConsumer)
method
util.function.throwable.ThrowableFunction
- Add the
sneaky(ThrowableFunction)
method
util.function.throwable.ThrowablePredicate
- Add the
sneaky(ThrowablePredicate)
method
util.function.throwable.ThrowableSupplier
- Add the
sneaky(ThrowableSupplier)
method
Notes
- Update the
maven-javadoc-plugin
plugin to3.4.0
- Update the
jacoco-maven-plugin
plugin to0.8.8
- Migrate the continuous integration from Travis CI to GitHub Actions
1.6.0
API changes
crypto
- Deprecate
StandardCiphers
,StandardKeyFactories
,StandardKeyPairGenerators
,StandardMacs
,
StandardMessageDigests
andStandardSignatures
classes
io.Serializables
- Add the
serialize(Serializable, OutputStream)
method - Deprecate the
serialize(OutputStream, Serializable)
method
lang
- Deprecate the
UncheckedInterruptedException
class
lang.Strings
- Add
of(byte...)
andof(Charset, byte...)
methods
lang.Throwables
- Add
isCheckedException(Throwable)
andisUncheckedException(Throwable)
methods - Change the
unchecked(Throwable)
method - Deprecate
isChecked(Throwable)
andisUnchecked(Throwable)
methods
lang.array.BooleanArrays
- Add
add(boolean[], boolean, int)
andshuffle(boolean[], Random)
methods - Deprecate
add(boolean[], int, boolean)
andshuffle(boolean[])
methods
lang.array.ByteArrays
- Add
add(byte[], byte, int)
andshuffle(byte[], Random)
methods - Add
of(boolean)
,of(short)
,of(short, ByteOrder)
,of(char)
,of(char, ByteOrder)
,of(int)
,
of(int, ByteOrder)
,of(long)
,of(long, ByteOrder)
,of(float)
,of(float, ByteOrder)
,of(double)
and
of(double, ByteOrder)
methods - Deprecate
add(byte[], int, byte)
andshuffle(byte[])
methods - Deprecate
ofBoolean(boolean)
,ofShort(short)
,ofShort(short, ByteOrder)
,ofChar(char)
,
ofChar(char, ByteOrder)
,ofInt(int)
,ofInt(int, ByteOrder)
,ofLong(long)
,ofLong(long, ByteOrder)
,
ofFloat(float)
,ofFloat(float, ByteOrder)
,ofDouble(double)
andofDouble(double, ByteOrder)
methods
lang.array.CharArrays
- Add
add(char[], char, int)
andshuffle(char[], Random)
methods - Deprecate
add(char[], int, char)
andshuffle(char[])
methods
lang.array.DoubleArrays
- Add
add(double[], double, int)
andshuffle(double[], Random)
methods - Deprecate
add(double[], int, double)
andshuffle(double[])
methods
lang.array.FloatArrays
- Add
add(float[], float, int)
andshuffle(float[], Random)
methods - Deprecate
add(float[], int, float)
andshuffle(float[])
methods
lang.array.IntArrays
- Add
addTemporary(int[], int, int)
andshuffle(int[], Random)
methods - Deprecate
add(int[], int, int)
andshuffle(int[])
methods
lang.array.LongArrays
- Add
add(long[], long, int)
andshuffle(long[], Random)
methods - Deprecate
add(long[], int, long)
andshuffle(long[])
methods
lang.array.ObjectArrays
- Add
add(Object[], Object, int)
andshuffle(Object[], Random)
methods - Deprecate
add(Object[], int, Object)
andshuffle(Object[])
methods
lang.array.ShortArrays
- Add
add(short[], short, int)
andshuffle(short[], Random)
methods - Deprecate
add(short[], int, short)
andshuffle(short[])
methods
sql
- Deprecate the
UncheckedSQLException
class
standard.crypto
- Add
StandardCiphers
,StandardKeyAgreements
,StandardKeyGenerators
,StandardMacs
and
StandardSecretKeyFactories
classes
standard.net.ssl
- Add
StandardSslContexts
andStandardTrustManagerFactories
classes
standard.security
- Add
StandardAlgorithmParameterGenerators
,StandardAlgorithmParameters
,StandardKeyFactories
,
StandardKeyPairGenerators
,StandardKeyStores
,StandardMessageDigests
andStandardSignatures
classes
standard.security.cert
- Add
StandardCertificateFactories
,StandardCertPathBuilders
,StandardCertPathValidators
andStandardCertStores
classes
util.collection.Sets
- Add
unify(Set[])
andunify(Collection)
methods - Deprecate
union(Set[])
andunion(Collection)
methods
util.collection.bags.LimitedBag
- Add the
getLimit()
method
util.iteration.Iterables
- Add
singleton(int)
,singleton(long)
,singleton(double)
,ofInts(int...)
,ofLongs(long...)
and
ofDoubles(double...)
methods - Deprecate
singletonInt(int)
,singletonLong(long)
,singletonDouble(double)
,ofInt(int...)
,ofLong(long...)
andofDouble(double...)
methods
util.iteration.Iterators
- Add
singleton(int)
,singleton(long)
,singleton(double)
,ofInts(int...)
,ofLongs(long...)
and
ofDoubles(double...)
methods - Deprecate
singletonInt(int)
,singletonLong(long)
,singletonDouble(double)
,ofInt(int...)
,ofLong(long...)
andofDouble(double...)
methods
Notes
- Update the
junit-jupiter
dependency to5.8.2
- Update the
assertj-core
dependency to3.22.0
- Update the
maven-compiler-plugin
plugin to3.10.1
- Update the
maven-javadoc-plugin
plugin to3.3.2
- Update the
maven-gpg-plugin
plugin to3.0.1
- Update the
jacoco-maven-plugin
plugin to0.8.7
- Update the
license-maven-plugin
plugin to4.1
1.5.0
API changes
lang.Strings
- Add the
capitalize()
method
misc
- Add the
CaseStyle
class
misc.quality.Ensure
- Add multiple
multipleOf()
methods
Bug fixes
- Fix the
misc.StringFormatter.formatPercent()
method
Notes
- Update the
junit-jupiter
dependency to5.6.0
- Update the
assertj-core
dependency to3.14.0
- Update the
maven-compiler-plugin
plugin to3.8.1
- Update the
maven-source-plugin
plugin to3.2.1
- Update the
maven-javadoc-plugin
plugin to3.1.1
- Update the
maven-surefire-plugin
plugin to2.22.2
- Update the
jacoco-maven-plugin
plugin to0.8.5
1.4.2
Bug fixes
- Fix the
misc.StringFormatter.formatBytes()
method (The most copied StackOverflow snippet of all time is flawed!)
1.4.1
Bug fixes
- Fix
util.collection.Sets.union()
andutil.collection.Sets.intersect()
methods
Notes
- Update the
junit-jupiter
dependency to5.4.2
- Update the
assertj-core
dependency to3.12.2
- Update the
maven-javadoc-plugin
plugin to3.1.0
1.4.0
API changes
lang.Strings
- Add multiple
split()
methods
lang.array.BooleanArrays
- Add multiple
add()
methods - Add the
remove()
method
lang.array.ByteArrays
- Add multiple
add()
methods - Add the
remove()
method
lang.array.CharArrays
- Add multiple
add()
methods - Add the
remove()
method
lang.array.DoubleArrays
- Add multiple
add()
methods - Add the
remove()
method
lang.array.FloatArrays
- Add multiple
add()
methods - Add the
remove()
method
lang.array.IntArrays
- Add multiple
add()
methods - Add the
remove()
method
lang.array.LongArrays
- Add multiple
add()
methods - Add the
remove()
method
lang.array.ObjectArrays
- Add multiple
add()
methods - Add the
remove()
method - Change multiple
join()
methods
lang.array.ShortArrays
- Add multiple
add()
methods - Add the
remove()
method
misc.quality.Ensure
- Add the
notNullAndMatches()
method
util.function.serializable
- Add
SerializableBiConsumer
,SerializableBiFunction
,SerializableBiPredicate
,SerializableConsumer
,
SerializableFunction
,SerializablePredicate
,SerializableRunnable
andSerializableSupplier
classes
util.function.throwable.ThrowableFunction
- Add the
identity()
method
util.function.throwable.ThrowablePredicate
- Add the
isEqual()
method
Notes
- Add the
license-maven-plugin
plugin - Migrate
junit-jupiter-api
,junit-jupiter-engine
andjunit-pioneer
dependencies tojunit-jupiter
- Update the
jacoco-maven-plugin
plugin to0.8.3
1.3.1
API changes
io.crypto
- Add
StandardKeyFactories
,StandardKeyPairGenerators
andStandardSignatures
classes
io.crypto.StandardCiphers
- Add the
getAesGcmInstance()
method
lang.array.ByteArrays
- Rename the
ofHexString()
method toofHexadecimalString()
- Rename the
toHexString()
method totoHexadecimalString()
lang
- Add the
Comparables
class
lang.Strings
- Add multiple
split()
methods
misc.quality.Ensure
- Add
notNullAndEqualTo()
,notEqualTo()
,notNullAndNotEqualTo()
,notNullAndLowerThan()
,
notNullAndLowerThanOrEqualTo()
,notNullAndGreaterThan()
,notNullAndGreaterThanOrEqualTo()
and
notNullAndBetween()
methods
util.NullableOptional
- Add the
orElseThrow()
method
Notes
- Update
junit-jupiter-api
andjunit-jupiter-engine
dependencies to5.3.2
1.3.0
API changes
io.bytes
- Remove
UncheckedInputStream
andUncheckedOutputStream
classes
io.chars
- Remove
UncheckedReader
andUncheckedWriter
classes
io.lines
- Remove
UncheckedLineReader
andUncheckedLineWriter
classes
lang.Strings
- Add
containsIgnoreCase()
,startsWithIgnoreCase()
,endsWithIgnoreCase()
andfrequency()
methods - Rename the
isHex()
method toisHexadecimal()
lang.array.BooleanArrays
- Add the
frequency()
method
lang.array.ByteArrays
- Add the
frequency()
method
lang.array.CharArrays
- Add the
frequency()
method
lang.array.DoubleArrays
- Add the
frequency()
method
lang.array.FloatArrays
- Add the
frequency()
method
lang.array.IntArrays
- Add the
frequency()
method
lang.array.LongArrays
- Add the
frequency()
method
lang.array.ObjectArrays
- Add the
frequency()
method
lang.array.ShortArrays
- Add the
frequency()
method
misc.BloomFilter
- Rename the
calculateOptionalNumberOfHashFunctions()
method tocalculateOptimalNumberOfHashFunctions()
misc.StringFormatter
- Add the
DEFAULT
constant - Add the
toString()
method
misc.distances.LevenshteinDistance
- Add the
DEFAULT
constant
misc.quality
- Add
Ensure
,Equals
,HashCode
andToString
classes
misc.trees.TreeNode
- Rename the
parent()
method tooptionalParent()
misc.tuples.Pair
- Remove
toMutableEntry()
andtoImmutableEntry()
methods
util.Comparators
- Add the
normalize()
method - Remove
BOOLEAN_ARRAYS
,SIGNED_BYTE_ARRAYS
,UNSIGNED_BYTE_ARRAYS
,SHORT_ARRAYS
,INT_ARRAYS
,LONG_ARRAYS
,
FLOAT_ARRAYS
andDOUBLE_ARRAYS
constants - Remove multiple
array()
methods
util.collection.Lists
- Add
concat()
andjoin()
methods - Rename the
getFirst()
method togetOptionalFirst()
- Rename the
getLast()
method togetOptionalLast()
util.collection.Maps
- Rename the
ofEntriesOrdered()
method toofOrdered()
util.collection.Sets
- Add
union()
andintersect()
methods
util.function
- Add the
Functions
class
util.iteration.Iterables
- Rename the
getFirst()
method togetOptionalFirst()
- Rename the
getLast()
method togetOptionalLast()
util.iteration.Iterables
- Rename the
getFirst()
method togetOptionalFirst()
- Rename the
getLast()
method togetOptionalLast()
Notes
- Add the
junit-pioneer
dependency - Update
junit-jupiter-api
andjunit-jupiter-engine
dependencies to5.3.1
- Update the
maven-surefire-plugin
plugin to2.22.1
1.2.0
API changes
crypto
- Rename the
security
package tocrypto
io.bytes
- Add
UncheckedInputStream
andUncheckedOutputStream
classes
io.bytes.InputStreams
- Add the
of(Path)
method - Remove the
ENDLESS
constant
io.bytes.OutputStreams
- Add the
of(Path)
method - Rename the
BLANK
constant toEMPTY
- Rename the
nullToBlank()
method tonullToEmpty()
io.chars
- Add
UncheckedReader
andUncheckedWriter
classes
io.chars.Readers
- Add
of(Path)
andof(Path, Charset)
methods - Remove the
ENDLESS
constant
io.chars.Writers
- Add
of(Path)
andof(Path, Charset)
methods - Rename the
BLANK
constant toEMPTY
- Rename the
nullToBlank()
method tonullToEmpty()
io.lines
- Add
UncheckedLineReader
andUncheckedLineWriter
classes
lang.Strings
- Add
nullToEmpty(String)
,emptyToNull(String)
,blankToNull(String)
,blankToEmpty(String)
,quote(char)
,
quote(char, char, char)
,unquoteChar(CharSequence)
,unquoteChar(CharSequence, char, char)
,isEmpty()
,
isBoolean()
,isShort()
,isInt()
,isLong()
,isFloat()
,isDouble()
,isBinary()
,isOctal()
and
isDecimal()
methods - Change
isBase64(CharSequence, boolean)
andisBase64Url(CharSequence, boolean)
methods - Remove
quote(Object)
andquote(Object, char, char)
methods
lang.array.BooleanArrays
- Add
shuffle()
,reverse()
,reorder()
,swap()
andisEmpty()
methods - Add
of(Boolean[])
andtoBoxed()
methods - Change
containsAny()
,containsAll()
,containsOnce()
andcontainsOnly()
methods
lang.array.ByteArrays
- Add
shuffle()
,reverse()
,reorder()
,swap()
andisEmpty()
methods - Add
of(Byte[])
andtoBoxed()
methods - Add
ofBinaryString()
andtoBinaryString()
methods - Change
containsAny()
,containsAll()
,containsOnce()
andcontainsOnly()
methods
lang.array.CharArrays
- Add
shuffle()
,reverse()
,reorder()
,swap()
andisEmpty()
methods - Add
of(Char[])
andtoBoxed()
methods - Change
containsAny()
,containsAll()
,containsOnce()
andcontainsOnly()
methods
lang.array.DoubleArrays
- Add
shuffle()
,reverse()
,reorder()
,swap()
andisEmpty()
methods - Add
of(Double[])
andtoBoxed()
methods - Change
containsAny()
,containsAll()
,containsOnce()
andcontainsOnly()
methods
lang.array.FloatArrays
- Add
shuffle()
,reverse()
,reorder()
,swap()
andisEmpty()
methods - Add
of(Float[])
andtoBoxed()
methods - Change
containsAny()
,containsAll()
,containsOnce()
andcontainsOnly()
methods
lang.array.IntArrays
- Add
shuffle()
,reverse()
,reorder()
,swap()
andisEmpty()
methods - Add
of(Integer[])
andtoBoxed()
methods - Change
containsAny()
,containsAll()
,containsOnce()
andcontainsOnly()
methods
lang.array.LongArrays
- Add
shuffle()
,reverse()
,reorder()
,swap()
andisEmpty()
methods - Add
of(Long[])
andtoBoxed()
methods - Change
containsAny()
,containsAll()
,containsOnce()
andcontainsOnly()
methods
lang.array.ObjectArrays
- Add
shuffle()
,reverse()
,reorder()
,swap()
andisEmpty()
methods - Add
concat()
,join()
andsingleton(Class, Object)
methods - Change
containsAny()
,containsAll()
,containsOnce()
andcontainsOnly()
methods
lang.array.ShortArrays
- Add
shuffle()
,reverse()
,reorder()
,swap()
andisEmpty()
methods - Add
of(Short[])
andtoBoxed()
methods - Change
containsAny()
,containsAll()
,containsOnce()
andcontainsOnly()
methods
misc
- Add the
BloomFilter
class
misc.trees
- Add
TreeNode
andLinkedTreeNode
classes
util.function.Consumers
- Add the
distinct()
method
util.function.Suppliers
- Rename multiple
cached()
methods tocache()
util.iteration
- Add
FilterIterator
andIndexedElement
classes
util.iteration.Iterables
- Add multiple
nullToEmpty(PrimitiveIterable)
methods - Add
index()
,getFirst()
andgetLast()
methods - Add the
wrap(Stream)
method
util.iteration.Iterators
- Add
nullToEmpty(PrimitiveIterator)
andemptyToNull(PrimitiveIterator)
methods - Add
index()
,getFirst()
andgetLast()
methods - Add
removeAll()
,removeIf()
andisEmpty()
methods - Remove the
toEnumeration()
method
Notes
- Update
junit-jupiter-api
andjunit-jupiter-engine
dependencies to5.3.0
- Update the
assertj-core
dependency to3.11.1
- Update the
maven-compiler-plugin
plugin to3.8.0
- Update the
jacoco-maven-plugin
plugin to0.8.2
- Remove the
annotations
dependency - Remove the
junit-platform-surefire-provider
dependency