Skip to content

Releases: inoas/gleam-given

v5.0.2

16 Jan 19:24
Compare
Choose a tag to compare

v5.0.1

16 Jan 19:18
Compare
Choose a tag to compare

Full Changelog: v5.0.0...v5.0.1

v5.0.0

16 Jan 19:15
21cd082
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @inoas made their first contribution in #2

Full Changelog: v4.1.1...v5.0.0

v4.1.1

01 Jan 16:17
897e5c2
Compare
Choose a tag to compare

Improved examples.

Full Changelog: v4.1.0...v4.1.1

v4.1.0

01 Jan 16:10
928ad1a
Compare
Choose a tag to compare

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 to given.ok_in(result:...)
  • given.error(in: result...) as an alternative to given.error_in(result:...)
  • given.some(in: option...) as an alternative to given.some_in(option:...)
  • given.none(in: option...) as an alternative to given.none_in(option:...)
  • Fixed readme to add the correct latest version.

v4.0.1

01 Jan 15:46
0db91fa
Compare
Choose a tag to compare

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

01 Jan 15:46
1a519d3
Compare
Choose a tag to compare

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

16 Dec 19:17
36f0e7b
Compare
Choose a tag to compare

Full Changelog: v3.0.1...v3.0.2

v3.0.1

16 Dec 19:14
f8dc616
Compare
Choose a tag to compare

Full Changelog: v3.0.0...v3.0.1

v3.0.0

16 Dec 17:31
cc920b9
Compare
Choose a tag to compare

Full Changelog: v2.0.0...v3.0.0