From 5bf16dbb88873ab8d836e74ac1630f234d339787 Mon Sep 17 00:00:00 2001 From: Graham Pople Date: Wed, 2 Aug 2023 16:29:53 +0100 Subject: [PATCH 1/3] 3.4.9 release --- .../hello-world/pages/start-using-sdk.adoc | 6 ++-- .../pages/sdk-full-installation.adoc | 6 ++-- .../project-docs/pages/sdk-release-notes.adoc | 36 +++++++++++++++++++ pom.xml | 2 +- 4 files changed, 43 insertions(+), 7 deletions(-) diff --git a/modules/hello-world/pages/start-using-sdk.adoc b/modules/hello-world/pages/start-using-sdk.adoc index 1058a094..96151e17 100644 --- a/modules/hello-world/pages/start-using-sdk.adoc +++ b/modules/hello-world/pages/start-using-sdk.adoc @@ -62,7 +62,7 @@ We recommend running the latest Java LTS version (i.e. at the time of writing JD // Other supported Java versions will work, too. Couchbase publishes all stable artifacts to https://central.sonatype.com/namespace/com.couchbase.client[Maven Central]. -The latest version (as of July 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.4.8/jar[3.4.8]. +The latest version (as of August 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.4.9/jar[3.4.9]. You can use your favorite dependency management tool to install the SDK. @@ -77,7 +77,7 @@ Maven:: com.couchbase.client java-client - 3.4.8 + 3.4.9 ---- @@ -88,7 +88,7 @@ Gradle:: -- [source,groovy] ---- -implementation 'com.couchbase.client:java-client:3.4.8' +implementation 'com.couchbase.client:java-client:3.4.9' ---- -- ==== diff --git a/modules/project-docs/pages/sdk-full-installation.adoc b/modules/project-docs/pages/sdk-full-installation.adoc index e4d3718f..4aa2d575 100644 --- a/modules/project-docs/pages/sdk-full-installation.adoc +++ b/modules/project-docs/pages/sdk-full-installation.adoc @@ -33,7 +33,7 @@ We recommend running the latest Java LTS version (i.e. at the time of writing JD Java 17 has various enhancements like sealed classes, pattern matching for switch expressions (in preview), and further updates and improvements on core libraries. Couchbase publishes all stable artifacts to https://central.sonatype.com/namespace/com.couchbase.client[Maven Central]. -The latest version (as of July 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.4.8/jar[3.4.8]. +The latest version (as of August 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.4.9/jar[3.4.9]. You can use your favorite dependency management tool to install the SDK. @@ -50,7 +50,7 @@ For https://maven.apache.org[Maven], you can insert the following into the depen com.couchbase.client java-client - 3.4.8 + 3.4.9 ---- Refer to the https://maven.apache.org/guides/introduction/introduction-to-the-pom.html/[Maven Documentation] for more information regarding the structure of the `pom.xml` file. @@ -62,7 +62,7 @@ For https://gradle.org/[Gradle], you can use: [source,groovy] ---- -implementation 'com.couchbase.client:java-client:3.4.8' +implementation 'com.couchbase.client:java-client:3.4.9' ---- -- ==== diff --git a/modules/project-docs/pages/sdk-release-notes.adoc b/modules/project-docs/pages/sdk-release-notes.adoc index ec62825a..954b29ea 100644 --- a/modules/project-docs/pages/sdk-release-notes.adoc +++ b/modules/project-docs/pages/sdk-release-notes.adoc @@ -17,6 +17,42 @@ See the xref:project-docs:sdk-full-installation.adoc[Full Installation] guide fo // tag::all[] +== Version 3.4.9 (2 August 2023) +This is a regular maintenance release. + +https://packages.couchbase.com/clients/java/3.4.9/Couchbase-Java-Client-3.4.9.zip[Download] | +https://docs.couchbase.com/sdk-api/couchbase-java-client-3.4.9/index.html[API Reference] | +http://docs.couchbase.com/sdk-api/couchbase-core-io-2.4.9/[Core API Reference] + +The supported and tested dependencies for this release are: + +* io.projectreactor:**reactor-core:3.5.0** +* org.reactivestreams:**reactive-streams:1.0.4** + +Optional artifacts on top of this SDK version are tested for the following compatibilities: + +.Optional Artifact Version Compatibility +[options="header"] +|======================= +| Artifact | Couchbase Version | Built Against | API Stability +| `tracing-opentelemetry` | 1.2.9 | OpenTelemetry 1.19.0 | Committed +| `tracing-opentracing` | 1.2.9 | OpenTracing 0.33.0 | Committed +| `metrics-opentelemetry` | 0.4.9 | OpenTelemetry 1.19.0 | Volatile +| `metrics-micrometer` | 0.4.9 | Micrometer 1.10.0 | Volatile +|======================= + +=== Improvements +* https://issues.couchbase.com/browse/JVMCBC-1339[JVMCBC-1339]: +When KV traffic capture is enabled, each `ReadTrafficCapturedEvent` now contains a single protocol frame, and the human-readable frame description is more accurate. +* https://issues.couchbase.com/browse/JVMCBC-1320[JVMCBC-1320]: +The waitUntilReady method is now more aggressive about retrying failed pings. +Also, waiting for a desired state of DEGRADED no longer fails when the client is fully connected to the cluster. +* https://issues.couchbase.com/browse/JVMCBC-1343[JVMCBC-1343]: +Reduced the default value for the `io.idleHttpConnectionTimeout` client setting to 1 second. +The previous default (4.5 seconds) was too close to the 5-second server-side timeout, and could lead to spurious request failures. +* https://issues.couchbase.com/browse/JCBC-2078[JCBC-2078]: +Support for Sub-Document read from replica. + == Version 3.4.8 (19 July 2023) This is a regular maintenance release. diff --git a/pom.xml b/pom.xml index 2374931d..e627f42a 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ com.couchbase.client java-client - 3.4.8 + 3.4.9 com.fasterxml.jackson.core From 2b724d8cee76dc99f539866bb129ffe9eb7951a2 Mon Sep 17 00:00:00 2001 From: Graham Pople Date: Wed, 2 Aug 2023 16:32:20 +0100 Subject: [PATCH 2/3] Mention read from replica --- modules/project-docs/pages/sdk-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/project-docs/pages/sdk-release-notes.adoc b/modules/project-docs/pages/sdk-release-notes.adoc index 954b29ea..1c428ab7 100644 --- a/modules/project-docs/pages/sdk-release-notes.adoc +++ b/modules/project-docs/pages/sdk-release-notes.adoc @@ -18,7 +18,7 @@ See the xref:project-docs:sdk-full-installation.adoc[Full Installation] guide fo // tag::all[] == Version 3.4.9 (2 August 2023) -This is a regular maintenance release. +This release adds support for Sub-Document reads from replicas at @Stability.Volatile level: see `collection.lookupInAnyReplica()` and `collection.lookupInAllReplicas()`. https://packages.couchbase.com/clients/java/3.4.9/Couchbase-Java-Client-3.4.9.zip[Download] | https://docs.couchbase.com/sdk-api/couchbase-java-client-3.4.9/index.html[API Reference] | From bb438cc951f44332e921f67d7b85491ceb2e30fc Mon Sep 17 00:00:00 2001 From: Richard Smedley Date: Wed, 2 Aug 2023 17:48:08 +0100 Subject: [PATCH 3/3] Gardening --- modules/project-docs/pages/sdk-release-notes.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/project-docs/pages/sdk-release-notes.adoc b/modules/project-docs/pages/sdk-release-notes.adoc index 1c428ab7..d3fcc380 100644 --- a/modules/project-docs/pages/sdk-release-notes.adoc +++ b/modules/project-docs/pages/sdk-release-notes.adoc @@ -18,6 +18,7 @@ See the xref:project-docs:sdk-full-installation.adoc[Full Installation] guide fo // tag::all[] == Version 3.4.9 (2 August 2023) + This release adds support for Sub-Document reads from replicas at @Stability.Volatile level: see `collection.lookupInAnyReplica()` and `collection.lookupInAllReplicas()`. https://packages.couchbase.com/clients/java/3.4.9/Couchbase-Java-Client-3.4.9.zip[Download] | @@ -45,14 +46,15 @@ Optional artifacts on top of this SDK version are tested for the following compa * https://issues.couchbase.com/browse/JVMCBC-1339[JVMCBC-1339]: When KV traffic capture is enabled, each `ReadTrafficCapturedEvent` now contains a single protocol frame, and the human-readable frame description is more accurate. * https://issues.couchbase.com/browse/JVMCBC-1320[JVMCBC-1320]: -The waitUntilReady method is now more aggressive about retrying failed pings. -Also, waiting for a desired state of DEGRADED no longer fails when the client is fully connected to the cluster. +The `waitUntilReady` method is now more aggressive about retrying failed pings. +Also, waiting for a desired state of `DEGRADED` no longer fails when the client is fully connected to the cluster. * https://issues.couchbase.com/browse/JVMCBC-1343[JVMCBC-1343]: Reduced the default value for the `io.idleHttpConnectionTimeout` client setting to 1 second. The previous default (4.5 seconds) was too close to the 5-second server-side timeout, and could lead to spurious request failures. * https://issues.couchbase.com/browse/JCBC-2078[JCBC-2078]: Support for Sub-Document read from replica. + == Version 3.4.8 (19 July 2023) This is a regular maintenance release.