diff --git a/CHANGELOG.md b/CHANGELOG.md index 70264bd..840fbc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,16 +2,16 @@ =========================== -## [1.0.0](https://github.com/buession/buession-canal/releases/tag/v1.0.0) (2024-05-06) +## [2.0.0](https://github.com/buession/buession-canal/releases/tag/v2.0.0) (2024-11-07) ### 🔨依赖升级 -- [依赖库版本升级和安全漏洞修复](https://github.com/buession/buession-parent/releases/tag/v2.3.3) +- [依赖库版本升级和安全漏洞修复](https://github.com/buession/buession-parent/releases/tag/v3.0.0) ### ⭐ 新特性 -- **buession-canal-springboot:** 增加 canal 的 spring boot 支持 +- 增加 spring boot 支持 --- diff --git a/buession-canal-annotation/pom.xml b/buession-canal-annotation/pom.xml index 299a213..79884d5 100644 --- a/buession-canal-annotation/pom.xml +++ b/buession-canal-annotation/pom.xml @@ -7,7 +7,7 @@ com.buession.canal buession-canal-parent ../buession-canal-parent - 1.0.0 + 2.0.0 buession-canal-annotation https://canal.buession.com/ @@ -62,16 +62,16 @@ canal.common - io.netty - * + commons-lang + commons-lang + + + com.google.protobuf + protobuf-java - - org.springframework - spring-core - org.springframework spring-context @@ -123,8 +123,8 @@ maven-gpg-plugin - org.sonatype.plugins - nexus-staging-maven-plugin + org.sonatype.central + central-publishing-maven-plugin diff --git a/buession-canal-client/pom.xml b/buession-canal-client/pom.xml index c0815fa..92c7675 100644 --- a/buession-canal-client/pom.xml +++ b/buession-canal-client/pom.xml @@ -7,7 +7,7 @@ com.buession.canal buession-canal-parent ../buession-canal-parent - 1.0.0 + 2.0.0 buession-canal-client https://canal.buession.com/ @@ -58,45 +58,23 @@ ${project.version} - - com.buession - buession-core - ${buession.version} - - - - com.alibaba.otter - canal.protocol - com.alibaba.otter canal.client - org.apache.zookeeper - zookeeper - provided + org.springframework + spring-aop - - - org.apache.kafka - kafka-clients - - - com.alibaba - fastjson + org.springframework + spring-context - - com.google.guava - guava - com.google.protobuf protobuf-java - provided @@ -105,8 +83,8 @@ - junit - junit + org.junit.jupiter + junit-jupiter-api @@ -150,8 +128,8 @@ maven-gpg-plugin - org.sonatype.plugins - nexus-staging-maven-plugin + org.sonatype.central + central-publishing-maven-plugin diff --git a/buession-canal-client/src/test/java/com/buession/canal/client/adapter/KafkaAdapterClientTest.java b/buession-canal-client/src/test/java/com/buession/canal/client/adapter/KafkaAdapterClientTest.java index 70140b3..966aa2f 100644 --- a/buession-canal-client/src/test/java/com/buession/canal/client/adapter/KafkaAdapterClientTest.java +++ b/buession-canal-client/src/test/java/com/buession/canal/client/adapter/KafkaAdapterClientTest.java @@ -25,7 +25,7 @@ package com.buession.canal.client.adapter; import com.buession.canal.core.Result; -import org.junit.Test; +import org.junit.jupiter.api.Test; import java.util.concurrent.TimeUnit; diff --git a/buession-canal-client/src/test/java/com/buession/canal/client/adapter/TcpAdapterClientTest.java b/buession-canal-client/src/test/java/com/buession/canal/client/adapter/TcpAdapterClientTest.java index 3f44a6c..ccd35f0 100644 --- a/buession-canal-client/src/test/java/com/buession/canal/client/adapter/TcpAdapterClientTest.java +++ b/buession-canal-client/src/test/java/com/buession/canal/client/adapter/TcpAdapterClientTest.java @@ -26,7 +26,7 @@ import com.buession.canal.core.CanalMessage; import com.buession.canal.core.Result; -import org.junit.Test; +import org.junit.jupiter.api.Test; import java.util.List; import java.util.concurrent.TimeUnit; diff --git a/buession-canal-core/pom.xml b/buession-canal-core/pom.xml index d908509..0d36f0b 100644 --- a/buession-canal-core/pom.xml +++ b/buession-canal-core/pom.xml @@ -7,7 +7,7 @@ com.buession.canal buession-canal-parent ../buession-canal-parent - 1.0.0 + 2.0.0 buession-canal-core https://canal.buession.com/ @@ -76,12 +76,10 @@ org.springframework spring-jdbc - provided org.springframework spring-orm - provided @@ -89,6 +87,11 @@ canal.protocol + + com.alibaba.fastjson2 + fastjson2 + + commons-codec commons-codec @@ -98,12 +101,6 @@ commons-io - - org.apache.zookeeper - zookeeper - provided - - com.google.guava guava @@ -160,8 +157,8 @@ maven-gpg-plugin - org.sonatype.plugins - nexus-staging-maven-plugin + org.sonatype.central + central-publishing-maven-plugin diff --git a/buession-canal-parent/pom.xml b/buession-canal-parent/pom.xml index 23b5580..9894710 100644 --- a/buession-canal-parent/pom.xml +++ b/buession-canal-parent/pom.xml @@ -7,13 +7,13 @@ com.buession parent - 2.3.3 + 3.0.0 com.buession.canal buession-canal-parent https://canal.buession.com/ Buession Canal Framework Parent - 1.0.0 + 2.0.0 pom @@ -62,8 +62,8 @@ - 2.3.3 - 2.3.3 + 3.0.0 + 3.0.0 1.1.7 @@ -79,6 +79,14 @@ io.netty * + + org.apache.zookeeper + * + + + com.101tec + zkclient + org.slf4j * @@ -98,6 +106,14 @@ io.netty * + + org.apache.zookeeper + * + + + com.101tec + zkclient + org.slf4j * @@ -128,20 +144,9 @@ maven-gpg-plugin - org.sonatype.plugins - nexus-staging-maven-plugin + org.sonatype.central + central-publishing-maven-plugin - - - - sonatype-nexus-snapshots - https://oss.sonatype.org/content/repositories/snapshots - - - sonatype-nexus-staging - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - \ No newline at end of file diff --git a/buession-canal-spring/pom.xml b/buession-canal-spring/pom.xml index 56173ca..d2b1308 100644 --- a/buession-canal-spring/pom.xml +++ b/buession-canal-spring/pom.xml @@ -7,7 +7,7 @@ com.buession.canal buession-canal-parent ../buession-canal-parent - 1.0.0 + 2.0.0 buession-canal-spring https://canal.buession.com/ @@ -117,8 +117,8 @@ maven-gpg-plugin - org.sonatype.plugins - nexus-staging-maven-plugin + org.sonatype.central + central-publishing-maven-plugin diff --git a/buession-canal-springboot/pom.xml b/buession-canal-springboot/pom.xml index b74d015..e63b886 100644 --- a/buession-canal-springboot/pom.xml +++ b/buession-canal-springboot/pom.xml @@ -7,7 +7,7 @@ com.buession.canal buession-canal-parent ../buession-canal-parent - 1.0.0 + 2.0.0 buession-canal-springboot https://canal.buession.com/ @@ -115,8 +115,8 @@ maven-gpg-plugin - org.sonatype.plugins - nexus-staging-maven-plugin + org.sonatype.central + central-publishing-maven-plugin