You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by te...@apache.org on 2026/10/09 06:38:29 UTC
(incubator-seata-go) branch master updated: chore: prepare Seata Go v2.2.0 release (#1208)
This is an automated email from the ASF dual-hosted git repository.
thunguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-seata-go.git
The following commit(s) were added to refs/heads/master by this push:
new cfd34b4b chore: prepare Seata Go v2.2.0 release (#1208)
cfd34b4b is described below
commit cfd34b4bb292279437f7385f4a8d73271659cc5d
Author: ThunGuo <te...@apache.org>
AuthorDate: Fri Oct 9 14:38:25 2026 +0800
chore: prepare Seata Go v2.2.0 release (#1208)
* chore: prepare Seata Go v2.2.0 release
* docs: normalize v2.2.0 release note headings
---
VERSION | 2 +-
changes/2.2.0.md | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++
changes/2.2.0_zh.md | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 195 insertions(+), 1 deletion(-)
diff --git a/VERSION b/VERSION
index b50100b7..84d55f70 100644
--- a/VERSION
+++ b/VERSION
@@ -14,4 +14,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-v2.0.0-rc01
+v2.2.0
diff --git a/changes/2.2.0.md b/changes/2.2.0.md
new file mode 100644
index 00000000..f6f942fb
--- /dev/null
+++ b/changes/2.2.0.md
@@ -0,0 +1,97 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+### 2.2.0
+
+<details>
+ <summary><mark>Release notes</mark></summary>
+
+#### Seata-go 2.2.0
+
+Seata-go 2.2.0 release notes.
+
+Seata-go is an easy-to-use, high-performance, open source distributed transaction solution.
+
+The version changes are as follows:
+
+##### feature:
+
+- [[#1039](https://github.com/apache/incubator-seata-go/pull/1039)] Add QueryContext support in AT mode
+- [[#1054](https://github.com/apache/incubator-seata-go/pull/1054)] Add RocketMQ integration for TCC transactions
+- [[#1106](https://github.com/apache/incubator-seata-go/pull/1106)] Support service discovery through Seata Naming Server
+- [[#1107](https://github.com/apache/incubator-seata-go/pull/1107)] Support service discovery and leader lookup for Raft clusters
+- [[#1113](https://github.com/apache/incubator-seata-go/pull/1113)] Add gRPC transport support for Seata client communication
+- [[#1117](https://github.com/apache/incubator-seata-go/pull/1117)] Support PostgreSQL in XA mode through the pgx driver
+- [[#1118](https://github.com/apache/incubator-seata-go/pull/1118)] Support PostgreSQL in AT mode
+- [[#1125](https://github.com/apache/incubator-seata-go/pull/1125)] Extend RocketMQ TCC integration with active transaction completion and action-context reporting
+- [[#1126](https://github.com/apache/incubator-seata-go/pull/1126)] Add a discovery provider registry and address store
+- [[#1133](https://github.com/apache/incubator-seata-go/pull/1133)] Improve composite primary key handling and add related tests
+- [[#1137](https://github.com/apache/incubator-seata-go/pull/1137)] Enroll autoCommit statements as XA branches in global transactions
+- [[#1138](https://github.com/apache/incubator-seata-go/pull/1138)] Propagate registry change snapshots into the remoting address lifecycle
+- [[#1139](https://github.com/apache/incubator-seata-go/pull/1139)] Add ExecBatchContext and ExecBatchInTxContext for ordered batch execution within one local transaction
+- [[#1140](https://github.com/apache/incubator-seata-go/pull/1140)] Support MySQL multi-statement DML in AT mode
+- [[#1142](https://github.com/apache/incubator-seata-go/pull/1142)] Add RISC-V build coverage to CI
+
+##### bugfix:
+
+- [[#996](https://github.com/apache/incubator-seata-go/pull/996)] Allow datasource background goroutines to exit gracefully
+- [[#1061](https://github.com/apache/incubator-seata-go/pull/1061)] Implement commitOnXA() and LockQuery() behavior in XA mode
+- [[#1065](https://github.com/apache/incubator-seata-go/pull/1065)] Fix duplicate primary key errors in undo_log when column names contain escaped characters
+- [[#1070](https://github.com/apache/incubator-seata-go/pull/1070)] Preserve protocol header-map keys whose values are empty
+- [[#1079](https://github.com/apache/incubator-seata-go/pull/1079)] Preserve distinct identities for TCC fence log entries
+- [[#1081](https://github.com/apache/incubator-seata-go/pull/1081)] Synchronize consistent-hash load-balancer refresh operations
+- [[#1083](https://github.com/apache/incubator-seata-go/pull/1083)] Roll back automatically created AT transactions when query or execution fails
+- [[#1085](https://github.com/apache/incubator-seata-go/pull/1085)] Drain cached TCC fence logs for the cleanup task
+- [[#1091](https://github.com/apache/incubator-seata-go/pull/1091)] Correct fallback behavior in the TCC resource manager
+- [[#1096](https://github.com/apache/incubator-seata-go/pull/1096)] Propagate errors from AT executor before hooks
+- [[#1102](https://github.com/apache/incubator-seata-go/pull/1102)] Fix the issue-translation bot workflow
+- [[#1112](https://github.com/apache/incubator-seata-go/pull/1112)] Fix permissions and Node.js runtime settings for the issue bot workflow
+- [[#1114](https://github.com/apache/incubator-seata-go/pull/1114)] Make DayValue serialization consistent across time zones
+- [[#1123](https://github.com/apache/incubator-seata-go/pull/1123)] Intercept REPLACE INTO statements in AT mode
+- [[#1135](https://github.com/apache/incubator-seata-go/pull/1135)] Align the RM undo-log deletion codec with the Java wire format
+- [[#1136](https://github.com/apache/incubator-seata-go/pull/1136)] Fix MySQL multi-value inserts with composite primary keys
+- [[#1141](https://github.com/apache/incubator-seata-go/pull/1141)] Correct MySQL batch execution, image and undo-log handling in AT mode
+- [[#1150](https://github.com/apache/incubator-seata-go/pull/1150)] Correct the XA connection-hold fallback
+- [[#1151](https://github.com/apache/incubator-seata-go/pull/1151)] Consolidate rowsWithStmt close handling to release query resources correctly
+- [[#1166](https://github.com/apache/incubator-seata-go/pull/1166)] Use the correct gRPC message type for global commit requests
+- [[#1170](https://github.com/apache/incubator-seata-go/pull/1170)] Align gRPC protobuf message types with the Seata protocol
+- [[#1173](https://github.com/apache/incubator-seata-go/pull/1173)] Remove duplicate MySQL table-cache registration
+- [[#1184](https://github.com/apache/incubator-seata-go/pull/1184)] Preserve undo errors and release resources on undo paths
+- [[#1186](https://github.com/apache/incubator-seata-go/pull/1186)] Determine the configuration format from the last filename extension
+- [[#1194](https://github.com/apache/incubator-seata-go/pull/1194)] Track gRPC receive-handler goroutines to fix data races exposed by end-to-end tests
+- [[#1205](https://github.com/apache/incubator-seata-go/pull/1205)] Dispatch ConsistentHashLoadBalance and LeastActiveLoadBalance correctly, and fix related selection and counter handling
+
+##### optimize:
+
+- [[#1031](https://github.com/apache/incubator-seata-go/pull/1031)] Remove global state from remoting configuration
+- [[#1064](https://github.com/apache/incubator-seata-go/pull/1064)] Add a workflow to block WIP pull requests
+- [[#1090](https://github.com/apache/incubator-seata-go/pull/1090)] Refactor the multi-database XA resource layer around a registry
+
+##### test:
+
+- [[#1101](https://github.com/apache/incubator-seata-go/pull/1101)] Fix the integration-test workflow
+- [[#1124](https://github.com/apache/incubator-seata-go/pull/1124)] Add Saga end-to-end integration tests
+- [[#1185](https://github.com/apache/incubator-seata-go/pull/1185)] Avoid copying locked RocketMQ Message values in transaction-listener tests and add a go vet workflow
+
+##### doc:
+
+- [[#1105](https://github.com/apache/incubator-seata-go/pull/1105)] Add English and Chinese quick-start guides
+- [[#1181](https://github.com/apache/incubator-seata-go/pull/1181)] Correct README installation commands and broken documentation links
+
+Thanks to the community for code contributions, issues, questions and suggestions.
+
+</details>
diff --git a/changes/2.2.0_zh.md b/changes/2.2.0_zh.md
new file mode 100644
index 00000000..6129e759
--- /dev/null
+++ b/changes/2.2.0_zh.md
@@ -0,0 +1,97 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+### 2.2.0
+
+<details>
+ <summary><mark>版本变更</mark></summary>
+
+#### Seata-go 2.2.0
+
+Seata-go 2.2.0 版本变更说明。
+
+Seata-go 是一个易于使用、高性能的开源分布式事务解决方案。
+
+本版本更新内容如下:
+
+##### 新增特性(feature):
+
+- [[#1039](https://github.com/apache/incubator-seata-go/pull/1039)] 支持在 AT 模式下使用 QueryContext
+- [[#1054](https://github.com/apache/incubator-seata-go/pull/1054)] 新增 RocketMQ 与 TCC 事务集成
+- [[#1106](https://github.com/apache/incubator-seata-go/pull/1106)] 支持通过 Seata Naming Server 进行服务发现
+- [[#1107](https://github.com/apache/incubator-seata-go/pull/1107)] 支持 Raft 集群的服务发现与 Leader 查找
+- [[#1113](https://github.com/apache/incubator-seata-go/pull/1113)] 新增 Seata 客户端通信的 gRPC 传输支持
+- [[#1117](https://github.com/apache/incubator-seata-go/pull/1117)] 支持通过 pgx 驱动在 XA 模式下使用 PostgreSQL
+- [[#1118](https://github.com/apache/incubator-seata-go/pull/1118)] 支持在 AT 模式下使用 PostgreSQL
+- [[#1125](https://github.com/apache/incubator-seata-go/pull/1125)] 完善 RocketMQ TCC 集成,支持主动结束消息事务与上报业务活动上下文
+- [[#1126](https://github.com/apache/incubator-seata-go/pull/1126)] 新增服务发现 Provider 注册机制与地址存储
+- [[#1133](https://github.com/apache/incubator-seata-go/pull/1133)] 完善复合主键处理并补充相关测试
+- [[#1137](https://github.com/apache/incubator-seata-go/pull/1137)] 支持在全局事务中将 autoCommit 语句注册为 XA 分支
+- [[#1138](https://github.com/apache/incubator-seata-go/pull/1138)] 将注册中心变更快照接入远程通信地址生命周期
+- [[#1139](https://github.com/apache/incubator-seata-go/pull/1139)] 新增 ExecBatchContext 与 ExecBatchInTxContext,支持在同一本地事务内按顺序执行批次
+- [[#1140](https://github.com/apache/incubator-seata-go/pull/1140)] 支持 AT 模式下的 MySQL 多语句 DML
+- [[#1142](https://github.com/apache/incubator-seata-go/pull/1142)] 在 CI 中新增 RISC-V 构建检查
+
+##### 修复(bugfix):
+
+- [[#996](https://github.com/apache/incubator-seata-go/pull/996)] 修复数据源后台 goroutine 无法正常退出的问题
+- [[#1061](https://github.com/apache/incubator-seata-go/pull/1061)] 补全 XA 模式中的 commitOnXA() 与 LockQuery() 行为
+- [[#1065](https://github.com/apache/incubator-seata-go/pull/1065)] 修复列名包含转义字符时 undo_log 出现主键重复的问题
+- [[#1070](https://github.com/apache/incubator-seata-go/pull/1070)] 保留协议头映射中值为空的键
+- [[#1079](https://github.com/apache/incubator-seata-go/pull/1079)] 修复 TCC 防悬挂日志条目的标识混淆问题
+- [[#1081](https://github.com/apache/incubator-seata-go/pull/1081)] 为一致性哈希负载均衡器的刷新操作增加同步保护
+- [[#1083](https://github.com/apache/incubator-seata-go/pull/1083)] 在查询或执行失败时回滚自动创建的 AT 事务
+- [[#1085](https://github.com/apache/incubator-seata-go/pull/1085)] 修复 TCC 防悬挂日志清理任务未取出缓存日志的问题
+- [[#1091](https://github.com/apache/incubator-seata-go/pull/1091)] 修正 TCC 资源管理器的回退行为
+- [[#1096](https://github.com/apache/incubator-seata-go/pull/1096)] 正确传递 AT 执行器前置钩子的错误
+- [[#1102](https://github.com/apache/incubator-seata-go/pull/1102)] 修复 Issue 翻译机器人的工作流
+- [[#1112](https://github.com/apache/incubator-seata-go/pull/1112)] 为 Issue 机器人补充 PR 写权限并更新 Node.js 运行时设置
+- [[#1114](https://github.com/apache/incubator-seata-go/pull/1114)] 修复 DayValue 序列化结果随时区变化的问题
+- [[#1123](https://github.com/apache/incubator-seata-go/pull/1123)] 修复 AT 模式未拦截 REPLACE INTO 语句的问题
+- [[#1135](https://github.com/apache/incubator-seata-go/pull/1135)] 使 RM undo-log 删除请求编解码与 Java 通信格式一致
+- [[#1136](https://github.com/apache/incubator-seata-go/pull/1136)] 修复 MySQL 复合主键场景下的多值插入
+- [[#1141](https://github.com/apache/incubator-seata-go/pull/1141)] 修正 AT 模式下 MySQL 批量执行、镜像与 undo-log 处理
+- [[#1150](https://github.com/apache/incubator-seata-go/pull/1150)] 修正 XA 连接持有逻辑的回退处理
+- [[#1151](https://github.com/apache/incubator-seata-go/pull/1151)] 统一 rowsWithStmt 的关闭处理,正确释放查询资源
+- [[#1166](https://github.com/apache/incubator-seata-go/pull/1166)] 修复 gRPC 全局提交请求使用错误消息类型的问题
+- [[#1170](https://github.com/apache/incubator-seata-go/pull/1170)] 使 gRPC protobuf 消息类型与 Seata 协议一致
+- [[#1173](https://github.com/apache/incubator-seata-go/pull/1173)] 移除重复的 MySQL 表元数据缓存注册
+- [[#1184](https://github.com/apache/incubator-seata-go/pull/1184)] 保留 undo 操作错误,并释放 undo 流程中的资源
+- [[#1186](https://github.com/apache/incubator-seata-go/pull/1186)] 根据文件名的最后一个扩展名识别配置格式
+- [[#1194](https://github.com/apache/incubator-seata-go/pull/1194)] 跟踪 gRPC 接收处理 goroutine 的生命周期,修复端到端测试暴露的数据竞争
+- [[#1205](https://github.com/apache/incubator-seata-go/pull/1205)] 正确分派 ConsistentHashLoadBalance 与 LeastActiveLoadBalance,并修正相关选择逻辑及计数器访问
+
+##### 优化(optimize):
+
+- [[#1031](https://github.com/apache/incubator-seata-go/pull/1031)] 移除远程通信配置中的全局状态
+- [[#1064](https://github.com/apache/incubator-seata-go/pull/1064)] 新增阻止 WIP 状态 Pull Request 的工作流
+- [[#1090](https://github.com/apache/incubator-seata-go/pull/1090)] 以注册机制重构多数据库 XA 资源层
+
+##### 测试(test):
+
+- [[#1101](https://github.com/apache/incubator-seata-go/pull/1101)] 修复集成测试工作流
+- [[#1124](https://github.com/apache/incubator-seata-go/pull/1124)] 新增 Saga 端到端集成测试
+- [[#1185](https://github.com/apache/incubator-seata-go/pull/1185)] 避免在 RocketMQ 事务监听器测试中复制含锁的 Message,并新增 go vet 工作流
+
+##### 文档(doc):
+
+- [[#1105](https://github.com/apache/incubator-seata-go/pull/1105)] 新增中英文快速入门指南
+- [[#1181](https://github.com/apache/incubator-seata-go/pull/1181)] 修正 README 安装命令与文档中的失效链接
+
+感谢社区提供的代码贡献、问题反馈、提问与建议。
+
+</details>
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org