v0.9.9 🦝
Note
💗 Happy with cffu
! 🦝 and be a "shifu"~ 😆
☘️ Features
- add
combineFastFail
extension methods forCompletableFuture
🍩 - add
covariance
to methods ofCffuFactory
/CompletableFutureUtils
/CompletableFutureExtensions
🧬 - rename methods of
CompletableFutureUtils
/CffuFactory
/Cffu
/CompletableFutureExtensions
🍬allOfWithResult*
methods ->allResultsOf*
methods- remove
anyOfWithType*
methods,covariant
anyof*
methods is enough 🎉 - remove prefix
cffu
CompletableFutureUtils#cffuState
->state
,cffuJoin
->join
Cffu#cffuState#cffuJoin
->join
CffuFactory#cffuAllOf*
->allResultsOf*
- ...
🛠 Refactor/Improvements
- use normal array list instead of immutable(
Collections#emptyList
) or fixed-size(Arrays#asList
) list ⛑️ - simplify the type parameter of
CffuFactory.dummy()
⌨️ - fix wrong element index in exception msg ℹ️
📚 Documentation
- improve user guide/javadoc 📚
- upgrade java link of javadoc to java 21
🚜 Build/Chore
- check
pom version
format ✅ - check bytecode version of dependencies ✅
- add bytecode version verification plugin
- update CI jdk: use java 21, add java 22 ☕️
- use jdk 21 as default build jdk ☕️
- upgrade
kotlin
support to1.6+
🍩 - update
.gitignore
🫷 - upgrade dependencies/plugins 🛠️
- upgrade maven wrapper to
3.9.6
🪶
🔌 API Doc
cffu Java API doc
: https://foldright.io/cffu/apidocs/0.9.9/index.htmlcffu Kotlin API doc
: https://foldright.io/cffu/dokka/0.9.9/index.html
🍪 Maven dependency
cffu
core lib, including cffu
enhancement for Java CompletableFuture
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu</artifactId>
<version>0.9.9</version>
</dependency>
cffu
Kotlin
support lib:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-kotlin</artifactId>
<version>0.9.9</version>
</dependency>
cffu bom
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-bom</artifactId>
<version>0.9.9</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>0.9.9</version>
<scope>runtime</scope>
</dependency>