Skip to content

v1.0.0-Alpha30 🦝 🪑

Latest
Compare
Choose a tag to compare
@oldratlee oldratlee released this 30 Nov 18:47
· 8 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

  • ⚠️ adjust executor parameter position, follow the consistent rules: 🪑
    • as first parameter(except cfThis parameter) for varargs methods
      • mSupplyAllSuccessAsync
      • mSupplyMostSuccessAsync
      • mostSuccessResultsOf
      • thenMApplyAllSuccessAsync
      • thenMApplyMostSuccessAsync
    • as last parameter for non-varargs methods
      • cffuOrTimeout
      • cffuCompleteOnTimeout
  • change default value of cffu.uncaught.exception.report to full; fail LOUDLY 📢
  • refactor(CffuTtlExecutorWrapperProvider): skip wrapping executor if it is marked with TtlEnhanced

📚 Documentation

  • add cffuTimeout* guide in README

🧪 Tests

  • add CheckExecutorTests 🧵
  • move the aspect test to individual package 📦

🚜 Build/Chore

  • upgrade dependencies/plugins 🛠️

🔌 API Doc

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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