v1.0.0-Alpha24 🦝 👓
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
- use
conditional expression
instead ofif statement
when more readable and concise 👓 - improve instance method
defaultExecutor
- rename argument to
cfThis
⚠️ change exception toUnsupportedOperationException
fromIllegalArgumentException
- add null check for argument
- revise its javadoc
- rename argument to
🧪 Tests
apply*
methods should useFunction
argument- simplify test codes by
kotlin delegation
📚 Documentation
- revise javadoc of
tuple*
/allSuccess*
/mostSuccess*
methods: 📚- simplify
tuple*
methods, just refer to their non-tuple methods - add "indistinguishable" note for
allSuccess*
/mostSuccess*
methods
- simplify
🔌 API Doc
cffu Java API doc
: https://foldright.io/api-docs/cffu/1.0.0-Alpha24/
🍪 Maven dependencies
cffu
core lib, including cffu
enhancement for Java CompletableFuture
:
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu</artifactId>
<version>1.0.0-Alpha24</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-Alpha24</version>
<scope>runtime</scope>
</dependency>