Skip to content

Commit

Permalink
Migration guide fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jendakol committed Feb 26, 2020
1 parent be434d1 commit 1a8dd68
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Migration-6_1-8.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Java API was **COMPLETELY REMOVED** and won't be supported anymore. Checkout ver
* Init methods return [`cats.effect.Resource`](https://typelevel.org/cats-effect/datatypes/resource.html) for easy resource management.
* Declaration methods return `F[Unit]`.
1. Library could be configured with case classes - this is the default way. See [`RabbitMQConnection.make`](core/src/main/scala/com/avast/clients/rabbitmq/RabbitMQConnection.scala#L73).
1. Configuration from [Lightbend `Config`](https://github.com/lightbend/config) was separated to [`pureconfig`](pureconfig) module. It's
behavior remained backward compatible with these exceptions:
1. Configuration from [Lightbend `Config`](https://github.com/lightbend/config) was separated to [`pureconfig`](pureconfig) module. Please read
the docs. It's behavior remained backward compatible with these exceptions:
* SSL context is now passed explicitly and is **ignored** in `Config` (see more below).
* **You have to use `import com.avast.clients.rabbitmq.pureconfig._` to be able to use `fromConfig` method!**
* **Required structure of config has been changed** - all consumers must be in `consumers` block, producers in `producers` and additional
Expand All @@ -26,4 +26,5 @@ SSL without custom (key|trust)store; it's now disabled by default (`None`)!

---

The client now uses circe 0.11, cats 2+ and cats-effect 2+ (doesn't use Monix anymore).
The client now uses circe 0.13 (only [extras-circe module](extras-circe)), cactus 0.17 (only [extras-cactus module](extras-cactus)),
cats 2+ and cats-effect 2+ - it doesn't use Monix anymore!.

0 comments on commit 1a8dd68

Please sign in to comment.