diff --git a/README.md b/README.md
index 4a5d9ff99..24472eba0 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
-
+
@@ -165,18 +165,18 @@
io.foldright
cffu
- 1.0.0
+ 0.7.0
```
- For `Gradle` projects:
Gradle Kotlin DSL
```groovy
- implementation("io.foldright:cffu:1.0.0")
+ implementation("io.foldright:cffu:0.7.0")
```
Gradle Groovy DSL
```groovy
- implementation 'io.foldright:cffu:1.0.0'
+ implementation 'io.foldright:cffu:0.7.0'
```
> `cffu`也支持`Kotlin`扩展方法的使用方式,参见[`cffu-kotlin/README.md`](cffu-kotlin/README.md);使用方式的对比示例参见[`docs/usage-mode-demo.md`](docs/usage-mode-demo.md)。
@@ -196,7 +196,7 @@
- 或是在传入的`CompletableFuture Action`中设置外部的变量,需要注意多线程读写的线程安全问题 ⚠️
- 多线程读写涉及多线程数据传递的复杂性,遗漏并发逻辑的数据读写的正确处理是业务代码中的常见问题❗️
- 并发深坑勿入,并发逻辑复杂易出Bug 🐞
- 如果涉及超时则会更复杂,`JDK CompletableFuture`自身在`Java 21`中也有这方面的[Bug修复](https://github.com/foldright/cffu/releases/tag/v1.0.0-Alpha20) ⏰
+ 如果涉及超时则会更复杂,`JDK CompletableFuture`自身在`Java 21`中也有这方面的[Bug修复](https://github.com/foldright/cffu/releases/tag/v0.7.0-Alpha20) ⏰
`cffu`的`allResultsFailFastOf` / `allResultsOf` / `mostSuccessResultsOf`等方法提供了返回多个`CF`运行结果的功能。使用这些方法获取多个`CF`的整体运行结果:
@@ -513,16 +513,16 @@ public class MultipleActionsDemo {
- 业务功能的正确性问题
- 系统稳定性问题,如导致线程中等待操作不能返回、耗尽线程池
-`cffu`提供了超时执行安全的新实现方法 [`cffuOrTimeout()`](https://foldright.io/api-docs/cffu/1.0.0/io/foldright/cffu/CompletableFutureUtils.html#cffuOrTimeout(C,long,java.util.concurrent.TimeUnit))
-/ [`cffuCompleteOnTimeout()`](https://foldright.io/api-docs/cffu/1.0.0/io/foldright/cffu/CompletableFutureUtils.html#cffuCompleteOnTimeout(C,T,long,java.util.concurrent.TimeUnit))。
+`cffu`提供了超时执行安全的新实现方法 [`cffuOrTimeout()`](https://foldright.io/api-docs/cffu/0.7.0/io/foldright/cffu/CompletableFutureUtils.html#cffuOrTimeout(C,long,java.util.concurrent.TimeUnit))
+/ [`cffuCompleteOnTimeout()`](https://foldright.io/api-docs/cffu/0.7.0/io/foldright/cffu/CompletableFutureUtils.html#cffuCompleteOnTimeout(C,T,long,java.util.concurrent.TimeUnit))。
更多说明参见:
- 演示问题的[`DelayDysfunctionDemo.java`](https://github.com/foldright/cffu/blob/main/cffu-core/src/test/java/io/foldright/demo/CfDelayDysfunctionDemo.java)
- `cffu backport`方法的`JavaDoc`
- - [`orTimeout()`](https://foldright.io/api-docs/cffu/1.0.0/io/foldright/cffu/CompletableFutureUtils.html#orTimeout(C,long,java.util.concurrent.TimeUnit))
- - [`completeOnTimeout()`](https://foldright.io/api-docs/cffu/1.0.0/io/foldright/cffu/CompletableFutureUtils.html#completeOnTimeout(C,T,long,java.util.concurrent.TimeUnit))
+ - [`orTimeout()`](https://foldright.io/api-docs/cffu/0.7.0/io/foldright/cffu/CompletableFutureUtils.html#orTimeout(C,long,java.util.concurrent.TimeUnit))
+ - [`completeOnTimeout()`](https://foldright.io/api-docs/cffu/0.7.0/io/foldright/cffu/CompletableFutureUtils.html#completeOnTimeout(C,T,long,java.util.concurrent.TimeUnit))
### 2.7 支持超时的`join`的方法
@@ -580,7 +580,7 @@ public class MultipleActionsDemo {
# 🍪依赖
-> 可以在 [central.sonatype.com](https://central.sonatype.com/artifact/io.foldright/cffu/1.0.0/versions) 查看最新版本与可用版本列表。
+> 可以在 [central.sonatype.com](https://central.sonatype.com/artifact/io.foldright/cffu/0.7.0/versions) 查看最新版本与可用版本列表。
- `cffu`库(包含[`Java CompletableFuture`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/CompletableFuture.html)的增强`CompletableFutureUtils`):
- For `Maven` projects:
@@ -589,18 +589,18 @@ public class MultipleActionsDemo {
io.foldright
cffu
- 1.0.0
+ 0.7.0
```
- For `Gradle` projects:
Gradle Kotlin DSL
```groovy
- implementation("io.foldright:cffu:1.0.0")
+ implementation("io.foldright:cffu:0.7.0")
```
Gradle Groovy DSL
```groovy
- implementation 'io.foldright:cffu:1.0.0'
+ implementation 'io.foldright:cffu:0.7.0'
```
- [📌 `TransmittableThreadLocal(TTL)`](https://github.com/alibaba/transmittable-thread-local)的[`cffu executor wrapper SPI`实现](cffu-ttl-executor-wrapper):
- For `Maven` projects:
@@ -609,7 +609,7 @@ public class MultipleActionsDemo {
io.foldright
cffu-ttl-executor-wrapper
- 1.0.0
+ 0.7.0
runtime
```
@@ -617,11 +617,11 @@ public class MultipleActionsDemo {
Gradle Kotlin DSL
```groovy
- runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0")
+ runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:0.7.0")
```
Gradle Groovy DSL
```groovy
- runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0'
+ runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:0.7.0'
```
- `cffu bom`:
- For `Maven` projects:
@@ -630,7 +630,7 @@ public class MultipleActionsDemo {
io.foldright
cffu-bom
- 1.0.0
+ 0.7.0
pom
import
@@ -639,11 +639,11 @@ public class MultipleActionsDemo {
Gradle Kotlin DSL
```groovy
- implementation(platform("io.foldright:cffu-bom:1.0.0"))
+ implementation(platform("io.foldright:cffu-bom:0.7.0"))
```
Gradle Groovy DSL
```groovy
- implementation platform('io.foldright:cffu-bom:1.0.0')
+ implementation platform('io.foldright:cffu-bom:0.7.0')
```
# 📚 更多资料
diff --git a/README_EN.md b/README_EN.md
index d71d56e5b..01751415e 100644
--- a/README_EN.md
+++ b/README_EN.md
@@ -9,7 +9,7 @@
-
+
@@ -596,7 +596,7 @@ Current version of `Java API` documentation: https://foldright.io/api-docs/cffu/
# 🍪Dependencies
-> check out [central.sonatype.com](https://central.sonatype.com/artifact/io.foldright/cffu/1.0.0/versions) for new or available versions。
+> check out [central.sonatype.com](https://central.sonatype.com/artifact/io.foldright/cffu/0.7.0/versions) for new or available versions。
- `cffu`library(including[`Java CompletableFuture`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/CompletableFuture.html) enhanced `CompletableFutureUtils`):
- For `Maven` projects:
@@ -605,18 +605,18 @@ Current version of `Java API` documentation: https://foldright.io/api-docs/cffu/
io.foldright
cffu
- 1.0.0
+ 0.7.0
```
- For `Gradle` projects:
Gradle Kotlin DSL
```groovy
- implementation("io.foldright:cffu:1.0.0")
+ implementation("io.foldright:cffu:0.7.0")
```
Gradle Groovy DSL
```groovy
- implementation 'io.foldright:cffu:1.0.0'
+ implementation 'io.foldright:cffu:0.7.0'
```
- [📌 `TransmittableThreadLocal(TTL)`](https://github.com/alibaba/transmittable-thread-local) implementation for [`cffu executor wrapper SPI`](cffu-ttl-executor-wrapper):
- For `Maven` projects:
@@ -625,7 +625,7 @@ Current version of `Java API` documentation: https://foldright.io/api-docs/cffu/
io.foldright
cffu-ttl-executor-wrapper
- 1.0.0
+ 0.7.0
runtime
```
@@ -633,11 +633,11 @@ Current version of `Java API` documentation: https://foldright.io/api-docs/cffu/
Gradle Kotlin DSL
```groovy
- runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0")
+ runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:0.7.0")
```
Gradle Groovy DSL
```groovy
- runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0'
+ runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:0.7.0'
```
# 📚 See also
diff --git a/cffu-bom/pom.xml b/cffu-bom/pom.xml
index a961c5172..9b25813fe 100644
--- a/cffu-bom/pom.xml
+++ b/cffu-bom/pom.xml
@@ -10,7 +10,7 @@
-->
io.foldright
cffu-bom
- 1.x-SNAPSHOT
+ 0.7.0
pom
${project.artifactId}
cffu bom
diff --git a/cffu-core/pom.xml b/cffu-core/pom.xml
index deadcbf2d..0442ad88e 100644
--- a/cffu-core/pom.xml
+++ b/cffu-core/pom.xml
@@ -4,7 +4,7 @@
io.foldright
cffu-parent
- 1.x-SNAPSHOT
+ 0.7.0
../pom.xml
diff --git a/cffu-kotlin/README.md b/cffu-kotlin/README.md
index 1f2b0a377..7afb7feec 100644
--- a/cffu-kotlin/README.md
+++ b/cffu-kotlin/README.md
@@ -2,7 +2,7 @@
-
+
@@ -22,16 +22,16 @@ This module provides the extension methods to leverage Kotlin language.
io.foldright
cffu-kotlin
- 1.0.0-Alpha
+ 0.7.0-Alpha
```
- For `Gradle` projects:
Gradle Kotlin DSL
```groovy
- implementation("io.foldright:cffu-kotlin:1.0.0-Alpha")
+ implementation("io.foldright:cffu-kotlin:0.7.0-Alpha")
```
Gradle Groovy DSL
```groovy
- implementation 'io.foldright:cffu-kotlin:1.0.0-Alpha'
+ implementation 'io.foldright:cffu-kotlin:0.7.0-Alpha'
```
diff --git a/cffu-kotlin/pom.xml b/cffu-kotlin/pom.xml
index ba056c07a..7c1d7f30c 100644
--- a/cffu-kotlin/pom.xml
+++ b/cffu-kotlin/pom.xml
@@ -4,12 +4,12 @@
io.foldright
cffu-parent
- 1.x-SNAPSHOT
+ 0.7.0
../pom.xml
cffu-kotlin
-
+ 0.7.0-Alpha
${project.artifactId}
Cffu Kotlin Support
https://github.com/foldright/cffu
diff --git a/cffu-listenable-future/README.md b/cffu-listenable-future/README.md
index 28c6109ea..9c169a1c8 100644
--- a/cffu-listenable-future/README.md
+++ b/cffu-listenable-future/README.md
@@ -1,7 +1,7 @@
# Guava ListenableFuture Integration with CompletableFuture
-
+
@@ -18,16 +18,16 @@
io.foldright
cffu-listenable-future
- 1.0.0-Alpha
+ 0.7.0-Alpha
```
- For `Gradle` projects:
Gradle Kotlin DSL
```groovy
- implementation("io.foldright:cffu-listenable-future:1.0.0-Alpha")
+ implementation("io.foldright:cffu-listenable-future:0.7.0-Alpha")
```
Gradle Groovy DSL
```groovy
- implementation 'io.foldright:cffu-listenable-future:1.0.0-Alpha'
+ implementation 'io.foldright:cffu-listenable-future:0.7.0-Alpha'
```
diff --git a/cffu-listenable-future/pom.xml b/cffu-listenable-future/pom.xml
index 45034225d..71a2ac7a3 100644
--- a/cffu-listenable-future/pom.xml
+++ b/cffu-listenable-future/pom.xml
@@ -4,12 +4,12 @@
io.foldright
cffu-parent
- 1.x-SNAPSHOT
+ 0.7.0
../pom.xml
cffu-listenable-future
-
+ 0.7.0-Alpha
Guava ListenableFuture Integration with CF
${project.name}
https://github.com/foldright/cffu
diff --git a/cffu-ttl-executor-wrapper/README.md b/cffu-ttl-executor-wrapper/README.md
index 37d9ad294..d13b40500 100644
--- a/cffu-ttl-executor-wrapper/README.md
+++ b/cffu-ttl-executor-wrapper/README.md
@@ -1,7 +1,7 @@
# 🦝 `Cffu` executor wrapper provider SPI implementation for TTL
-
+
@@ -23,18 +23,18 @@ This dependency should only be used at `Runtime`.
io.foldright
cffu-ttl-executor-wrapper
runtime
- 1.0.0
+ 0.7.0
```
- For `Gradle` projects:
Gradle Kotlin DSL
```groovy
- runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0")
+ runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:0.7.0")
```
Gradle Groovy DSL
```groovy
- runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0'
+ runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:0.7.0'
```
`cffu-ttl-executor-wrapper` has published to maven central, find the latest version at
diff --git a/cffu-ttl-executor-wrapper/pom.xml b/cffu-ttl-executor-wrapper/pom.xml
index e345edd66..6cf7fceee 100644
--- a/cffu-ttl-executor-wrapper/pom.xml
+++ b/cffu-ttl-executor-wrapper/pom.xml
@@ -4,7 +4,7 @@
io.foldright
cffu-parent
- 1.x-SNAPSHOT
+ 0.7.0
../pom.xml
diff --git a/demos/cffu-demo/pom.xml b/demos/cffu-demo/pom.xml
index 0c7c06023..dafc80e90 100644
--- a/demos/cffu-demo/pom.xml
+++ b/demos/cffu-demo/pom.xml
@@ -4,7 +4,7 @@
io.foldright.cffu-demos
demos-parent
- 1.x-SNAPSHOT
+ 0.7.0
../pom.xml
diff --git a/demos/cffu-kotlin-demo/pom.xml b/demos/cffu-kotlin-demo/pom.xml
index 20605f7a3..d493f56e0 100644
--- a/demos/cffu-kotlin-demo/pom.xml
+++ b/demos/cffu-kotlin-demo/pom.xml
@@ -4,7 +4,7 @@
io.foldright.cffu-demos
demos-parent
- 1.x-SNAPSHOT
+ 0.7.0
../pom.xml
@@ -19,7 +19,7 @@
io.foldright
cffu-kotlin
-
+ 0.7.0-Alpha
org.jetbrains.kotlin
diff --git a/demos/pom.xml b/demos/pom.xml
index 0b35822d6..517607611 100644
--- a/demos/pom.xml
+++ b/demos/pom.xml
@@ -3,7 +3,7 @@
4.0.0
io.foldright.cffu-demos
demos-parent
- 1.x-SNAPSHOT
+ 0.7.0
pom
diff --git a/pom.xml b/pom.xml
index 8124dc557..247170f6a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
io.foldright
cffu-parent
- 1.x-SNAPSHOT
+ 0.7.0
pom
${project.artifactId}
cffu parent