Skip to content

Commit 5f6a6d1

Browse files
Merge pull request #357 from programmatix/release/3.4
3.4.1 release
2 parents 2350ccf + bc62756 commit 5f6a6d1

File tree

5 files changed

+73
-8
lines changed

5 files changed

+73
-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 October 2022) is https://search.maven.org/artifact/com.couchbase.client/java-client/3.4.0/jar[3.4.0].
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].
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.0</version>
79+
<version>3.4.1</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.0'
90+
implementation 'com.couchbase.client:java-client:3.4.1'
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 October 2022) is https://search.maven.org/artifact/com.couchbase.client/java-client/3.4.0/jar[3.4.0].
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].
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.0</version>
54+
<version>3.4.1</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.0'
66+
implementation 'com.couchbase.client:java-client:3.4.1'
6767
----
6868
--
6969
====

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

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

1818

1919
// tag::all[]
20+
== Version 3.4.1 (7 December 2022)
21+
22+
Version 3.4.1 is the second release of the 3.4 series.
23+
The headline change is support for the KV range scan feature (`collection.scan()`), added at @Stability.Volatile level.
24+
This feature will be available in a future version of Couchbase Server.
25+
26+
https://packages.couchbase.com/clients/java/3.4.1/Couchbase-Java-Client-3.4.1.zip[Download] |
27+
https://docs.couchbase.com/sdk-api/couchbase-java-client-3.4.1/index.html[API Reference] |
28+
http://docs.couchbase.com/sdk-api/couchbase-core-io-2.4.1/[Core API Reference]
29+
30+
The supported and tested dependencies for this release are:
31+
32+
* com.couchbase.client:**java-client:3.4.1**
33+
* com.couchbase.client:**core-io:2.4.1**
34+
* io.projectreactor:**reactor-core:3.5.0**
35+
* org.reactivestreams:**reactive-streams:1.0.4**
36+
37+
Optional artifacts on top of this SDK version are tested for the following compatibilities:
38+
39+
.Optional Artifact Version Compatibility
40+
[options="header"]
41+
|=======================
42+
| Artifact | Couchbase Version | Built Against | API Stability
43+
| `tracing-opentelemetry` | 1.2.1 | OpenTelemetry 1.19.0 | Committed
44+
| `tracing-opentracing` | 1.2.1 | OpenTracing 0.33.0 | Committed
45+
| `metrics-opentelemetry` | 0.4.1 | OpenTelemetry 1.19.0 | Volatile
46+
| `metrics-micrometer` | 0.4.1 | Micrometer 1.10.0 | Volatile
47+
|=======================
48+
49+
50+
=== Improvements
51+
* https://issues.couchbase.com/browse/JVMCBC-1163[JVMCBC-1163]:
52+
Dependencies have been updated.
53+
* https://issues.couchbase.com/browse/JVMCBC-1156[JVMCBC-1156]:
54+
The traffic tracing functionality has been enchanced to perform Wireshark-style dissection of portions of the KV protocol.
55+
* https://issues.couchbase.com/browse/JCBC-1984[JCBC-1984]:
56+
KV range scan functionality (`collection.scan()`) added at @Stability.Volatile level.
57+
Users are encouraged to experiment with the feature and provide feedback ahead of its formal release in 3.5.0.
58+
* https://issues.couchbase.com/browse/JCBC-2018[JCBC-2018]:
59+
Make Core and CoreEnvironment Autocloseable.
60+
* https://issues.couchbase.com/browse/JCBC-2009[JCBC-2009]:
61+
Fixed an issue where ArraySetOptions was extending CommonDatastructureOptions incorrectly.
62+
* https://issues.couchbase.com/browse/JCBC-2021[JCBC-2021]:
63+
Diagnostics for an endpoint now include the state of the endpoint's circuit breaker.
64+
* https://issues.couchbase.com/browse/JCBC-2027[JCBC-2027]:
65+
The `ClusterEnvironment.Builder` methods that take a `Builder` are deprecated in favor of the overloads that take a `Consumer<Builder>`.
66+
For example, `ioConfig(IoConfig.Builder)` is deprecated in favor of `ioConfig(Consumer<IoConfig.Builder>)`.
67+
The methods that take a `Consumer<Builder>` are preferable because they allow customizing the config without clobbering the previous values.
68+
* https://issues.couchbase.com/browse/JCBC-2028[JCBC-2028]:
69+
`Cluster.connect` now throws an `IllegalArgumentException` if you pass a pre-built `ClusterEnvironment` and a connection string incompatible with the environment.
70+
Before this change, an incompatibility was logged as a warning, and the connection string scheme and parameters were ignored.
71+
`ConnectionStringIgnoredEvent` is now deprecated, since the SDK never publishes it anymore.
72+
** A pre-built environment without TLS enabled is incompatible with a connection string that specifies the secure `couchases` scheme.
73+
** A pre-built environment is incompatible with a connection string that has parameters.
74+
* https://issues.couchbase.com/browse/JVMCBC-1159[JVMCBC-1159]:
75+
Transactions now support upcoming server query_context changes.
76+
77+
=== Bugs
78+
* https://issues.couchbase.com/browse/JVMCBC-1157[JVMCBC-1157]:
79+
The SDK no longer rejects a `PersistTo` requirement in a bucket using the Magma storage engine. Before this change, the SDK would refuse the request because it misidentified Magma buckets as ephemeral (unable to persist documents).
80+
* https://issues.couchbase.com/browse/JVMCBC-1167[JVMCBC-1167]:
81+
If you call `CancellationErrorContext.getWaitUntilReadyContext()` on an error context that didn't come from a "wait until ready" request, the method is now guaranteed to return null instead of sometimes throwing a `ClassCastException`.
82+
* https://issues.couchbase.com/browse/JCBC-2024[JCBC-2024]:
83+
Fixed a memory leak in ManagerMessageHandler.
84+
2085
== Version 3.4.0 (24 October 2022)
2186

2287
Version 3.4.0 is the first 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.0
2+
:java-current-version: 3.4.1
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.0</version>
25+
<version>3.4.1</version>
2626
</dependency>
2727
<dependency>
2828
<groupId>com.fasterxml.jackson.core</groupId>

0 commit comments

Comments
 (0)