Skip to content

Commit

Permalink
Merge pull request #240 from Kevin-Lee/prepare-to-release
Browse files Browse the repository at this point in the history
Effectie v1.12.0
  • Loading branch information
kevin-lee committed Jul 23, 2021
2 parents f83e52b + e346c3e commit 7b7a7d2
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions changelogs/1.12.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## [1.12.0](https://github.com/Kevin-Lee/effectie/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed+milestone%3Amilestone18) - 2021-07-23

## Done
* Add a shorter alternative name to `EffectConstructor` (#220)
* Rename `Eft` `Fx` (#234)
* Add `EitherT` extension methods (#230)
```scala
val fab: F[Either[A, B]] = ???
fab.eitherT // EitherT[F, A, B]

val ab: Either[A, B] = ???
ab.eitherT[F] // Either[F, A, B]

val fb: F[B] = ???
fb.rightT[A] // EitherT[F, A, B]

val b = ???
b.rightTF[F, A] // EitherT[F, A, B]

val fa: F[A] = ???
fa.leftT[B] // EitherT[F, A, B]

val a: A = ???
a.leftTF[F, B] // EitherT[F, A, B]
```
* Add `OptionT` extension methods (#231)
```scala
val foa: F[Option[A]] = ???
foa.optionT // OptionT[F, A]

val oa: Option[A] = ???
oa.optionT[F] // Option[F, A]

val fa: F[A] = ???
fa.someT OptionT[F, A] // OptionT[F, A]

val a = ???
a.someTF[F] // OptionT[F, A]
```
* `YesNo` in Scala 3 should derive `CanEqual` (#237)

0 comments on commit 7b7a7d2

Please sign in to comment.