diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index f176847e641d8ae6ce9ed357ab138898d6675c4e..7630170ec39bdab9422f84c751ea5169a59f55bb 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,6 +1,6 @@ -## 3.1.0.M1 +## 3.1.0 -### API changes +### API Changes 1. Adjust persist structure for orchestration's registry center. 1. Adjust Sharding-JDBC configuration API. @@ -13,7 +13,9 @@ 1. Broadcast table available. 1. Solve data lean problem when using DefaultKeyGenerator with low TPS. -[Change Logs for Issues and Pull requests](https://github.com/sharding-sphere/sharding-sphere/milestone/3) +### Change Logs +1. [MILESTONE #3](https://github.com/sharding-sphere/sharding-sphere/milestone/3) +1. [MILESTONE #4](https://github.com/sharding-sphere/sharding-sphere/milestone/4) ## 3.0.0 diff --git a/RELEASE-NOTES_ZH.md b/RELEASE-NOTES_ZH.md index 0ced2b382d1501b9f57df7b836d3ec1fbc350f5c..9259a5ce95f0c18772eab514fee1188b4d30f81b 100644 --- a/RELEASE-NOTES_ZH.md +++ b/RELEASE-NOTES_ZH.md @@ -1,4 +1,4 @@ -## 3.1.0.M1 +## 3.1.0 ### API调整 @@ -13,7 +13,10 @@ 1. 支持广播表。 1. 解决使用默认分布式自增主键在TPS不高的情况下可能导致数据倾斜的问题。 -[Change Logs for Issues and Pull requests](https://github.com/sharding-sphere/sharding-sphere/milestone/3) +### 更新日志 +1. [MILESTONE #3](https://github.com/sharding-sphere/sharding-sphere/milestone/3) +1. [MILESTONE #4](https://github.com/sharding-sphere/sharding-sphere/milestone/4) + ## 3.0.0 diff --git a/pom.xml b/pom.xml index de85595cd5a60faf09948707c365b1496cff2727..0815e2a4809103538580b126c1b611eff7c53000 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 io.shardingsphere sharding-sphere - 3.1.0-SNAPSHOT + 3.1.0 pom ${project.artifactId} diff --git a/sharding-core/pom.xml b/sharding-core/pom.xml index a37672a605a9f562259f82655ca4f54ae7f1e28c..e52572a57d20542ddaae75278011524336e88d49 100644 --- a/sharding-core/pom.xml +++ b/sharding-core/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-sphere - 3.1.0-SNAPSHOT + 3.1.0 sharding-core ${project.artifactId} diff --git a/sharding-jdbc/pom.xml b/sharding-jdbc/pom.xml index 5e61d0b860ce9252abe8f170721a9e0c5ed69955..7e20e438a90b089bd83bb4c27ef1fa75ba39730b 100644 --- a/sharding-jdbc/pom.xml +++ b/sharding-jdbc/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-sphere - 3.1.0-SNAPSHOT + 3.1.0 sharding-jdbc ${project.artifactId} diff --git a/sharding-jdbc/sharding-jdbc-core/pom.xml b/sharding-jdbc/sharding-jdbc-core/pom.xml index 47ebbfc467e86effbb7251ded411f418f13abe38..071fbb3e8554bd4c9b16cbaf1c2f4b2b83129cf3 100644 --- a/sharding-jdbc/sharding-jdbc-core/pom.xml +++ b/sharding-jdbc/sharding-jdbc-core/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-jdbc - 3.1.0-SNAPSHOT + 3.1.0 sharding-jdbc-core ${project.artifactId} diff --git a/sharding-jdbc/sharding-jdbc-orchestration/pom.xml b/sharding-jdbc/sharding-jdbc-orchestration/pom.xml index c1f412d3991cfea9d6c4786c4a5616f4de22fb38..84f48765153447562d8400792cea83fe224815ff 100644 --- a/sharding-jdbc/sharding-jdbc-orchestration/pom.xml +++ b/sharding-jdbc/sharding-jdbc-orchestration/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-jdbc - 3.1.0-SNAPSHOT + 3.1.0 sharding-jdbc-orchestration ${project.artifactId} diff --git a/sharding-opentracing/pom.xml b/sharding-opentracing/pom.xml index 85c06c93cec338e7aaed0f22cdd9c853c8e49407..e36c2521029f6a347ffbca3f0d83f12f9543d6d0 100644 --- a/sharding-opentracing/pom.xml +++ b/sharding-opentracing/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-sphere - 3.1.0-SNAPSHOT + 3.1.0 sharding-opentracing ${project.artifactId} diff --git a/sharding-orchestration/pom.xml b/sharding-orchestration/pom.xml index 3d6935b4532155067f63b03ea36e045dbcf4b48d..6a0da4d79ce3bcdc9574f239200f8379a379cbab 100644 --- a/sharding-orchestration/pom.xml +++ b/sharding-orchestration/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-sphere - 3.1.0-SNAPSHOT + 3.1.0 sharding-orchestration ${project.artifactId} diff --git a/sharding-orchestration/sharding-orchestration-core/pom.xml b/sharding-orchestration/sharding-orchestration-core/pom.xml index b98b85293d6413ad799a2ec04132b21624cea5c9..0c725e7d6eb2cee6c6ba04f52a6ae9e13a6ccfd3 100644 --- a/sharding-orchestration/sharding-orchestration-core/pom.xml +++ b/sharding-orchestration/sharding-orchestration-core/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-orchestration - 3.1.0-SNAPSHOT + 3.1.0 sharding-orchestration-core ${project.artifactId} diff --git a/sharding-orchestration/sharding-orchestration-reg/pom.xml b/sharding-orchestration/sharding-orchestration-reg/pom.xml index 44fb761f9f78d0500a7afbf874750e88b3f71c36..9baec233cbc16b37423675fa28402f5c2399b708 100644 --- a/sharding-orchestration/sharding-orchestration-reg/pom.xml +++ b/sharding-orchestration/sharding-orchestration-reg/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-orchestration - 3.1.0-SNAPSHOT + 3.1.0 sharding-orchestration-reg ${project.artifactId} diff --git a/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-api/pom.xml b/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-api/pom.xml index 3df8896b4412d754d4305727291afa828722802f..067de7d5ecb7414213db4ce382b19a5e39a20dad 100644 --- a/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-api/pom.xml +++ b/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-api/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-orchestration-reg - 3.1.0-SNAPSHOT + 3.1.0 sharding-orchestration-reg-api ${project.artifactId} diff --git a/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-etcd/pom.xml b/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-etcd/pom.xml index e7fb1ea59050e083191bb37591caf6142545b78c..be67157bd749804b5862e522de42166ba1ac7c10 100644 --- a/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-etcd/pom.xml +++ b/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-etcd/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-orchestration-reg - 3.1.0-SNAPSHOT + 3.1.0 sharding-orchestration-reg-etcd ${project.artifactId} diff --git a/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-zookeeper-curator/pom.xml b/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-zookeeper-curator/pom.xml index 6d2136f60e9d384b26df118f414d21360e18eb2a..158f8c2555ba451d54ef9f362a714dfef8b36e12 100644 --- a/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-zookeeper-curator/pom.xml +++ b/sharding-orchestration/sharding-orchestration-reg/sharding-orchestration-reg-zookeeper-curator/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-orchestration-reg - 3.1.0-SNAPSHOT + 3.1.0 sharding-orchestration-reg-zookeeper-curator ${project.artifactId} diff --git a/sharding-proxy/pom.xml b/sharding-proxy/pom.xml index 93f57e822c8cf2a4e10948093a5dcbc6ead60bb2..8f94fb84f5f5684bd9e12c8aa5c22418443348fa 100644 --- a/sharding-proxy/pom.xml +++ b/sharding-proxy/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-sphere - 3.1.0-SNAPSHOT + 3.1.0 sharding-proxy ${project.artifactId} @@ -88,7 +88,7 @@ com.spotify docker-maven-plugin - shardingsphere/sharding-proxy:3.1.0-SNAPSHOT + shardingsphere/sharding-proxy:3.1.0 ${project.basedir}/src/main/docker diff --git a/sharding-proxy/src/main/docker/Dockerfile b/sharding-proxy/src/main/docker/Dockerfile index 32d4b5d12ff080844f64cff43e5dc5abb187585a..0b7dc52ec989066d80bac5214b4742fd021ec8d7 100644 --- a/sharding-proxy/src/main/docker/Dockerfile +++ b/sharding-proxy/src/main/docker/Dockerfile @@ -1,6 +1,6 @@ FROM java:7 MAINTAINER caohao "caohaoch@gmail.com" -ADD sharding-proxy-3.1.0-SNAPSHOT.tar.gz / -RUN mv /sharding-proxy-3.1.0-SNAPSHOT /opt/sharding-proxy +ADD sharding-proxy-3.1.0.tar.gz / +RUN mv /sharding-proxy-3.1.0 /opt/sharding-proxy ENTRYPOINT /opt/sharding-proxy/bin/start.sh $PORT && tail -f /opt/sharding-proxy/logs/stdout.log diff --git a/sharding-proxy/src/main/java/io/shardingsphere/shardingproxy/transport/mysql/constant/ServerInfo.java b/sharding-proxy/src/main/java/io/shardingsphere/shardingproxy/transport/mysql/constant/ServerInfo.java index fdce73bff114997464f63431510ad865c08b590a..4474ff8ceae04a3c9eb2fb70e9bf99b16a8d6d37 100644 --- a/sharding-proxy/src/main/java/io/shardingsphere/shardingproxy/transport/mysql/constant/ServerInfo.java +++ b/sharding-proxy/src/main/java/io/shardingsphere/shardingproxy/transport/mysql/constant/ServerInfo.java @@ -36,7 +36,7 @@ public final class ServerInfo { /** * Server version. */ - public static final String SERVER_VERSION = "5.6.0-Sharding-Proxy 3.1.0-SNAPSHOT"; + public static final String SERVER_VERSION = "5.6.0-Sharding-Proxy 3.1.0"; /** * Charset code 0x21 is utf8_general_ci. diff --git a/sharding-sql-test/pom.xml b/sharding-sql-test/pom.xml index 6bea2891b2781f442aeb0542032320413e86194c..ab25b179d959b148c44f27622e2ef9df93788337 100644 --- a/sharding-sql-test/pom.xml +++ b/sharding-sql-test/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-sphere - 3.1.0-SNAPSHOT + 3.1.0 sharding-sql-test ${project.artifactId} diff --git a/sharding-transaction/pom.xml b/sharding-transaction/pom.xml index 38eec03c581842d5733a26822705eb53bbaef777..7a0be33e4df3479e4f793961b88715b383154d8b 100644 --- a/sharding-transaction/pom.xml +++ b/sharding-transaction/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-sphere - 3.1.0-SNAPSHOT + 3.1.0 sharding-transaction ${project.artifactId} diff --git a/sharding-transaction/sharding-transaction-2pc/pom.xml b/sharding-transaction/sharding-transaction-2pc/pom.xml index c652959287d76cb1708a3e99bbb72e3ef6aaaf52..474c18ef4f8083324092fefb4de569899074986a 100644 --- a/sharding-transaction/sharding-transaction-2pc/pom.xml +++ b/sharding-transaction/sharding-transaction-2pc/pom.xml @@ -6,7 +6,7 @@ sharding-transaction io.shardingsphere - 3.1.0-SNAPSHOT + 3.1.0 sharding-transaction-2pc ${project.artifactId} diff --git a/sharding-transaction/sharding-transaction-2pc/sharding-transaction-2pc-spi/pom.xml b/sharding-transaction/sharding-transaction-2pc/sharding-transaction-2pc-spi/pom.xml index ca4aa71dd60d6770daeabd745da8c29f65b81ba1..0c68a4550059f8120fa63e366213b7d5011519a5 100644 --- a/sharding-transaction/sharding-transaction-2pc/sharding-transaction-2pc-spi/pom.xml +++ b/sharding-transaction/sharding-transaction-2pc/sharding-transaction-2pc-spi/pom.xml @@ -6,7 +6,7 @@ sharding-transaction-2pc io.shardingsphere - 3.1.0-SNAPSHOT + 3.1.0 sharding-transaction-2pc-spi ${project.artifactId} diff --git a/sharding-transaction/sharding-transaction-2pc/sharding-transaction-2pc-xa/pom.xml b/sharding-transaction/sharding-transaction-2pc/sharding-transaction-2pc-xa/pom.xml index 88fd0ee84a593a1e81a7757aa292ca7db15f5aff..aba6039f9c669f774e57a17613add62611509e32 100644 --- a/sharding-transaction/sharding-transaction-2pc/sharding-transaction-2pc-xa/pom.xml +++ b/sharding-transaction/sharding-transaction-2pc/sharding-transaction-2pc-xa/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-transaction-2pc - 3.1.0-SNAPSHOT + 3.1.0 sharding-transaction-2pc-xa ${project.artifactId} diff --git a/sharding-transaction/sharding-transaction-base/pom.xml b/sharding-transaction/sharding-transaction-base/pom.xml index 3cab987f2966fa8afc995a1a65bcbdae588c7ee5..88d05ffd2040d672861a5366845c35d669f5cccb 100644 --- a/sharding-transaction/sharding-transaction-base/pom.xml +++ b/sharding-transaction/sharding-transaction-base/pom.xml @@ -7,7 +7,7 @@ io.shardingsphere sharding-transaction - 3.1.0-SNAPSHOT + 3.1.0 sharding-transaction-base ${project.artifactId} diff --git a/sharding-transaction/sharding-transaction-core/pom.xml b/sharding-transaction/sharding-transaction-core/pom.xml index 0cc69cfaeb35e074a5c85985c781f1e2d325419b..ab9d8f191848514bfa0c9bc546601fd3b4e075f3 100644 --- a/sharding-transaction/sharding-transaction-core/pom.xml +++ b/sharding-transaction/sharding-transaction-core/pom.xml @@ -6,7 +6,7 @@ io.shardingsphere sharding-transaction - 3.1.0-SNAPSHOT + 3.1.0 sharding-transaction-core ${project.artifactId}