Releases: inoas/gleam-given
Releases · inoas/gleam-given
v5.0.2
v5.0.1
Full Changelog: v5.0.0...v5.0.1
v5.0.0
v4.1.1
Improved examples.
Full Changelog: v4.1.0...v4.1.1
v4.1.0
Full Changelog: v4.0.1...v4.1.0
[4.1.0] - 2025-01-01
- Added alternatives function names and label names:
given.ok(in: result...)
as an alternative togiven.ok_in(result:...)
given.error(in: result...)
as an alternative togiven.error_in(result:...)
given.some(in: option...)
as an alternative togiven.some_in(option:...)
given.none(in: option...)
as an alternative togiven.none_in(option:...)
- Fixed readme to add the correct latest version.
v4.0.1
PLEASE NOTE THE BREAKING CHANGE IN 4.0
and update any code using given.ok_in
: https://github.com/inoas/gleam-given/releases/tag/v4.0.0
improved readme, tests, examples.
Full Changelog: v4.0.0...v4.0.1
v4.0.0
Bugfix release of 3.0.2 but containing breaking change:
-
given.ok_in
has the labels switched, before:pub fn ok_in( result rslt: Result(a, e), else_return consequence: fn(a) -> c, return alternative: fn(e) -> c, ) -> c
after:
pub fn ok_in( result rslt: Result(a, e), else_return alternative: fn(e) -> c, return consequence: fn(a) -> c, ) -> c
Full Changelog: v3.0.2...v4.0.0
v3.0.2
Full Changelog: v3.0.1...v3.0.2
v3.0.1
Full Changelog: v3.0.0...v3.0.1
v3.0.0
Full Changelog: v2.0.0...v3.0.0