Skip to content

Releases: samber/mo

v1.16.0

25 Sep 17:03

Choose a tag to compare

This release introduces 5 new sub-packages (option/, result/, either/, either3/, either4/, and either5/). It brings pipelining to the mo library, and a few helpers have been implemented for chaining operations on monads.

What's Changed

  • Support IsSome and IsNone methods. by @vkaverin in #79
  • Fix test to use IsSome() instead of IsPresent() by @ss49919201 in #83
  • feat: add Equal method to Option[T] for value comparison by @taman9333 in #84
  • make a test and comment for using omitzero by @akaswenwilk in #87
  • fix(tests): json marshalling by @samber in #88
  • feat: adding option/result/either/eitherX packages, with basic operations and pipelining by @samber in #78

Other

  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in #80
  • Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #85
  • Bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #86

New Contributors

Full Changelog: v1.15.0...v1.16.0

v1.15.0

10 Aug 14:40

Choose a tag to compare

What's Changed

Full Changelog: v1.14.1...v1.15.0

v1.14.1

07 Aug 15:53

Choose a tag to compare

What's Changed

  • fix(future): fix potential race condition when a future has multiple results by @samber in #75
  • fix(future): fix potential race condition by @samber in #76
  • revert #65 in a48e63d
  • bump go.uber.org/goleak from 1.2.1 to 1.3.0 by @dependabot[bot] in #60

Full Changelog: v1.14.0...v1.14.1

v1.14.0

25 May 22:39

Choose a tag to compare

What's Changed

  • Add MapValue method to Option by @yonesko in #70
  • feat(option): fixed sematic issue in option type and adapted omitzero tag by @Kiyo5hi in #65

Other

New Contributors

Full Changelog: v1.13.0...v1.14.0

v1.13.0

16 Jul 09:41

Choose a tag to compare

What's Changed

Features

Tools

  • Downgrade the goleak version to one that is compatible with the go version by @taman9333 in #44
  • Add Fold testable example by @taman9333 in #45

New Contributors

Full Changelog: v1.12.0...v1.13.0

v1.12.0

22 Jun 21:39

Choose a tag to compare

What's Changed

Full Changelog: v1.11.0...v1.12.0

v1.11.0

28 Sep 10:57

Choose a tag to compare

  • Adding Result[T] Marshaling

v1.10.0

25 Sep 13:46

Choose a tag to compare

  • refactor: rename PointerOrNil to ToPointer in order to match other helper names (no breaking change since it was released 15min before)
  • feat: adding option.Errf

v1.9.0

25 Sep 13:31

Choose a tag to compare

  • Adding option.PointerOrNil()
  • Result[T] implements driver.Scanner
  • Fix some doc typo

v1.8.0

31 Jan 14:45

Choose a tag to compare

Adding support for mo.PointerToOption