Skip to content

v4.0.0-RC2

Pre-release
Pre-release
Compare
Choose a tag to compare
@cb372 cb372 released this 09 Jan 13:57
· 10 commits to main since this release
15022ad

What's Changed

Major user-facing changes

The major changes in v4 are as follows:

  • Scala 3. The library is now published for Scala 3 only.
  • Cats Effect. The library is now more strongly coupled to Cats Effect.
  • Adaption. cats-retry now supports adaptation in the face of errors or failures.
  • Dynamic retry policies. Retry policies are now more powerful.
  • API redesign. The API has been completely rewritten to provide more power and flexibility with fewer combinators.

Migrating from cats-retry v3

cats-retry v4 is not binary-compatible or source-compatible with v3, so you will need to make some changes to your source code.

Please see the migration guide for detailed instructions.

Behind the scenes

  • The codebase has been ported to Scala 3 syntax, getting rid of package objects, updating the syntactic sugar to use Scala 3 extension methods, switching to Scala 3 enums, etc
  • The tests have been ported from ScalaTest to MUnit, and many test suites have been completely rewritten
  • All the dependencies and sbt plugins have been upgraded

Full Changelog: v4.0.0-RC1...v4.0.0-RC2