Skip to content

Releases: cashapp/quiver

quiver-0.5.4

21 May 10:14
Compare
Choose a tag to compare

Added

  • Adds T.success() as a shorthand for creating a success Result (Jem Mawson)
  • Adds <T : Throwable>.failure() as a shorthand for creating a failure Result (Jem Mawson)
  • Adds T.toResult() as a shorthand for converting nullable types to Result<T> (Alejandro Metke)
  • Ads Result.mapFailure() to enable mapping the failure in a result to a different Throwable (Alejandro Metke)
  • Backport traverse functions on Either, Iterable and Option (Andrew Parker)
  • Backport traverse functions on Sequence, Map and Ior (Andrew Parker)

quiver-0.5.3

09 May 02:13
Compare
Choose a tag to compare

Adds ErrorOr.toResult() as a shorthand for converting Either<Throwable, T> to Result (Jem Mawson)

v0.5.2

08 Apr 06:58
Compare
Choose a tag to compare

[0.5.2] - 2024-04-08

Changed

Upgraded Arrow to v1.2.4

Minor release

26 Mar 06:18
Compare
Choose a tag to compare

Added

  • Adds Option.ifPresent() as alternative to Option.forEach() for symmetry with Option.ifAbsent() (@balomia)

v0.5.0 - Lazy or on Option, orEmpty and backported traverse function

30 Oct 05:10
Compare
Choose a tag to compare

[0.5.0] - 2023-08-26

Added

  • Lazy version of or:Option.or(() -> Option<T>) (Chris Myers)
  • Adds Option.orEmpty() (Milly Rowett)
  • Backport traverse functions on NonEmptyList (Andrew Parker)

Changed

  • Deprecated Option.or(Option) in favour of Option.or(() -> Option<T>) (Chris Myers)

v0.4.0 - Option or Option

26 Jul 09:54
Compare
Choose a tag to compare

Added

  • Option.or(Option) (Mehdi Mollaverdi)

Changed

  • Bumped Arrow to v1.2.0 from v1.2.0-RC (Jem Mawson)

Result.toEither

16 Jun 12:26
Compare
Choose a tag to compare

Version 0.3.0 (2023-06-16)
New

  • Add kotlin.Result.toEither()

Fixes

  • Adds validateNotNull extension function on nullable values

Either.traverse

06 Apr 06:44
Compare
Choose a tag to compare

New

  • Add Either.traverse
  • Either, Nullable & Ior zip
  • Adds validateNotNull extension function on nullable values <Hugo Müller-Downing>

Fixes

  • Fix outcome traverse
  • Fix nested nullable issue
  • Fix nested null bug (#22)

Add withRetries() & unit()

14 Mar 06:56
Compare
Choose a tag to compare

Version 0.1.0 (2023-03-06)

  • Add Option.unit() and Either.unit() to replace the void() method deprecated by Arrow.
  • Include withRetries method on suspended supplier functions to provide opinionated access to Arrow's Schedule.

Initial release

08 Mar 08:59
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release
quiver-0.0.1

Version 0.0.1