Skip to content

v1.1.10

Choose a tag to compare

@oldratlee oldratlee released this 04 Aug 16:55

shifu

💗 Happy with cffu! 🦝 and be a "shifu"~ 😆

☘️ Features

  • add method CompletableFutureUtils.fromSyncCall: Returns a new CompletableFuture that encapsulates the execution of synchronous logic 📩
    • By wrapping synchronous code in a CompletableFuture, exceptions can be handled consistently within the CompletableFuture pipeline, eliminating the need to manage separate exceptional paths both inside and outside the flow.

🛠 Refactor/Improvements

  • invert if condition and rename local var of method LLCF.relayAsync0 🔨

📚 Documentation

  • improve javadoc of LLCF.relayAsync0 📚

🔌 API Docs

cffu Java API doc: https://foldright.io/api-docs/cffu/1.1.10/

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu</artifactId>
    <version>1.1.10</version>
</dependency>

cffu executor wrapper SPI implementation for 📌 TransmittableThreadLocal(TTL):

<dependency>
  <groupId>io.foldright</groupId>
  <artifactId>cffu-ttl-executor-wrapper</artifactId>
  <version>1.1.10</version>
  <scope>runtime</scope>
</dependency>