diff --git a/changes/2.0.0.md b/changes/2.0.0.md index 93713d30..05e9e637 100644 --- a/changes/2.0.0.md +++ b/changes/2.0.0.md @@ -19,7 +19,6 @@
Release notes - ### Seata-go 2.0.0 Seata-go 2.0.0 Released. @@ -30,6 +29,8 @@ The version is updated as follows: ### feature: +- [[#761](https://github.com/apache/incubator-seata-go/pull/761)]Support Update join +- [[#806](https://github.com/apache/incubator-seata-go/pull/806)]Add Release Drafter configuration files - [[#659](https://github.com/apache/incubator-seata-go/pull/659)] support compress for AT undo log - [[#574](https://github.com/apache/incubator-seata-go/pull/574)] support file and nacos service registry - [[#584](https://github.com/apache/incubator-seata-go/pull/584)] support the ConsistentHash load balancing strategy in the remoting module @@ -42,6 +43,23 @@ The version is updated as follows: ### bugfix: +- [[#877](https://github.com/apache/incubator-seata-go/pull/857)]del metadatacache uppertablenamekey and increase tablemeta field uppertablename + +- [[#861](https://github.com/apache/incubator-seata-go/pull/861)]update project icon in readme +- [[#834](https://github.com/apache/incubator-seata-go/pull/834)]Solve the conflict problem of introducing multiple versions of knadh +- [[#839](https://github.com/apache/incubator-seata-go/pull/839)]fix action errors +- [[#850](https://github.com/apache/incubator-seata-go/pull/850)]fix failed parsing table of delete sql +- [[#823](https://github.com/apache/incubator-seata-go/pull/823)]Remove issue translation workflow +- [[#820](https://github.com/apache/incubator-seata-go/pull/820)]Fix possible vulnerabilities caused by common libraries +- [[#810](https://github.com/apache/incubator-seata-go/pull/810)]fix transaction failed ,when using queryContext +- [[#813](https://github.com/apache/incubator-seata-go/pull/813)]add some licenser header +- [[#771](https://github.com/apache/incubator-seata-go/pull/771)]mysql insert on update duplicate sensitive case not matched +- [[#797](https://github.com/apache/incubator-seata-go/pull/797)] add ASF header to some files +- [[#781](https://github.com/apache/incubator-seata-go/pull/781)] Fixed that the same record has different lowkeys due to mixed case of table names +- [[#780](https://github.com/apache/incubator-seata-go/pull/780)] failed to decode ColumnImage mysql:text type by json +- [[#782](https://github.com/apache/incubator-seata-go/pull/782)] failed to decode ColumnImage mysql:text type by json +- [[#789](https://github.com/apache/incubator-seata-go/pull/789)] add 2025 to NOTICE +- [[#776](https://github.com/apache/incubator-seata-go/pull/776)] fix ci-lint typecheck error - [[#540](https://github.com/apache/incubator-seata-go/pull/540)] fix init XA panic bug - [[#590](https://github.com/apache/incubator-seata-go/pull/590)] fix some repo error - [[#595](https://github.com/apache/incubator-seata-go/pull/595)] check the response error is nil for commit or rollback @@ -60,6 +78,14 @@ The version is updated as follows: ### optimize: +- [[#837](https://github.com/apache/incubator-seata-go/pull/837)]AT model optimize build lock key performance +- [[#824](https://github.com/apache/incubator-seata-go/pull/824)]update SHA256 checksum command in makefile for cross-platform compatibility +- [[#777](https://github.com/apache/incubator-seata-go/pull/777)]optimize transaction timeout judgment +- [[#786](https://github.com/apache/incubator-seata-go/pull/786)]support ipv6 +- [[#802](https://github.com/apache/incubator-seata-go/pull/802)]support get db version in conn +- [[#745](https://github.com/apache/incubator-seata-go/pull/745)]optimized the daily deletion of fence logs +- [[#767](https://github.com/apache/incubator-seata-go/pull/767)]upgrade some dependent packages to eliminate dependencies on some archived repositories +- [[#768](https://github.com/apache/incubator-seata-go/pull/768)]update parser to v0.2.17 - [[#576](https://github.com/apache/incubator-seata-go/pull/576)] use mirromutth/mysql-action instead of icomponent/mysql-action - [[#594](https://github.com/apache/incubator-seata-go/pull/594)] optimize the log of branch commit procesor - [[#621](https://github.com/apache/incubator-seata-go/pull/621)] add codeql for ci @@ -83,6 +109,9 @@ The version is updated as follows: ### doc: + +- [[#844](https://github.com/apache/incubator-seata-go/pull/844)]Enrich the project ReadMe +- [[#760](https://github.com/apache/incubator-seata-go/pull/760)]V2.0.0 release updater - [[#614](https://github.com/apache/incubator-seata-go/pull/614)] upgrade the unknown license dependency - [[#632](https://github.com/apache/incubator-seata-go/pull/632)] add ASF basic config - [[#633](https://github.com/apache/incubator-seata-go/pull/633)] optimize ASF basic config to remove th context check @@ -90,7 +119,6 @@ The version is updated as follows: - [[#686](https://github.com/apache/incubator-seata-go/pull/686)] add more linter in ci - [[#737](https://github.com/apache/incubator-seata-go/pull/737)] modify the readme file and update the currently completed work - [[#756](https://github.com/apache/incubator-seata-go/pull/756)] update license checker -- [[#797](https://github.com/apache/incubator-seata-go/pull/797)] add ASF header to some files ### contributors: @@ -128,8 +156,17 @@ Thanks to these contributors for their code commits. Please report an unintended - [funky-eyes](https://github.com/funky-eyes) - [tanzegen](https://github.com/tanzegen) - [lovepoem](https://github.com/lovepoem) +- [MinatoWu](https://github.com/MinatoWu) +- [LucienShen-Liu](https://github.com/LucienShen-Liu) +- [panlei-coder](https://github.com/panlei-coder) +- [lixingjia77](https://github.com/lixingjia77) +- [Road2Melon](https://github.com/Road2Melon) +- [Similarityoung](https://github.com/Similarityoung) - [YvCeung](https://github.com/YvCeung) - +- [pjfanning](https://github.com/pjfanning) +- [hokkine](https://github.com/hokkine) +- [zhangymPerson](https://github.com/zhangymPerson) +- [ForestLH](https://github.com/ForestLH) Also, we receive many valuable issues, questions and advices from our community. Thanks all. diff --git a/changes/2.0.0_zh.md b/changes/2.0.0_zh.md index c36d748e..25affb90 100644 --- a/changes/2.0.0_zh.md +++ b/changes/2.0.0_zh.md @@ -19,83 +19,107 @@
版本变更 - -### Seata-go 2.0.0 - -Seata-go 2.0.0 发布。 - -Seata-go 是一款开源的分布式事务解决方案,提供高性能和简单易用的分布式事务服务。 - -此版本更新如下: - -### feature: - -- [[#574](https://github.com/apache/incubator-seata-go/pull/574)] 支持本地文件类型和 Nacos 类型的注册中心 -- [[#584](https://github.com/apache/incubator-seata-go/pull/584)] 远程调用模块支持 ConsistentHash 负载均衡策略 -- [[#585](https://github.com/apache/incubator-seata-go/pull/585)] 远程调用模块支持 LeastActive 负载均衡策略 -- [[#605](https://github.com/apache/incubator-seata-go/pull/605)] 支持 Etcd 的服务发现 -- [[#622](https://github.com/apache/incubator-seata-go/pull/622)] 远程调用模块增加轮询策略 -- [[#659](https://github.com/apache/incubator-seata-go/pull/659)] 支持 AT undo log 的压缩 -- [[#691](https://github.com/apache/incubator-seata-go/pull/691)] 支持 protobuf 类型的 undo log 解析 -- [[#738](https://github.com/apache/incubator-seata-go/pull/738)] 发送心跳消息失败时移除会话 -- [[#739](https://github.com/apache/incubator-seata-go/pull/739)] 支持表元数据缓存的自动刷新功能 - -### bugfix: - -- [[#540](https://github.com/apache/incubator-seata-go/pull/540)] 修复初始化 XA 时的 bug -- [[#590](https://github.com/apache/incubator-seata-go/pull/590)] 修复一些类型的错误 -- [[#595](https://github.com/apache/incubator-seata-go/pull/595)] 提交或回滚时检查响应错误是否为 nil -- [[#607](https://github.com/apache/incubator-seata-go/pull/607)] 修复 Jackson 序列化的 bug -- [[#665](https://github.com/apache/incubator-seata-go/pull/665)] 回收心跳响应消息,避免 GettyRemoting.future 的内存泄漏 -- [[#672](https://github.com/apache/incubator-seata-go/pull/672)] 修复 AT 回滚的 bug -- [[#674](https://github.com/apache/incubator-seata-go/pull/674)] 修复 XA 回滚的 bug -- [[#690](https://github.com/apache/incubator-seata-go/pull/690)] 修复 AT undo log Jackson 解析器未找到的 bug -- [[#701](https://github.com/apache/incubator-seata-go/pull/701)] 修复 InsertOnDuplicateUpdate 问题,绕过修改主键 -- [[#717](https://github.com/apache/incubator-seata-go/pull/717)] 支持 XA 向 TC 报告状态 -- [[#724](https://github.com/apache/incubator-seata-go/pull/724)] SQL 解析器支持 ParenthesesExpr -- [[#736](https://github.com/apache/incubator-seata-go/pull/736)] 修复 SQL 语句未关闭的 bug -- [[#743](https://github.com/apache/incubator-seata-go/pull/743)] 修复 gomonkey 的 bug -- [[#749](https://github.com/apache/incubator-seata-go/pull/749)] 修复心跳的 bug - - -### optimize: - -- [[#576](https://github.com/apache/incubator-seata-go/pull/576)] 使用 mirromutth/mysql-action 替代 icomponent/mysql-action -- [[#594](https://github.com/apache/incubator-seata-go/pull/594)] 优化 branch commit procesor 的日志 -- [[#621](https://github.com/apache/incubator-seata-go/pull/621)] 为 ci 添加 codeql -- [[#631](https://github.com/apache/incubator-seata-go/pull/631)] 将 crypto 版本从 0.9.0 升级到 0.17.0 -- [[#652](https://github.com/apache/incubator-seata-go/pull/652)] 将 gRPC 版本从 1.51.0 升级到 1.56.3 -- [[#667](https://github.com/apache/incubator-seata-go/pull/667)] 将通知邮箱从 dev 更新为 notifications -- [[#679](https://github.com/apache/incubator-seata-go/pull/679)] 将 getty 版本从 1.4.9 升级到 1.4.10 -- [[#678](https://github.com/apache/incubator-seata-go/pull/678)] 将 module 命名为 seata.apache.org/seata-go -- [[#721](https://github.com/apache/incubator-seata-go/pull/721)] 修复翻译机器人无法工作的问题 -- [[#719](https://github.com/apache/incubator-seata-go/pull/719)] Insert SQL 的 undo log 只保留插入的字段 -- [[#714](https://github.com/apache/incubator-seata-go/pull/714)] 优化构建锁键的速度 -- [[#758](https://github.com/apache/incubator-seata-go/pull/758)] 移除无用的文件 - -### test: - -- [[#570](https://github.com/apache/incubator-seata-go/pull/570)] 添加 collecion 的单元测试 -- [[#571](https://github.com/apache/incubator-seata-go/pull/571)] 添加 convert 的单元测试 -- [[#572](https://github.com/apache/incubator-seata-go/pull/572)] 添加 reflectx 的单元测试 -- [[#5835f0](https://github.com/apache/incubator-seata-go/commit/5835f09ecfd6edeb04c2961163bc4460f578e942)] 添加 random loadbalance 的单元测试 -- [[#599](https://github.com/apache/incubator-seata-go/pull/599)] 添加 xid loadbalance 的单元测试 - - -### doc: -- [[#614](https://github.com/apache/incubator-seata-go/pull/614)] 升级未知许可证依赖 -- [[#632](https://github.com/apache/incubator-seata-go/pull/632)] 添加 ASF 配置 -- [[#633](https://github.com/apache/incubator-seata-go/pull/633)] 优化 ASF 配置,移除上下文检查 -- [[#644](https://github.com/apache/incubator-seata-go/pull/644)] 优化 readme 文件 -- [[#686](https://github.com/apache/incubator-seata-go/pull/686)] 在 ci 中添加更多的 linter -- [[#737](https://github.com/apache/incubator-seata-go/pull/737)] 更新 readme 文件中已完成的工作 -- [[#756](https://github.com/apache/incubator-seata-go/pull/756)] 添加 license 检查逻辑 -- [[#797](https://github.com/apache/incubator-seata-go/pull/797)] 给一些源文件添加 ASF header - - -### contributors: - -非常感谢以下 contributors 的代码贡献。若有无意遗漏,请报告。 +# Seata-go 2.0.0 + +Seata-go 2.0.0 已发布。 + +Seata-go 是一个易于使用、高性能的开源分布式事务解决方案。 + +本版本更新内容如下: + +## 新增特性(feature): + +- [[#761](https://github.com/apache/incubator-seata-go/pull/761)] 支持 Update join。 +- [[#806](https://github.com/apache/incubator-seata-go/pull/806)] 新增 Release Drafter 配置文件。 +- [[#659](https://github.com/apache/incubator-seata-go/pull/659)] 为 AT undo log 支持压缩。 +- [[#574](https://github.com/apache/incubator-seata-go/pull/574)] 支持基于文件(file)和 Nacos 的服务注册。 +- [[#584](https://github.com/apache/incubator-seata-go/pull/584)] 在 remoting 模块中支持 ConsistentHash 负载均衡策略。 +- [[#585](https://github.com/apache/incubator-seata-go/pull/585)] 在 remoting 模块中支持 LeastActive 负载均衡策略。 +- [[#605](https://github.com/apache/incubator-seata-go/pull/605)] 支持 Etcd 的服务发现。 +- [[#622](https://github.com/apache/incubator-seata-go/pull/622)] 为远程调用新增轮询(round robin)策略。 +- [[#691](https://github.com/apache/incubator-seata-go/pull/691)] 支持 protobuf 格式的 undo log 解析器。 +- [[#738](https://github.com/apache/incubator-seata-go/pull/738)] 在发送心跳消息失败时移除会话。 +- [[#739](https://github.com/apache/incubator-seata-go/pull/739)] 支持表元数据缓存的自动刷新功能。 + +## 修复(bugfix): + +- [[#877](https://github.com/apache/incubator-seata-go/pull/857)] 删除 metadatacache 的 uppertablenamekey,并在 tablemeta 中增加 uppertablename 字段。 +- [[#861](https://github.com/apache/incubator-seata-go/pull/861)] 更新 README 中的项目图标。 +- [[#834](https://github.com/apache/incubator-seata-go/pull/834)] 解决引入多个版本 knadh 导致的冲突问题。 +- [[#839](https://github.com/apache/incubator-seata-go/pull/839)] 修复 Action 错误。 +- [[#850](https://github.com/apache/incubator-seata-go/pull/850)] 修复删除类 SQL 的表解析失败问题。 +- [[#823](https://github.com/apache/incubator-seata-go/pull/823)] 移除 issue 翻译工作流。 +- [[#820](https://github.com/apache/incubator-seata-go/pull/820)] 修复由通用库引起的潜在安全漏洞。 +- [[#810](https://github.com/apache/incubator-seata-go/pull/810)] 修复在使用 queryContext 时导致事务失败的问题。 +- [[#813](https://github.com/apache/incubator-seata-go/pull/813)] 为若干文件添加许可头。 +- [[#771](https://github.com/apache/incubator-seata-go/pull/771)] 修复 MySQL `INSERT ... ON DUPLICATE UPDATE` 在大小写敏感场景下匹配不正确的问题。 +- [[#797](https://github.com/apache/incubator-seata-go/pull/797)] 为部分文件添加 ASF 头。 +- [[#781](https://github.com/apache/incubator-seata-go/pull/781)] 修复因表名大小写混合导致相同记录出现不同 lowkeys 的问题。 +- [[#780](https://github.com/apache/incubator-seata-go/pull/780)] 修复无法通过 JSON 解码 MySQL `TEXT` 类型的 ColumnImage 的问题。 +- [[#782](https://github.com/apache/incubator-seata-go/pull/782)] 修复无法通过 JSON 解码 MySQL `TEXT` 类型的 ColumnImage 的问题(重复修复项)。 +- [[#789](https://github.com/apache/incubator-seata-go/pull/789)] 在 NOTICE 中添加 2025 年。 +- [[#776](https://github.com/apache/incubator-seata-go/pull/776)] 修复 CI lint 类型检查错误。 +- [[#540](https://github.com/apache/incubator-seata-go/pull/540)] 修复初始化 XA 时的 panic 错误。 +- [[#590](https://github.com/apache/incubator-seata-go/pull/590)] 修复若干仓库错误。 +- [[#595](https://github.com/apache/incubator-seata-go/pull/595)] 在提交(commit)或回滚(rollback)时检查响应错误是否为 nil。 +- [[#607](https://github.com/apache/incubator-seata-go/pull/607)] 修复 Jackson 序列化的相关 bug。 +- [[#665](https://github.com/apache/incubator-seata-go/pull/665)] 回收心跳响应消息,以避免 GettyRemoting.future 的内存泄漏。 +- [[#672](https://github.com/apache/incubator-seata-go/pull/672)] 修复 AT 回滚的错误。 +- [[#674](https://github.com/apache/incubator-seata-go/pull/674)] 修复 XA 回滚的错误。 +- [[#690](https://github.com/apache/incubator-seata-go/pull/690)] 修复 AT undo log 的 Jackson 解析器未找到的问题。 +- [[#701](https://github.com/apache/incubator-seata-go/pull/701)] 修复 InsertOnDuplicateUpdate 绕过主键修改所导致的问题。 +- [[#717](https://github.com/apache/incubator-seata-go/pull/717)] 支持 XA 向 TC 报告状态。 +- [[#724](https://github.com/apache/incubator-seata-go/pull/724)] 为 SQL 解析器支持 ParenthesesExpr(括号表达式)。 +- [[#736](https://github.com/apache/incubator-seata-go/pull/736)] 修复 SQL 语句未正确关闭的问题。 +- [[#743](https://github.com/apache/incubator-seata-go/pull/743)] 修复 gomonkey 相关的 bug。 +- [[#749](https://github.com/apache/incubator-seata-go/pull/749)] 修复心跳相关的 bug。 + +## 优化(optimize): + +- [[#837](https://github.com/apache/incubator-seata-go/pull/837)] 优化 AT 模型中构建锁键的性能。 +- [[#824](https://github.com/apache/incubator-seata-go/pull/824)] 更新 Makefile 中的 SHA256 校验命令以兼容跨平台。 +- [[#777](https://github.com/apache/incubator-seata-go/pull/777)] 优化事务超时判断逻辑。 +- [[#786](https://github.com/apache/incubator-seata-go/pull/786)] 支持 IPv6。 +- [[#802](https://github.com/apache/incubator-seata-go/pull/802)] 在连接中支持获取数据库版本。 +- [[#745](https://github.com/apache/incubator-seata-go/pull/745)] 优化 fence 日志的每日删除策略。 +- [[#767](https://github.com/apache/incubator-seata-go/pull/767)] 升级若干依赖包以消除对部分已归档仓库的依赖。 +- [[#768](https://github.com/apache/incubator-seata-go/pull/768)] 将解析器更新至 v0.2.17。 +- [[#576](https://github.com/apache/incubator-seata-go/pull/576)] 在 CI 中使用 mirromutth/mysql-action 替换 icomponent/mysql-action。 +- [[#594](https://github.com/apache/incubator-seata-go/pull/594)] 优化分支提交处理器的日志。 +- [[#621](https://github.com/apache/incubator-seata-go/pull/621)] 为 CI 添加 CodeQL。 +- [[#631](https://github.com/apache/incubator-seata-go/pull/631)] 将 crypto 版本从 0.9.0 升级至 0.17.0。 +- [[#652](https://github.com/apache/incubator-seata-go/pull/652)] 将 gRPC 版本从 1.51.0 升级至 1.56.3。 +- [[#667](https://github.com/apache/incubator-seata-go/pull/667)] 将 issue 与 pull request 的邮箱由 dev 更改为 notifications。 +- [[#678](https://github.com/apache/incubator-seata-go/pull/678)] 将模块名重命名为 `seata.apache.org/seata-go`。 +- [[#679](https://github.com/apache/incubator-seata-go/pull/679)] 将 getty 版本从 1.4.9 升级至 1.4.10。 +- [[#714](https://github.com/apache/incubator-seata-go/pull/714)] 优化构建锁键的速度。 +- [[#719](https://github.com/apache/incubator-seata-go/pull/719)] 在 AT 执行 INSERT SQL 时仅保存被插入的字段。 +- [[#721](https://github.com/apache/incubator-seata-go/pull/721)] 修复翻译机器人不可用的问题。 +- [[#758](https://github.com/apache/incubator-seata-go/pull/758)] 移除未使用的文件。 + +## 测试(test): + +- [[#570](https://github.com/apache/incubator-seata-go/pull/570)] 添加 collection 单元测试。 +- [[#571](https://github.com/apache/incubator-seata-go/pull/571)] 添加 convert 单元测试。 +- [[#572](https://github.com/apache/incubator-seata-go/pull/572)] 添加 reflectx 单元测试。 +- [[#5835f0](https://github.com/apache/incubator-seata-go/commit/5835f09ecfd6edeb04c2961163bc4460f578e942)] 添加 random loadbalance 单元测试。 +- [[#599](https://github.com/apache/incubator-seata-go/pull/599)] 添加 xid loadbalance 单元测试。 + +## 文档(doc): + +- [[#844](https://github.com/apache/incubator-seata-go/pull/844)] 丰富项目 README。 +- [[#760](https://github.com/apache/incubator-seata-go/pull/760)] V2.0.0 发布更新器。 +- [[#614](https://github.com/apache/incubator-seata-go/pull/614)] 升级具有未知许可证的依赖。 +- [[#632](https://github.com/apache/incubator-seata-go/pull/632)] 添加 ASF 基本配置。 +- [[#633](https://github.com/apache/incubator-seata-go/pull/633)] 优化 ASF 基本配置以移除上下文检查。 +- [[#644](https://github.com/apache/incubator-seata-go/pull/644)] 优化 README 文件。 +- [[#686](https://github.com/apache/incubator-seata-go/pull/686)] 在 CI 中添加更多 linter。 +- [[#737](https://github.com/apache/incubator-seata-go/pull/737)] 修改 README 并更新当前已完成的工作项。 +- [[#756](https://github.com/apache/incubator-seata-go/pull/756)] 更新许可检查器。 + +## 贡献者(contributors): + +感谢以下贡献者的代码提交。若有遗漏请告知。 - [luky116](https://github.com/luky116) - [Code-Fight](https://github.com/Code-Fight) @@ -128,8 +152,18 @@ Seata-go 是一款开源的分布式事务解决方案,提供高性能和简 - [funky-eyes](https://github.com/funky-eyes) - [tanzegen](https://github.com/tanzegen) - [lovepoem](https://github.com/lovepoem) +- [MinatoWu](https://github.com/MinatoWu) +- [LucienShen-Liu](https://github.com/LucienShen-Liu) +- [panlei-coder](https://github.com/panlei-coder) +- [lixingjia77](https://github.com/lixingjia77) +- [Road2Melon](https://github.com/Road2Melon) +- [Similarityoung](https://github.com/Similarityoung) - [YvCeung](https://github.com/YvCeung) +- [pjfanning](https://github.com/pjfanning) +- [hokkine](https://github.com/hokkine) +- [zhangymPerson](https://github.com/zhangymPerson) +- [ForestLH](https://github.com/ForestLH) -同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 +此外,我们从社区收到了许多有价值的问题、提问与建议,特此致谢。 \ No newline at end of file