Skip to content

Commit

Permalink
3.4.10 release
Browse files Browse the repository at this point in the history
  • Loading branch information
programmatix committed Sep 6, 2023
1 parent 8a7d344 commit 5d38112
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 7 deletions.
6 changes: 3 additions & 3 deletions modules/hello-world/pages/start-using-sdk.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -77,7 +77,7 @@ Maven::
<dependency>
<groupId>com.couchbase.client</groupId>
<artifactId>java-client</artifactId>
<version>3.4.9</version>
<version>3.4.10</version>
</dependency>
</dependencies>
----
Expand All @@ -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'
----
--
====
Expand Down
6 changes: 3 additions & 3 deletions modules/project-docs/pages/sdk-full-installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -50,7 +50,7 @@ For https://maven.apache.org[Maven], you can insert the following into the depen
<dependency>
<groupId>com.couchbase.client</groupId>
<artifactId>java-client</artifactId>
<version>3.4.9</version>
<version>3.4.10</version>
</dependency>
----
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.
Expand All @@ -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'
----
--
====
Expand Down
49 changes: 49 additions & 0 deletions modules/project-docs/pages/sdk-release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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()`.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>com.couchbase.client</groupId>
<artifactId>java-client</artifactId>
<version>3.4.9</version>
<version>3.4.10</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down

0 comments on commit 5d38112

Please sign in to comment.