Releases: rcardin/raise4s
v0.5.0
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
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
accumulatemimic themapOrAccumulatebehavior by @rcardin in #114
Dependency Updates ⚙️
Full Changelog: v0.3.0...v0.4.0
v0.3.0
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
valuesfunction forIterable[A]type by @rcardin in #103 - Added
combineErrorsfunction forIterable[A]type by @rcardin in #104 - Added
valuesfunction accumulating errors in aNonEmptyList[E]forIterable[A]type by @rcardin in #106 - Added
valuesfunction accumulating errors in aNonEmptyList[E]forNonEmptyList[A]type by @rcardin in #107 - Added
combineErrorsSfunction by @rcardin in #108 - Added
combineErrorsSfunction 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
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
MonadErrortype class for theRaise[E] ?=> Atype by @rcardin in #84 - Added the 'withDefault' function by @rcardin in #85
Dependency Updates 🔌
- Updated dependency sbt/sbt to v1.10.2 by @renovate in #79
- Updated dependency scala to v3.5.1 by @renovate in #72
Full Changelog: v0.1.0...v0.2.0
v0.1.0
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
RaiseAccby @rcardin in #75 - Added the type alias
RaiseNelby @rcardin in #76 - Added the 'anyRaised' type alias by @rcardin in #77
- Add a new strategy to map logic-typed error without using the
withErrorfunction 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
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 🐞
What's Changed 🌟
- Added the conversion from 'Validated' type to
Raisetype by @rcardin in #62 - Added builders 'validated', 'validatedNec', and 'validatedNel' by @rcardin in #63
Dependency Updates 🔌
Full Changelog: v0.0.7...v0.0.8
v0.0.7
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
mapOrAccumulatefunction for error types defining acats.Semigroupby @rcardin in #48 - Added a variation of the
mapOrAccumulatefunction using thecats.data.NonEmptyListby @rcardin in #53 - Added a variation of the
zipOrAccumulatefunctions for error types defining acats.kernel.Semigroupby @rcardin in #54 - Added variations of the
zipOrAccumulatefunction using thecats.data.NonEmptyListby @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
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
mapOrAccumulatevariant that accumulates on a custom type by @rcardin in #40 - Add a
zipOrAccumulatevariant that accumulates on a custom type by @rcardin in #41 - Extracted a
coremodule 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
Version 0.0.5 of the library is ready to rumble! 🥁
What's Changed 🛸
- Rename the
bind()method intovalueby @rcardin in #28 - Added the 'value' function for the List[Either[E, A]] type by @rcardin in #29
- Inlined
Raisefunctions by @rcardin in #31 - Create a
runfunction returning a union typeE | Aby @rcardin in #34
Dependency Updates 🔌
- Update actions/setup-java action to v4 by @renovate in #24
- Update actions/checkout action to v4 by @renovate in #23
- Update codecov/codecov-action action to v4.3.1 by @renovate in #27
- Update dependency sbt/sbt to v1.9.9 by @renovate in #22
- Update dependency sbt/sbt to v1.10.0 by @renovate in #32
Full Changelog: v0.0.4...v0.0.5
v0.0.4
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