Skip to content

v1.0.2 🦝 🦺

Compare
Choose a tag to compare
@oldratlee oldratlee released this 09 Feb 16:02
· 17 commits to main since this release

shifu

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

🛠 Refactor/Improvements

  • optimize memory usage in mostSuccessOf* methods 📝
    • does not retain input cfs
    • does not retain unneeded exception instances
  • improve CFU#getSuccessNow to guarantee no CancellationException/CompletionException are thrown 🦺
  • use LLCF#peek* method instead of whenComplete/exceptionally, more reliable codes 🦺
  • add missing check(ex != e) for addSuppressed invocation in LLCF#peek* methods, avoid IllegalArgumentException(SELF_SUPPRESSION_MESSAGE) 💣
  • rename parameter names 🔠

🚜 Build/Chore

  • add check-forbidden-classes.sh 🧹

🔌 API Doc

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

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

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