Skip to content

v1.0.0-Alpha4 🦝 🎭

Compare
Choose a tag to compare
@oldratlee oldratlee released this 05 May 19:03
· 276 commits to main since this release

shifu

Note

🦝 Cffu has arrived at v1.0 Alpha series~ 🎉

  • Development will try to keep the compatibility for main API. 🐾
  • The incompatible changes are marked with ⚠️.

Welcome to try out Cffu. 💕

💗 Happy with cffu! 🦝 and be a "shifu"~ 😆

🛠 Refactor/Improvements

  • ⚠️ move toCompletableFuture extension methods to CompletableFutureExtensions.kt from CffuExtensions.kt 🍩
  • add covariance/out modifier to allTupleOf* extension methods 🧬 🍩
  • extract private helper method allTupleOf0, reduce repeat codes 🔧 ✨
  • extract local var for f_cast invocation, explicit the force type cast 🎭
  • rename parameter names of extension methods in CompletableFutureExtensions.kt 🍩

🔌 API Doc

🍪 Maven dependency

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu</artifactId>
    <version>1.0.0-Alpha4</version>
</dependency>

cffu Kotlin support lib:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu-kotlin</artifactId>
    <version>1.0.0-Alpha4</version>
</dependency>

cffu bom:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu-bom</artifactId>
    <version>1.0.0-Alpha4</version>
    <type>pom</type>
    <scope>import</scope>
</dependency>

cffu executor wrapper SPI implementation for 📌 TransmittableThreadLocal(TTL):

<dependency>
  <groupId>io.foldright</groupId>
  <artifactId>cffu-ttl-executor-wrapper</artifactId>
  <version>1.0.0-Alpha4</version>
  <scope>runtime</scope>
</dependency>