diff --git a/modules/hello-world/pages/start-using-sdk.adoc b/modules/hello-world/pages/start-using-sdk.adoc index 96151e17..f9adebcc 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 August 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.4.9/jar[3.4.9]. +The latest version (as of September 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.4.10/jar[3.4.10]. You can use your favorite dependency management tool to install the SDK. @@ -77,7 +77,7 @@ Maven:: com.couchbase.client java-client - 3.4.9 + 3.4.10 ---- @@ -88,7 +88,7 @@ Gradle:: -- [source,groovy] ---- -implementation 'com.couchbase.client:java-client:3.4.9' +implementation 'com.couchbase.client:java-client:3.4.10' ---- -- ==== diff --git a/modules/project-docs/pages/sdk-full-installation.adoc b/modules/project-docs/pages/sdk-full-installation.adoc index 4aa2d575..97245a9c 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 August 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.4.9/jar[3.4.9]. +The latest version (as of September 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.4.10/jar[3.4.10]. 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.9 + 3.4.10 ---- 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.9' +implementation 'com.couchbase.client:java-client:3.4.10' ---- -- ==== diff --git a/modules/project-docs/pages/sdk-release-notes.adoc b/modules/project-docs/pages/sdk-release-notes.adoc index d3fcc380..b86e3760 100644 --- a/modules/project-docs/pages/sdk-release-notes.adoc +++ b/modules/project-docs/pages/sdk-release-notes.adoc @@ -17,6 +17,55 @@ See the xref:project-docs:sdk-full-installation.adoc[Full Installation] guide fo // tag::all[] +== Version 3.4.10 (6 September 2023) + +This is a standard maintenance release. + +https://packages.couchbase.com/clients/java/3.4.10/Couchbase-Java-Client-3.4.10.zip[Download] | +https://docs.couchbase.com/sdk-api/couchbase-java-client-3.4.10/index.html[API Reference] | +http://docs.couchbase.com/sdk-api/couchbase-core-io-2.4.10/[Core API Reference] + +The supported and tested dependencies for this release are: + +* io.projectreactor:**reactor-core:3.5.8** +* 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.10 | OpenTelemetry 1.19.0 | Committed +| `tracing-opentracing` | 1.2.10 | OpenTracing 0.33.0 | Committed +| `metrics-opentelemetry` | 0.4.10 | OpenTelemetry 1.19.0 | Volatile +| `metrics-micrometer` | 0.4.10 | Micrometer 1.10.0 | Volatile +|======================= + +=== Improvements +* https://issues.couchbase.com/browse/JVMCBC-1367[JVMCBC-1367]: +The `db.couchbase.operations` metric now has `db.name` (bucket), `db.couchbase.scope`, `db.couchbase.collection` and `outcome` labels (tags). +This new feature is at Stability.Volatile, and may change before it is promoted to Stability.Committed in a future release. +* https://issues.couchbase.com/browse/JVMCBC-1311[JVMCBC-1311], +https://issues.couchbase.com/browse/JVMCBC-1352[JVMCBC-1352]: +Upgraded dependencies. + +=== Bugfixes +* https://issues.couchbase.com/browse/JVMCBC-1350[JVMCBC-1350]: +`lookupInAnyReplica` now throws `FeatureNotAvailableException` if the server does not support the feature. +* https://issues.couchbase.com/browse/JVMCBC-1351[JVMCBC-1351]: +`lookupInAnyReplica` no longer hangs when too many operations are specified. +* https://issues.couchbase.com/browse/JVMCBC-1353[JVMCBC-1353]: +Removed the unrelocated `io.opentracing` classes that accidentally slipped into version 2.4.9 of the Couchbase `core-io` library. +* https://issues.couchbase.com/browse/JVMCBC-1361[JVMCBC-1361]: +When the SDK receives multiple cluster map versions at the same time, it is now more careful about applying only the most recent version. +Before this change, there was a brief window where the SDK could apply an obsolete cluster map. +If this happened, the SDK would temporarily dispatch requests to incorrect or non-existent nodes. +This condition was typically short-lived, and healed the next time the SDK polled for an updated cluster map, or dispatched a KV request to the wrong node. +* https://issues.couchbase.com/browse/JVMCBC-1368[JVMCBC-1368]: +Fixed a rare `java.lang.ArithmeticException: / by zero` exception in `RoundRobinSelectionStrategy.select` that could occur during rebalance. + + == 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()`. diff --git a/pom.xml b/pom.xml index e627f42a..ff0640ee 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ com.couchbase.client java-client - 3.4.9 + 3.4.10 com.fasterxml.jackson.core