From e344d9db87214e3795c3f2b64f4dc4653b42adf9 Mon Sep 17 00:00:00 2001 From: mikereiche Date: Wed, 13 Mar 2024 14:29:36 -0700 Subject: [PATCH 1/4] Release 1.6.0 --- antora.yml | 6 ++-- .../hello-world/pages/start-using-sdk.adoc | 6 ++-- .../pages/sdk-full-installation.adoc | 10 +++--- .../project-docs/pages/sdk-release-notes.adoc | 36 ++++++++++++++++++- release_notes_template | 23 ++++++++++++ 5 files changed, 69 insertions(+), 12 deletions(-) create mode 100644 release_notes_template diff --git a/antora.yml b/antora.yml index 43b2fa23..fea82909 100644 --- a/antora.yml +++ b/antora.yml @@ -7,12 +7,12 @@ nav: asciidoc: attributes: - server_version: '7.2' + server_version: '7.6' sdk_current_version: '1.6.0' sdk_dot_minor: '1.6' sdk_dot_major: '1.x' - version-server: '7.2' - version-common: '7.5' + version-server: '7.6' + version-common: '7.6' name_platform: 'Scala' name-sdk: 'Scala SDK' sdk_api: '3.5' diff --git a/modules/hello-world/pages/start-using-sdk.adoc b/modules/hello-world/pages/start-using-sdk.adoc index 501fe558..52d42ec8 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.6.0" ---- 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.6.0' } ---- @@ -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.6.0 ---- diff --git a/modules/project-docs/pages/sdk-full-installation.adoc b/modules/project-docs/pages/sdk-full-installation.adoc index c742b8eb..e2719b93 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.6.0" ---- 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.6.0' } ---- @@ -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.6.0' } ---- @@ -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.6.0 ---- @@ -72,7 +72,7 @@ or 2.13: com.couchbase.client scala-client_2.13 - 1.5.2 + 1.6.0 ---- diff --git a/modules/project-docs/pages/sdk-release-notes.adoc b/modules/project-docs/pages/sdk-release-notes.adoc index 75ecad3a..d129dec9 100644 --- a/modules/project-docs/pages/sdk-release-notes.adoc +++ b/modules/project-docs/pages/sdk-release-notes.adoc @@ -17,16 +17,50 @@ 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. +//// +# get version numbers like this +src=../couchbase-jvm-clients +grep '' $src/pom.xml +grep ' ' $src/pom.xml +//// -=== Version 1.6.0 (March 2024) +=== Version 1.6.0 (11 March 2024) Version 1.6.0 is the first release of the 1.6 series. The SDK now supports Vector Search, with Server 7.6 (self-managed or Capella). +https://docs.couchbase.com/sdk-api/couchbase-scala-client-1.6.0/com/couchbase/client/scala/index.html[API Reference] | +http://docs.couchbase.com/sdk-api/couchbase-core-io-2.6.0/[Core API Reference] +The supported and tested dependencies for this release are: + +* io.projectreactor:**reactor-core:3.6.3** +* org.reactivestreams:**reactive-streams:1.0.4** +==== Improvements + +* https://issues.couchbase.com/browse/SCBC-444[SCBC-444] +Added support for vector search, a new feature in Couchbase Server 7.6. This API is currently at `@Volatile` level. +* https://issues.couchbase.com/browse/SCBC-454[SCBC-454] +`ScopeSearchIndexManager` and its Async/Reactive variants are now part of the committed public API. +* https://issues.couchbase.com/browse/JVMCBC-1487[JVMCBC-1487] +Upgrade reactor-core from 3.5.8 to 3.6.3. +* https://issues.couchbase.com/browse/JVMCBC-1488[JVMCBC-1488] +Upgrade Jackson from 2.16.0 to 2.16.1. +* https://issues.couchbase.com/browse/JVMCBC-1489[JVMCBC-1489] +Upgrade Netty from 4.1.101 to 4.1.107 +* https://issues.couchbase.com/browse/JVMCBC-xxxx[JVMCBC-1491] +`Collection.scan()` methods are not part of the SDK's committed API. These methods do range-scans of documentIds. This feature requires Couchbase Server 7.6 or later. +* https://issues.couchbase.com/browse/JVMCBC-xxxx[JVMCBC-1493] +`Collection.lookupInAnyReplica()` and `Collection.lookupInAllReplicas()` are now part of the SDK’s committed API. These methods do sub-document lookups against replicas. This feature requires Couchbase Server 7.6 or later. + +==== Bugfixes +* https://issues.couchbase.com/browse/JVMCBC-1480[JVMCBC-1480] +couchbase2: should use exponential backoff when bypassing BestEffortRetryStrategy +* https://issues.couchbase.com/browse/JVMCBC-1494[JVMCBC-1494] +If you specify `min=1` for a Full-Text Search disjunction query, the SDK now always sends the value to the server. Previously, the SDK assumed `1` was the default value, and omitted the parameter in that case. == Scala SDK 1.5 Releases diff --git a/release_notes_template b/release_notes_template new file mode 100644 index 00000000..55255539 --- /dev/null +++ b/release_notes_template @@ -0,0 +1,23 @@ +=== Version 1.6.0 (11 March 2024) + +Version 1.6.0 is the first release of the 1.6 series. + +The SDK now supports Vector Search, with Server 7.6 (self-managed or Capella). + +https://docs.couchbase.com/sdk-api/couchbase-scala-client-1.6.0/com/couchbase/client/scala/index.html[API Reference] | +http://docs.couchbase.com/sdk-api/couchbase-core-io-2.6.0/[Core API Reference] + +The supported and tested dependencies for this release are: + +* io.projectreactor:**reactor-core:3.6.3** +* org.reactivestreams:**reactive-streams:1.0.4** + +==== Improvements + +* https://issues.couchbase.com/browse/SCBC-xxx[SCBC-xxx] +summary + +==== Bugfixes + +* https://issues.couchbase.com/browse/SCBC-xxx[SCBC-xxx] +summary From 09537f11144325958e4866c1f0c7432510a068c6 Mon Sep 17 00:00:00 2001 From: Richard Smedley Date: Thu, 14 Mar 2024 13:59:21 +0000 Subject: [PATCH 2/4] sdk-common version --- antora.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antora.yml b/antora.yml index fea82909..fcfbe8e3 100644 --- a/antora.yml +++ b/antora.yml @@ -12,7 +12,7 @@ asciidoc: sdk_dot_minor: '1.6' sdk_dot_major: '1.x' version-server: '7.6' - version-common: '7.6' + version-common: '7.5' name_platform: 'Scala' name-sdk: 'Scala SDK' sdk_api: '3.5' From a4e37134ed4f974e0e740f509232cbfdaadcb134 Mon Sep 17 00:00:00 2001 From: Richard Smedley Date: Thu, 14 Mar 2024 14:01:54 +0000 Subject: [PATCH 3/4] summary expansion --- release_notes_template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release_notes_template b/release_notes_template index 55255539..ff7bf073 100644 --- a/release_notes_template +++ b/release_notes_template @@ -15,9 +15,9 @@ The supported and tested dependencies for this release are: ==== Improvements * https://issues.couchbase.com/browse/SCBC-xxx[SCBC-xxx] -summary +summary [the problem behaviour addressed / the fix we applied / what you should now see] ==== Bugfixes * https://issues.couchbase.com/browse/SCBC-xxx[SCBC-xxx] -summary +summary [the problem behaviour addressed / the fix we applied / what you should now see] From c12d97873230453e2893cf7275f500d4227f70c9 Mon Sep 17 00:00:00 2001 From: Richard Smedley Date: Thu, 14 Mar 2024 14:06:30 +0000 Subject: [PATCH 4/4] Gardening --- .../project-docs/pages/sdk-release-notes.adoc | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/modules/project-docs/pages/sdk-release-notes.adoc b/modules/project-docs/pages/sdk-release-notes.adoc index d129dec9..cb91baaf 100644 --- a/modules/project-docs/pages/sdk-release-notes.adoc +++ b/modules/project-docs/pages/sdk-release-notes.adoc @@ -24,10 +24,11 @@ grep '' $src/pom.xml grep ' ' $src/pom.xml //// + + === Version 1.6.0 (11 March 2024) Version 1.6.0 is the first release of the 1.6 series. - The SDK now supports Vector Search, with Server 7.6 (self-managed or Capella). https://docs.couchbase.com/sdk-api/couchbase-scala-client-1.6.0/com/couchbase/client/scala/index.html[API Reference] | @@ -41,26 +42,33 @@ The supported and tested dependencies for this release are: ==== Improvements * https://issues.couchbase.com/browse/SCBC-444[SCBC-444] -Added support for vector search, a new feature in Couchbase Server 7.6. This API is currently at `@Volatile` level. +Added support for vector search, a new feature in Couchbase Server 7.6. +This API is currently at `@Volatile` level. * https://issues.couchbase.com/browse/SCBC-454[SCBC-454] `ScopeSearchIndexManager` and its Async/Reactive variants are now part of the committed public API. * https://issues.couchbase.com/browse/JVMCBC-1487[JVMCBC-1487] -Upgrade reactor-core from 3.5.8 to 3.6.3. +Upgraded reactor-core from 3.5.8 to 3.6.3. * https://issues.couchbase.com/browse/JVMCBC-1488[JVMCBC-1488] -Upgrade Jackson from 2.16.0 to 2.16.1. +Upgraded Jackson from 2.16.0 to 2.16.1. * https://issues.couchbase.com/browse/JVMCBC-1489[JVMCBC-1489] -Upgrade Netty from 4.1.101 to 4.1.107 +Upgraded Netty from 4.1.101 to 4.1.107. * https://issues.couchbase.com/browse/JVMCBC-xxxx[JVMCBC-1491] -`Collection.scan()` methods are not part of the SDK's committed API. These methods do range-scans of documentIds. This feature requires Couchbase Server 7.6 or later. +`Collection.scan()` methods are not part of the SDK's committed API. +These methods do range-scans of documentIds. +This feature requires Couchbase Server 7.6 or later. * https://issues.couchbase.com/browse/JVMCBC-xxxx[JVMCBC-1493] -`Collection.lookupInAnyReplica()` and `Collection.lookupInAllReplicas()` are now part of the SDK’s committed API. These methods do sub-document lookups against replicas. This feature requires Couchbase Server 7.6 or later. +`Collection.lookupInAnyReplica()` and `Collection.lookupInAllReplicas()` are now part of the SDK’s committed API. +These methods do sub-document lookups against replicas. +This feature requires Couchbase Server 7.6 or later. ==== Bugfixes * https://issues.couchbase.com/browse/JVMCBC-1480[JVMCBC-1480] -couchbase2: should use exponential backoff when bypassing BestEffortRetryStrategy +`couchbase2:` should use exponential backoff when bypassing `BestEffortRetryStrategy`. * https://issues.couchbase.com/browse/JVMCBC-1494[JVMCBC-1494] -If you specify `min=1` for a Full-Text Search disjunction query, the SDK now always sends the value to the server. Previously, the SDK assumed `1` was the default value, and omitted the parameter in that case. +If you specify `min=1` for a Full-Text Search disjunction query, the SDK now always sends the value to the server. +Previously, the SDK assumed `1` was the default value, and omitted the parameter in that case. + == Scala SDK 1.5 Releases