Skip to content

v1.1.0 🦝 😎

Latest
Compare
Choose a tag to compare
@oldratlee oldratlee released this 15 Mar 17:53
· 5 commits to main since this release

shifu

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

☘️ Features

  • wraps the supplied Executor to Cffu/CffuFactory 🧵
  • ensure Cffu#with* methods create Cffu instances with NEW underlying cfs 🆕

🛠 Refactor/Improvements

  • make CffuFactory.defaultExecutor method returns original executor(unwrapped) 😎
    • preserve executor screening behavior of CompletableFuture(CF#screenExecutor)
  • refactor(CommonUtils): extract local var len
  • no need check TtlEnhanced type in CffuTtlExecutorWrapperProvider

🧪 Tests

  • test(LLCF): add test case for peek0 methods 🧪

📚 Documentation

  • improve wording of README and javadoc 📚 💕

🚜 Build/Chore

  • refactor bump_cffu_version.sh
    • rename var REPLACE_PATTERN -> SEARCH_PATTERN 🔠
    • use <<< foo instead of echo foo |
  • rename file check-forbidden-classes.sh -> check_forbidden_classes.sh 🧹
  • upgrade dependencies/plugins 📦

🔌 API Doc

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

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

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