4.0.0-M1
First milestone release for series 4.x, which will build off cats-effect 3 and fs2 3. This release uses ce 3.0.0-RC2
and fs2 3.0.0-M9
.
API changes:
-
create a
Resource[F, RabbitClient[F]]
withRabbitClient.resource(...)
, which creates aDispatcher[F]
to be used by the underlying client implementation. If the user wants to declare their ownDispatcher
to be used, theapply
method onRabbitClient
now takes adispatcher: Dispatcher[F]
(this method still returnsF[RabbitClient[F]
). #495 -
A user-defined thread factory can now be passed to the connection factory used in
ConnectionResource
in theRabbitClient
using an argument inRabbitClient.apply
-threadFactory: Option[F[ThreadFactory]]
. (This is missing from theresource
method, and will be fixed in the next milestone release. ) - #498 -
Configuration in
Fs2RabbitConfig
that represent intervals now have typeFiniteDuration
rather thanInt
- #499
There is a good chance I've missed some updates, but the git history is very clogged with scala-steward (and @agustafson doing some nice work with CI!)