Skip to content

v1.0.0-Alpha24 🦝 👓

Compare
Choose a tag to compare
@oldratlee oldratlee released this 21 Sep 17:40
· 24 commits to main since this release

shifu

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 of if statement when more readable and concise 👓
  • improve instance method defaultExecutor
    • rename argument to cfThis
    • ⚠️ change exception to UnsupportedOperationException from IllegalArgumentException
    • add null check for argument
    • revise its javadoc

🧪 Tests

  • apply* methods should use Function 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

🔌 API Doc

🍪 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 Kotlin support lib:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu-kotlin</artifactId>
    <version>1.0.0-Alpha24</version>
</dependency>

cffu bom:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu-bom</artifactId>
    <version>1.0.0-Alpha24</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-Alpha24</version>
  <scope>runtime</scope>
</dependency>