cats-effect
cats-effect copied to clipboard
Update sbt-typelevel to 0.5.0-M4 in series/3.x
Updates org.typelevel:sbt-typelevel from 0.5.0-M2 to 0.5.0-M4. GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf
file.
Have a fantastic day writing Scala!
Adjust future updates
Add this to your .scala-steward.conf
file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "sbt-typelevel" } ]
Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
pullRequests = { frequency = "@monthly" },
dependency = { groupId = "org.typelevel", artifactId = "sbt-typelevel" }
}]
labels: sbt-plugin-update, early-semver-pre-release, semver-spec-pre-release, commit-count:n:2
@armanbilge, fyi:
warning: tutorial.md:236:9: a type was inferred to be `Any`; this may indicate a programming error.
(IO(in.close()), IO(out.close()))
^
https://github.com/typelevel/cats-effect/blob/e116186a3d008be12f9e814ce77f491e469352f7/docs/tutorial.md?plain=1#L235-L238
can be fixed by moving .void
before .handleErrorWith
up in the chain:
case (in, out) => // Stage 3: Freeing resources
(IO(in.close()), IO(out.close()))
.tupled // From (IO[Unit], IO[Unit]) to IO[(Unit, Unit)]
.void.handleErrorWith(_ => IO.unit)
@satorg thank you so much! I stared at that for a stupid amount of time this morning and gave up.
Superseded by #3130.