Skip to content

v1.0.0-Alpha16 🦝 🚦

Compare
Choose a tag to compare
@oldratlee oldratlee released this 27 Jul 16:47
· 89 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"~ 😆


Welcome new cffu team member @linzee1 👏 💕

☘️ Features

  • ⚠️ add interruption parameter and revise javadoc to method ListenableFutureUtils#toCompletableFuture 🚦(by @linzee1)
    • and fix ListenableFutureUtils#toCompletableFuture cancellation propagation
  • add resetDefaultExecutor method to CffuFactory/Cffu 🏭

🛠 Refactor/Improvements

  • ⚠️ remove convenient util methods cffuArrayUnwrap for uncommon/dangerous Cffu#cffuUnwrap method 🧹
  • reorder Cffu.cffuUnwrap and revise its javadoc
  • add QA annotations(@Contract/@Nuallable) to method CompletableFutureUtils.unwrapCfException
  • uniform local var name

🚜 Build/Chore

  • upgrade dependencies/plugins 🛠️

🔌 API Doc

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

cffu Kotlin support lib:

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

cffu bom:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu-bom</artifactId>
    <version>1.0.0-Alpha16</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-Alpha16</version>
  <scope>runtime</scope>
</dependency>