https://kotlinlang.org logo
Join SlackCommunities
Powered by
# couchbase
  • m

    Michael Nitschinger

    07/28/2021, 4:04 PM
    set the channel description: Discussions around the Couchbase Kotlin SDK
  • m

    Michael Nitschinger

    07/28/2021, 4:05 PM
    Hi! We’ve created a Couchabse Kotlin SDK (Developer Preview 1): https://forums.couchbase.com/t/ann-couchbase-kotlin-sdk-1-0-0-dp-1/31223 - we’d love to get feedback 🙂
  • y

    yogurtearl

    08/07/2021, 12:48 AM
    would be great if the "Issues" and "Discussions" tab where enabled on the Github repo.
    d
    • 2
    • 1
  • y

    yogurtearl

    08/07/2021, 4:18 AM
    How often should we expect updates to the Kotlin SDK during the preview? Is there a target date for a 1.0 release?
    d
    • 2
    • 1
  • d

    David Nault

    10/19/2021, 9:47 PM
    Just a quick note to say we released another Developer Preview version of the Couchbase Kotlin SDK. Details: https://forums.couchbase.com/t/ann-couchbase-kotlin-sdk-1-0-0-dp-3/31995
  • d

    David Nault

    12/14/2021, 11:42 PM
    Couchbase Kotlin SDK 1.0.0-dp.5 is now available. New in this version, we're embracing
    kotlin.time.Duration
    which was promoted to stable API in Kotlin 1.6. https://forums.couchbase.com/t/ann-couchbase-kotlin-sdk-1-0-0-dp-5/32427
    👍 3
  • d

    David Nault

    02/02/2022, 12:49 AM
    Couchbase Kotlin SDK 1.0.0-dp.6 is here. New in this version, an HTTP client that makes it easy to invoke the Couchbase Server REST API. https://forums.couchbase.com/t/ann-couchbase-kotlin-sdk-1-0-0-dp-6/32766
  • d

    David Nault

    03/09/2022, 10:52 PM
    Couchbase Kotlin SDK 1.0.0-dp.7 was released recently. It adds support for Full-Text Search, among other things. https://forums.couchbase.com/t/ann-couchbase-kotlin-sdk-1-0-0-dp-7 From now until GA (in just a couple months!) the focus will be on documentation and peripheral features like the management APIs. If you're waiting for a specific missing feature, let us know and we'll prioritize it.
  • d

    David Nault

    05/03/2022, 8:52 PM
    Couchbase Kotlin SDK 1.0.0 GA is released! Everything not annotated as "uncommitted" or "volatile" is now part of the stable public API. https://forums.couchbase.com/t/ann-couchbase-kotlin-sdk-1-0-0-ga
  • d

    David Nault

    09/14/2022, 7:59 PM
    Version 1.0.4 of the Couchbase Kotlin SDK is now available, with several incremental improvements. Full release notes: https://docs.couchbase.com/kotlin-sdk/current/project-docs/sdk-release-notes.html#v1.0.4
  • d

    David Nault

    10/25/2022, 10:06 PM
    Couchbase Kotlin SDK 1.1.0 is now available, with support for serverless execution environments including AWS Lambda. There's also a new experimental JsonSerializer that integrations with kotlinx.serialization. Full release notes: https://docs.couchbase.com/kotlin-sdk/current/project-docs/sdk-release-notes.html#v1.1.0
  • d

    David Nault

    01/26/2023, 5:52 PM
    Couchbase Kotlin SDK 1.1.2 for server-side development is now available. This is a regular maintenance release. It adds support for native IO on more platforms, and fixes a regression that accidentally disabled native IO on some platforms. Check out the full release notes for details: https://docs.couchbase.com/kotlin-sdk/current/project-docs/sdk-release-notes.html#v1.1.2
  • d

    David Nault

    04/18/2023, 7:05 PM
    Couchbase Kotlin SDK 1.1.5 for server-side development is now available. This is a regular maintenance release with some minor fixes. Details here: https://docs.couchbase.com/kotlin-sdk/current/project-docs/sdk-release-notes.html#v1.1.5
  • j

    Jeff Lockhart

    05/23/2023, 10:15 PM
    @Blake hello! 👋🏼 Glad to have another Couchbase developer in the community.
  • d

    David Nault

    06/27/2023, 4:26 PM
    Couchbase Kotlin SDK 1.1.7 for server-side development is now available. This is a regular maintenance release, with some minor refinements to the sub-document counter API, and a new connection string parameter for disabling TLS certificate validation (for dev environments where it might be impractical to configure the SDK to trust the server's certificate authority). https://docs.couchbase.com/kotlin-sdk/current/project-docs/sdk-release-notes.html#v1.1.7
    👍 1
  • j

    Jeff Lockhart

    02/02/2024, 3:21 AM
    https://kotlinlang.slack.com/archives/C0BJ0GTE2/p1706844056817609
    🎉 2
    p
    • 2
    • 1
  • d

    David Nault

    02/08/2024, 12:08 AM
    Couchbase Kotlin SDK 1.2.3 for server-side development is now available. This regular maintenance release tunes up the Collection Manager API, turbocharges the nascent
    couchbase2
    protocol with support for document compression, and buffs out a tiny scratch in an obscure corner of the Full-Text Search API. https://docs.couchbase.com/kotlin-sdk/current/project-docs/sdk-release-notes.html#v1.2.3
    🎉 1
  • j

    Jeff Lockhart

    02/13/2024, 4:31 AM
    https://kotlinlang.slack.com/archives/C0BJ0GTE2/p1707428245889949
  • d

    David Nault

    10/23/2024, 3:37 PM
    The Couchbase team has been quietly doing regular Kotlin SDK maintenance releases to pick up new versions of the Couchbase JVM core I/O library. This month's release has something a bit more exciting. Couchbase Kotlin SDK version 1.4.4 adds experimental support for transactions. It uses the same distributed ACID transactions engine as the Java SDK, but with a Kotlin-flavored candy shell. Full Kotlin-specific documentation is in the pipeline. In the meantime, here's a bit of sample code. Release notes: https://docs.couchbase.com/kotlin-sdk/current/project-docs/sdk-release-notes.html#v1.4.4
  • c

    Carlos Pais Montes

    10/30/2024, 11:50 AM
    Hola queridos amigos! I'm programming android apps using the Kotlin SDK (in android studio IDE), but until now I've not been able to query a remote couchbase capella server using SQL++. I've been forced to deploy a flash API in order to succesfully execute those querys, but in the official documentation, couchbase says it's possible! anyone also with this issue?
    👋 1
    d
    b
    • 3
    • 7
  • d

    David Nault

    12/06/2024, 9:31 PM
    PSA: Some time in the next few months, we will upgrade the Couchbase Kotlin SDK's minimum required Kotlin version from 1.6 to 1.9. This will likely happen with the upcoming release of Couchbase Kotlin SDK 1.5.0.
  • d

    David Nault

    04/15/2025, 7:43 PM
    👆 We released Couchbase Kotlin SDK 1.5.0! Baseline is now Kotlin 1.9. IMHO the most exciting thing about this release is that
    KotlinxSerializationJsonSerializer
    is now part of the stable API, with full support for nullable types and contextual serializers.
  • s

    S.

    04/24/2025, 6:45 PM
    new to kotbase and a bit confused about the many different
    Query.asFlow
    options. They all seem to be about observing changes, is it not possible to retrieve results as a flow in r2dbc like fashion?
    d
    j
    • 3
    • 8
  • n

    nam

    04/26/2025, 9:21 AM
    Hi guys, I'm new to kotbase and I'm integrating it with my KMP app. I'm facing these difficulty, please help me out. I'm currently running a capella server for simplicity. • How to handle user specific data? I read about channel but it so confusing and I can't make it work. (Link) • New doc created in the client is synced to capella server. However, when I delete the app and reinstall it, I expect the data be synced from capella to the device but nothing happened. Here's the dummy code:
    Copy code
    companion object {
            const val COLLECTION_NAME = "threads"
            const val SCOPE_NAME = "sync"
    
            fun create(
                dbName: String,
                dispatcher: CoroutineDispatcher = Dispatchers.IO
            ): ThreadOperations {
                val operations = ThreadOperationsImpl(dbName, dispatcher)
                operations.initializeThread()
    
                Database.log.console.level = kotbase.LogLevel.NONE
                Database.log.custom = KermitCouchbaseLiteLogger(Logger)
    
                val collections =
                    listOfNotNull(Database(dbName).getCollection(COLLECTION_NAME, SCOPE_NAME))
    
                val repl = Replicator(
                    ReplicatorConfigurationFactory.newConfig(
                        target = URLEndpoint("<wss://xxxxxxxxxxxxx/test-endpoint>"),
                        collections = mapOf(collections to null),
                        type = ReplicatorType.PUSH_AND_PULL,
                        continuous = true,
                        authenticator = BasicAuthenticator("abcd", "xyzf".toCharArray())
                    )
                )
                repl.start()
    
                return operations
            }
        }
    j
    • 2
    • 6
  • s

    S.

    04/29/2025, 3:56 PM
    Caused by: java.lang.IllegalStateException: Cannot create or access directory at C:\Program Files\MyApp\CouchbaseLiteTemp
    is it possible to specify where kotbase creates it's temp files? (or just create them in the
    databasePath
    passed into the db config) Due to this my app immediately crashes on start
    j
    • 2
    • 2