You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by xi...@apache.org on 2024/02/20 07:18:23 UTC

(incubator-seata) branch 2.x updated: security: upgrade Spring related dependencies (#6362)

This is an automated email from the ASF dual-hosted git repository.

xingfudeshi pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git


The following commit(s) were added to refs/heads/2.x by this push:
     new c08345e338 security: upgrade Spring related dependencies (#6362)
c08345e338 is described below

commit c08345e3381a646a899ef06ca61c73dcfe8d46dd
Author: jimin <sl...@163.com>
AuthorDate: Tue Feb 20 15:18:19 2024 +0800

    security: upgrade Spring related dependencies (#6362)
---
 build/pom.xml        |  4 ++--
 changes/en-us/2.x.md |  1 +
 changes/zh-cn/2.x.md |  4 +++-
 compatible/pom.xml   | 47 +++++++++++++++++++++++------------------------
 4 files changed, 29 insertions(+), 27 deletions(-)

diff --git a/build/pom.xml b/build/pom.xml
index 0b550005c3..4503b6ff30 100644
--- a/build/pom.xml
+++ b/build/pom.xml
@@ -76,8 +76,8 @@
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
         <!-- The version of spring-boot for 'spring-boot-dependencies' and 'spring-boot-maven-plugin' -->
-        <spring-boot.version>2.5.13</spring-boot.version>
-        <spring-framework.version>5.3.20</spring-framework.version>
+        <spring-boot.version>2.5.15</spring-boot.version>
+        <spring-framework.version>5.3.27</spring-framework.version>
 
         <!--  server side dependency-->
         <kafka-appender.version>0.2.0-RC2</kafka-appender.version>
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 08c36161f9..cbe9b98938 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -103,6 +103,7 @@ Add changes here for all PR submitted to the 2.x branch.
 - [[#6340](https://github.com/apache/incubator-seata/pull/6340)] upgrade and tidy some dependencies
 - [[#6350](https://github.com/apache/incubator-seata/pull/6350)] remove enableDegrade properties
 - [[#6349](https://github.com/apache/incubator-seata/pull/6349)] transfer dockerhub repo
+- [[#6362](https://github.com/apache/incubator-seata/pull/6362)] upgrade Spring related dependence
 
 ### test:
 - [[#6081](https://github.com/apache/incubator-seata/pull/6081)] add `test-os.yml` for testing the OS
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index 44e1a5bf38..be3c681cc8 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -92,6 +92,8 @@
 - [[#6349](https://github.com/apache/incubator-seata/pull/6349)] 迁移  dockerhub 仓库
 - [[#6356](https://github.com/apache/incubator-seata/pull/6356)] 去除健康检查页面的鉴权
 - [[#6360](https://github.com/apache/incubator-seata/pull/6360)] 优化部分链接 401 的问题
+- [[#6350](https://github.com/apache/incubator-seata/pull/6350)] 移除 enableDegrade 配置
+
 
 ### security:
 - [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞
@@ -100,7 +102,7 @@
 - [[#6147](https://github.com/apache/incubator-seata/pull/6147)] 升级 kafka-clients依赖至3.6.1
 - [[#6339](https://github.com/apache/incubator-seata/pull/6339)] 升级 spring mvc 和 tomcat.embed 依赖
 - [[#6340](https://github.com/apache/incubator-seata/pull/6340)] 升级和整理依赖
-- [[#6350](https://github.com/apache/incubator-seata/pull/6350)] 移除 enableDegrade 配置
+- [[#6362](https://github.com/apache/incubator-seata/pull/6362)] 升级 Spring 相关的依赖
 
 ### test:
 - [[#6081](https://github.com/apache/incubator-seata/pull/6081)] 添加 `test-os.yml` 用于测试seata在各种操作系统下的运行情况
diff --git a/compatible/pom.xml b/compatible/pom.xml
index a8bb40b22d..23690f9ef2 100644
--- a/compatible/pom.xml
+++ b/compatible/pom.xml
@@ -36,37 +36,31 @@
             <groupId>org.apache.seata</groupId>
             <artifactId>seata-saga-engine</artifactId>
             <version>${project.version}</version>
-            <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.seata</groupId>
             <artifactId>seata-saga-engine-store</artifactId>
             <version>${project.version}</version>
-            <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.seata</groupId>
             <artifactId>seata-integration-tx-api</artifactId>
             <version>${project.version}</version>
-            <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.seata</groupId>
             <artifactId>seata-metrics-api</artifactId>
             <version>${project.version}</version>
-            <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.seata</groupId>
             <artifactId>seata-sqlparser-druid</artifactId>
             <version>${project.version}</version>
-            <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.seata</groupId>
             <artifactId>seata-spring</artifactId>
             <version>${project.version}</version>
-            <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.seata</groupId>
@@ -78,6 +72,21 @@
             <artifactId>seata-http-jakarta</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.seata</groupId>
+            <artifactId>seata-grpc</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.seata</groupId>
+            <artifactId>seata-rm-datasource</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.seata</groupId>
+            <artifactId>seata-integration-tx-api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
         <dependency>
             <groupId>org.apache.httpcomponents</groupId>
             <artifactId>httpclient</artifactId>
@@ -87,12 +96,14 @@
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-webmvc</artifactId>
-            <version>5.3.20</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.seata</groupId>
-            <artifactId>seata-grpc</artifactId>
-            <version>${project.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-expression</artifactId>
+                </exclusion>
+            </exclusions>
+            <version>5.3.26</version>
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>io.grpc</groupId>
@@ -100,17 +111,5 @@
             <version>1.27.1</version>
             <scope>provided</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.seata</groupId>
-            <artifactId>seata-rm-datasource</artifactId>
-            <version>2.1.0-SNAPSHOT</version>
-            <scope>compile</scope>
-        </dependency>
-              <dependency>
-            <groupId>org.apache.seata</groupId>
-            <artifactId>seata-integration-tx-api</artifactId>
-            <version>2.1.0-SNAPSHOT</version>
-            <scope>compile</scope>
-        </dependency>
     </dependencies>
 </project>


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org