Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ asciidoc:
attributes:
page-nav-header-levels: 2
server_version: '7.6.2'
sdk_current_version: '1.7.1'
sdk_current_version: '1.7.2'
sdk_dot_minor: '1.7'
sdk_dot_major: '1.x'
version-server: '7.6'
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ sourceSets {
}

dependencies {
implementation group: 'com.couchbase.client', name: 'scala-client_2.12', version: '1.7.1'
implementation group: 'com.couchbase.client', name: 'tracing-opentelemetry', version: '1.5.1'
implementation group: 'com.couchbase.client', name: 'metrics-opentelemetry', version: '0.7.1'
implementation group: 'com.couchbase.client', name: 'metrics-micrometer', version: '0.7.1'
implementation group: 'com.couchbase.client', name: 'scala-client_2.12', version: '1.7.2'
implementation group: 'com.couchbase.client', name: 'tracing-opentelemetry', version: '1.5.2'
implementation group: 'com.couchbase.client', name: 'metrics-opentelemetry', version: '0.7.2'
implementation group: 'com.couchbase.client', name: 'metrics-micrometer', version: '0.7.2'

implementation "org.scalatest:scalatest_2.12:3.1.1"

Expand Down
75 changes: 73 additions & 2 deletions modules/project-docs/pages/sdk-release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,53 @@ grep '<reactor.version>' $src/pom.xml
grep ' <reactive-streams.version>' $src/pom.xml
////



=== Version 1.7.2 (13 August 2024)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀


Version 1.7.2 is the second maintenance release of the 1.7 series.

https://docs.couchbase.com/sdk-api/couchbase-scala-client-1.7.2/com/couchbase/client/scala/index.html[API Reference] |
http://docs.couchbase.com/sdk-api/couchbase-core-io-2.7.2/[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/JVMCBC-1547[JVMCBC-1547]:
Updated DnsJava to 3.6.0.
* https://issues.couchbase.com/browse/JCBC-2157[JCBC-2157]:
Transaction settings are now configurable using the same callback pattern used by other environment settings.
Here's an example of the new syntax:
+
[source,scala]
----
Cluster cluster = Cluster.connect(
connectionString,
ClusterOptions.clusterOptions(username, password)
.environment(env -> env
.transactionsConfig(txn -> txn
.durabilityLevel(DurabilityLevel.MAJORITY_AND_PERSIST_TO_ACTIVE)
.metadataCollection(someKeyspace)
.queryConfig(query -> query.scanConsistency(QueryScanConsistency.REQUEST_PLUS))
.cleanupConfig(cleanup -> cleanup
.cleanupWindow(Duration.ofSeconds(10))
.addCollection(someOtherKeyspace))
)
)
);
----

==== Bug Fixes

* https://issues.couchbase.com/browse/SCBC-462[SCBC-462], https://issues.couchbase.com/browse/SCBC-469[SCBC-469]:
Now uses the correct internal transaction protocol identifier when interacting with other transactions --
allowing Scala to continue sharing the core JVM implementation, but not having to follow implementation in lockstep with the Java SDK.


=== Version 1.7.1 (23 July 2024)

Version 1.7.1 is the first maintenance release of the 1.7 series.
Expand All @@ -53,6 +100,7 @@ The supported and tested dependencies for this release are:
* org.reactivestreams:**reactive-streams:1.0.4**

==== Improvements

* https://issues.couchbase.com/browse/JVMCBC-1523[JVMCBC-1523]:
Upgraded `org.iq80.snappy` from 0.4 to 0.5.
* https://issues.couchbase.com/browse/JCBC-1528[JCBC-1528]:
Expand All @@ -66,12 +114,14 @@ This API change prevented upgrading to the latest Couchbase SDK, independently o
The `upsertIndex()` call now prevents vector indexes from being created on server versions before version 7.6.0, which do not support these index types.

==== Bugfixes

* https://issues.couchbase.com/browse/JVMCBC-1530[JVMCBC-1530]:
Deprecated the `com.couchbase.client.core.error.QueryException` class.
This exception is from SDK 3's beta development, and has never been thrown in a GA version of a Couchbase SDK.
This exception is from the SDK 3 API's beta development, and has never been thrown in a GA version of a Couchbase SDK.
* https://issues.couchbase.com/browse/JVMCBC-1534[JVMCBC-1534]:
Fixed possible `DURABILITY_INVALID_LEVEL` if `Durability.NONE` is used with transactions.


=== Version 1.7.0 (15 June 2024)

Version 1.7.0 is the first release of the 1.7 series.
Expand All @@ -85,17 +135,38 @@ The supported and tested dependencies for this release are:
* org.reactivestreams:**reactive-streams:1.0.4**

==== Improvements

* https://issues.couchbase.com/browse/SCBC-461[SCBC-461]:
Adds support for base64-encoded vectors in `VectorQuery`.

==== Bugfixes

* https://issues.couchbase.com/browse/SCBC-428[SCBC-428]:
Fixed a regression introduced in version 3.4.5 that caused a Full-Text Search `BooleanQuery` to throw `InvalidArgumentException: Compound query has no child query` unless all three of "must", "should", and "mustNot" were specified.
* https://issues.couchbase.com/browse/SCBC-463[SCBC-463]:
Using a `MatchPhraseQuery` no longer results in an error.



== Scala SDK 1.6 Releases

=== Version 1.6.3 (19 August 2024)

This is a regular maintenance release.

https://docs.couchbase.com/sdk-api/couchbase-scala-client-1.6.3/com/couchbase/client/scala/index.html[API Reference] |
http://docs.couchbase.com/sdk-api/couchbase-core-io-2.6.3/[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/JVMCBC-1532[JVMCBC-1532]:
Upgraded Jackson to 2.17.2.

=== Version 1.6.2 (29 April 2024)

This is a regular maintenance release.
Expand All @@ -121,7 +192,6 @@ Reduced the rate at which messages appear in the server's `http_access.log` when
Updated Service in Cluster Configuration if only the port is changed.



=== Version 1.6.1 (5 April 2024)

This is a regular maintenance release.
Expand Down Expand Up @@ -191,6 +261,7 @@ If you specify `min=1` for a Full-Text Search disjunction query, the SDK now alw
Previously, the SDK assumed `1` was the default value, and omitted the parameter in that case.



== Scala SDK 1.5 Releases

Version 1.5 of the Scala SDK implements the 3.4 xref:compatibility.adoc#api-version[SDK API].
Expand Down