Skip to content

Latest commit

 

History

History
115 lines (81 loc) · 3.68 KB

CHANGELOG.md

File metadata and controls

115 lines (81 loc) · 3.68 KB

Changelog

All notable changes to this project are documented in this file, based on Keep a Changelog.

0.11.0 - 2022-05-11

Added

  • mb.common.function.Function[1-4]
  • mb.common.function.Function[1-4]Throwing[1-2]
  • mb.common.function.Action1
  • mb.common.function.Action1Throwing[1-2]

Changed

  • mb.common.result.ThrowingFunction extends Function1Throwing1.
  • resource requirement to 0.14.1.

0.10.3 - 2022-04-04

Added

  • Option.mapCatching
  • Option.orElseCatching
  • Option.unwrapOrElseCatching

0.10.2 - 2022-03-09

Added

  • MultiMap.valueStream
  • CollectionView.copyOf(Stream)
  • CollectionView.copyOf(CollectionView)
  • ListView.copyOf(Stream)
  • MapView.copyOfWithHash(Stream)
  • MapView.copyOfWithLinkedHash(Stream)
  • MultiMapView.copyOfWithHash(Stream)
  • MultiMapView.copyOfWithLinkedHash(Stream)
  • StreamUtil.findOne

0.10.1 - 2021-11-23

Changed

  • Be more lenient by accepting null fallback resources in KeyedMessagesBuilder.

0.10.0 - 2021-11-11

Fixed

  • Option#ifNone and Option#ifNoneThrowing executing the runnable only if the option had some value.

Changed

  • All Option if* and Result if* methods to return this for chaining purposes.

Added

  • Option#transpose from Collection<Option<T>> to Option<ArrayList<T>>.

0.9.9 - 2021-11-04

Fixed

  • KeyedMessages#ofTryExtractMessagesFrom returning Optional.of(messages) even when messages.isEmpty().

Added

  • ResourceUtil#copy

0.9.8 - 2021-10-11

Changed

  • ClassToInstanceMap#get to allow compatible types, instead of requiring the type of the instance to be exactly the same as the requested type.
  • resource requirement to 0.12.0.

Added

  • ClassToInstanceMap#put(Class, Object) for adding a value to the map with an explicit type. For example, the interface type of the value, instead of the concrete type of the value.

0.9.7 - 2021-10-01

Changed

  • Gradle wrapper to 6.9.1.

Added

  • StringBuilderOutputStream

0.9.6 - 2021-09-24

Added

  • flatMapThrowing, filter, filterThrowing, stream to Option.
  • ThrowingPredicate, a throwing version of Predicate.

0.9.5 - 2021-09-20

Added

  • tryLock methods to CloseableReentrantReadWriteLock and LockHandle

0.9.4 - 2021-09-20

Added

  • FloatUtil based on Guava's Floats with min and max methods taking vararg arrays of floats.
  • CloseableReentrantReadWriteLock and LockHandle for locking in try-with-resources statements.

0.9.3 - 2021-09-01

Changed

  • resource requirement to 0.11.5.