From a7b5fdd9644337fbb9b48d01d9a5c5088fcd20fe Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Wed, 30 Aug 2023 19:30:51 -0700 Subject: [PATCH] Prepare 0.7.0-alpha2 release. --- CHANGELOG.adoc | 19 ++++++++++++++++++- README.adoc | 4 ++-- ...rg.codehaus.groovy.runtime.ExtensionModule | 2 +- doc/release-process.adoc | 4 ++-- gradle.properties | 2 +- 5 files changed, 24 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index da503d117..88f4a4d7e 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -7,10 +7,21 @@ A high-level view of the changes in each ConsensusJ binary release. Released: Under development +== v0.7.0-alpha2 + +Released: 2023-08-30 + The 0.7.0 release of **ConsensusJ** will require **bitcoinj** v0.17, currently in alpha release. There will likely be multiple alpha releases of ConsensusJ as bitcoinj is updated. +=== bitcoinj-0.17-alpha2 update + +* Upgrade to bitcoinj-0.17-alpha2 API +* More migration away from `NetworkParameters` + === consensusj-jsonrpc +* JSON-RPC clients that need custom SSL behavior should implement the new constructors that take an `SSLContext` and stop using the deprecated constructors that use `SSLSocketFactory`. (The deprecated constructors will be removed in the next alpha release!) +* Add (abstract) `sendRequestForResponseAsync` with async becoming the preferred way to implement this interface. * Now that this module requires Java 11+, the _incubating_ `java.net.http`-based client `JsonRpcClientJavaNet` has been moved here. The `consensusj-jsonrpc-javanet` module has been removed. Feel free to try out this client instead of `JsonRpcClientHttpUrlConnection` and let us know how it works. === consensusj-jsonrpc-javanet (removed) @@ -19,19 +30,25 @@ This _incubating_ module has been removed. Its only class, `org.consensusj.jsonr If you are using `consensusj-jsonrpc-javanet`, you need to remove the `.javanet` from your `import` statements. You should also remove your Maven/Gradle references to the JAR/Module and replace them with references to `consensusj-jsonrpc`. +=== consensusj-jsonrpc-cli + +* `BaseJsonRpcTool` and `jsonrpc` tool use the `java.net.http` implementation (`JsonRpcClientJavaNet`) rather than the old `java.net.HttpURLConnection` implementation. + === Dependency Updates -* Micronaut 4.0.5 * Jackson 2.15.2 * Groovy 4.0.14 * RxJava 3.1.7 +* JeroMQ 0.5.3 +* Micronaut 4.0.5 === Build/Test Updates * Gradle 8.3 * GitHub JDK Matrix: Java 11, 17, **21-ea** * GraalVM 17.0.7 (new release with new versioning scheme) +* Enable Dependabot == v0.7.0-alpha1 diff --git a/README.adoc b/README.adoc index aae783373..98427f7bb 100644 --- a/README.adoc +++ b/README.adoc @@ -1,8 +1,8 @@ = ConsensusJ Sean Gilligan -v0.7.0-alpha1 +v0.7.0-alpha2 :description: ConsensusJ README document. -:consensusj-version: 0.7.0-alpha1 +:consensusj-version: 0.7.0-alpha2 :bitcoinj-version: 0.17-alpha1 :bitcoinj-apidoc: https://bitcoinj.org/javadoc/{bitcoinj-version}/ :cj-apidoc: https://consensusj.github.io/consensusj/apidoc diff --git a/cj-bitcoinj-dsl-gvy/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule b/cj-bitcoinj-dsl-gvy/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule index 77e5a2d0f..e70fe3279 100644 --- a/cj-bitcoinj-dsl-gvy/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule +++ b/cj-bitcoinj-dsl-gvy/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule @@ -1,4 +1,4 @@ moduleName=ConsensusJ Groovy extensions for bitcoinj -moduleVersion=0.7.0-SNAPSHOT +moduleVersion=0.7.0-alpha2 extensionClasses=org.consensusj.bitcoinj.dsl.groovy.categories.CoinCategory,org.consensusj.bitcoinj.dsl.groovy.categories.NumberCategory staticExtensionClasses=org.consensusj.bitcoinj.dsl.groovy.categories.StaticECKeyExtension \ No newline at end of file diff --git a/doc/release-process.adoc b/doc/release-process.adoc index 093a859d3..b91ef7014 100644 --- a/doc/release-process.adoc +++ b/doc/release-process.adoc @@ -3,8 +3,8 @@ == Main Release Process . Use Java 17 for official builds -.. `sdk use 17.0.7-tem` -.. `sdk use 17.0.7-graalce` (for GraalVM build) +.. `sdk use 17.0.8-tem` +.. `sdk use 17.0.8-graalce` (for GraalVM build) . Update `CHANGELOG.adoc` . Set versions .. `gradle.properties` diff --git a/gradle.properties b/gradle.properties index dea776a34..2c401996c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -consensusjVersion = 0.7.0-SNAPSHOT +consensusjVersion = 0.7.0-alpha2 bitcoinjVersion = 0.17-alpha2 rxJavaVersion = 3.1.7