You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/project-docs/pages/migrating-sdk-code-to-3.n.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ The Java SDK 3.x is available for download from the same resources as the previo
47
47
In addition, a `zip` file is available with the required jars.
48
48
Please see the xref:sdk-release-notes.adoc[Release Notes] for up-to-date information.
49
49
50
-
IMPORTANT: Java SDK 3.x has a minimum required Java version of 8, although we recommend running the latest LTS version (i.e. at the time of writing JDK 11) with the highest patch version available.
50
+
IMPORTANT: Java SDK 3.x has a minimum required Java version of 8, although we recommend running the latest LTS version (i.e. at the time of writing JDK 21) with the highest patch version available.
51
51
52
52
Note that the transitive dependency list has changed.
53
53
As a refresher, Java SDK 2 depended on the following artifacts:
Copy file name to clipboardExpand all lines: modules/project-docs/pages/sdk-full-installation.adoc
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
The Couchbase Java SDK allows Java applications to access a Couchbase cluster.
14
14
It offers synchronous APIs as well as reactive and asynchronous equivalents to maximize flexibility and performance.
15
15
16
-
The Couchbase Java SDK 3._x_ is a complete rewrite of the 2.x API, providing a simpler surface area and adding support for Couchbase Server features like xref:concept-docs:collections.adoc[Collections and Scopes] (available in Couchbase Server 7.0).
16
+
The Couchbase Java SDK 3._x_ is a complete rewrite of the 2.x API, providing a simpler surface area and adding support for Couchbase Server features like xref:concept-docs:collections.adoc[Collections and Scopes] (available in Couchbase Server 7.0+).
17
17
The (reactive) API also migrated from `RxJava` to `Reactor`, along with other improvements to performance, logging, debugging and timeout troubleshooting.
18
18
If you're upgrading your application from Java SDK 2.x, please read our xref:project-docs:migrating-sdk-code-to-3.n.adoc[Migrating 2.x code to SDK 3.0 Guide].
19
19
@@ -29,11 +29,10 @@ The underlying OS normally makes no difference, but library incompatibilities in
29
29
30
30
At least Java 8 is required for current releases;
31
31
see the xref:project-docs:compatibility.adoc#jdk-compat[Compatibility] section for details.
32
-
We recommend running the latest Java LTS version (i.e. at the time of writing JDK 17) with the highest patch version available.
33
-
Java 17 has various enhancements like sealed classes, pattern matching for switch expressions (in preview), and further updates and improvements on core libraries.
32
+
We recommend running the latest Java LTS version (i.e. at the time of writing JDK 21) with the highest patch version available.
34
33
35
34
Couchbase publishes all stable artifacts to https://central.sonatype.com/namespace/com.couchbase.client[Maven Central].
36
-
The latest version (as of October 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.4.11/jar[3.4.11].
35
+
The latest version (as of November 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.5.0/jar[3.5.0].
37
36
38
37
You can use your favorite dependency management tool to install the SDK.
39
38
@@ -50,7 +49,7 @@ For https://maven.apache.org[Maven], you can insert the following into the depen
50
49
<dependency>
51
50
<groupId>com.couchbase.client</groupId>
52
51
<artifactId>java-client</artifactId>
53
-
<version>3.4.11</version>
52
+
<version>3.5.0</version>
54
53
</dependency>
55
54
----
56
55
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 +61,7 @@ For https://gradle.org/[Gradle], you can use:
0 commit comments