v1.0.0-Alpha12 🦝 🌟
·
243 commits
to main
since this release
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 @huhaosumail 👏 💕
Thanks for your excellent works! 🚀
☘️ Features
- implement the
M*
methods(by newcffu
team member @huhaosumail) ✨ 👯tupleMApplyMostSuccessAsync
/tupleMSupplyMostSuccessAsync
/thenTupleMApplyMostSuccessAsync
inCompletableFutureUtils
Multi-Actions(M*)
/Tuple-Multi-Actions(tupleM*)
inCffuFactory
Then-Multi-Actions(thenM*)
/thenTupleMApplyMostSuccessAsync
inCffu
🛠 Refactor/Improvements
⚠️ renaming methods, treatmostSuccess
/anySuccess
as one concept/phrase 🌟- refactor/cleanup methods: 🔧 🧹
- rename parameter to
cfThis
fromcf
for the instance methods inCompletableFutureUtils
⚠️ change thecfThis
type toCompletableFuture
fromCompletionStage
forthenM*/thenBoth*/thenEither*
methods inCompletableFutureUtils
- remove the
fast-fail/any-success
method reference javadoc; too tedious, should javadoc at the package or classes
- rename parameter to
- fix
thenTupleMApply*
methods: 🐞 (by @huhaosumail)- miss the use of value of
Function
- wrong
fast fail
argument for fast-fail-methods
- miss the use of value of
- rename internal help methods
toCf*
, reflect the safety semantics correctly; improve javadoc of related methods 🦺 - change internal helper methods
allTupleOf0/toCfArray0
signature, place the varargs/array parameter last 🪑 - rename internal
wrapActions
method towrapRunnables
, consistent with otherwrap*
methods
🚜 Build/Chore
- add
IntelliJ IDEA
project dict 📖 - upgrade dependencies/plugins 🛠️
🔌 API Doc
cffu Java API doc
: https://foldright.io/api-docs/cffu/1.0.0-Alpha12/cffu Kotlin API doc
: https://foldright.io/api-docs/cffu-kotlin/1.0.0-Alpha12/
🍪 Maven dependencies
cffu
core lib, including cffu
enhancement for Java CompletableFuture
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu</artifactId>
<version>1.0.0-Alpha12</version>
</dependency>
cffu
Kotlin
support lib:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-kotlin</artifactId>
<version>1.0.0-Alpha12</version>
</dependency>
cffu bom
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-bom</artifactId>
<version>1.0.0-Alpha12</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-Alpha12</version>
<scope>runtime</scope>
</dependency>