Releases: pureharm/pureharm-effects-cats
Releases · pureharm/pureharm-effects-cats
0.5.0 — cats-effect 3
🥳 This is the first release for a stable Scala 3 version, and the first release compatible with cats-effect 3 🥳
⚠️ breaking changes :warning
- the module from version 0.4.0 is now named
pureharm-effects-cats-2
, so if you did not yet upgrade your entire stack to cats-effect 3 then use this module. It is source compatible otherwise.pureharm-effects-cats
now refers to the module version based on cats-effect 3.
⚠️ removed deprecations
- removed
busymachines.pureharm.effects.PureharmEffectsImplicits
- removed Applicative/Monad/Bracket Attempt type aliases
new features
pureharm-effects-cats-2
- inline cats-retry! and provide infix syntax support. We inlined because cats-retry does not have Scala 3 support yet.
- deprecate all previous .reattempt, and .timedReattempt syntax in favor of things inlined from cats-retry
- add
.timed : F[FiniteDuration]
(backport from cats-effect 3), and.timedIn(t: TimeUnit): F[FiniteDuration]
syntax - add
busymachines.pureharm.capabilities.Random[F]
capability trait. Use this for your randomness needs, including UUID generation. It is source compatible w/ the version provided in thepureharm-effects-cats
, and the cats-effect 3 version.
pureharm-effects-cats
- first compatible module w/ cats-effect
3.2.1
!- removed PureharmIOApp, you can safely use IOApp, ResourceApp, and kin from cats-effect.
- removed
BlockingShifter
, sinice ContextShift, and Blocker are both gone from cats-effect - removed
ExecutionContextMT
, since it existed solely for the purpose of instantiating a good pool from main. With cats-effect 3 it's almost impossible to give a good replacement, so just rely on the default compute pool of cats-effect 3, it's really good!
- inline cats-retry! and provide infix syntax support. We inlined because cats-retry does not have Scala 3 support yet.
- add
.timedIn(t: TimeUnit): F[FiniteDuration]
syntax - deprecate all previous .reattempt, and .timedReattempt syntax in favor of things inlined from cats-retry
new Scala versions:
2.13.6
3.0.1
for JVM + JS platforms- drop
3.0.0-RC2
,3.0.0-RC3
Version upgrades:
- cats
2.6.1
- cats-effect
2.5.2
,3.2.1
- fs2-core
2.5.9
,3.0.6
- pureharm-core-anomaly
0.3.0
- pureharm-core-sprout
0.3.0
internals
- bump munit-cats-effect to
1.0.5
- bump scalafmt to
3.0.0-RC6
— from2.7.5
- bump sbt to
1.5.5
- bump sbt-spiewak to
0.21.0
- bump sbt-scalafmt to
2.4.3
- bump sbt-scalajs-crossproject to
1.1.0
- bump sbt-scalajs to
1.6.0
0.4.0
- add a bunch of missing aliases from cats
deprecations:
- deprecate
aliases.CatsImplicits
in favor ofaliases.CatsSyntax
, the latter does not bring in no longer neededcats.instances.all._
import - deprecate
PureharmImplicits
in favor ofPureharmSyntax
, the latter does not bring in no longer neededcats.instances.all._
import
0.3.0 - botched release, use 0.4.0 instead
v0.3.0 0.3.0
0.2.0
Features:
- loosen constraint on all
*attempt*
like methods fromSync[F]
toMonadThrow[F]
. There was no reason for it to beSync
. - add
.reattempt
syntax forStream[F, A]
Removed deprecations:
- remove (Applicative/Monad/Bracket)Attempt types. Use The
*Throw
aliases.
Version upgrades:
- cats
2.5.0
- cats-effect
2.4.1
- fs2-core
2.5.4
- pureharm-core-anomaly
0.2.0
- pureharm-core-sprout
0.2.0
New Scala versions:
- 3.0.0-RC2
Internals:
- upgrade munit-cats-effect to
1.0.1
0.1.0
Split out from pureharm as of version 0.0.7
.
Newly cross published for both Scala 2.13, and 3.0.0-RC1 on JVM and JS runtimes.
Changes:
- add dependency and aliases for
fs2-core
⚠️ Source incompatible changes ⚠️ :
- remove
Show[Throwable]
instances together withPureharmShowInstances
. Use the ones frompureharm-core
. - remove
.onErrorF
syntax forF[_]: Sync
- remove
Attempt
andIO
companion object ops extensions. Use postfix equivalent cats syntax instead. e.g.(??? : Throwable).raiseError[F, A]
Dependencies:
- cats
2.4.2
- cats-effect
2.3.3
- fs2-core
2.5.3
Internals:
- replace scalatest w/ munit-cats-effect