v4.0.0-RC2
Pre-release
Pre-release
What's Changed
- V4 🚀 by @cb372 @AlejandroBudy @ccantarero91 in #549 (Please see that PR for a full list of PRs)
- Fix the installation of Jekyll in CI by @cb372 in #553
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