Skip to content

Commit a092680

Browse files
committed
chore: update after release v1.0.0 📦
1 parent e233203 commit a092680

File tree

8 files changed

+45
-39
lines changed

8 files changed

+45
-39
lines changed

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,18 @@
165165
<dependency>
166166
<groupId>io.foldright</groupId>
167167
<artifactId>cffu</artifactId>
168-
<version>1.0.0-Alpha33</version>
168+
<version>1.0.0</version>
169169
</dependency>
170170
```
171171
- For `Gradle` projects:
172172

173173
Gradle Kotlin DSL
174174
```groovy
175-
implementation("io.foldright:cffu:1.0.0-Alpha33")
175+
implementation("io.foldright:cffu:1.0.0")
176176
```
177177
Gradle Groovy DSL
178178
```groovy
179-
implementation 'io.foldright:cffu:1.0.0-Alpha33'
179+
implementation 'io.foldright:cffu:1.0.0'
180180
```
181181

182182
> `cffu`也支持`Kotlin`扩展方法的使用方式,参见[`cffu-kotlin/README.md`](cffu-kotlin/README.md);使用方式的对比示例参见[`docs/usage-mode-demo.md`](docs/usage-mode-demo.md)
@@ -513,16 +513,16 @@ public class MultipleActionsDemo {
513513
- 业务功能的正确性问题
514514
- 系统稳定性问题,如导致线程中等待操作不能返回、耗尽线程池
515515

516-
`cffu`提供了超时执行安全的新实现方法 [`cffuOrTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha33/io/foldright/cffu/CompletableFutureUtils.html#cffuOrTimeout(C,long,java.util.concurrent.TimeUnit))
517-
/ [`cffuCompleteOnTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha33/io/foldright/cffu/CompletableFutureUtils.html#cffuCompleteOnTimeout(C,T,long,java.util.concurrent.TimeUnit))
516+
`cffu`提供了超时执行安全的新实现方法 [`cffuOrTimeout()`](https://foldright.io/api-docs/cffu/1.0.0/io/foldright/cffu/CompletableFutureUtils.html#cffuOrTimeout(C,long,java.util.concurrent.TimeUnit))
517+
/ [`cffuCompleteOnTimeout()`](https://foldright.io/api-docs/cffu/1.0.0/io/foldright/cffu/CompletableFutureUtils.html#cffuCompleteOnTimeout(C,T,long,java.util.concurrent.TimeUnit))
518518

519519

520520
更多说明参见:
521521

522522
- 演示问题的[`DelayDysfunctionDemo.java`](https://github.com/foldright/cffu/blob/main/cffu-core/src/test/java/io/foldright/demo/CfDelayDysfunctionDemo.java)
523523
- `cffu backport`方法的`JavaDoc`
524-
- [`orTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha33/io/foldright/cffu/CompletableFutureUtils.html#orTimeout(C,long,java.util.concurrent.TimeUnit))
525-
- [`completeOnTimeout()`](https://foldright.io/api-docs/cffu/1.0.0-Alpha33/io/foldright/cffu/CompletableFutureUtils.html#completeOnTimeout(C,T,long,java.util.concurrent.TimeUnit))
524+
- [`orTimeout()`](https://foldright.io/api-docs/cffu/1.0.0/io/foldright/cffu/CompletableFutureUtils.html#orTimeout(C,long,java.util.concurrent.TimeUnit))
525+
- [`completeOnTimeout()`](https://foldright.io/api-docs/cffu/1.0.0/io/foldright/cffu/CompletableFutureUtils.html#completeOnTimeout(C,T,long,java.util.concurrent.TimeUnit))
526526

527527
### 2.7 支持超时的`join`的方法
528528

@@ -589,61 +589,61 @@ public class MultipleActionsDemo {
589589
<dependency>
590590
<groupId>io.foldright</groupId>
591591
<artifactId>cffu</artifactId>
592-
<version>1.0.0-Alpha33</version>
592+
<version>1.0.0</version>
593593
</dependency>
594594
```
595595
- For `Gradle` projects:
596596

597597
Gradle Kotlin DSL
598598
```groovy
599-
implementation("io.foldright:cffu:1.0.0-Alpha33")
599+
implementation("io.foldright:cffu:1.0.0")
600600
```
601601
Gradle Groovy DSL
602602
```groovy
603-
implementation 'io.foldright:cffu:1.0.0-Alpha33'
603+
implementation 'io.foldright:cffu:1.0.0'
604604
```
605-
- `cffu bom`:
605+
- [📌 `TransmittableThreadLocal(TTL)`](https://github.com/alibaba/transmittable-thread-local)的[`cffu executor wrapper SPI`实现](cffu-ttl-executor-wrapper):
606606
- For `Maven` projects:
607607

608608
```xml
609609
<dependency>
610610
<groupId>io.foldright</groupId>
611-
<artifactId>cffu-bom</artifactId>
612-
<version>1.0.0-Alpha33</version>
613-
<type>pom</type>
614-
<scope>import</scope>
611+
<artifactId>cffu-ttl-executor-wrapper</artifactId>
612+
<version>1.0.0</version>
613+
<scope>runtime</scope>
615614
</dependency>
616615
```
617616
- For `Gradle` projects:
618617

619618
Gradle Kotlin DSL
620619
```groovy
621-
implementation(platform("io.foldright:cffu-bom:1.0.0-Alpha33"))
620+
runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0")
622621
```
623622
Gradle Groovy DSL
624623
```groovy
625-
implementation platform('io.foldright:cffu-bom:1.0.0-Alpha33')
624+
runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0'
626625
```
627-
- [📌 `TransmittableThreadLocal(TTL)`](https://github.com/alibaba/transmittable-thread-local)的[`cffu executor wrapper SPI`实现](cffu-ttl-executor-wrapper):
626+
- `cffu bom`:
628627
- For `Maven` projects:
629628

630629
```xml
631630
<dependency>
632631
<groupId>io.foldright</groupId>
633-
<artifactId>cffu-ttl-executor-wrapper</artifactId>
634-
<version>1.0.0-Alpha33</version>
635-
<scope>runtime</scope>
632+
<artifactId>cffu-bom</artifactId>
633+
<version>1.0.0</version>
634+
<type>pom</type>
635+
<scope>import</scope>
636636
</dependency>
637637
```
638638
- For `Gradle` projects:
639639

640640
Gradle Kotlin DSL
641641
```groovy
642-
runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha33")
642+
implementation(platform("io.foldright:cffu-bom:1.0.0"))
643643
```
644644
Gradle Groovy DSL
645645
```groovy
646-
runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha33'
646+
implementation platform('io.foldright:cffu-bom:1.0.0')
647647
```
648648

649649
# 📚 更多资料

README_EN.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -605,18 +605,18 @@ Current version of `Java API` documentation: https://foldright.io/api-docs/cffu/
605605
<dependency>
606606
<groupId>io.foldright</groupId>
607607
<artifactId>cffu</artifactId>
608-
<version>1.0.0-Alpha33</version>
608+
<version>1.0.0</version>
609609
</dependency>
610610
```
611611
- For `Gradle` projects:
612612

613613
Gradle Kotlin DSL
614614
```groovy
615-
implementation("io.foldright:cffu:1.0.0-Alpha33")
615+
implementation("io.foldright:cffu:1.0.0")
616616
```
617617
Gradle Groovy DSL
618618
```groovy
619-
implementation 'io.foldright:cffu:1.0.0-Alpha33'
619+
implementation 'io.foldright:cffu:1.0.0'
620620
```
621621
- [📌 `TransmittableThreadLocal(TTL)`](https://github.com/alibaba/transmittable-thread-local) implementation for [`cffu executor wrapper SPI`](cffu-ttl-executor-wrapper):
622622
- For `Maven` projects:
@@ -625,19 +625,19 @@ Current version of `Java API` documentation: https://foldright.io/api-docs/cffu/
625625
<dependency>
626626
<groupId>io.foldright</groupId>
627627
<artifactId>cffu-ttl-executor-wrapper</artifactId>
628-
<version>1.0.0-Alpha33</version>
628+
<version>1.0.0</version>
629629
<scope>runtime</scope>
630630
</dependency>
631631
```
632632
- For `Gradle` projects:
633633

634634
Gradle Kotlin DSL
635635
```groovy
636-
runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha33")
636+
runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0")
637637
```
638638
Gradle Groovy DSL
639639
```groovy
640-
runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha33'
640+
runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0'
641641
```
642642

643643
# 📚 See also

cffu-kotlin/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ This module provides the extension methods to leverage Kotlin language.
1919
<dependency>
2020
<groupId>io.foldright</groupId>
2121
<artifactId>cffu-kotlin</artifactId>
22-
<version>1.0.0-Alpha33</version>
22+
<version>1.0.0-Alpha</version>
2323
</dependency>
2424
```
2525
- For `Gradle` projects:
2626

2727
Gradle Kotlin DSL
2828
```groovy
29-
implementation("io.foldright:cffu-kotlin:1.0.0-Alpha33")
29+
implementation("io.foldright:cffu-kotlin:1.0.0-Alpha")
3030
```
3131
Gradle Groovy DSL
3232
```groovy
33-
implementation 'io.foldright:cffu-kotlin:1.0.0-Alpha33'
33+
implementation 'io.foldright:cffu-kotlin:1.0.0-Alpha'
3434
```

cffu-kotlin/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
</parent>
1010

1111
<artifactId>cffu-kotlin</artifactId>
12+
<!-- UPDATE to Alpha version WHEN RELEASE
13+
<version>1.x.y-Alpha</version>
14+
-->
1215
<name>${project.artifactId}</name>
1316
<description>Cffu Kotlin Support</description>
1417
<url>https://github.com/foldright/cffu</url>

cffu-listenable-future/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
<dependency>
1616
<groupId>io.foldright</groupId>
1717
<artifactId>cffu-listenable-future</artifactId>
18-
<version>1.0.0-Alpha33</version>
18+
<version>1.0.0-Alpha</version>
1919
</dependency>
2020
```
2121
- For `Gradle` projects:
2222

2323
Gradle Kotlin DSL
2424
```groovy
25-
implementation("io.foldright:cffu-listenable-future:1.0.0-Alpha33")
25+
implementation("io.foldright:cffu-listenable-future:1.0.0-Alpha")
2626
```
2727
Gradle Groovy DSL
2828
```groovy
29-
implementation 'io.foldright:cffu-listenable-future:1.0.0-Alpha33'
29+
implementation 'io.foldright:cffu-listenable-future:1.0.0-Alpha'
3030
```

cffu-listenable-future/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
</parent>
1010

1111
<artifactId>cffu-listenable-future</artifactId>
12+
<!-- UPDATE to Alpha version WHEN RELEASE
13+
<version>1.x.y-Alpha</version>
14+
-->
1215
<name>Guava ListenableFuture Integration with CF</name>
1316
<description>${project.name}</description>
1417
<url>https://github.com/foldright/cffu</url>

cffu-ttl-executor-wrapper/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ This dependency should only be used at `Runtime`.
1818
<groupId>io.foldright</groupId>
1919
<artifactId>cffu-ttl-executor-wrapper</artifactId>
2020
<scope>runtime</scope>
21-
<version>1.0.0-Alpha33</version>
21+
<version>1.0.0</version>
2222
</dependency>
2323
```
2424
- For `Gradle` projects:
2525

2626
Gradle Kotlin DSL
2727
```groovy
28-
runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha33")
28+
runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0")
2929
```
3030
Gradle Groovy DSL
3131
```groovy
32-
runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha33'
32+
runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0'
3333
```
3434

3535
`cffu-ttl-executor-wrapper` has published to maven central, find the latest version at

demos/cffu-kotlin-demo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>io.foldright</groupId>
2121
<artifactId>cffu-kotlin</artifactId>
22-
<!-- UPDATE to Alpha when release -->
22+
<!-- UPDATE to Alpha version WHEN RELEASE -->
2323
<version>${project.version}</version>
2424
</dependency>
2525
<dependency>

0 commit comments

Comments
 (0)