Skip to content

v2.0.0-Alpha1

Pre-release
Pre-release

Choose a tag to compare

@oldratlee oldratlee released this 12 Aug 10:28

shifu

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

☘️ Features

  • feat: add CfIterableUtils 🚿 (#341) by @linzee1
  • feat(Cffu/CffuFactory): add Iterable variant methods 🚿
  • feat: add CfParallelUtils 🎏
  • feat(MCffu/CffuFactory): add par* methods 🎏
  • feat: move The tuple variant methods to CfTupleUtils from CfUtils 🧤
  • feat(Cffu/CffuFactory): move The tuple variant methods to TupleOps inner class 🧤
  • feat(Cffu/MCffu): add conversation methods between Cffu and MCffu 🔁
  • feat(CffuFactory): add methods related with MCffu

related to cffu v1:

  • ⚠️ remove CffuFactory#cffuListToArray method because provided IterableOps 🚿🧹
  • ⚠️ remove CFU#completableFutureListToArray method because provided CfIterableUtils 🧹
  • ⚠️ remove CFU#toCompletableFutureArray/CffuFactory#toCffuArray methods, simplify API 🌱🧹

🛠 Refactor/Improvements

  • move toArray util methods to CommonUtils
  • refactor: move executor parameter to last, consistent with CompletableFuture 🪑
  • refactor(CfIterableUtils): simplify toArray internal method

🧪 Tests

  • test(Cffu/CffuFactory): add test for Iterable variant methods 🚿
  • test: add test cases in CfIterableUtilsTest 🚿
  • test: add CfParallelUtilsTest 🎏
  • test(MCffu/CffuFactory): add test cases for par* methods 🎏

🚜 Build/Chore

  • chore(deps): bump actions/checkout from 4 to 5 (#364)

🔌 API Docs

cffu Java API doc: https://foldright.io/api-docs/cffu2/2.0.0-Alpha1/

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.0.0-Alpha1</version>
</dependency>

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

<dependency>
  <groupId>io.foldright</groupId>
  <artifactId>cffu2-ttl-executor-wrapper</artifactId>
  <version>2.0.0-Alpha1</version>
  <scope>runtime</scope>
</dependency>