diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 63d681c47fe..1c500d6ba7b 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -46,6 +46,96 @@ Add changes here for all PR submitted to the 2.x branch. ### optimize: +- [[#6031](https://github.com/apache/incubator-seata/pull/6031)] add a check for the existence of the undolog table +- [[#6089](https://github.com/apache/incubator-seata/pull/6089)] modify the semantics of RaftServerFactory and remove unnecessary singleton +- [[#4473](https://github.com/apache/incubator-seata/pull/4473)] rm appdata size limit +- [[#6071](https://github.com/apache/incubator-seata/pull/6071)] add git infos to jars +- [[#6042](https://github.com/apache/incubator-seata/pull/6042)] add secure authentication to interfaces in ClusterController +- [[#6091](https://github.com/apache/incubator-seata/pull/6091)] Optimizing the method of obtaining the tc address during raft authentication +- [[#6098](https://github.com/apache/incubator-seata/pull/6098)] optimize the retry logic in the acquireMetadata method +- [[#6034](https://github.com/apache/incubator-seata/pull/6034)] using namespace from command line when deployment with helm charts +- [[#6116](https://github.com/apache/incubator-seata/pull/6034)] remove lgtm.com stuff +- [[#6148](https://github.com/apache/incubator-seata/pull/6148)] support Nacos ram role authentication +- [[#6145](https://github.com/apache/incubator-seata/pull/6145)] upgrade jettison to 1.5.4 +- [[#6164](https://github.com/apache/incubator-seata/pull/6164)] redis registry push empty protection optimize +- [[#6174](https://github.com/apache/incubator-seata/pull/6174)] add ASF basic config +- [[#6181](https://github.com/apache/incubator-seata/pull/6181)] update contributing doc +- [[#6179](https://github.com/apache/incubator-seata/pull/6179)] remove @author info +- [[#6176](https://github.com/apache/incubator-seata/pull/6176)] update source header +- [[#6178](https://github.com/apache/incubator-seata/pull/6178)] update the header of Apache License +- [[#6186](https://github.com/apache/incubator-seata/pull/6186)] update README.md(update mailing list and repository urls) +- [[#6184](https://github.com/apache/incubator-seata/pull/6184)] update NOTICE file +- [[#6192](https://github.com/apache/incubator-seata/pull/6192)] remove the useless file +- [[#6194](https://github.com/apache/incubator-seata/pull/6194)] fix asf.yaml parse error +- [[#5399](https://github.com/apache/incubator-seata/pull/5399)] optimizing branch register resource only at RM server end +- [[#6154](https://github.com/apache/incubator-seata/pull/6154)] console log optimize for "kubectl logs -f" +- [[#6116](https://github.com/apache/incubator-seata/pull/6116)] rewrite NettyPoolKey's hashcode and equals to fix duplicate construction of channel object pools +- [[#6195](https://github.com/apache/incubator-seata/pull/6195)] update the url in change log to apache/incubator-seata +- [[#6200](https://github.com/apache/incubator-seata/pull/6200)] cancel required_status_checks +- [[#6201](https://github.com/apache/incubator-seata/pull/6201)] restore required_status_checks kept to remove context validation +- [[#6218](https://github.com/apache/incubator-seata/pull/6218)] remove Seata-Docker link +- [[#6227](https://github.com/apache/incubator-seata/pull/6227)] validate that the primary key is free of illegal characters +- [[#6004](https://github.com/apache/incubator-seata/pull/6004)] optimize RM TM startup connect server fail fast +- [[#6243](https://github.com/apache/incubator-seata/pull/6243)] optimize links in the console header +- [[#6238](https://github.com/apache/incubator-seata/pull/6238)] optimize some files +- [[#6239](https://github.com/apache/incubator-seata/pull/6239)] update security policy, disclaimer and notice +- [[#6245](https://github.com/apache/incubator-seata/pull/6245)] in file mode, the configuration in the application takes effect, when the spring configuration in the configuration center is changed +- [[#6247](https://github.com/apache/incubator-seata/pull/6247)] optimize asf.yml +- [[#6259](https://github.com/apache/incubator-seata/pull/6259)] modify error message which is global session size more than config +- [[#6264](https://github.com/apache/incubator-seata/pull/6264)] fix jib-maven-plugin build failed +- [[#6246](https://github.com/apache/incubator-seata/pull/6246)] build the frontend at the same time as the maven build +- [[#6268](https://github.com/apache/incubator-seata/pull/6268)] optimize outdate npmjs dependencies in console +- [[#6271](https://github.com/apache/incubator-seata/pull/6271)] unifty the git information +- [[#6265](https://github.com/apache/incubator-seata/pull/6265)] optimization fails to build frontend on arm64 +- [[#6267](https://github.com/apache/incubator-seata/pull/6267)] add Server deserialization validation +- [[#6275](https://github.com/apache/incubator-seata/pull/6275)] optimize the label's format in .asf.yaml +- [[#6291](https://github.com/apache/incubator-seata/pull/6291)] seata-server is developed in idea and console support output logs +- [[#6283](https://github.com/apache/incubator-seata/pull/6283)] add a compatible module to support io.seata APIs +- [[#6294](https://github.com/apache/incubator-seata/pull/6294)] split the frontend resource build process into separate profiles +- [[#6285](https://github.com/apache/incubator-seata/pull/6285)] optimize time query conditions in the console +- [[#6297](https://github.com/apache/incubator-seata/pull/6297)] fix problem of `maven-pmd-plugin` +- [[#6298](https://github.com/apache/incubator-seata/pull/6298)] repackage name to org.apache.seata +- [[#6302](https://github.com/apache/incubator-seata/pull/6302)] add io.seata package shade +- [[#6306](https://github.com/apache/incubator-seata/pull/6306)] replace some URL to org/apache/seata +- [[#6304](https://github.com/apache/incubator-seata/pull/6304)] disable Publish OSSRH workflow +- [[#6310](https://github.com/apache/incubator-seata/pull/6310)] seata-server compatible io.seata package +- [[#6301](https://github.com/apache/incubator-seata/pull/6301)] upgrade console frontend dependencies and supported nodejs versions +- [[#6301](https://github.com/apache/incubator-seata/pull/6312)] add saga related io.seata compatible api +- [[#6313](https://github.com/apache/incubator-seata/pull/6313)] console display the version number +- [[#6315](https://github.com/apache/incubator-seata/pull/6315)] compatible with lower versions of SPI +- [[#6327](https://github.com/apache/incubator-seata/pull/6327)] compatible with integration.http and integration.http.Jakarta +- [[#6328](https://github.com/apache/incubator-seata/pull/6328)] compatible with integration.grpc +- [[#6330](https://github.com/apache/incubator-seata/pull/6330)] remove mariadb API +- [[#6329](https://github.com/apache/incubator-seata/pull/6312)] add saga subcomponent-level io.seata compatible api +- [[#6254](https://github.com/apache/incubator-seata/pull/6254)] optimize Hessian Serialize +- [[#6332](https://github.com/apache/incubator-seata/pull/6332)] remove mysql dependency from the distribution package +- [[#6343](https://github.com/apache/incubator-seata/pull/6343)] compatible with tm module and rm-datasource module +- [[#6357](https://github.com/apache/incubator-seata/pull/6357)] optimize serialization/deserialization of protocol codec +- [[#6345](https://github.com/apache/incubator-seata/pull/6345)] compatible with tcc module +- [[#6356](https://github.com/apache/incubator-seata/pull/6356)] remove authentication from the health check page +- [[#6360](https://github.com/apache/incubator-seata/pull/6360)] optimize 401 issues for some links +- [[#6366](https://github.com/apache/incubator-seata/pull/6366)] optimized globaltransaction compatibility issues +- [[#6369](https://github.com/apache/incubator-seata/pull/6369)] optimize arm64 ci +- [[#6386](https://github.com/apache/incubator-seata/pull/6386)] replace `byte-buddy` to JDK proxy + in `ConfigurationCache` +- [[#6391](https://github.com/apache/incubator-seata/pull/6091)] forbid duplicate registration of TCC resources +- [[#6393](https://github.com/apache/incubator-seata/pull/6393)] determine the version before sync metadata and add + retry mechanism +- [[#6387](https://github.com/apache/incubator-seata/pull/6387)] optimize tcc use compatible +- [[#6402](https://github.com/apache/incubator-seata/pull/6402)] optimize rm-datasource use compatible +- [[#6417](https://github.com/apache/incubator-seata/pull/6417)] add version to the console banner + +### refactor: +- [[#6269](https://github.com/apache/incubator-seata/pull/6269)] standardize Seata Exception +- [[#6403](https://github.com/apache/incubator-seata/pull/6403)] optimize config compatible module +- [[#6419](https://github.com/apache/incubator-seata/pull/6419)] optimize integration-tx-api compatible +- [[#6427](https://github.com/apache/incubator-seata/pull/6427)] support spi、saga、spring module compatible +- [[#6442](https://github.com/apache/incubator-seata/pull/6442)] clarify if conditions +- [[#6487](https://github.com/apache/incubator-seata/pull/6487)] fix typo and package name +- [[#6442](https://github.com/apache/incubator-seata/pull/6442)] clarify if conditions +- [[#6405](https://github.com/apache/incubator-seata/pull/6405)] fix kotlin compile failure +- [[#6412](https://github.com/apache/incubator-seata/pull/6412)] optimize core compatible module +- [[#6429](https://github.com/apache/incubator-seata/pull/6429)] remove repetitive words - [[#6499](https://github.com/apache/incubator-seata/pull/6499)] split the task thread pool for committing and rollbacking statuses - [[#6208](https://github.com/apache/incubator-seata/pull/6208)] optimize : load SeataSerializer by version - [[#6209](https://github.com/apache/incubator-seata/pull/6209)] Eliminate RpcMessage and Encoder/Decoder dependencies @@ -140,6 +230,7 @@ Thanks to these contributors for their code commits. Please report an unintended - [lyl2008dsg](https://github.com/lyl2008dsg) - [lightClouds917](https://github.com/lightClouds917) - [l81893521](https://github.com/l81893521) +- [lightClouds917](https://github.com/lightClouds917) - [laywin](https://github.com/laywin) - [xiaoxiangyeyu0](https://github.com/xiaoxiangyeyu0) - [LegGasai](https://github.com/LegGasai) diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 9868fa5fecc..076bfb68533 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -46,6 +46,89 @@ ### optimize: +- [[#6031](https://github.com/apache/incubator-seata/pull/6031)] 添加undo_log表的存在性校验 +- [[#6089](https://github.com/apache/incubator-seata/pull/6089)] 修改RaftServerFactory语义并删除不必要的单例构建 +- [[#4473](https://github.com/apache/incubator-seata/pull/4473)] rm appdata大小限制 +- [[#6071](https://github.com/apache/incubator-seata/pull/6071)] 添加git信息到JAR包中 +- [[#6042](https://github.com/apache/incubator-seata/pull/6042)] 增加raft模式鉴权机制 +- [[#6091](https://github.com/apache/incubator-seata/pull/6091)] 优化raft鉴权时获取tc地址的方式 +- [[#6098](https://github.com/apache/incubator-seata/pull/6098)] 优化acquireMetadata方法的重试逻辑 +- [[#6034](https://github.com/apache/incubator-seata/pull/6034)] 使用helm图表进行部署时使用命令行中的命名空间 +- [[#6116](https://github.com/apache/incubator-seata/pull/6034)] 移除 lgtm.com +- [[#6164](https://github.com/apache/incubator-seata/pull/6164)] redis 注册中心推空保护优化 +- [[#6174](https://github.com/apache/incubator-seata/pull/6174)] 增加 ASF 基础配置 +- [[#6148](https://github.com/apache/incubator-seata/pull/6148)] 支持 Nacos ram role 鉴权方式 +- [[#6181](https://github.com/apache/incubator-seata/pull/6181)] 更新贡献指引文档 +- [[#6179](https://github.com/apache/incubator-seata/pull/6179)] 移除 @author 信息 +- [[#6176](https://github.com/apache/incubator-seata/pull/6176)] 更新源文件header信息 +- [[#6178](https://github.com/apache/incubator-seata/pull/6178)] 更新Apache License头信息 +- [[#6186](https://github.com/apache/incubator-seata/pull/6186)] 更新README.md(更新邮件列表和一些生态访问链接) +- [[#6184](https://github.com/apache/incubator-seata/pull/6184)] 更新NOTICE文件 +- [[#6192](https://github.com/apache/incubator-seata/pull/6192)] 移除无用文件 +- [[#6194](https://github.com/apache/incubator-seata/pull/6194)] 修复 asf.yaml 解析错误问题 +- [[#5399](https://github.com/apache/incubator-seata/pull/5399)] 分支注册只在RM端 +- [[#6154](https://github.com/apache/incubator-seata/pull/6154)] 控制台日志优化 "kubectl logs -f" +- [[#6116](https://github.com/apache/incubator-seata/pull/6116)] 重写NettyPoolKey的hashcode和equals,修复了channel对象池重复构建问题 +- [[#6195](https://github.com/apache/incubator-seata/pull/6195)] 更新 change log 中的 seata url 为 apache/incubator-seata +- [[#6200](https://github.com/apache/incubator-seata/pull/6200)] 去除required_status_checks检查 +- [[#6201](https://github.com/apache/incubator-seata/pull/6201)] 恢复required_status_checks但去除context校验 +- [[#6218](https://github.com/apache/incubator-seata/pull/6218)] 移除Seata-Docker链接 +- [[#6227](https://github.com/apache/incubator-seata/pull/6227)] 校验pk中不含逗号 +- [[#6004](https://github.com/apache/incubator-seata/pull/6004)] 优化RM,TM连接server快速失败 +- [[#6243](https://github.com/apache/incubator-seata/pull/6243)] 优化控制台页眉中的链接 +- [[#6238](https://github.com/apache/incubator-seata/pull/6238)] 文件合规优化 +- [[#6239](https://github.com/apache/incubator-seata/pull/6239)] 更新security policy,disclaimer 和 notice 文件 +- [[#6245](https://github.com/apache/incubator-seata/pull/6245)] file模式下,在配置中心的spring配置改变时,使应用程序中的配置生效 +- [[#6247](https://github.com/apache/incubator-seata/pull/6247)] 优化 asf.yml 配置 +- [[#6259](https://github.com/apache/incubator-seata/pull/6259)] 修改全局会话大小超过配置的错误消息 +- [[#6264](https://github.com/apache/incubator-seata/pull/6264)] 修复 jib-maven-plugin 编译失败问题 +- [[#6246](https://github.com/apache/incubator-seata/pull/6246)] 在maven打包的同时打包前端资源 +- [[#6268](https://github.com/apache/incubator-seata/pull/6268)] 更新console模块 npmjs 过时依赖 +- [[#6271](https://github.com/apache/incubator-seata/pull/6271)] 统一git信息 +- [[#6265](https://github.com/apache/incubator-seata/pull/6265)] 优化在 arm64 上构建前端失败的问题 +- [[#6267](https://github.com/apache/incubator-seata/pull/6267)] 增加 Server 反序列化校验 +- [[#6275](https://github.com/apache/incubator-seata/pull/6275)] 优化.asf.yaml文件中的label格式 +- [[#6291](https://github.com/apache/incubator-seata/pull/6291)] 优化seata-server在idea等开发工具运行时,控制台未输出完整日志的问题 +- [[#6283](https://github.com/apache/incubator-seata/pull/6283)] 增加兼容模块支持 io.seata APIs +- [[#6294](https://github.com/apache/incubator-seata/pull/6294)] 拆分前端资源打包流程到单独的profile +- [[#6285](https://github.com/apache/incubator-seata/pull/6285)] 优化控台中时间查询条件不准确的问题 +- [[#6297](https://github.com/apache/incubator-seata/pull/6297)] 修复 `maven-pmd-plugin` 相关的问题 +- [[#6298](https://github.com/apache/incubator-seata/pull/6298)] 重命名包名为 org.apache.seata +- [[#6302](https://github.com/apache/incubator-seata/pull/6302)] 增加 io.seata shade 打包方案 +- [[#6306](https://github.com/apache/incubator-seata/pull/6306)] 替换一些URL 至 org/apache/seata +- [[#6304](https://github.com/apache/incubator-seata/pull/6304)] 禁用 OSSRH 发布工作流 +- [[#6310](https://github.com/apache/incubator-seata/pull/6310)] seata-server兼容io.seata包 +- [[#6301](https://github.com/apache/incubator-seata/pull/6301)] 升级console前端依赖及支持的nodejs版本 +- [[#6301](https://github.com/apache/incubator-seata/pull/6312)] 添加saga相关的io.seata兼容性API +- [[#6313](https://github.com/apache/incubator-seata/pull/6313)] console展示版本号 +- [[#6315](https://github.com/apache/incubator-seata/pull/6315)] 兼容低版本的SPI +- [[#6327](https://github.com/apache/incubator-seata/pull/6327)] 兼容 integration.http 和 integration.http.Jakarta API +- [[#6328](https://github.com/apache/incubator-seata/pull/6328)] 兼容 integration.grpc API +- [[#6330](https://github.com/apache/incubator-seata/pull/6330)] 去除 mariadb API +- [[#6329](https://github.com/apache/incubator-seata/pull/6312)] 添加 saga 子组件的 io.seata 兼容性 API +- [[#6254](https://github.com/apache/incubator-seata/pull/6254)] 优化Hessian 序列化 +- [[#6343](https://github.com/apache/incubator-seata/pull/6343)] 兼容tm 模块和rm-datasource模块 +- [[#6345](https://github.com/apache/incubator-seata/pull/6345)] 兼容tcc模块 +- [[#6332](https://github.com/apache/incubator-seata/pull/6332)] 分发包中移除 mysql 依赖 +- [[#6343](https://github.com/apache/incubator-seata/pull/6343)] 兼容 TM 模块和 rm-datasource 模块 +- [[#6349](https://github.com/apache/incubator-seata/pull/6349)] 迁移 dockerhub 仓库 +- [[#6357](https://github.com/apache/incubator-seata/pull/6357)] 优化协议编解码的序列化/反序列化 +- [[#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 配置 +- [[#6366](https://github.com/apache/incubator-seata/pull/6366)] 优化globaltransaction向下兼容性 +- [[#6369](https://github.com/apache/incubator-seata/pull/6369)] 优化 arm64 ci +- [[#6386](https://github.com/apache/incubator-seata/pull/6386)] 在 `ConfigurationCache` 类中,将 `byte-buddy` 替换为JDK代理 +- [[#6391](https://github.com/apache/incubator-seata/pull/6091)] 禁止重复注册TCC资源 +- [[#6393](https://github.com/apache/incubator-seata/pull/6393)] 元数据同步前判断版本,并增加重试功能 +- [[#6387](https://github.com/apache/incubator-seata/pull/6387)] 优化tcc使用兼容 +- [[#6403](https://github.com/apache/incubator-seata/pull/6403)] 优化 Config 兼容模块 +- [[#6402](https://github.com/apache/incubator-seata/pull/6402)] 优化rm-datasource向下兼容 +- [[#6417](https://github.com/apache/incubator-seata/pull/6417)] 控制台banner添加版本号 +- [[#6419](https://github.com/apache/incubator-seata/pull/6419)] 优化integration-tx-api向下兼容 +- [[#6427](https://github.com/apache/incubator-seata/pull/6427)] 支持spi、saga、spring模块的向下兼容 +- [[#6442](https://github.com/apache/incubator-seata/pull/6442)] 阐明 if +- [[#6487](https://github.com/apache/incubator-seata/pull/6487)] 修复错误包名以及单词 - [[#6499](https://github.com/apache/incubator-seata/pull/6499)] 拆分 committing 和 rollbacking 状态的任务线程池 - [[#6208](https://github.com/apache/incubator-seata/pull/6208)] 支持多版本的Seata序列化 - [[#6209](https://github.com/apache/incubator-seata/pull/6209)] 解开 RpcMessage 和 Encoder/Decoder 的互相依赖 @@ -141,6 +224,7 @@ - [lyl2008dsg](https://github.com/lyl2008dsg) - [lightClouds917](https://github.com/lightClouds917) - [l81893521](https://github.com/l81893521) +- [lightClouds917](https://github.com/lightClouds917) - [laywin](https://github.com/laywin) - [xiaoxiangyeyu0](https://github.com/xiaoxiangyeyu0) - [LegGasai](https://github.com/LegGasai) diff --git a/server/src/main/java/org/apache/seata/server/ServerApplication.java b/server/src/main/java/org/apache/seata/server/ServerApplication.java index 952187137e3..c9b5d7915d5 100644 --- a/server/src/main/java/org/apache/seata/server/ServerApplication.java +++ b/server/src/main/java/org/apache/seata/server/ServerApplication.java @@ -18,15 +18,22 @@ import java.io.IOException; +import org.apache.seata.core.protocol.Version; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** + * Server Application */ @SpringBootApplication(scanBasePackages = {"org.apache.seata"}) public class ServerApplication { + private static final Logger LOGGER = LoggerFactory.getLogger(ServerApplication.class); + public static void main(String[] args) throws IOException { // run the spring-boot application + LOGGER.info("current version: {}", Version.getCurrent()); SpringApplication.run(ServerApplication.class, args); } } diff --git a/server/src/main/resources/banner.txt b/server/src/main/resources/banner.txt index e561e763b52..684cdfda91b 100644 --- a/server/src/main/resources/banner.txt +++ b/server/src/main/resources/banner.txt @@ -1,7 +1,10 @@ -███████╗███████╗ █████╗ ████████╗ █████╗ -██╔════╝██╔════╝██╔══██╗╚══██╔══╝██╔══██╗ -███████╗█████╗ ███████║ ██║ ███████║ -╚════██║██╔══╝ ██╔══██║ ██║ ██╔══██║ -███████║███████╗██║ ██║ ██║ ██║ ██║ -╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ - + _ _____ _ + /\ | | / ____| | | + / \ _ __ __ _ ___| |__ ___ | (___ ___ __ _| |_ __ _ + / /\ \ | '_ \ / _` |/ __| '_ \ / _ \ \___ \ / _ \/ _` | __/ _` | + / ____ \| |_) | (_| | (__| | | | __/ ____) | __/ (_| | || (_| | +/_/ \_\ .__/ \__,_|\___|_| |_|\___| |_____/ \___|\__,_|\__\__,_| + | | + |_| +document:https://seata.apache.org +github:https://github.com/apache/incubator-seata