Couchbase Scala SDK Release Notes and Archives

Installation

The Couchbase Scala SDK is available on the Couchbase Maven repository and can be included in your build.gradle like this:

repositories {
    maven {
        url 'http://files.couchbase.com/maven2'
    }
}

dependencies {
    compile group: 'com.couchbase.client', name: 'scala-client_2.12', version: '1.0.0-alpha.8'
}

Or into your Maven pom.xml:

<repositories>
    <repository>
      <id>couchbase</id>
      <name>Couchbase Preview Repository</name>
      <url>http://files.couchbase.com/maven2</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.couchbase.client</groupId>
        <artifactId>scala-client_2.12</artifactId>
        <version>1.0.0-alpha.8</version>
    </dependency>
</dependencies>

Or for SBT:

resolvers += "Couchbase Snapshots" at "http://files.couchbase.com/maven2"
libraryDependencies += "com.couchbase.client" %% "scala-client" % "1.0.0-alpha.8"

Version 1.0.0-alpha8 (30th September 2019)

This is the eighth pre-release of the new Couchbase Scala SDK.

New Features & Enhancements

  • SCBC-86: Add Collection accessors for the data structures

API Changes

  • SCBC-91: Rename expiration to expiry

  • SCBC-93: Renamed GetFromReplicaResult to GetReplicaResult

  • SCBC-94: Remove LookupInSpec.getFullDocument per RFC change. Use get("") instead.

  • SCBC-96: Rename shutdown to disconnect on *Cluster

Version 1.0.0-alpha7 (2nd September 2019)

This is the seventh pre-release of the new Couchbase Scala SDK.

New Features & Enhancements

  • SCBC-59: Add user and groups management API

  • SCBC-31: Provide auto-generated clientContextId if not provided

  • SCBC-54: Make collections and scopes volatile

  • SCBC-25: Support multiple-value variants of arrayAppend et al. with Sub-Document

  • SCBC-72: Lookupin missing expiration option

  • SCBC-59: Add user and groups management API

  • SCBC-68: Add query service fast prepare support

  • SCBC-67: Add Datastructures v2 for "SDK3"

  • SCBC-64: Add bucket manager API

Deprecations and Removals

  • SCBC-57: Remove defaultCollection from scope

API Changes

During the alpha period we will where necessary make breaking changes to the API to enhance and improve it.

  • SCBC-35: Change Cluster.connect to return Try[Cluster]. To permit Cluster opening to return errors (for example, on a badly constructed connection string), now operations return a Try[Cluster].

  • SCBC-71: Remove either Codec or Codecs. You can now write implicit val codec: Codec[User] = Codec.codec[User] without having to import both Codec and Codecs.

  • SCBC-28: Track RFC changes on getFromReplica

Version 1.0.0-alpha6 (5th August 2019)

This is the sixth pre-release of the new Couchbase Scala SDK.

There are no new features, but improvements to the underlying core-io library provide increased stability and performance.

Deprecations and Removals

  • SCBC-50: OpenTracing removed from API, as it is transitioning to OpenTelemetry currently. Support for OpenTelemetry may be added at a later date.

Version 1.0.0-alpha5 (5th July 2019)

This is the fifth pre-release of the new Couchbase Scala SDK.

New Features & Enhancements

  • SCBC-26: Support consistentWith for query

  • SCBC-38: Add prepared statement support

Version 1.0.0-alpha4 (12th June 2019)

This is the fourth pre-release of the new Couchbase Scala SDK.

There are no new features, but improvements to the underlying core-io library provide increased stability and performance.

Deprecations and Removals

  • SCBC-41: Spatial Views are no longer supported, so the API is removed.

Version 1.0.0-alpha3 (14th May 2019)

This is the third pre-release of the new Couchbase Scala SDK.

New Features & Enhancements

  • SCBC-15: Support for Full Text Search (FTS).

  • SCBC-12: Simplify the results of the query API, moving QueryAdditional to QueryMeta, and putting all non-results into QueryMeta.

  • SCBC-13: Further Query API simplifications, allowing all rows to be converted into the target type with rowsAs[T].

  • SCBC-22: A 2.11 build of the Scala library is now provided.

  • SCBC-11: Environment construction is now done with native Scala objects.

Version 1.0.0-alpha2 (4th April 2019)

This is the second pre-release of the new Couchbase Scala SDK.

New Features & Enhancements

  • SCBC-5, SCBC-6: Significant updates for the subdoc API.

  • SCBC-8: Get ops in the reactive API now return Mono<Optional>.

  • SCBC-16: Added support for View queries.

  • SCBC-14: Added support for Analytics queries.