diff --git a/antora.yml b/antora.yml index 43b2fa23..fcfbe8e3 100644 --- a/antora.yml +++ b/antora.yml @@ -7,11 +7,11 @@ 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-server: '7.6' version-common: '7.5' name_platform: 'Scala' name-sdk: 'Scala SDK' 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..cb91baaf 100644 --- a/modules/project-docs/pages/sdk-release-notes.adoc +++ b/modules/project-docs/pages/sdk-release-notes.adoc @@ -17,15 +17,57 @@ 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 is the first release of the 1.6 series. +=== 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] +Upgraded reactor-core from 3.5.8 to 3.6.3. +* https://issues.couchbase.com/browse/JVMCBC-1488[JVMCBC-1488] +Upgraded Jackson from 2.16.0 to 2.16.1. +* https://issues.couchbase.com/browse/JVMCBC-1489[JVMCBC-1489] +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. +* 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..ff7bf073 --- /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 [the problem behaviour addressed / the fix we applied / what you should now see] + +==== Bugfixes + +* https://issues.couchbase.com/browse/SCBC-xxx[SCBC-xxx] +summary [the problem behaviour addressed / the fix we applied / what you should now see]