Skip to content

Commit b5b8276

Browse files
Merge pull request #360 from programmatix/release/3.4
3.4.2 release
2 parents c20f2f2 + 9d11b9b commit b5b8276

File tree

5 files changed

+50
-8
lines changed

5 files changed

+50
-8
lines changed

modules/hello-world/pages/start-using-sdk.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ We recommend running the latest Java LTS version (i.e. at the time of writing JD
6161
// Other supported Java versions will work, too.
6262
Couchbase publishes all stable artifacts to https://search.maven.org/search?q=com.couchbase.client[Maven Central].
6363

64-
The latest version (as of December 2022) is https://search.maven.org/artifact/com.couchbase.client/java-client/3.4.1/jar[3.4.1].
64+
The latest version (as of January 2023) is https://search.maven.org/artifact/com.couchbase.client/java-client/3.4.2/jar[3.4.2].
6565

6666
You can use your favorite dependency management tool to install the SDK.
6767

@@ -76,7 +76,7 @@ Maven::
7676
<dependency>
7777
<groupId>com.couchbase.client</groupId>
7878
<artifactId>java-client</artifactId>
79-
<version>3.4.1</version>
79+
<version>3.4.2</version>
8080
</dependency>
8181
</dependencies>
8282
----
@@ -87,7 +87,7 @@ Gradle::
8787
--
8888
[source,groovy]
8989
----
90-
implementation 'com.couchbase.client:java-client:3.4.1'
90+
implementation 'com.couchbase.client:java-client:3.4.2'
9191
----
9292
--
9393
====

modules/project-docs/pages/sdk-full-installation.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ We recommend running the latest Java LTS version (i.e. at the time of writing JD
3333
Java 17 has various enhancements like sealed classes, pattern matching for switch expressions (in preview), and further updates and improvements on core libraries.
3434

3535
Couchbase publishes all stable artifacts to https://search.maven.org/search?q=com.couchbase.client[Maven Central].
36-
The latest version (as of December 2022) is https://search.maven.org/artifact/com.couchbase.client/java-client/3.4.1/jar[3.4.1].
36+
The latest version (as of January 2023) is https://search.maven.org/artifact/com.couchbase.client/java-client/3.4.2/jar[3.4.2].
3737

3838
You can use your favorite dependency management tool to install the SDK.
3939

@@ -51,7 +51,7 @@ The following snippet shows how to do it with https://maven.apache.org/[Maven].
5151
<dependency>
5252
<groupId>com.couchbase.client</groupId>
5353
<artifactId>java-client</artifactId>
54-
<version>3.4.1</version>
54+
<version>3.4.2</version>
5555
</dependency>
5656
</dependencies>
5757
----
@@ -63,7 +63,7 @@ For https://gradle.org/[Gradle], you can use:
6363
6464
[source,groovy]
6565
----
66-
implementation 'com.couchbase.client:java-client:3.4.1'
66+
implementation 'com.couchbase.client:java-client:3.4.2'
6767
----
6868
--
6969
====

modules/project-docs/pages/sdk-release-notes.adoc

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,48 @@ See the xref:project-docs:sdk-full-installation.adoc[Full Installation] guide fo
1717

1818

1919
// tag::all[]
20+
== Version 3.4.2 (16 January 2023)
21+
This is a regular maintenance release.
22+
23+
https://packages.couchbase.com/clients/java/3.4.2/Couchbase-Java-Client-3.4.2.zip[Download] |
24+
https://docs.couchbase.com/sdk-api/couchbase-java-client-3.4.2/index.html[API Reference] |
25+
http://docs.couchbase.com/sdk-api/couchbase-core-io-2.4.2/[Core API Reference]
26+
27+
The supported and tested dependencies for this release are:
28+
29+
* com.couchbase.client:**java-client:3.4.2**
30+
* com.couchbase.client:**core-io:2.4.2**
31+
* io.projectreactor:**reactor-core:3.5.0**
32+
* org.reactivestreams:**reactive-streams:1.0.4**
33+
34+
Optional artifacts on top of this SDK version are tested for the following compatibilities:
35+
36+
.Optional Artifact Version Compatibility
37+
[options="header"]
38+
|=======================
39+
| Artifact | Couchbase Version | Built Against | API Stability
40+
| `tracing-opentelemetry` | 1.2.2 | OpenTelemetry 1.19.0 | Committed
41+
| `tracing-opentracing` | 1.2.2 | OpenTracing 0.33.0 | Committed
42+
| `metrics-opentelemetry` | 0.4.2 | OpenTelemetry 1.19.0 | Volatile
43+
| `metrics-micrometer` | 0.4.2 | Micrometer 1.10.0 | Volatile
44+
|=======================
45+
46+
47+
=== Improvements
48+
* https://issues.couchbase.com/browse/JVMCBC-1175[JVMCBC-1175]:
49+
The SDK now includes native libraries for IO and TLS that can enhance performance on `aarch_64` architectures like Graviton and Apple Silicon. Previously, native libraries were included only for `x86_64` architectures.
50+
Native libraries for IO and TLS are enabled by default. If you need to disable native IO, set the `ioEnvironment.enableNativeIo` client setting to false. To disable native TLS, set the `security.enableNativeTls` client setting to false.
51+
52+
=== Bugs
53+
* https://issues.couchbase.com/browse/JVMCBC-1161[JVMCBC-1161]:
54+
Fixed a minor issue where `cluster.disconnect()` could occasionally timeout due to a race condition.
55+
* https://issues.couchbase.com/browse/JVMCBC-1176[JVMCBC-1176]:
56+
Setting `security.enableNativeTls` to false now prevents the SDK from even attempting to load the native TLS library. (Prior to this change, the SDK would load the library and just not use it.) In addition to saving a bit of memory, this prevents the JVM from segfaulting on Alpine Linux where glibc is not available.
57+
* https://issues.couchbase.com/browse/JVMCBC-1180[JVMCBC-1180]:
58+
Supporting in transactions a future version of Couchbase Server that requires query_context be sent in all queries.
59+
* https://issues.couchbase.com/browse/JVMCBC-1174[JVMCBC-1174]:
60+
Fixed a regression that prevented native TLS from being used regardless of whether the `security.enableNativeTls` client setting was set to true.
61+
2062
== Version 3.4.1 (7 December 2022)
2163

2264
Version 3.4.1 is the second release of the 3.4 series.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:java-api-link: https://docs.couchbase.com/sdk-api/couchbase-java-client/
2-
:java-current-version: 3.4.1
2+
:java-current-version: 3.4.2
33
:version-server: 7.1
44
:version-common: 7.1.2
55
:name-sdk: Java SDK

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<dependency>
2323
<groupId>com.couchbase.client</groupId>
2424
<artifactId>java-client</artifactId>
25-
<version>3.4.1</version>
25+
<version>3.4.2</version>
2626
</dependency>
2727
<dependency>
2828
<groupId>com.fasterxml.jackson.core</groupId>

0 commit comments

Comments
 (0)