Skip to content

Releases: rcardin/raise4s

v0.5.0

30 Dec 14:14

Choose a tag to compare

The last version of the library for this year is ready to rumble 🥁. Finally, we implement the tracing of a logic-typed error. Moreover, for those of you that use mUnit, we have a new integration 🎉

What's Changed 🚀

Dependency Updates ⚙️

  • Updated dependency com.github.sbt:sbt-ci-release to v1.9.2 by @renovate in #116
  • Updated dependency sbt/sbt to v1.10.7 by @renovate in #118

Full Changelog: v0.4.0...v0.5.0

v0.4.0

11 Dec 16:34
1478739

Choose a tag to compare

Woah! Two new versions in one week 😱! Check out the new accumulate DSL, which simplifies the accumulation of errors!

What's Changed 🚀

  • Added a more usable API for error accumulation by @rcardin in #111
  • Let the accumulate mimic the mapOrAccumulate behavior by @rcardin in #114

Dependency Updates ⚙️

Full Changelog: v0.3.0...v0.4.0

v0.3.0

03 Dec 20:42

Choose a tag to compare

Two months have passed since the last update, but don't despair! Here is a bunch of new utility functions ready to be used 🔥

What's Changed 🥇

  • Added values function for Iterable[A] type by @rcardin in #103
  • Added combineErrors function for Iterable[A] type by @rcardin in #104
  • Added values function accumulating errors in a NonEmptyList[E] for Iterable[A] type by @rcardin in #106
  • Added values function accumulating errors in a NonEmptyList[E] for NonEmptyList[A] type by @rcardin in #107
  • Added combineErrorsS function by @rcardin in #108
  • Added combineErrorsS function for NonEmptyList[A] by @rcardin in #109

Bug Fixed 🐛

Dependency Updates ⚙️

  • chore(deps): update dependency com.github.sbt:sbt-ci-release to v1.9.0 by @renovate in #90
  • chore(deps): update dependency scala to v3.5.2 by @renovate in #92
  • chore(deps): update dependency sbt/sbt to v1.10.5 by @renovate in #94
  • chore(deps): update dependency sbt/sbt to v1.10.6 by @renovate in #105

Full Changelog: v0.2.0...v0.3.0

v0.2.0

23 Sep 19:32

Choose a tag to compare

Please don't stop me now 🕺 ! New version of the library. We continue introducing new strategies. This time, we added a new way to recover from an error through the recoverable { ... } block 🥇

Moreover, there are new changes for the Cats 🐈 integration. Now, Raise[E] ?=> A has its instance of the MonadError type class 🚀

What's Changed 👍

  • Added a recovery strategy for raised errors by @rcardin in #83
  • Added the implementation of the MonadError type class for the Raise[E] ?=> A type by @rcardin in #84
  • Added the 'withDefault' function by @rcardin in #85

Dependency Updates 🔌

Full Changelog: v0.1.0...v0.2.0

v0.1.0

09 Sep 07:24

Choose a tag to compare

Woah, a new version of the raise4s library at last 🚀! We introduced the concept of strategy for handling logic-typed errors. Don't forget to check out the updated documentation 📜!

What's Changed 🎉

  • Added the type alias RaiseAcc by @rcardin in #75
  • Added the type alias RaiseNel by @rcardin in #76
  • Added the 'anyRaised' type alias by @rcardin in #77
  • Add a new strategy to map logic-typed error without using the withError function by @rcardin in #78

Dependency Updates 🔌

  • Updated dependency scalafmt to v3.8.3 by @renovate in #69
  • Updated dependency sbt/sbt to v1.10.1 by @renovate in #68
  • Updated dependency scala to v3.4.3 by @renovate in #74
  • Updated dependency com.github.sbt:sbt-ci-release to v1.6.1 by @renovate in #73

Full Changelog: v0.0.8...v0.1.0

v0.0.8

28 Jun 10:10

Choose a tag to compare

Version 0.0.8 of the library is ready to meow even louder! 🐈
This version is focused on strengthening the integration with the Cats library. This time, we added support for the Validated[E, A] type.

Bugs Fixed 🐞

  • Removed dangling pointers to old bind() functions by @rcardin in #65

What's Changed 🌟

  • Added the conversion from 'Validated' type to Raise type by @rcardin in #62
  • Added builders 'validated', 'validatedNec', and 'validatedNel' by @rcardin in #63

Dependency Updates 🔌

  • Update dependency org.scalatest:scalatest to v3.2.19 by @renovate in #59

Full Changelog: v0.0.7...v0.0.8

v0.0.7

21 Jun 08:38

Choose a tag to compare

Version 0.0.7 of the library is ready to meow! 🐈
Our family has a new cats-raise4s module that introduces some sneaky integrations with the Cats library.

Bugs Fixed 🐞

What's Changed 🎉

  • Added a variation of the mapOrAccumulate function for error types defining a cats.Semigroup by @rcardin in #48
  • Added a variation of the mapOrAccumulate function using the cats.data.NonEmptyList by @rcardin in #53
  • Added a variation of the zipOrAccumulate functions for error types defining a cats.kernel.Semigroup by @rcardin in #54
  • Added variations of the zipOrAccumulate function using the cats.data.NonEmptyList by @rcardin in #55
  • Removed deprecated functions by @rcardin in #57

Dependency Updates 🔌

  • Update dependency scalafmt to v3.8.2 by @renovate in #45
  • Update codecov/codecov-action action to v4.5.0 - autoclosed by @renovate in #44
  • Update dependency org.scalatest:scalatest to v3.2.18 by @renovate in #43

Full Changelog: v0.0.6...v0.0.7

v0.0.6

31 May 13:03
6e9b2d3

Choose a tag to compare

Version 0.0.6 of the library is ready to rumble! 🥁
Be aware: Version 0.0.6 is not compatible with previous versions 💣

What's Changed 🥳

  • Added the mapOrAccumulate variant that accumulates on a custom type by @rcardin in #40
  • Add a zipOrAccumulate variant that accumulates on a custom type by @rcardin in #41
  • Extracted a core module by @rcardin in #42

Dependency Updates 🔌

  • Update dependency scala to v3.4.2 by @renovate in #35
  • Update codecov/codecov-action action to v4.4.1 by @renovate in #39

Full Changelog: v0.0.5...v0.0.6

v0.0.5

06 May 19:37
8609896

Choose a tag to compare

Version 0.0.5 of the library is ready to rumble! 🥁

What's Changed 🛸

  • Rename the bind() method into value by @rcardin in #28
  • Added the 'value' function for the List[Either[E, A]] type by @rcardin in #29
  • Inlined Raise functions by @rcardin in #31
  • Create a run function returning a union type E | A by @rcardin in #34

Dependency Updates 🔌

Full Changelog: v0.0.4...v0.0.5

v0.0.4

29 Apr 15:37
644998c

Choose a tag to compare

Here we go for a new version of the raise4s library 🚀
This version is not backward-compatible with previous versions. See #12 for further details.

What's Changed 🌟

  • Added the 'catching' function as an extension method. by @rcardin in #15
  • Currying DSL functions by @rcardin in #16

Dependency Updates 🔌

  • Update dependency org.scalatest:scalatest to v3.2.18 by @renovate in #18
  • Update codecov/codecov-action action to v4.3.0 - autoclosed by @renovate in #19

Full Changelog: v0.0.3...v0.0.4