Effect 2.4 (Release)
A new minor release of Effect
has gone out, with some big changes we wanted to let you know about:
Schedule<Env, In, Out>
has been changed toSchedule<Out, In = unknown, Env = never>
. This change makes for cleaner type signatures (Schedule<void>
) and ensures types are ordered by importance.Either<L, R>
has been changed toEither<R, L = never>
. This change makes for cleaner type signatures (Either<void>
) and ensures types are ordered by importance.
For the changes above, a code-mod has been released to make migration as easy as possible.
You can run it by executing:
It might not be perfect - if you encounter issues, let us know! Also make sure you commit any changes before running it, in case you need to revert anything.
There were several other smaller changes made, feel free to read through the Changelog or Version PR to see them all
Don’t forget to join our Discord Community to follow the last updates and discuss every tiny detail!