Skip to content

Releases: AlexisJehan/Javanilla

1.1.0

21 Jul 14:07
Compare
Choose a tag to compare

API changes

io.bytes.InputStreams

  • Add nullToDefault() and singleton() methods

io.bytes.OutputStreams

  • Add the nullToDefault() method

io.chars.Readers

  • Add nullToDefault() and singleton() methods

io.chars.Writers

  • Add the nullToDefault() method

lang.Strings

  • Add blankToEmpty(), blankToDefault() and of() methods
  • Add multiple quote() and unquote() methods
  • Change the isBlank() method so that an empty String is not blank anymore
  • Change the isHex() method so that it does not handle the 0x prefix anymore
  • Change the isBase64Url() method so that it does not require a padding anymore

lang.Throwables

  • Add isChecked() and isUnchecked() methods
  • Change the getRootCause() method return type to an Optional

lang.array.BooleanArrays

  • Add nullToDefault(), emptyToDefault(), containsOnce() and singleton() methods

lang.array.ByteArrays

  • Add nullToDefault(), emptyToDefault(), containsOnce() and singleton() methods
  • Change the ofHexString() method so that it does not handle the 0x prefix anymore

lang.array.CharArrays

  • Add nullToDefault(), emptyToDefault(), containsOnce() and singleton() methods

lang.array.DoubleArrays

  • Add nullToDefault(), emptyToDefault(), containsOnce() and singleton() methods

lang.array.FloatArrays

  • Add nullToDefault(), emptyToDefault(), containsOnce() and singleton() methods

lang.array.IntArrays

  • Add nullToDefault(), emptyToDefault(), containsOnce() and singleton() methods

lang.array.LongArrays

  • Add nullToDefault(), emptyToDefault(), containsOnce() and singleton() methods

lang.array.ObjectArrays

  • Add nullToDefault(), emptyToDefault(), containsOnce() and singleton() methods

lang.array.ShortArrays

  • Add nullToDefault(), emptyToDefault(), containsOnce() and singleton() methods

misc.tuples

  • Add Single and SerializableSingle classes

security

  • Add the StandardMacs class

util

  • Add the NullableOptional class

util.collection.Lists

  • Add nullToDefault(), emptyToDefault(), getFirst() and getLast() methods

util.collection.Maps

  • Add multiple nullToDefault() and emptyToDefault() methods

util.collection.Sets

  • Add multiple nullToDefault() and emptyToDefault() methods

util.collection.bags.Bag

  • Change min() and max() methods return type to NullableOptional

util.collection.bags.Bags

  • Add nullToDefault() and emptyToDefault(), equals(), hashCode() and toString() methods
  • Change min() and max() methods return type to NullableOptional

util.collection.bags.FilterBag

  • Change min() and max() methods return type to NullableOptional

util.collection.bags.MapBag

  • Change min() and max() methods return type to NullableOptional

util.function

  • Add the Consumers class
  • Remove the Predicates class

util.function.Suppliers

  • Add the once() method
  • Add multiple cached() methods

util.iteration.Iterables

  • Add the nullToDefault() method
  • Add filter() and length() methods
  • Add multiple singleton() methods

util.iteration.Iterators

  • Add multiple nullToDefault(), emptyToNull() and emptyToDefault() methods
  • Add filter() and length() methods
  • Add multiple singleton() methods

Bug fixes

  • Fix util.collection.bags.FilterBag.equals() and util.collection.bags.FilterBag.hashCode() methods
  • Fix util.collection.bags.LimitedBag.equals() and util.collection.bags.LimitedBag.hashCode() methods
  • Fix util.collection.bags.MapBag.equals() and util.collection.bags.MapBag.hashCode() methods

Notes

  • Update the annotations dependency to 16.0.2
  • Update the junit-jupiter-api dependency to 5.2.0
  • Update the assertj-core dependency to 3.10.0
  • Update the maven-surefire-plugin plugin to 2.22.0
  • Update the junit-platform-surefire-provider dependency to 1.2.0
  • Update the junit-jupiter-engine dependency to 5.2.0
  • Update the maven-javadoc-plugin plugin to 3.0.1

1.0.0

21 Jul 14:04
Compare
Choose a tag to compare

Initial release