Skip to content

Releases: foldright/cffu

v1.1.5

20 Jul 17:21

Choose a tag to compare

shifu

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

☘️ Features

  • exception report safety: exception handling methods of Cffu(catching/exceptionallyCompose/handle/...) do not swallow exceptions 💣
  • add new LLCF methods: safeAddSuppressedEx/nonExSwallowedFunction/nonExSwallowedBiFunction/nonExSwallowedBiConsumer

🛠 Refactor/Improvements

  • move containsInArray to CommonUtils

🚜 Build/Chore

  • upgrade dependencies/plugins 📦

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

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

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

v1.1.4

18 Jul 10:07

Choose a tag to compare

shifu

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

🛠 Refactor/Improvements

  • improve(LLCF/safePeekAction): call addSuppressed on unwrapCfException(e) to avoid lose exception in case unwrapped 💥
  • use specialized "generic parameter" for method CFU#fill0

🚜 Build/Chore

  • upgrade dependencies/plugins 📦

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

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

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

v1.1.3 🦝 📚

22 Apr 05:33

Choose a tag to compare

shifu

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

📚 Documentation

  • improve wording of README and javadoc 📚 💕

🚜 Build/Chore

  • chore(deps): bump com.google.guava:guava from 33.4.7-jre to 33.4.8-jre (#326)

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

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

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

v1.1.2 🦝 🔣

12 Apr 13:31

Choose a tag to compare

shifu

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

🛠 Refactor/Improvements

  • refactor(ExceptionLogger): simplify regex 🔣

📚 Documentation

  • improve wording of README and javadoc 📚 💕

💅 Style

  • small adjust of line breaks

🚜 Build/Chore

  • upgrade dependencies/plugins 📦

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

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

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

v1.1.1 🦝 🎶

05 Apr 15:03

Choose a tag to compare

shifu

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

🛠 Refactor/Improvements

  • add @CheckReturnValue QA annotations for M* methods 🎶

📚 Documentation

  • improve wording of README and javadoc 📚 💕

🚜 Build/Chore

  • add qodana CI checks on github workflow (#317) 🧠
  • upgrade dependencies/plugins 📦
  • upgraded non-LTS JDK to 24 from 23 🤖

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

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

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

v1.1.0 🦝 😎

15 Mar 17:53

Choose a tag to compare

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 Docs

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>

v1.0.3 🦝 ⛓️

15 Feb 05:40

Choose a tag to compare

shifu

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

☘️ Features

  • CFU#unwrapCfException method supports recursively unwrapping nested CompletionException/ExecutionException 💣
    • checks exception causal chain loop ⛓️ (by @linzee1)

🛠 Refactor/Improvements

  • refactor(LFU): use LLCF#peek0 method instead of CFU#peek

📚 Documentation

  • small improve README wording

🚜 Build/Chore

  • improve bump_cffu_version.sh 🧹
  • bump com.tngtech.archunit:archunit-junit5 (#296)

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

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

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

v1.0.2 🦝 🦺

09 Feb 16:02

Choose a tag to compare

shifu

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

🛠 Refactor/Improvements

  • optimize memory usage in mostSuccessOf* methods 📝
    • does not retain input cfs
    • does not retain unneeded exception instances
  • improve CFU#getSuccessNow to guarantee no CancellationException/CompletionException are thrown 🦺
  • use LLCF#peek* method instead of whenComplete/exceptionally, more reliable codes 🦺
  • add missing check(ex != e) for addSuppressed invocation in LLCF#peek* methods, avoid IllegalArgumentException(SELF_SUPPRESSION_MESSAGE) 💣
  • rename parameter names 🔠

🚜 Build/Chore

  • add check-forbidden-classes.sh 🧹

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

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

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

v1.0.1 🦝 📝

31 Jan 16:49

Choose a tag to compare

shifu

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

🛠 Refactor/Improvements

  • add more @Contract QA annotations for LLCF methods 📝
  • use final local var instead of reassigning var in CffuFactoryBuilder#makeExecutor method 🥧

📚 Documentation

  • update README 📚
    • add doc for catching* methods
    • improve immigration guide

🧪 Tests

  • update test case for failure mSupply
  • add more test cases for timeout* operation ⏰

🚜 Build/Chore

  • automate the version update when release 🤖
    • update pom configurations for project.version validation
    • update bump_cffu_version.sh
  • upgrade dependencies/plugins 📦

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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

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

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

v1.0.0 🦝 🚀✨

25 Jan 18:27

Choose a tag to compare

shifu

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

First GA Release v1.0.0 🚀✨🎉

Same as v1.0.0-Alpha33 but bump version.

🔌 API Docs

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

🍪 Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

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