Skip to content

Releases: foldright/cffu

v2.1.0-Alpha5 🦝 🏃

27 Dec 15:56

Choose a tag to compare

Pre-release

shifu

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

☘️ Features

  • featConcurrencyLimitExecutor: add concurrency-limiting logic for synchronous tasks 🏃
  • feat(ConcurrencyLimitExecutor): add queued/discard task report when being finalized ⚠️
  • make Tuple classes Serializable 💾
    • update related inspection profiles

🛠 Refactor/Improvements

  • refactor(ConcurrencyLimitExecutor): check for InterruptedException from Runnable.run, as other JVM languages may throw InterruptedException 💣
  • refactor(ConcurrencyLimitExecutor): simplify logging condition for concurrency/sync run warnings, improve logging message 🚦🕵

🧪 Tests

  • test(ConcurrencyLimitExecutor): add test cases 🧪

📚 Documentation

  • docs: improve code comments 📝
  • docs: replace "aka" with "i.e." for clarity and consistency 📚

🚜 Build/Chore

  • chore(deps): upgrade dependencies/plugins 📦

🔌 API Docs

cffu Java API doc: https://foldright.io/api-docs/cffu2/2.1.0-Alpha5/

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.1.0-Alpha5</version>
</dependency>

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

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

v2.0.7 🦝

26 Dec 02:40

Choose a tag to compare

shifu

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

☘️ Features

  • make Tuple classes Serializable 💾
    • update related inspection profiles

🚜 Build/Chore

  • chore(deps): upgrade dependencies/plugins 📦

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.0.7</version>
</dependency>

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

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

v2.1.0-Alpha4 🦝 🧵

20 Dec 17:46

Choose a tag to compare

Pre-release

shifu

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

☘️ Features

  • feat: support sequential executor 🧵
  • feat(ConcurrencyLimitExecutor): add toString method 🔤
  • feat: add CffuConfiguration for programmatic exception logging format configuration ⚙️

🛠 Refactor/Improvements

  • ConcurrencyLimitExecutor fix and Improvements 🧵
    • screen input executor; check parameters
    • always add input command to queue first
      • avoid losing the input command if the base executor discards the submitted task by ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
      • simplify code
    • accumulate interrupted status of the thread while executing tasks in base executor and returned to base executor
    • detect exceeding max concurrency and log warning 📝
    • overloads method toString of submitted task for debugging and monitoring 👀
  • fix: correct _thenMRunAsyncAndForget method visibility to package-private 👓🐞

🧪 Tests

  • test: add test cases for ConcurrencyLimitExecutor

📚 Documentation

  • docs: update cffu version to released v2.0.6 📚

🚜 Build/Chore

  • chore(deps): upgrade dependencies/plugins 📦
  • chore: upgrade maven wrapper to 3.9.12 🪶

🔌 API Docs

cffu Java API doc: https://foldright.io/api-docs/cffu2/2.1.0-Alpha4/

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.1.0-Alpha4</version>
</dependency>

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

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

v2.1.0-Alpha3 🦝 🚀

05 Dec 18:45

Choose a tag to compare

Pre-release

shifu

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

☘️ Features

  • feat: support concurrency limit executor 🧵 🚀

🧪 Tests

  • test: add ExecutorStudyTests 🧵
  • add study demo concurrency limit executor implementations 🧵

📚 Documentation

  • docs: add @since 2.1.0 for the new API 🔌

🔌 API Docs

cffu Java API doc: https://foldright.io/api-docs/cffu2/2.1.0-Alpha3/

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.1.0-Alpha3</version>
</dependency>

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

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

v2.1.0-Alpha2 🦝 📝

04 Dec 16:53

Choose a tag to compare

Pre-release

shifu

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

🛠 Refactor/Improvements

  • refactor: remove @ApiStatus.Internal annotation from BaseCffu 📝
    • avoid inspection warning from IntelliJ IDEA when using the methods of BaseCffu
  • refactor: update @CheckReturnValue

🧪 Tests

  • test(LLCF): test IS_JAVA*_PLUS

📚 Documentation

  • docs: adjust Javadoc and section comments 📚

🚜 Build/Chore

  • chore(deps): unset optional for QA libs, more code reading friendly for the dependent projects 👓
  • chore(deps): upgrade dependencies/plugins 📦
  • chore(CI): enable "ENFORCE release pom version" if on git tag or hotfix branch
  • chore(CI): update revapi config to fix CI failure of API checker 👀

🔌 API Docs

cffu Java API doc: https://foldright.io/api-docs/cffu2/2.1.0-Alpha2/

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.1.0-Alpha2</version>
</dependency>

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

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

v2.0.6 🦝 👓

03 Dec 14:35

Choose a tag to compare

shifu

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

📚 Documentation

  • docs: adjust Javadoc and section comments 📚

🚜 Build/Chore

  • chore(deps): unset optional for QA libs, more code reading friendly for the dependent projects 👓
  • chore(deps): upgrade dependencies/plugins 📦
  • chore(CI): update revapi config to fix CI failure of API checker 👀
  • chore(CI): enable "ENFORCE release pom version" if on git tag or hotfix branch
  • chore(build): enable semantic versioning for revapi-maven-plugin

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.0.6</version>
</dependency>

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

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

v2.0.5 🦝 📝

30 Nov 13:16

Choose a tag to compare

shifu

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

🛠 Refactor/Improvements

  • refactor: remove @ApiStatus.Internal annotation from BaseCffu 📝
    • avoid inspection warning from IntelliJ IDEA when using the methods of BaseCffu

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.0.5</version>
</dependency>

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

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

v2.1.0-Alpha1: support `*AndForget` methods 🦝 📨

29 Nov 19:37

Choose a tag to compare

shifu

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

☘️ Features

  • feat: add *AndForget methods 📨

🚜 Build/Chore

  • chore(CI): update revapi config, ignore changes to QA annotations 👀
  • chore(build): enable semantic versioning for revapi-maven-plugin
  • chore(deps): upgrade dependencies/plugins
  • chore(build): update bump version scripts
  • chore(build): remove unneeded test-jar config

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.1.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.1.0-Alpha1</version>
  <scope>runtime</scope>
</dependency>

v2.0.4 🦝 💣

20 Nov 04:08

Choose a tag to compare

shifu

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

🛠 Refactor/Improvements

  • fix: handle InterruptedException in fromSyncCall method 💣
  • refactor: rename var name of exception 🔠
  • refactor: add static import for Thread.currentThread method

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.0.4</version>
</dependency>

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

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

v2.0.3 🦝 🛠

08 Nov 07:54

Choose a tag to compare

shifu

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

🛠 Refactor/Improvements

  • fix(Cffu): add missing cffuScreened(executor) for executor parameters 🔧

📚 Documentation

  • docs: improve wording of README and Javadoc 💕📚

🚜 Build/Chore

  • chore(CI): update build scripts
  • chore(deps): upgrade dependencies/plugins 📦

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu2</artifactId>
    <version>2.0.3</version>
</dependency>

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

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