Skip to content

v4.0.0

Latest
Compare
Choose a tag to compare
@cb372 cb372 released this 15 Jan 10:41
· 1 commit to main since this release
0ff6bd4

This is a new major version of cats-retry, providing new features and a fresh API design.

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.
  • Adaptation. 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

PRs

Full Changelog: v3.1.1...v4.0.0