Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
2.0.0 - 2024-12-01
Scala.js
support (Temporarily disable Scala.js support #636)It also includes all the changes in the following releases.
2.0.0-beta1 - 2022-05-02
Done
Fx
CanCatch
(MakeFx
CanCatch
#301)Fx
CanHandleError
(MakeFx
CanHandleError
#302)Fx
CanRecover
(MakeFx
CanRecover
#303)core
project should be effect library free (Core project should be effect library free #304)Cats Effect
andMonix
(Sub-projects for Cats Effect and Monix #305)EffectConstructor
(Remove EffectConstructor #306)Scalaz Effect
support (Withdraw Scalaz Effect support #308)Xor
(RemoveXor
#310)OptionTSupport
(RemoveOptionTSupport
#314)EitherTSupport
(RemoveEitherTSupport
#315)Fx
,FxCtor
andCanCatch
trait
s fromeffectie-cats-effect
,effectie-cats-effect3
andeffectie-monix
(RemoveFx
,FxCtor
andCanCatch
trait
s fromeffectie-cats-effect
,effectie-cats-effect3
andeffectie-monix
#320)CanHandleError
andCanRecover
trait
s fromeffectie-cats-effect
,effectie-cats-effect3
andeffectie-monix
(RemoveCanHandleError
andCanRecover
trait
s fromeffectie-cats-effect
,effectie-cats-effect3
andeffectie-monix
#322)cats-effect3
(Remove unused libraries for testing code using cats-effect3 #328)s01.oss.sonatype.org
(the new Maven central) (Publish to s01.oss.sonatype.org (the new Maven central) #342)extras-concurrent
andextras-concurrent-testing
for testing (Use extras-concurrent and extras-concurrent-testing for testing #348)Future
in thecore
project (Test typeclasses for Future in the core project #350)Effectful
tofx
and move tocore
/ also move possibleerror
syntax
tocore
(Change Effectful to fx and move to core / also move possible error syntax to core #352)core
fromeffectie
toeffectie.core
(Rename the package of the core from effectie to effectie.core #358)ConsoleEffect
andConsoleEffectful
(Redesign ConsoleEffect and ConsoleEffectful #364)FromFuture
andToFuture
tocore
and leave only typeclass instances in the sub-projects (Move FromFuture and ToFuture to core and leave only typeclass instances in the sub-projects #367)modules
(Move all sub-projects to modules #373)cats
to2.7.0
(Upgrade cats to 2.7.0 #377)effectie-cats
forcats
specific code (Add effectie-cats for cats specific code #384)Scalafix
andScalafmt
checks (Add Scalafix and Scalafmt checks #386)Scala.js
(Support Scala.js #388)fromEither
,fromOption
andfromTry
toFxCtor
andFx
(AddfromEither
,fromOption
andfromTry
toFxCtor
andFx
#393)2.0.0-beta2 - 2022-09-20
Renaming
Rename modules and packages (#430)
Modules
effectie-cats
=>effectie-syntax
effectie-cats-effect
=>effectie-cats-effect2
effectie-cats-effect3
remains the sameeffectie-monix
=>effectie-monix3
Packages
effectie.cats
=>effectie.ce2
effectie.cats
=>effectie.ce3
effectie.monix
=>effectie.monix3
Project Structure Change
effectie-cats-effect
common code foreffectie-monix
(Useeffectie-cats-effect
common code foreffectie-monix
#425)Added
FxCtor.pureOrError(a)
andFx.pureOrError(a)
(Add FxCtor.pureOrError(a) and Fx.pureOrError(a) #424)Clean up
effectie.cats.syntax
andeffectie.syntax
=>effectie.syntax
) #432)effectie.cats.syntax
andeffectie.syntax
) =>effectie.syntax
Documentation
2.0.0-rc.1
(Upgrade docs site to Docusaurus2.0.0-rc.1
#415)2.0.0-beta3 - 2022-11-13
Packages
effectie.instances
(Reorganize instances - move toeffectie.instances
#429)effectie.instances.future
effectie.instances.ce2
effectie.instances.ce3
effectie.instances.monix3
effectie.instances.id
Details
effectie.instances
: Move instances forFuture
toeffectie.instances.future
@implicitNotFound
to show what to importeffectie.instances
: Move instances forId
toeffectie.instances.id
Id
for Cats Effect 2 and 3 since they are now in theeffectie-cats
ConsoleEffect
instance toeffectie.instances
effectie.instances.future.fromFuture.FromFutureToIdTimeout
=>effectie.core.FromFuture.FromFutureToIdTimeout
Id
for Monix since they are now in theeffectie-cats
IO
for Monix since they are now in theeffectie-cats-effect2
IO
andTask
toeffectie.instances
Added
ReleasableResource
to automatically release resource after use (AddReleasableResource
to automatically release resource after use #443)cats-effect
it should usecats.effect.Resource
as its implementationcats-effect
, use Scala'sscala.util.Using
andFuture
with proper resource releaseReleasableResource
withUsing
andTry
ReleasableResource
withFuture
ReleasableResource
with Cats EffectIO
Cats Effect 2
Cats Effect 3
2.0.0-beta4 - 2022-12-25 🎄
Changes
e.g.)
f
indef catchNonFatal[A, B](fb: => F[B])(f: Throwable => A): F[Either[A, B]]
tof: PartialFunction[Throwable, AA]
(Changef
indef catchNonFatal[A, B](fb: => F[B])(f: Throwable => A): F[Either[A, B]]
tof: PartialFunction[Throwable, AA]
#457)2.0.0-beta5 - 2023-01-14
New Features
Add
ResourceMaker
(AddResourceMaker
#468)Internal Housekeeping
cats-effect
3.3.5
=>3.3.14
2.0.0-beta6 - 2023-02-11
Change
Remove
implicit fxCtor: FxCtor[F]
param from the catch methods inCanCatch
(Removeimplicit fxCtor: FxCtor[F]
param from the catch methods inCanCatch
#480)The following methods in
CanCatch
have been changed to
2.0.0-beta7 - 2023-02-25
New Features
pureOfOption
,pureOfSome
,pureOfNone
,pureOfRight
andpureOfLeft
toFxCtor
andFx
(AddpureOfOption
,pureOfSome
,pureOfNone
,pureOfRight
andpureOfLeft
toFxCtor
andFx
#488)Fx[F].pureOfOption[A](a: A): F[Option[A]]
Fx[F].pureOfSome[A](a: A): F[Option[A]]
Fx[F].pureOfNone[A]: F[Option[A]]
Fx[F].pureOfRight[A][B](b: B): F[Either[A, B]]
Fx[F].pureOfLeft[B][A](a: A): F[Either[A, B]]
Fix
implicit
instance messages (Fix typo in the missing implicit instance messages #489)2.0.0-beta8 - 2023-03-07
Changes
Remove unused implicit params (Remove unused implicit params #497)
The
implicit
paramfxCtor: FxCtor[F]
has been removed.Rename
ConsoleEffect
toConsoleFx
(RenameConsoleEffect
toConsoleFx
#499)Move
flatMapFa
fromCanCatch
toFxCtor
(MoveflatMapFa
fromCanCatch
toFxCtor
#501)Move
FxCtor
from instance creation ofConsoleFx
to eachConsoleFx
method param (MoveFxCtor
from instance creation ofConsoleFx
to eachConsoleFx
method param #504)to
ConsoleFx
instance should not depend on cats (Monad
) (ConsoleFx
instance should not depend on cats (Monad
) #505)Instead, it depends on
FxCtor
now.2.0.0-beta9 - 2023-03-18
New Feature
Fx
instance forTry
-Fx[Try]
(AddFx
instance forTry
#512)Internal Housekeeping
cats
from thecore
module (Remove cats from the core module #513)2.0.0-beta10 - 2023-07-15
New Feature
Add
fromEffect(fa: => F[A]): F[A]
toFxCtor
andFx
(AddfromEffect(fa: => F[A]): F[A]
toFxCtor
andFx
#524)Add
make[A](fa: => F[A])(release: A => F[Unit]): ReleasableResource[F, A]
toResourceMaker[F[*]]
(Addmake[A](fa: => F[A])(release: A => F[Unit]): ReleasableResource[F, A]
toResourceMaker[F[*]]
#527)Try
Future
Cats Effect 2
Cats Effect 3
Add
pure[A](a: A)
andeval[A](fa: F[A])
toResourceMaker
(Addpure[A](a: A)
andeval[A](fa: F[A])
toResourceMaker
#534)Add
ReleasableResource.pure
(AddReleasableResource.pure
#542)So
A
doesn't have to beAutoCloseable
as it's just a pure value.Add
ReleasableResource.map
andReleasableResource.flatMap
(AddReleasableResource.map
andReleasableResource.flatMap
#544)Add
Functor
type-class forReleasableResource
(AddFunctor
type-class forReleasableResource
#548)Add
Applicative
type-class forReleasableResource
(AddApplicative
type-class forReleasableResource
#550)Changes
Remove unnecessary re-evaluation of
ResourceMaker
(Remove unnecessary re-evaluation ofResourceMaker
#529)The following
ResourceMaker
constructor method is justval
now.effectie.resource.ResourceMaker.usingResourceMaker
Rename
withResource
inCe2ResourceMaker
andCe3ResourceMaker
tomaker
(RenamewithResource
inCe2ResourceMaker
andCe3ResourceMaker
tomaker
#530)Move
ResourceMaker
andReleasableResource
toeffectie-cats
(MoveResourceMaker
andReleasableResource
toeffectie-cats
#546)Having
ReleasableResource
ineffectie-cats
is required to haveFunctor
andMonad
type-classes.2.0.0-beta11 - 2023-07-22
Fixed
deprecated
methods inCe2ResourceMaker
andCe3ResourceMaker
(Fix the comments of thedeprecated
methods inCe2ResourceMaker
andCe3ResourceMaker
#559)Ce2ResourceMaker
:Please use withResource instead
=>Please use Ce2ResourceMaker.maker instead
Ce3ResourceMaker
:Please use withResource instead
=>Please use Ce3ResourceMaker.maker instead
2.0.0-beta12 - 2023-09-09
New Features
Add
CanRestart
for retryingF[A]
(AddCanRestart
for retryingF[A]
#566)Add instances of
CanCatch
,CanHandleError
,CanRecover
,FromFuture
,Fx
andFxCtor
withSync
andAsync
(Add instances ofCanCatch
,CanHandleError
,CanRecover
,FromFuture
,Fx
andFxCtor
withSync
andAsync
#568)So it can be done like this with the
effectie.instances.ce2.f
andeffectie.instances.ce3.f
packages.2.0.0-beta13 - 2023-10-01
Changes
CanHandleError[Future]
andCanRecover[Future]
should useFuture
'srecover
andrecoverWith
. (Make sure error handling forFuture
usesFuture
's error handling methods #584)CanHandleError[Try].handleNonFatal
andCanRecover[Try].recoverFromNonFatal
should useTry
'srecover
(CanHandleError[Try].handleNonFatal
andCanRecover[Try].recoverFromNonFatal
should useTry
'srecover
#586)New Feature
rethrowIfLeft
andrethrowTIfLeft
syntax
forF[Either[A, B]]
andEitherT[F, A, B]
(rethrowIfLeft
andrethrowTIfLeft
syntax
forF[Either[A, B]]
andEitherT[F, A, B]
#588)2.0.0-beta14 - 2024-01-12
New Feature
effectie-time
module (Addeffectie-time
module #601)effectie-time
] AddTimeSource
([effectie-time
] AddTimeSource
#602)effectie-time
] AddApproxFiniteDuration
andsyntax
([effectie-time
] AddApproxFiniteDuration
andsyntax
#603)effectie-cats-effect2-time
effectie-time-cats-effect2
(Addeffectie-cats-effect2-time
#607)effectie-cats-effect2-time
] AddTimeSource
withClock
fromcats-effect
2 ([effectie-cats-effect2-time
] AddTimeSource
withClock
from cats-effect 2 #608)effectie-cats-effect3-time
effectie-time-cats-effect3
(Addeffectie-cats-effect3-time
#610)effectie-cats-effect3-time
] AddTimeSource
withClock
fromcats-effect
3 ([effectie-cats-effect3-time
] AddTimeSource
withClock
from cats-effect 3 #611)effectie-cats-effect2-time
toeffectie-time-cats-effect2
andeffectie-cats-effect3-time
toeffectie-time-cats-effect3
(Renameeffectie-cats-effect2-time
toeffectie-time-cats-effect2
andeffectie-cats-effect3-time
toeffectie-time-cats-effect3
#615)