v1.0.0-Alpha2 🦝 🧬
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"~ 😆
☘️ Features
- add new
CompletableFutureUtils.allOf()
method ⛓- with more generic parameter type(
CompletionStage
) comparing toCompletableFuture.allOf()
method 🧬
- with more generic parameter type(
🛠 Refactor/Improvements
⚠️ renameasCffu()
methods totoCffu()
🦝- so the naming style is consistant with
CompletionStage#toCompletableFuture()
- so the naming style is consistant with
⚠️ move static util methodstoCompletableFutureArray()
/completableFutureListToArray()
to classCompletableFutureUtils
fromCffuFactory
- extract private method
CompletableFutureUtils#createResultSetterCfs()
🔧 ✨ - use private method
CompletableFutureUtils#requireCfsAndEleNonNull()
to capture varargs instead of hand rewriting the varargs 🔧 ✨ - static import
Function.identity
function 💅
🔌 API Doc
cffu Java API doc
: https://foldright.io/cffu/apidocs/v1.0.0-Alpha2/index.htmlcffu Kotlin API doc
: https://foldright.io/cffu/dokka/v1.0.0-Alpha2/index.html
🍪 Maven dependency
cffu
core lib, including cffu
enhancement for Java CompletableFuture
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu</artifactId>
<version>1.0.0-Alpha2</version>
</dependency>
cffu
Kotlin
support lib:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-kotlin</artifactId>
<version>1.0.0-Alpha2</version>
</dependency>
cffu bom
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-bom</artifactId>
<version>1.0.0-Alpha2</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-Alpha2</version>
<scope>runtime</scope>
</dependency>