Seata 2.1.0 Release: New Features, Compatibility & Upgrade Guide
Seata 2.1.0, the first Apache-incubated release, renames the package to org.apache.seata, adds RocketMQ transaction support, Raft metadata sync, decouples Saga from Spring, provides extensive compatibility across JDKs, Spring versions and OSes, and includes detailed deployment, upgrade, security and testing improvements.
Release Overview
Version 2.1.0 marks Seata's first release under the Apache Foundation, changing the package name from io.seata to org.apache.seata. The release maintains API, data, and protocol compatibility, allowing users to upgrade without code changes.
Key Features
Support for RocketMQ message transactions.
Raft cluster now synchronizes metadata across TC nodes.
Saga transaction mode is decoupled from the Spring framework.
Compatibility
All original io.seata APIs are fully compatible, ensuring a seamless migration to the Apache version. The release passed cross‑compatibility tests covering over 110 JDK (8/11/17/21), Spring, OS (x86/arm64) and Druid major versions.
Release Assets
Binary distribution: https://dist.apache.org/repos/dist/release/incubator/seata/2.1.0/apache-seata-2.1.0-incubating-bin.tar.gz
Docker image: https://hub.docker.com/repository/docker/apache/seata-server
Deployment guide: https://seata.apache.org/zh-cn/docs/ops/deploy-guide-beginner
Upgrade guide: https://seata.apache.org/zh-cn/docs/ops/upgrade
Bug Fixes
Fixed TCC aspect exception handling (no wrapper for internal exceptions).
Resolved SQL alias issues for MySQL, Oracle, and SQLServer.
Addressed ByteBuffer#flip NoSuchMethodError on JDK 9+.
Corrected Dubbo 3.x TCC proxy generation.
Fixed numerous rollback, connection, and serialization problems.
Optimizations
Added undo_log existence check.
Improved Raft server factory semantics and removed unnecessary singletons.
Enhanced CI for arm64 builds and updated dependencies (e.g., Guava, Nacos, Kafka).
Refactored Saga designer UI with diagram‑js.
Replaced byte‑buddy with JDK proxies in ConfigurationCache.
Security Updates
Upgraded Guava, Nacos, Jettison, Kafka‑clients, Spring MVC, Tomcat, and other libraries to fix known vulnerabilities.
Patched console front‑end security issues.
Testing Enhancements
Added OS‑specific test suites (test‑os.yml) for multi‑platform validation.
Increased unit‑test coverage for common, core, and transaction modules.
Added Redis integration tests and fixed related mock‑server failures.
Refactoring
Unified Seata exception standards.
Optimized configuration cache handling.
Community Involvement
Over 35 contributors submitted 183 pull requests, modifying 4,211 files with a net code change of +181,157 – 152,729 lines. The community also provides a list of beginner tasks at https://github.com/apache/incubator-seata/issues?q=is%3Aissue+is%3Aopen+label%3A%22task%3A+help-wanted%22.
Images
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Alibaba Cloud Native
We publish cloud-native tech news, curate in-depth content, host regular events and live streams, and share Alibaba product and user case studies. Join us to explore and share the cloud-native insights you need.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
