tobia80 / zio-entity

Zio-Entity, a distributed, high performance, functional event sourcing library
112 stars 10 forks source link

Upgrade to ZIO 2 #118

Open alexvanolst opened 2 years ago

alexvanolst commented 2 years ago

ZIO is at RC-1 now https://github.com/zio/zio/releases/tag/v2.0.0-RC1

There exists a ScalaFix rule that will cover the bulk of the simple API changes: https://github.com/zio/zio/blob/series/2.x/scalafix/rules/src/main/scala/fix/Zio2Upgrade.scala We highly recommend starting with that, and then working through any remaining compilation errors :)

To assist with the rest of the migration, we have created this guide: https://zio.dev/next/howto/migrate/zio-2.x-migration-guide/

alexvanolst commented 2 years ago

I've started working on this here: https://github.com/alexvanolst/zio-entity/tree/zio2

Currently blocked waiting for a release of zio-interop-cats for cats 2.x. Once there is a release with https://github.com/zio/interop-cats/pull/475 merged I will pick up on this again