-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #459 from Kevin-Lee/prepare-to-release
effectie v2.0.0-beta4
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ThisBuild / version := "2.0.0-SNAPSHOT" | ||
ThisBuild / version := "2.0.0-beta4" |