Note
🦝 Cffu
has arrived at v1.0 Alpha
series~ 🎉
- Development tries 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
⚠️ adjustexecutor
parameter position, follow the consistent rules: 🪑- as first parameter(except
cfThis
parameter) for varargs methodsmSupplyAllSuccessAsync
mSupplyMostSuccessAsync
mostSuccessResultsOf
thenMApplyAllSuccessAsync
thenMApplyMostSuccessAsync
- as last parameter for non-varargs methods
cffuOrTimeout
cffuCompleteOnTimeout
- as first parameter(except
- change default value of
cffu.uncaught.exception.report
tofull
; fail LOUDLY 📢 - refactor(
CffuTtlExecutorWrapperProvider
): skip wrapping executor if it is marked withTtlEnhanced
📚 Documentation
- add
cffuTimeout*
guide inREADME
🧪 Tests
- add
CheckExecutorTests
🧵 - move the aspect test to individual package 📦
🚜 Build/Chore
- upgrade dependencies/plugins 🛠️
🔌 API Doc
cffu Java API doc
: https://foldright.io/api-docs/cffu/1.0.0-Alpha30/
🍪 Maven dependencies
cffu
core lib, including cffu
enhancement for Java CompletableFuture
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu</artifactId>
<version>1.0.0-Alpha30</version>
</dependency>
cffu executor wrapper SPI implementation
for 📌 TransmittableThreadLocal(TTL)
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-ttl-executor-wrapper</artifactId>
<version>1.0.0-Alpha30</version>
<scope>runtime</scope>
</dependency>