You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.0.0_zh.md 7.6 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <!--
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. -->
  15. ### 2.0.0
  16. <details>
  17. <summary><mark>版本变更</mark></summary>
  18. ### Seata-go 2.0.0
  19. Seata-go 2.0.0 发布。
  20. Seata-go 是一款开源的分布式事务解决方案,提供高性能和简单易用的分布式事务服务。
  21. 此版本更新如下:
  22. ### feature:
  23. - [[#574](https://github.com/apache/incubator-seata-go/pull/574)] 支持本地文件类型和 Nacos 类型的注册中心
  24. - [[#584](https://github.com/apache/incubator-seata-go/pull/584)] 远程调用模块支持 ConsistentHash 负载均衡策略
  25. - [[#585](https://github.com/apache/incubator-seata-go/pull/585)] 远程调用模块支持 LeastActive 负载均衡策略
  26. - [[#605](https://github.com/apache/incubator-seata-go/pull/605)] 支持 Etcd 的服务发现
  27. - [[#622](https://github.com/apache/incubator-seata-go/pull/622)] 远程调用模块增加轮询策略
  28. - [[#659](https://github.com/apache/incubator-seata-go/pull/659)] 支持 AT undo log 的压缩
  29. - [[#691](https://github.com/apache/incubator-seata-go/pull/691)] 支持 protobuf 类型的 undo log 解析
  30. - [[#738](https://github.com/apache/incubator-seata-go/pull/738)] 发送心跳消息失败时移除会话
  31. - [[#739](https://github.com/apache/incubator-seata-go/pull/739)] 支持表元数据缓存的自动刷新功能
  32. ### bugfix:
  33. - [[#540](https://github.com/apache/incubator-seata-go/pull/540)] 修复初始化 XA 时的 bug
  34. - [[#590](https://github.com/apache/incubator-seata-go/pull/590)] 修复一些类型的错误
  35. - [[#595](https://github.com/apache/incubator-seata-go/pull/595)] 提交或回滚时检查响应错误是否为 nil
  36. - [[#607](https://github.com/apache/incubator-seata-go/pull/607)] 修复 Jackson 序列化的 bug
  37. - [[#665](https://github.com/apache/incubator-seata-go/pull/665)] 回收心跳响应消息,避免 GettyRemoting.future 的内存泄漏
  38. - [[#672](https://github.com/apache/incubator-seata-go/pull/672)] 修复 AT 回滚的 bug
  39. - [[#674](https://github.com/apache/incubator-seata-go/pull/674)] 修复 XA 回滚的 bug
  40. - [[#690](https://github.com/apache/incubator-seata-go/pull/690)] 修复 AT undo log Jackson 解析器未找到的 bug
  41. - [[#701](https://github.com/apache/incubator-seata-go/pull/701)] 修复 InsertOnDuplicateUpdate 问题,绕过修改主键
  42. - [[#717](https://github.com/apache/incubator-seata-go/pull/717)] 支持 XA 向 TC 报告状态
  43. - [[#724](https://github.com/apache/incubator-seata-go/pull/724)] SQL 解析器支持 ParenthesesExpr
  44. - [[#736](https://github.com/apache/incubator-seata-go/pull/736)] 修复 SQL 语句未关闭的 bug
  45. - [[#743](https://github.com/apache/incubator-seata-go/pull/743)] 修复 gomonkey 的 bug
  46. - [[#749](https://github.com/apache/incubator-seata-go/pull/749)] 修复心跳的 bug
  47. ### optimize:
  48. - [[#576](https://github.com/apache/incubator-seata-go/pull/576)] 使用 mirromutth/mysql-action 替代 icomponent/mysql-action
  49. - [[#594](https://github.com/apache/incubator-seata-go/pull/594)] 优化 branch commit procesor 的日志
  50. - [[#621](https://github.com/apache/incubator-seata-go/pull/621)] 为 ci 添加 codeql
  51. - [[#631](https://github.com/apache/incubator-seata-go/pull/631)] 将 crypto 版本从 0.9.0 升级到 0.17.0
  52. - [[#652](https://github.com/apache/incubator-seata-go/pull/652)] 将 gRPC 版本从 1.51.0 升级到 1.56.3
  53. - [[#667](https://github.com/apache/incubator-seata-go/pull/667)] 将通知邮箱从 dev 更新为 notifications
  54. - [[#679](https://github.com/apache/incubator-seata-go/pull/679)] 将 getty 版本从 1.4.9 升级到 1.4.10
  55. - [[#678](https://github.com/apache/incubator-seata-go/pull/678)] 将 module 命名为 seata.apache.org/seata-go
  56. - [[#721](https://github.com/apache/incubator-seata-go/pull/721)] 修复翻译机器人无法工作的问题
  57. - [[#719](https://github.com/apache/incubator-seata-go/pull/719)] Insert SQL 的 undo log 只保留插入的字段
  58. - [[#714](https://github.com/apache/incubator-seata-go/pull/714)] 优化构建锁键的速度
  59. - [[#758](https://github.com/apache/incubator-seata-go/pull/758)] 移除无用的文件
  60. ### test:
  61. - [[#570](https://github.com/apache/incubator-seata-go/pull/570)] 添加 collecion 的单元测试
  62. - [[#571](https://github.com/apache/incubator-seata-go/pull/571)] 添加 convert 的单元测试
  63. - [[#572](https://github.com/apache/incubator-seata-go/pull/572)] 添加 reflectx 的单元测试
  64. - [[#5835f0](https://github.com/apache/incubator-seata-go/commit/5835f09ecfd6edeb04c2961163bc4460f578e942)] 添加 random loadbalance 的单元测试
  65. - [[#599](https://github.com/apache/incubator-seata-go/pull/599)] 添加 xid loadbalance 的单元测试
  66. ### doc:
  67. - [[#614](https://github.com/apache/incubator-seata-go/pull/614)] 升级未知许可证依赖
  68. - [[#632](https://github.com/apache/incubator-seata-go/pull/632)] 添加 ASF 配置
  69. - [[#633](https://github.com/apache/incubator-seata-go/pull/633)] 优化 ASF 配置,移除上下文检查
  70. - [[#644](https://github.com/apache/incubator-seata-go/pull/644)] 优化 readme 文件
  71. - [[#686](https://github.com/apache/incubator-seata-go/pull/686)] 在 ci 中添加更多的 linter
  72. - [[#737](https://github.com/apache/incubator-seata-go/pull/737)] 更新 readme 文件中已完成的工作
  73. - [[#756](https://github.com/apache/incubator-seata-go/pull/756)] 添加 license 检查逻辑
  74. ### contributors:
  75. 非常感谢以下 contributors 的代码贡献。若有无意遗漏,请报告。
  76. - [luky116](https://github.com/luky116)
  77. - [Code-Fight](https://github.com/Code-Fight)
  78. - [wt-better](https://github.com/wt-better)
  79. - [luweiqianyi](https://github.com/luweiqianyi)
  80. - [wang1309](https://github.com/wang1309)
  81. - [576470954](https://github.com/576470954)
  82. - [No-SilverBullet](https://github.com/No-SilverBullet)
  83. - [solisamicus](https://github.com/solisamicus)
  84. - [marsevilspirit](https://github.com/marsevilspirit)
  85. - [lxfeng1997](https://github.com/lxfeng1997)
  86. - [AlexStocks](https://github.com/AlexStocks)
  87. - [smiletrl](https://github.com/smiletrl)
  88. - [ptyin](https://github.com/ptyin)
  89. - [yizhibian](https://github.com/yizhibian)
  90. - [oldmee](https://github.com/oldmee)
  91. - [air-3](https://github.com/air-3)
  92. - [slievrly](https://github.com/slievrly)
  93. - [xjlgod](https://github.com/xjlgod)
  94. - [baerwang](https://github.com/baerwang)
  95. - [xyombo](https://github.com/xyombo)
  96. - [testwill](https://github.com/testwill)
  97. - [jasondeng1997](https://github.com/jasondeng1997)
  98. - [jsbxyyx](https://github.com/jsbxyyx)
  99. - [iSuperCoder](https://github.com/iSuperCoder)
  100. - [georgehao](https://github.com/georgehao)
  101. - [liuyuecai](https://github.com/liuyuecai)
  102. - [106umao](https://github.com/106umao)
  103. - [FinnTew](https://github.com/FinnTew)
  104. - [funky-eyes](https://github.com/funky-eyes)
  105. - [tanzegen](https://github.com/tanzegen)
  106. - [lovepoem](https://github.com/lovepoem)
  107. 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。
  108. </detail>