From b438a50e4ba1231be9fe55ed495fdd10d3b30cfe Mon Sep 17 00:00:00 2001 From: mikereiche Date: Mon, 5 Feb 2024 17:03:38 -0800 Subject: [PATCH 1/2] Release 1.5.3 --- antora.yml | 2 +- build.gradle | 2 +- .../hello-world/pages/start-using-sdk.adoc | 6 +-- .../pages/sdk-full-installation.adoc | 10 ++--- .../project-docs/pages/sdk-release-notes.adoc | 45 +++++++++++++++++++ 5 files changed, 55 insertions(+), 10 deletions(-) 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..ed420ab2 100644 --- a/modules/project-docs/pages/sdk-release-notes.adoc +++ b/modules/project-docs/pages/sdk-release-notes.adoc @@ -17,6 +17,51 @@ 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 (4 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. In AsyncCollection and ReactiveCollection. The calls should use options.transcoder. +* 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] +Adding 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] +Correctly serialise 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. From be3700e27ce31d9e35afe47fb6fc08799be0db74 Mon Sep 17 00:00:00 2001 From: Richard Smedley Date: Wed, 7 Feb 2024 17:49:43 +0000 Subject: [PATCH 2/2] Gardening --- .../project-docs/pages/sdk-release-notes.adoc | 31 +++++++++++-------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/modules/project-docs/pages/sdk-release-notes.adoc b/modules/project-docs/pages/sdk-release-notes.adoc index ed420ab2..28583fe2 100644 --- a/modules/project-docs/pages/sdk-release-notes.adoc +++ b/modules/project-docs/pages/sdk-release-notes.adoc @@ -17,7 +17,8 @@ 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 (4 February 2024) + +=== Version 1.5.3 (6 February 2024) This is a regular maintenance release. @@ -32,35 +33,39 @@ The supported and tested dependencies for this release are: ==== 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. In AsyncCollection and ReactiveCollection. The calls should use options.transcoder. +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. +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. +`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] -Adding support for `scope.search()` and `scope.searchIndexes()`, for querying and managing FTS scoped indexes. +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. +`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. +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.). +`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. +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. +`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. +`lookupInAnyReplica()` and `lookupInAllReplicas()` will now raise `DocumentUnretrievableException` if all replicas fail. * https://issues.couchbase.com/browse/SCBC-449[SCBC-449] -Correctly serialise an FTS index during index creation. +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. +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)