Skip to content

Commit

Permalink
release: release for 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
slievrly authored Dec 22, 2022
2 parents d0f63fd + cd339cd commit 15572a0
Show file tree
Hide file tree
Showing 55 changed files with 1,080 additions and 383 deletions.
43 changes: 35 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ test*, "*.*.*" ]

jobs:
# job 1
test:
name: "test"
runs-on: ubuntu-latest
Expand All @@ -13,8 +14,8 @@ jobs:
matrix:
java: [ 8, 11, 17 ]
springboot: [
2.7.2 -Dspring-framework.version=5.3.22,
2.6.10 -Dspring-framework.version=5.3.22,
2.7.6 -Dspring-framework.version=5.3.24,
2.6.14 -Dspring-framework.version=5.3.24,
2.5.14 -Dspring-framework.version=5.3.20,
2.4.13 -Dspring-framework.version=5.3.13,
2.3.12.RELEASE -Dspring-framework.version=5.2.15.RELEASE,
Expand All @@ -32,14 +33,12 @@ jobs:
# step 1
- name: "Checkout"
uses: actions/[email protected]

# step 2
- name: "Set up Java JDK"
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}

# step 3
- name: "Test with Maven"
# https://docs.github.com/cn/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context
Expand All @@ -49,14 +48,42 @@ jobs:
else
./mvnw -T 4C clean test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
fi
arm64-test:
# job 2
test-springboot3x:
name: "test-springboot3.x"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 17 ]
springboot: [
3.0.0 -Dspring-framework.version=6.0.2 -Dspring-boot-for-server.version=2.4.13 -Dspring-framework-for-server.version=5.3.18 -Dkotlin-maven-plugin.version=1.7.22
]
steps:
# step 1
- name: "Checkout"
uses: actions/[email protected]
# step 2
- name: "Set up Java JDK"
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
# step 3
- name: "Test with Maven"
run: |
./mvnw -T 4C clean test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=false -Dlicense.skip=false -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
# job 3
arm64-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
springboot: [
2.7.2 -Dspring-framework.version=5.3.22,
2.6.10 -Dspring-framework.version=5.3.22,
2.7.6 -Dspring-framework.version=5.3.24,
2.6.14 -Dspring-framework.version=5.3.24,
2.5.14 -Dspring-framework.version=5.3.20,
2.4.13 -Dspring-framework.version=5.3.13,
2.3.12.RELEASE -Dspring-framework.version=5.2.15.RELEASE,
Expand All @@ -69,7 +96,7 @@ jobs:
#1.2.8.RELEASE,
#1.1.12.RELEASE,
#1.0.2.RELEASE
]
]
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ For more details about principle and design, please go to [Seata wiki page](http

## Maven dependency
```xml
<seata.version>1.6.0</seata.version>
<seata.version>1.6.1</seata.version>
<dependency>
<groupId>io.seata</groupId>
<artifactId>seata-all</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@
<artifactId>seata-http</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.seata</groupId>
<artifactId>seata-http-jakarta</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.seata</groupId>
<artifactId>seata-dubbo-alibaba</artifactId>
Expand Down
6 changes: 5 additions & 1 deletion build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

<properties>
<!-- seata version -->
<revision>1.6.0</revision>
<revision>1.6.1</revision>

<!-- Compiler settings properties -->
<java.version>1.8</java.version>
Expand All @@ -76,6 +76,10 @@
<spring-boot.version>2.5.13</spring-boot.version>
<spring-framework.version>5.3.19</spring-framework.version>

<!-- For test -->
<junit-jupiter.version>5.8.2</junit-jupiter.version>
<junit-platform.version>1.8.2</junit-platform.version>

<!-- Maven plugin versions -->
<!-- Build -->
<easyj-maven-plugin.version>1.0.5</easyj-maven-plugin.version>
Expand Down
49 changes: 49 additions & 0 deletions changes/en-us/1.6.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
### 1.6.1

[source](https://github.com/seata/seata/archive/v1.6.1.zip) |
[binary](https://github.com/seata/seata/releases/download/v1.6.1/seata-server-1.6.1.zip)

<details>
<summary><mark>Release notes</mark></summary>


### Seata 1.6.1

Seata 1.6.1 Released.

Seata is an easy-to-use, high-performance, open source distributed transaction solution.

The version is updated as follows:

### feature:
- [[#5115](https://github.com/seata/seata/pull/5115)] support for `spring-boot:3.x`

### bugfix:
- [[#5179](https://github.com/seata/seata/pull/5179)] fix ClassNotFoundException when server starts using Eureka

### optimize:
- [[#5120](https://github.com/seata/seata/pull/5120)] unify the format of configuration items in yml files
- [[#5180](https://github.com/seata/seata/pull/5180)] GlobalTransactionScanner,SeataAutoDataSourceProxyCreator declare @bean methods as static
- [[#5182](https://github.com/seata/seata/pull/5182)] fix some security vulnerabilities in GGEditor
- [[#5183](https://github.com/seata/seata/pull/5183)] optimize the default values for some switches

Thanks to these contributors for their code commits. Please report an unintended omission.

<!-- Please make sure your Github ID is in the list below -->
- [slievrly](https://github.com/slievrly)
- [wangliang181230](https://github.com/wangliang181230)
- [xingfudeshi](https://github.com/xingfudeshi)
- [whxxxxx](https://github.com/whxxxxx)
- [xssdpgy](https://github.com/xssdpgy)

Also, we receive many valuable issues, questions and advices from our community. Thanks for you all.

#### Link

- **Seata:** https://github.com/seata/seata
- **Seata-Samples:** https://github.com/seata/seata-samples
- **Release:** https://github.com/seata/seata/releases
- **WebSite:** https://seata.io


</details>
49 changes: 49 additions & 0 deletions changes/zh-cn/1.6.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
### 1.6.1

[source](https://github.com/seata/seata/archive/v1.6.1.zip) |
[binary](https://github.com/seata/seata/releases/download/v1.6.1/seata-server-1.6.1.zip)

<details>
<summary><mark>Release notes</mark></summary>


### Seata 1.6.1

Seata 1.6.1 发布。

Seata 是一款开源的分布式事务解决方案,提供高性能和简单易用的分布式事务服务。

此版本更新如下:

### feature:
- [[#5115](https://github.com/seata/seata/pull/5115)] 支持 `spring-boot:3.x`

### bugfix:
- [[#5179](https://github.com/seata/seata/pull/5179)] 修复使用Eureka作为注册中心ClassNotFoundException问题

### optimize:
- [[#5120](https://github.com/seata/seata/pull/5120)] 统一yml文件中的配置项格式
- [[#5180](https://github.com/seata/seata/pull/5180)] GlobalTransactionScanner,SeataAutoDataSourceProxyCreator 创建bean用static修饰
- [[#5182](https://github.com/seata/seata/pull/5182)] 修复 Saga 可视化设计器 GGEditor 安全漏洞
- [[#5183](https://github.com/seata/seata/pull/5183)] 优化配置开关的默认值

非常感谢以下 contributors 的代码贡献。若有无意遗漏,请报告。

<!-- 请确保您的 GitHub ID 在以下列表中 -->
- [slievrly](https://github.com/slievrly)
- [wangliang181230](https://github.com/wangliang181230)
- [xingfudeshi](https://github.com/xingfudeshi)
- [whxxxxx](https://github.com/whxxxxx)
- [xssdpgy](https://github.com/xssdpgy)

同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。


#### Link

- **Seata:** https://github.com/seata/seata
- **Seata-Samples:** https://github.com/seata/seata-samples
- **Release:** https://github.com/seata/seata/releases
- **WebSite:** https://seata.io

</details>
16 changes: 14 additions & 2 deletions common/src/main/java/io/seata/common/DefaultValues.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public interface DefaultValues {
/**
* the constant DEFAULT_RPC_RM_REQUEST_TIMEOUT
*/
long DEFAULT_RPC_RM_REQUEST_TIMEOUT = Duration.ofSeconds(30).toMillis();
long DEFAULT_RPC_RM_REQUEST_TIMEOUT = Duration.ofSeconds(15).toMillis();

/**
* the constant DEFAULT_RPC_TM_REQUEST_TIMEOUT
Expand All @@ -178,7 +178,7 @@ public interface DefaultValues {
/**
* the constant DEFAULT_RPC_TC_REQUEST_TIMEOUT
*/
long DEFAULT_RPC_TC_REQUEST_TIMEOUT = Duration.ofSeconds(30).toMillis();
long DEFAULT_RPC_TC_REQUEST_TIMEOUT = Duration.ofSeconds(15).toMillis();

/**
* the constant DEFAULT_XAER_NOTA_RETRY_TIMEOUT
Expand Down Expand Up @@ -269,4 +269,16 @@ public interface DefaultValues {
* DEFAULT_ENABLE_BRANCH_ASYNC_REMOVE
*/
boolean DEFAULT_ENABLE_BRANCH_ASYNC_REMOVE = false;

int DEFAULT_DB_MAX_CONN = 100;

int DEFAULT_DB_MIN_CONN = 10;

int DEFAULT_REDIS_MAX_IDLE = 100;

int DEFAULT_REDIS_MAX_TOTAL = 100;

int DEFAULT_REDIS_MIN_IDLE = 10;

int DEFAULT_QUERY_LIMIT = 1000;
}
33 changes: 33 additions & 0 deletions console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,39 @@
<name>seata-console ${project.version}</name>
<description>console for Seata built with Maven</description>

<properties>
<spring-boot-for-server.version>${spring-boot.version}</spring-boot-for-server.version>
<spring-framework-for-server.version>${spring-framework.version}</spring-framework-for-server.version>
</properties>

<dependencyManagement>
<dependencies>
<!-- spring-framework-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>${spring-framework-for-server.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<!-- spring-boot -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot-for-server.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
</exclusion>
</exclusions>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/io/seata/core/protocol/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Version {
/**
* The constant CURRENT.
*/
private static final String CURRENT = "1.6.0";
private static final String CURRENT = "1.6.1";
private static final String VERSION_0_7_1 = "0.7.1";
private static final String VERSION_1_5_0 = "1.5.0";
private static final int MAX_VERSION_DOT = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public class ServerOnRequestProcessor implements RemotingProcessor, Disposable {
private static final long KEEP_ALIVE_TIME = Integer.MAX_VALUE;
private static final String BATCH_RESPONSE_THREAD_PREFIX = "rpcBatchResponse";
private static final boolean PARALLEL_REQUEST_HANDLE =
ConfigurationFactory.getInstance().getBoolean(ConfigurationKeys.ENABLE_PARALLEL_REQUEST_HANDLE_KEY, false);
ConfigurationFactory.getInstance().getBoolean(ConfigurationKeys.ENABLE_PARALLEL_REQUEST_HANDLE_KEY, true);

public ServerOnRequestProcessor(RemotingServer remotingServer, TransactionMessageHandler transactionMessageHandler) {
this.remotingServer = remotingServer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import static io.seata.common.DefaultValues.DEFAULT_DB_MAX_CONN;
import static io.seata.common.DefaultValues.DEFAULT_DB_MIN_CONN;

/**
* The abstract datasource provider
*
Expand All @@ -60,10 +63,6 @@ public abstract class AbstractDataSourceProvider implements DataSourceProvider,

private final static Map<String, ClassLoader> MYSQL_DRIVER_LOADERS;

private static final int DEFAULT_DB_MAX_CONN = 20;

private static final int DEFAULT_DB_MIN_CONN = 1;

private static final long DEFAULT_DB_MAX_WAIT = 5000;

static {
Expand Down
Loading

0 comments on commit 15572a0

Please sign in to comment.