New Features
- Kernel: Add new data masking, dynamic data masking features, and built-in data masking algorithms
- Scaling: Basic support of CDC feature
- DistSQL: Add masking rule related DistSQL
Enhancements
- Kernel: Cluster mode avoids secondary refresh of metadata
- Kernel: SHOW COMPUTE NODES supports displaying the version number of each instance
- Kernel: System database add cluster information table
- Kernel: Standalone mode persistent metadata supports MySQL
- Kernel: SQL HINT performance improvement
- Kernel: Restore routing to the specified database with Hint
- Encrypt: Supports underscore wildcards for Encrypt CharDigestLikeEncryptAlgorithm
- Kernel: Support SQL federation SELECT NULLS LAST/FIRST statement
- Kernel: Refactor encrypt integration test logic and add more test cases
- Kernel: Add salt props for MD5MaskAlgorithm, MD5EncryptAlgorithm
- Kernel: Refactor ShardingConditionEngine to support SPI configuration
- DistSQL: Support defining column level
QUERY_WITH_CIPHER_COLUMN
whenCREATE ENCRYPT RULE
- DistSQL: Add algorithm type check for
CREATE SHARDING TABLE RULE
Bug Fixes
- Fix the problem of ZooKeeper cluster error reporting when ShardingSphere connects to Kubernetes
- Kernel: Fix use Consul in cluster mode start up failure
- DB Discovery: Close heartbeat job when drop discovery rule
- Kernel: Fix wrong decide result when execute same sharding condition subquery with SQL federation
- Kernel: Fix priority problem of UNION, INTERSECT, EXCEPT set operation in SQL Federation for PostgreSQL and openGuass dialect
- Kernel: Fix create view index out of range exception when view contains set operator
- Kernel: Add XA resource exceeds length check
- Kernel: Fix transaction support for spring requires_new
- Encrypt: Fix AESEncryptAlgorithm decrypt exception when config char type with PostgreSQL and openGauss
- Encrypt: Fix abnormal expansion result for shorthand when encrypt subquery contains an alias
- Kernel: Fix unsigned flag of column metadata was not serialized
- Kernel: Fix PostgreSQL / openGauss select fetch parsing issue to support federation execution engine
- Proxy: Fix packet sequence ID may be incorrect if error occurred in MySQL Proxy
- Proxy: Fix error occur in Proxy when using PostgreSQL composite type
- Proxy: Set proper column definition flag for MySQL COM_STMT_PREPARE
- Proxy: When querying PG metadata through Proxy and the result set is empty, the labels are lost