Couchbase Lite 3.0 introduces some breaking changes.
If you are upgrading from 2.x, please refer to the appropriate upgrade page — see: Upgrading
Release 3.0 (February 2022)
Couchbase Lite Release 3.0 introduces enhanced platform support with the introduction of:
Couchbase Lite for C — extending your apps beyond mobile to the IoT application space
Couchbase Lite for Android now offers a new, fully supported, out-of-the-box, idiomatic api for Kotlin
SQL++ for Mobile (also referred to as N1QL) --supporting the emerging SQL for JSON technology, SQL++.
Couchbase Lite for C
Couchbase Lite now has an officially supported C API, which builds on the success of the well-received engineering labs C API for Couchbase Lite.
The C API now includes support for Enterprise-grade features like database encryption. This optimized implementation is ensured feature parity with our other Couchbase Lite platforms and is supported on a wide-range of mobile and desktop platforms — see: Supported Platforms.
The ease of building language bindings on top of the C API means application developers can build for edge and embedded IoT devices using their preferred languages to harness the power of Couchbase Lite.
Read More . . . Couchbase Lite for C
Kotlin Support in Android
Couchbase Lite for Android delivers an idiomatic Kotlin API out-of-the-box. This enables seamless integration with Android apps developed in Kotlin without the need for custom extensions.
Kotlin developers can now build apps using common Kotlin Patterns and use familiar Kotlin features such as:
Java support and functionality continues for Android. You can choose whether to use the Kotlin extensions API or continue using the Java api.
Read More . . . Couchbase Lite for Kotlin
SQL++/N1QL Query Strings
Couchbase Lite’s SQL++ for Mobile query API vastly simplifies the integration of Couchbase Lite within hybrid/cross platform apps.
N1QL for Mobile is an implementation of the emerging SQL-for-JSON query language specification (SQL++). It provides native, hybrid and cross-platform mobile app developers with a consistent, convenient and flexible interface to query JSON documents within the embedded database using a SQL-based syntax. This means developers can reuse queries across platforms, reducing development, testing and maintenance costs.
- Related Couchbase Lite content
3.0.1 (March 2022)
Couchbase Lite Release 3.0.1 introduces fixes and enhancements for:
C | Objective-C | Swift