Skip to content

Commit 965415a

Browse files
feat: release 2.0.4 version (#138)
1 parent 746c4b3 commit 965415a

62 files changed

Lines changed: 74 additions & 82 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pull_request.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,16 @@ jobs:
2828
distribution: 'temurin'
2929
cache: maven
3030
- name: Test with Maven
31-
run: mvn clean install -B -U --file pom.xml
31+
run: mvn clean verify -B -U --file pom.xml
3232
- name: Upload coverage reports to Codecov
33-
uses: codecov/codecov-action@v3
33+
uses: codecov/codecov-action@v4
3434
with:
3535
token: ${{ secrets.CODECOV_TOKEN }}
36+
files: ./**/target/site/jacoco/jacoco.xml
3637
flags: pull-request
3738
name: PR-Coverage
39+
fail_ci_if_error: false
40+
verbose: true
3841
JDK21-Test:
3942
runs-on: ubuntu-latest
4043
steps:

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,22 @@ tRPC-Java has the following features:
3232

3333
### Dependency environment
3434

35-
JDK 1.8.0_251+, Maven 3.6.3+
36-
37-
> Please compile tRPC-Java through `mvn -Dmaven.test.skip=true clean install`. If you want to run unit tests, you need to use JDK 8.
35+
JDK 17+, Maven 3.8.6+
3836

3937
### Import dependencies
4038

39+
Version 2.x supports JDK 17 and Spring Boot 3, while Version 1.x supports JDK 8 and Spring Boot 2.
40+
4141
```pom
4242
<dependencies>
4343
<dependency>
4444
<groupId>com.tencent.trpc</groupId>
4545
<artifactId>trpc-mini</artifactId>
46-
<version>1.0.0</version>
46+
<version>2.0.4</version>
4747
</dependency>
4848
</dependencies>
4949
```
5050

51-
#### Use coroutine
52-
53-
It is recommended to use [Tencent Kona JDK FIBER 8](https://github.com/Tencent/TencentKona-8). For
54-
usage examples,
55-
see [coroutine](https://github.com/trpc-group/trpc-java-examples/tree/master/trpc-coroutine)
56-
5751
<h2 id="2">Related Documentation</h2>
5852

5953
- [Quick start](/docs/en/1.quick_start.md)

README.zh_CN.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,22 @@ tRPC-Java 具有以下特点:
3131

3232
### 依赖环境
3333

34-
JDK 1.8.0_251+, Maven 3.6.3+
35-
36-
> 请通过 `mvn -Dmaven.test.skip=true clean install` 编译tRPC-Java。如果运行单元测试需使用JDK 8执行。
34+
JDK 17+, Maven 3.8.6+
3735

3836
### 引入依赖
3937

38+
2.x 版本支持JDK 17 和 SpringBoot 3,1.x 版本 支持JDK 8 和 SpringBoot 2.
39+
4040
```pom
4141
<dependencies>
4242
<dependency>
4343
<groupId>com.tencent.trpc</groupId>
4444
<artifactId>trpc-mini</artifactId>
45-
<version>1.0.0</version>
45+
<version>2.0.4</version>
4646
</dependency>
4747
</dependencies>
4848
```
4949

50-
#### 使用协程
51-
52-
推荐使用 [Tencent Kona JDK FIBER 8](https://github.com/Tencent/TencentKona-8)
53-
使用示例见[coroutine](https://github.com/trpc-group/trpc-java-examples/tree/master/trpc-coroutine)
54-
5550
<h2 id="2">相关文档</h2>
5651

5752
- [快速上手](/docs/zh/1.quick_start.md)

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.tencent.trpc</groupId>
88
<artifactId>trpc-parent</artifactId>
9-
<version>2.0.3-SNAPSHOT</version>
9+
<version>2.0.4-SNAPSHOT</version>
1010
<packaging>pom</packaging>
1111
<description>Trpc Parent Project ${project.version}</description>
1212
<name>trpc</name>
@@ -203,7 +203,6 @@
203203
</argLine>
204204
<testFailureIgnore>${maven.ignore.testfailure}</testFailureIgnore>
205205
<skipTests>false</skipTests>
206-
<reportsDirectory>../../site/junit</reportsDirectory>
207206
<useSystemClassLoader>false</useSystemClassLoader>
208207
<forkCount>1</forkCount>
209208
<reuseForks>true</reuseForks>
@@ -297,7 +296,8 @@
297296
</goals>
298297
<configuration>
299298
<dataFile>${project.build.directory}/coverage.exec</dataFile>
300-
<outputDirectory>../../site/${project.artifactId}</outputDirectory>
299+
<outputDirectory>${project.build.directory}/site/jacoco
300+
</outputDirectory>
301301
</configuration>
302302
</execution>
303303
<execution>

trpc-admin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.tencent.trpc</groupId>
99
<artifactId>trpc-parent</artifactId>
10-
<version>2.0.3-SNAPSHOT</version>
10+
<version>2.0.4-SNAPSHOT</version>
1111
</parent>
1212

1313
<artifactId>trpc-admin</artifactId>

trpc-admin/trpc-admin-default/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>com.tencent.trpc</groupId>
1111
<artifactId>trpc-admin</artifactId>
12-
<version>2.0.3-SNAPSHOT</version>
12+
<version>2.0.4-SNAPSHOT</version>
1313
</parent>
1414

1515
<packaging>jar</packaging>

trpc-bootstrap/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.tencent.trpc</groupId>
99
<artifactId>trpc-parent</artifactId>
10-
<version>2.0.3-SNAPSHOT</version>
10+
<version>2.0.4-SNAPSHOT</version>
1111
</parent>
1212

1313
<artifactId>trpc-bootstrap</artifactId>

trpc-bootstrap/trpc-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.tencent.trpc</groupId>
77
<artifactId>trpc-bootstrap</artifactId>
8-
<version>2.0.3-SNAPSHOT</version>
8+
<version>2.0.4-SNAPSHOT</version>
99
</parent>
1010

1111
<modelVersion>4.0.0</modelVersion>

trpc-code-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>trpc-parent</artifactId>
99
<groupId>com.tencent.trpc</groupId>
10-
<version>2.0.3-SNAPSHOT</version>
10+
<version>2.0.4-SNAPSHOT</version>
1111
</parent>
1212

1313
<artifactId>trpc-code-generator</artifactId>

trpc-configcenter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>trpc-parent</artifactId>
77
<groupId>com.tencent.trpc</groupId>
8-
<version>2.0.3-SNAPSHOT</version>
8+
<version>2.0.4-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

0 commit comments

Comments
 (0)