Skip to content

v1.0.0-Alpha22 🦝 🤖

Compare
Choose a tag to compare
@oldratlee oldratlee released this 07 Sep 16:40
· 62 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"~ 😆

🛠 Refactor/Improvements

  • perf: do NOT reuse incomplete CF instance in method CompletableFutureUtils#fill0, less instance dependencies more GC friendly 🤖 (by @linzee1)
  • improve QA annotations for methods allOf 🍬
  • rename internal methods to conform to conventions:
    • allSuccessTupleOf0 -> f_allSuccessTupleOf0
    • mostSuccessTupleOf0 -> f_mostSuccessTupleOf0
    • f_toNonMinCf0 -> toNonMinCf0
    • f_toNonMinCfArray0 -> toNonMinCfArray0
  • add poison object of type CffuFactory, and use it in CffuExtensions.kt ☠️

📚 Documentation

  • add CfDelayDysfunctionDemo.java 👨‍🏫

🧪 Tests

  • adjust wait time for more stable testing 🐘
  • update thread count/pool size, more stable

🚜 Build/Chore

  • upgrade dependencies/plugins 🛠️
  • use overview property of maven javadoc plugin instead of configuration

🔌 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-Alpha22</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-Alpha22</version>
  <scope>runtime</scope>
</dependency>