Skip to content

v1.0.0-Alpha13 🦝 🎁

Compare
Choose a tag to compare
@oldratlee oldratlee released this 06 Jul 17:01
· 33 commits to main since this release

shifu

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

  • provide the logging config to report uncaught exception, delegate logging to SLF4J 🌳 (#188 by new cffu team member @huhaosumail)
  • implement unwrapCfException method 🎁 (#187 by new cffu team member @huhaosumail)

🛠 Refactor/Improvements

  • ⚠️ rename *OfFastFail methods to *FastFailOf, consistent with other methods 🌟
  • rename first parameter to cfThis from cf for the instance methods in CompletableFutureUtils
  • improve NPE message for methods with this/other parameters
  • keep the runtime type(including minimal-stage) of cfThis for instance methods(thenBoth*/thenEither*) in CompletableFutureUtils 🧬
  • Cffu.newIncompleteFuture() should return non-minimal-stage, ensure type safety of Cffu 🦺 🧬

📚 Documentation

  • improve README, add more introduction of cffu 📚

🚜 Build/Chore

  • upgrade dependencies/plugins 🛠️
  • upgrade maven wrapper to 3.9.8 🪶

🔌 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-Alpha13</version>
</dependency>

cffu Kotlin support lib:

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

cffu bom:

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