Hi, we’re back again with another update to the Developer Preview of the Kotlin SDK.
The push towards 1.0 GA is on! Current target is early May.
Documentation | API Reference | Code Samples | Source Code
Maven coordinates
<dependency>
<groupId>com.couchbase.client</groupId>
<artifactId>kotlin-client</artifactId>
<version>1.0.0-dp.7</version>
</dependency>
Improvements
-
KCBC-55 The Full-Text Search API makes its Kotlin debut with
Cluster.searchQuery(). -
KCBC-61 Added
Cluster.diagnostics(),Cluster.ping(), andBucket.ping(). -
KCBC-62 Removed
OptInrequirements for volatile and uncommitted Couchbase API. We’ll consider restoring the opt-in after Kotlin’sRequiresOptInannotation graduates from “experimental” status. -
KCBC-60 For consistency with other options,
Durability.disabled()is deprecated in favor ofDurability.none(). Same behavior, different name. -
Upgraded to the latest JVM core-io library.
Breaking Changes
-
KCBC-58 The
Expiry.ofSeconds/Minutes/Hours/Days] methods deprecated since 1.0.0-dp.5 have been removed. -
Several breaking changes to CouchbaseHttpClient:
-
KCBC-56 Package
com.couchbase.client.kotlin.manager.httpwas renamed tocom.couchbase.client.kotlin.http. -
KCBC-57 The
Cluster.httpClient()method was replaced by theCluster.httpClientproperty. -
KCBC-59 Removed
HttpTarget.views()and also theNodeIdentifierparameters.
-
KCBC-56 Package