0.5.0 - SLF4J 2.x.x support, bumped dependencies
What's Changed
The highlight here is the woof-slf4j-2
module. With this comes a minor breaking change. Previously, the slf4j wrapper would dispatch the logging effect using IO
directly, i.e. no Dispatcher[F]
needed. With the new implementation, most of the moving parts have been abstracted, but the user must supply a Dispatcher[F]
when calling .registerSlf4j
:
import org.legogroup.woof.slf4j.*
+import cats.effect.std.Dispatcher
val mainSlf4j: IO[Unit] =
+ Dispatcher.sequential[IO].use{ implicit dispatcher =>
for
woofLogger <- DefaultLogger.makeIo(consoleOutput)
_ <- woofLogger.registerSlf4j
_ <- programWithSlf4j
yield ()
+ }
- SLF4J-2: Add slf4j-2 module with ServiceProvider (Closes #107) by @hejfelix in #136
- Upgrade cats-core from 2.8.0 to 2.9.0 by @scala-steward in #105
- Upgrade sbt, sbt-dependency-tree from 1.7.1 to 1.7.3 by @scala-steward in #102
- Upgrade scala3-library, ... from 3.2.0 to 3.2.1 by @scala-steward in #100
- Upgrade sbt-scalajs, scalajs-library_2.13, ... from 1.10.1 to 1.11.0 by @scala-steward in #95
- Upgrade sbt-scalafmt from 2.4.6 to 2.5.0 by @scala-steward in #104
- Upgrade sbt-mdoc from 2.3.3 to 2.3.6 by @scala-steward in #97
- Upgrade cats-effect, cats-effect-testkit from 3.3.14 to 3.4.0 by @scala-steward in #106
- Upgrade scalafmt-core from 3.5.9 to 3.6.1 by @scala-steward in #103
- Upgrade munit, munit-scalacheck from 1.0.0-M6 to 1.0.0-M7 by @scala-steward in #108
- Upgrade cats-effect, cats-effect-testkit from 3.4.0 to 3.4.1 by @scala-steward in #110
- Upgrade sbt-scalajs, scalajs-library_2.13, ... from 1.11.0 to 1.12.0 by @scala-steward in #111
- Upgrade nscplugin, sbt-scala-native, ... from 0.4.7 to 0.4.9 by @scala-steward in #112
- Upgrade scala-java-time-tzdb from 2.4.0 to 2.5.0 by @scala-steward in #114
- Upgrade cats-effect, cats-effect-testkit from 3.4.1 to 3.4.3 by @scala-steward in #117
- Upgrade cats-effect, cats-effect-testkit from 3.4.3 to 3.4.4 by @scala-steward in #118
- Upgrade http4s-core from 0.23.16 to 0.23.17 by @scala-steward in #119
- Upgrade sbt, sbt-dependency-tree from 1.8.0 to 1.8.2 by @scala-steward in #120
- Upgrade cats-effect, cats-effect-testkit from 3.4.4 to 3.4.5 by @scala-steward in #121
- Upgrade scalafmt-core from 3.6.1 to 3.7.0 by @scala-steward in #123
- Upgrade sbt-scalajs, scalajs-library_2.13, ... from 1.12.0 to 1.13.0 by @scala-steward in #125
- Upgrade http4s-core from 0.23.17 to 0.23.18 by @scala-steward in #122
- Upgrade scalafmt-core from 3.7.0 to 3.7.1 by @scala-steward in #124
- Upgrade cats-effect, cats-effect-testkit from 3.4.5 to 3.4.6 by @scala-steward in #129
- Upgrade circe-parser from 0.14.3 to 0.14.5 by @scala-steward in #135
- Upgrade nscplugin, sbt-scala-native, ... from 0.4.9 to 0.4.10 by @scala-steward in #127
- Upgrade scala3-library, ... from 3.2.1 to 3.2.2 by @scala-steward in #126
- Upgrade cats-effect, cats-effect-testkit from 3.4.6 to 3.4.8 by @scala-steward in #134
- Upgrade scalafmt-core from 3.7.1 to 3.7.2 by @scala-steward in #133
- Upgrade sbt-mdoc from 2.3.6 to 2.3.7 by @scala-steward in #128
Full Changelog: v0.4.7...v0.5.0