v1.0.0-Alpha25 🦝 ⚛️
·
103 commits
to main
since this release
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"~ 😆
☘️ Features
- [
cffu-kotlin
] add new kotlin extension methods 🍩CompletableFutureExtensions.kt
M*
extension methodsallSuccess*
extension methodsdefaultExecutor
extension method
CffuExtensions.kt
M*
extension methodsallSuccess*
extension methods
🛠 Refactor/Improvements
⚠️ rename methods: use termfail fast
instead offast fail
⚛️ (by @linzee1)⚠️ renameTuple-Multi-Actions(tupleM*)
methods 🌟- make their naming more consistant with
all*Of
methods
- make their naming more consistant with
- fix(
CFU
): convert executor forasync
operations byscreenExecutor()
, consistent withCF
🧵 - refactor(
CFU
):allResultsFastFailOf
/allResultsOf
both call internal methodallResultsOf0
, simpler and more consistent 🌟 - refactor: update generic parameters of methods 🧬
join/resultNow
methods ofCFU
- add covariance to express the only use as input
join/resultNow/orTimeout*
methods ofCompletableFutureExtensions.kt
- make
orTimeout*
generic parameters consistent withCFU
- make
- refactor(
CFU
): extract internal array util methods into fileInternalCommonUtils
🔧 - refactor(
CFU
): use static initializer instead of one-shot internal method - refactor(
CffuExtensionsTest.kt
): extract internal helper methodsresolveFac
, and add test cases 🔧
🧪 Tests
- test(
CFU
): improve test cases for write methods ofCFU
🧪 - test(
CFU
): addCheckMinStageRuntimeTypeTests
🧪- split
MinStageTestUtils.kt
fromTestUtils.kt
- split
📚 Documentation
- add
MultiplyActionsDemo
👨🏫 - revise/improve javadoc of
peek*
methods 📚 - keep api docs of
timeout*
kotlin extension methods consistent withCFU
📚 - revise README 📚
🚜 Build/Chore
- add
update_md_toc.sh
toCI
- upgraded non-LTS CI JDK to 23 from 22 🤖
- upgrade dependencies/plugins 🛠️
🔌 API Doc
cffu Java API doc
: https://foldright.io/api-docs/cffu/1.0.0-Alpha25/cffu Kotlin API doc
: https://foldright.io/api-docs/cffu-kotlin/1.0.0-Alpha25/
🍪 Maven dependencies
cffu
core lib, including cffu
enhancement for Java CompletableFuture
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu</artifactId>
<version>1.0.0-Alpha25</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-Alpha25</version>
<scope>runtime</scope>
</dependency>