Apache ShardingSphere 5.0.0-alpha version released

Click the blue word to follow us

Highlights of this issue

Apache ShardingSphere is an ecosystem composed of a set of open source distributed database middleware solutions. It consists of three independent products, Sharding-JDBC, Sharding-Proxy and Sharding-Sidecar (planned). They all provide standardized data sharding, distributed transactions, data migration, database governance and management and control interface functions, which can be applied to various diversified application scenarios such as Java isomorphism, heterogeneous languages, containers, and cloud native.

It has been more than 5 months since the last release of 4.1.1. During this time, Apache ShardingSphere has been continuously polishing and optimizing, repairing community feedback issues, enhancing functions and developing new features.

Here we are happy to announce the release of 5.0.0-alpha! The wait is worth it. 5.x is a milestone in the transformation of Apache ShardingSphere from sub-database and sub-table middleware to distributed database ecology . The pluggable architecture polished from the late 4.x version has gradually taken shape in the 5.x version. The design concept and API of the project Both have been greatly improved . Welcome everyone to test and use!

The specific version release information for 5.0.0-alpha is as follows:

A.

New features

  1. The pluggable architecture is fully online, allowing developers to extend functions through the SPI mechanism.

    (For extension points, please refer to the developer manual: https://shardingsphere.apache.org/document/current/cn/dev-manual/)

  2. Provide independent SQL parsing function for parsing multiple database dialects.

  3. Provide RDL (Rule Definition Language) statements and support online creation of fragmentation rules using SQL.

  4. Added shadow database function.

B.

Compile & Dependency

  1. Upgrade the minimum supported version of JDK to Java 8.

  2. Update Google Guava library to 29.0-jre version.

  3. Update Zookeeper to version 3.6.x, and update curator to version 5.1.0.

C.

API changes

  1. New sharding/data encryption/shadow library/master-slave rule configuration API.

  2. New sharding strategy and sharding algorithm API.

  3. The new flexible migration creation task API.

  4. Delete the DefaultDataSourceName configuration item, and ShardingSphere will host all data sources.

  5. The attribute configuration item separator is changed from a dot'.' to a minus sign'-'.

  6. The parameter allow.range.query.with.inline.sharding is adjusted from global parameters to sharding algorithm parameters.

D.

Refactor

  1. According to the database dialect, the domain model object of the analysis module is reconstructed.

  2. Use the SPI mechanism to reconstruct the online change processing of metadata.

  3. The Orchestration module was renamed the Government module.

  4. The MasterSlave module was renamed to the QueryReplica module.

  5. Refactored the metadata structure in the Governance registry.

  6. ShardingSphere UI merges the configuration center and registration center display layout.

E.

Enhance

  1. MySQL SQL and PostgreSQL syntax definition and analysis support are enhanced.

  2. Enhance the support for sub-queries of dialect databases.

  3. Supports MySQL view operations on non-sharded tables.

  4. ShardingSphere Proxy supports MySQL stored functions and stored procedure operations for non-sharded tables.

  5. Support the use of SQLServer Top syntax.

  6. Optimize the metadata loading method of the access terminal to improve the startup speed.

  7. Optimize batch insert performance.

  8. The access terminal supports the use of Oracle RAC connection string.

  9. XA transaction manager adds support for Oracle database.

  10. ShardingSphere Proxy supports the use of p6sy driver.

  11. The migration tool supports the resumable transfer function.

  12. The migration tool supports the use of ShardingSphere JDBC to migrate data to the new cluster.

F.

Bug fix

  1. Fix the problem of alias rewriting error when processing OrderBy condition.

  2. Fix the problem of SQL rewriting error when MySQL Insert statement contains expression.

  3. Fix the problem of parameter calculation error in Update on duplicate SQL.

  4. Fix the problem that generatedKeys gets wrong when inserting in batches.

  5. Fix the abnormal issue of multi-table verification in DML statement update operation.

  6. Fixed the NPE problem caused by executing SQL when the table does not exist.

  7. Fix the error report when using the Show table command for tables not in the configuration rules.

  8. Fixed the issue of metadata loading errors in Oracle database in multi-user scenarios.

  9. Fix the problem that the slave library node cannot be enabled online.

  10. Fix the issue that ShardingSphere JDBC does not support PostgreSQL array type.

  11. Fixed an issue where ShardingSphere Proxy did not respond when querying over-long blob data.

G.

Change log MILESTONE

https://github.com/apache/shardingsphere/milestone/10

H.

ShardingSphere-UI

  1. Merge configuration center and registration center.

  2. Support the configuration of etcd registry.

  3. Support viewing metadata.

  4. Support dynamic deletion of schema.

Community Building

    Apache ShardingSphere has also achieved great success in community building. ShardingSphere has been receiving attention since open source, and has maintained a steady growth trend on GitHub. So far, it has broken through 12k+ stars.

    And there are 140+ registered companies/organizations covering all walks of life, such as Internet finance, logistics, online education, corporate services, and even government agencies. The undeclared companies are countless and cannot be accurately counted. Thank you for your support for community building.

    In addition, Apache ShardingSphere has produced 164 Contributors and 29 Committers (including 17 PMCs) since it was open sourced. I would like to thank them for their contributions to the community.

Click to view the list of Contributors: https://github.com/apache/incubator-shardingsphere/graphs/contributors

Welcome more users and companies to view and register: https://shardingsphere.apache.org/community/cn/poweredby/

Apache ShardingSphere continues to practice the Apache Way and is committed to building a vibrant, standardized, and mutually helpful community! On the open source road, we welcome you to join.

project address:

https://github.com/apache/shardingsphere

https://github.com/apache/shardingsphere-ui

For more information, please visit the official website:

https://shardingsphere.apache.org/

Scan the QR code|Follow us

Guess you like

Origin blog.csdn.net/ShardingSphere/article/details/109685242