Skip to content

Commit

Permalink
Merge pull request #459 from Kevin-Lee/prepare-to-release
Browse files Browse the repository at this point in the history
effectie v2.0.0-beta4
  • Loading branch information
kevin-lee authored Dec 25, 2022
2 parents 0962fe6 + 61ecdcb commit 2a49b02
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions changelogs/2.0.0-beta4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## [2.0.0-beta4](https://github.com/Kevin-Lee/effectie/issues?q=is%3Aissue+is%3Aclosed+milestone%3Av2-m1+closed%3A2022-11-14..2022-12-25) - 2022-12-25 🎄

### Changes
* Update missing implicit instance messages for Scala 3 (#454)
e.g.)
```scala
import effectie.instances.ce2.fx.*
```
to
```scala
import effectie.instances.ce2.fx.given
```
* Change `f` in `def catchNonFatal[A, B](fb: => F[B])(f: Throwable => A): F[Either[A, B]]` to `f: PartialFunction[Throwable, AA]` (#457)
```scala
CanCatch[F].catchNonFatal(fa) {
case FooException(err) =>
FooError(err)
}
// If fa throws FooException, the result is F[Either[FooError, A]]
// If fa throws some other exception, the result is F[Either[FooError, A]] but it's actually the same as errorOf[Either[FooError, A]](theException) so the exception is not caught in Either.
```
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ThisBuild / version := "2.0.0-SNAPSHOT"
ThisBuild / version := "2.0.0-beta4"

0 comments on commit 2a49b02

Please sign in to comment.