Releases: samber/mo
Releases · samber/mo
v1.16.0
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
IsSomeandIsNonemethods. 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
- @vkaverin made their first contribution in #79
- @ss49919201 made their first contribution in #83
- @akaswenwilk made their first contribution in #87
Full Changelog: v1.15.0...v1.16.0
v1.15.0
v1.14.1
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
What's Changed
- Add MapValue method to Option by @yonesko in #70
- feat(option): fixed sematic issue in option type and adapted
omitzerotag by @Kiyo5hi in #65
Other
- [Snyk] Security upgrade golang from 1.22.5-bullseye to 1.23.0-bullseye by @samber in #52
- bump codecov/codecov-action from 2 to 4 by @dependabot in #59
- bump actions/setup-go from 2 to 5 by @dependabot in #57
- bump actions/checkout from 2 to 4 by @dependabot in #58
- bump softprops/action-gh-release from 1 to 2 by @dependabot in #56
- Bump codecov/codecov-action from 4 to 5 by @dependabot in #62
- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #63
- Bump golangci/golangci-lint-action from 6 to 7 by @dependabot in #68
- Bump golangci/golangci-lint-action from 7 to 8 by @dependabot in #69
New Contributors
- @dependabot made their first contribution in #59
- @yonesko made their first contribution in #70
- @Kiyo5hi made their first contribution in #65
Full Changelog: v1.13.0...v1.14.0
v1.13.0
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
What's Changed
- Add Fold function to Result monad by @taman9333 in #42
- Do notation by @taman9333 in #43
Full Changelog: v1.11.0...v1.12.0
v1.11.0
- Adding Result[T] Marshaling
v1.10.0
- 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
- Adding option.PointerOrNil()
- Result[T] implements driver.Scanner
- Fix some doc typo
v1.8.0
Adding support for mo.PointerToOption