Skip to content

Commit 1a93b50

Browse files
Merge pull request #394 from programmatix/release/3.5
3.5.0 release
2 parents 540cf94 + 64e8ac4 commit 1a93b50

2 files changed

Lines changed: 64 additions & 2 deletions

File tree

modules/howtos/pages/managing-connections.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@ The following are not currently implemented over the `couchbase2://` protocol:
257257
* Analytics service.
258258
* Health Check.
259259

260+
And the output from these features should be seen as volatile and subject to change:
261+
262+
* Metrics and tracing, including the ThresholdLoggingTracer, LoggingMeter, and spans output.
263+
260264
There are some different behaviors seen with this protocol:
261265

262266
* Some config options are unsupported -- see the xref:ref:client-settings.adoc#cloud-native-gateway[Settings page].
@@ -268,7 +272,6 @@ There are some different behaviors seen with this protocol:
268272

269273

270274

271-
272275
include::{version-common}@sdk:shared:partial$dnssrv-pars.adoc[tag=dnssrv]
273276

274277
DNS SRV bootstrapping is available in the Java SDK from version 2.1.0.

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

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,69 @@ any changes to expected behavior are noted in the release notes that follow.
3434

3535
Version 3.5.0 is the first release of the 3.5 series.
3636

37+
The SDK now supports the new couchbase2 protocol, which is upcoming in future Couchbase Server versions.
38+
It can be enabled through using a connection string starting with `couchbase2://`.
39+
Please see xref:howtos:managing-connections.adoc#cloud-native-gateway[Cloud Native Gateway] for more information.
3740

41+
The SDK now directly depends on SLF4J, which may impact some users -- see below for details.
3842

39-
== Java SDK 3.4 Releases
43+
https://packages.couchbase.com/clients/java/3.5.0/Couchbase-Java-Client-3.5.0.zip[Download] |
44+
https://docs.couchbase.com/sdk-api/couchbase-java-client-3.5.0/index.html[API Reference] |
45+
http://docs.couchbase.com/sdk-api/couchbase-core-io-2.5.0/[Core API Reference]
46+
47+
The supported and tested dependencies for this release are:
48+
49+
* io.projectreactor:**reactor-core:3.5.8**
50+
* org.reactivestreams:**reactive-streams:1.0.4**
51+
52+
Optional artifacts on top of this SDK version are tested for the following compatibilities:
53+
54+
.Optional Artifact Version Compatibility
55+
[options="header"]
56+
|=======================
57+
| Artifact | Couchbase Version | Built Against | API Stability
58+
| `tracing-opentelemetry` | 1.3.0 | OpenTelemetry 1.31.0 | Committed
59+
| `tracing-opentracing` | 1.3.0 | OpenTracing 0.33.0 | Committed
60+
| `metrics-opentelemetry` | 0.5.0 | OpenTelemetry 1.31.0 | Volatile
61+
| `metrics-micrometer` | 0.5.0 | Micrometer 1.10.0 | Volatile
62+
|=======================
4063

64+
==== API Impacting
65+
66+
* https://issues.couchbase.com/browse/JVMCBC-1319[JVMCBC-1319]:
67+
BEHAVIORAL CHANGE
68+
+
69+
As https://www.couchbase.com/forums/t/embracing-slf4j-in-couchbase-java-sdk-3-5/36474[previously announced], the SLF4J API is now a required dependency, and the SDK does all logging through SLF4J. The following client settings for customizing logging behavior are deprecated, and no longer have any effect:
70+
71+
** `logger.disableSlf4J`
72+
** `logger.fallbackToConsole`
73+
** `logger.consoleLoggerFormatter`
74+
+
75+
If your project does not already use SLF4J, please follow the announcement link for details and a mini-migration guide.
76+
77+
==== Improvements
78+
79+
* https://issues.couchbase.com/browse/JVMCBC-1402[JVMCBC-1402],
80+
https://issues.couchbase.com/browse/JVMCBC-1410[JVMCBC-1410]:
81+
Upgraded Netty from 4.1.96 to 4.1.100, and upgraded `OpenTelemetry` dependency.
82+
* https://issues.couchbase.com/browse/JVMCBC-1430[JVMCBC-1430]:
83+
Optimisation: removed creation of unnecessary metrics labels when default `LoggingMeter` is used.
84+
* https://issues.couchbase.com/browse/JVMCBC-1391[JVMCBC-1391]:
85+
The Bucket Manager API is now forward-compatible with future versions of Couchbase Server that might support storage engine types other than "magma" and "couchstore".
86+
* https://issues.couchbase.com/browse/JVMCBC-1327[JVMCBC-1327]:
87+
Improved support for failover handling in future server versions.
88+
89+
==== Bugfixes
90+
91+
* https://issues.couchbase.com/browse/JVMCBC-1264[JVMCBC-1264]:
92+
DNS SRV lookups now honor the DNS search path.
93+
This enables DNS SRV resolution in Kubernetes environments where the `*-srv` hostname advertised by the Couchbase Operator is a partial name that must be resolved using a suffix from the DNS search path.
94+
* https://issues.couchbase.com/browse/JVMCBC-1426[JVMCBC-1426]:
95+
When Couchbase Server is too busy to start a new KV range scan, the SDK now retries instead of throwing a `CouchbaseException`.
96+
97+
98+
99+
== Java SDK 3.4 Releases
41100

42101
=== Version 3.4.11 (4 October 2023)
43102

0 commit comments

Comments
 (0)