diff --git a/antora.yml b/antora.yml index 28cb58ec..5cdb39b3 100644 --- a/antora.yml +++ b/antora.yml @@ -8,7 +8,7 @@ nav: asciidoc: attributes: server_version: '7.2' - sdk_current_version: '1.5.2' + sdk_current_version: '1.5.3' sdk_dot_minor: '1.5' sdk_dot_major: '1.x' version-server: '7.2' diff --git a/build.gradle b/build.gradle index e64089ea..46c7d21d 100644 --- a/build.gradle +++ b/build.gradle @@ -32,7 +32,7 @@ sourceSets { } dependencies { - implementation group: 'com.couchbase.client', name: 'scala-client_2.12', version: '1.5.2' + implementation group: 'com.couchbase.client', name: 'scala-client_2.12', version: '1.5.3' implementation group: 'com.couchbase.client', name: 'tracing-opentelemetry', version: '0.4.0' implementation group: 'com.couchbase.client', name: 'metrics-opentelemetry', version: '0.4.0' implementation group: 'com.couchbase.client', name: 'metrics-micrometer', version: '0.4.0' diff --git a/modules/hello-world/pages/start-using-sdk.adoc b/modules/hello-world/pages/start-using-sdk.adoc index 501fe558..5024c383 100644 --- a/modules/hello-world/pages/start-using-sdk.adoc +++ b/modules/hello-world/pages/start-using-sdk.adoc @@ -53,7 +53,7 @@ SBT:: -- [source,sbt] ---- -libraryDependencies += "com.couchbase.client" %% "scala-client" % "1.5.2" +libraryDependencies += "com.couchbase.client" %% "scala-client" % "1.5.3" ---- This will automatically use the Scala 2.12 or 2.13 builds, as appropriate for your SBT project. @@ -67,7 +67,7 @@ It can be included in your `build.gradle` like this for 2.13: [source,groovy] ---- dependencies { - compile group: 'com.couchbase.client', name: 'scala-client_2.13', version: '1.5.2' + compile group: 'com.couchbase.client', name: 'scala-client_2.13', version: '1.5.3' } ---- @@ -85,7 +85,7 @@ It can be included in your Maven `pom.xml` like this for 2.13: com.couchbase.client scala-client_2.13 - 1.5.2 + 1.5.3 ---- diff --git a/modules/project-docs/pages/sdk-full-installation.adoc b/modules/project-docs/pages/sdk-full-installation.adoc index c742b8eb..261ba1ce 100644 --- a/modules/project-docs/pages/sdk-full-installation.adoc +++ b/modules/project-docs/pages/sdk-full-installation.adoc @@ -25,7 +25,7 @@ It can be included in your SBT build like this: [source,sbt] ---- -libraryDependencies += "com.couchbase.client" %% "scala-client" % "1.5.2" +libraryDependencies += "com.couchbase.client" %% "scala-client" % "1.5.3" ---- This will automatically use the Scala 2.12 or 2.13 builds, as appropriate for your SBT project. @@ -36,7 +36,7 @@ It can be included in your `build.gradle` like this for 2.12: [source,groovy] ---- dependencies { - compile group: 'com.couchbase.client', name: 'scala-client_2.12', version: '1.5.2' + compile group: 'com.couchbase.client', name: 'scala-client_2.12', version: '1.5.3' } ---- @@ -45,7 +45,7 @@ or 2.13: [source,groovy] ---- dependencies { - compile group: 'com.couchbase.client', name: 'scala-client_2.13', version: '1.5.2' + compile group: 'com.couchbase.client', name: 'scala-client_2.13', version: '1.5.3' } ---- @@ -59,7 +59,7 @@ It can be included in your Maven `pom.xml` like this for 2.12: com.couchbase.client scala-client_2.12 - 1.5.2 + 1.5.3 ---- @@ -72,7 +72,7 @@ or 2.13: com.couchbase.client scala-client_2.13 - 1.5.2 + 1.5.3 ---- diff --git a/modules/project-docs/pages/sdk-release-notes.adoc b/modules/project-docs/pages/sdk-release-notes.adoc index 09165d8a..28583fe2 100644 --- a/modules/project-docs/pages/sdk-release-notes.adoc +++ b/modules/project-docs/pages/sdk-release-notes.adoc @@ -17,6 +17,56 @@ We always recommend using the latest version of the SDK -- it contains all of th All patch releases for each dot minor release should be API compatible, and safe to upgrade; any changes to expected behavior are noted in the release notes that follow. + +=== Version 1.5.3 (6 February 2024) + +This is a regular maintenance release. + +https://docs.couchbase.com/sdk-api/couchbase-scala-client-1.5.3/com/couchbase/client/scala/index.html[API Reference] | +http://docs.couchbase.com/sdk-api/couchbase-core-io-2.5.3/[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** + +==== Improvements + +* https://issues.couchbase.com/browse/SCBC-414[SCBC-414] +All forms of `getAnyReplica()` and `getAllReplicas()` will now use the `Transcoder` provided as an option. +Users that require a true streaming solution should use the reactive version. +* https://issues.couchbase.com/browse/SCBC-443[SCBC-443] +Transactions now have a third, `Future`-based API. +* https://issues.couchbase.com/browse/SCBC-445[SCBC-445] +`maxExpiry(Duration(-1, TimeUnit.SECONDS))` can now be used to specify that a collection has no expiry, +overriding whatever is set on the bucket. +* https://issues.couchbase.com/browse/SCBC-446[SCBC-446] +Added support for `scope.search()` and `scope.searchIndexes()`, for querying and managing FTS scoped indexes. +* https://issues.couchbase.com/browse/SCBC-448[SCBC-448] +All functionality is now present for `SearchIndexManager`. +* https://issues.couchbase.com/browse/JVMCBC-1460[JVMCBC-1460] +`couchbase2` now supports compressing data between the SDK and the server. +* https://issues.couchbase.com/browse/JVMCBC-1464[JVMCBC-1464] +The `metrics-opentelemetry` package is now aligned with the same `OpenTelemetry` version as `tracing-opentelemetry`. +* https://issues.couchbase.com/browse/JVMCBC-1468[JVMCBC-1468] +`Cluster.connect` now validates that connection strings using the `couchbase2` scheme have exactly one host. +(Previously, hosts after the first were silently ignored.). +* https://issues.couchbase.com/browse/JVMCBC-1470[JVMCBC-1470] +Improved support for Full Text Search in `couchbase2` mode. +* https://issues.couchbase.com/browse/JVMCBC-1472[JVMCBC-1472] +`couchbase2` errors will now include diagnostic information when CNG is running with the `--debug` flag. + + +==== Bugfixes + +* https://issues.couchbase.com/browse/SCBC-430[SCBC-430] +`lookupInAnyReplica()` and `lookupInAllReplicas()` will now raise `DocumentUnretrievableException` if all replicas fail. +* https://issues.couchbase.com/browse/SCBC-449[SCBC-449] +The SDK now correctly serializes an FTS index during index creation. +* https://issues.couchbase.com/browse/JVMCBC-1475[JVMCBC-1475] +Accessing the terms of a `TermFacet` result no longer throws `NullPointerException` if the target field is absent from all documents. + + === Version 1.5.2 (5 January 2024) This is a regular maintenance release.