Release Notes
Description — Couchbase Lite on C
Abstract — This content describes the key features and changes implemented by release 3.1 of Couchbase Lite on C
Related Content — What’s New | Compatibility | Supported Platforms
3.1.1 — July 2023
Version 3.1.1 for C delivers the following features and enhancements:
For an overview of the latest features offered in Couchbase Lite 3.1, see New in 3.1 |
3.1.0 — March 2023
Version 3.1.0 for C delivers the following features and enhancements:
Scopes and Collections
Couchbase Mobile’s cloud-to-edge support for scopes and collections allows application developers to organize and logically isolate data.
Independent lifecycle management and fine-grained security control simplifies the deployment of multi-tenant and high-application density cloud-to-edge applications at scale.
Scopes and Collections are a first class concept, synced between Couchbase Lite and Sync Gateway, between Sync Gateways (Inter Sync Gateway Replication), between Couchbase Lite peers, as well as available offline-first on Couchbase Lite devices.
Enhancements
-
CBL-4131 - SQL : Enhance COLLATE syntax to support locales for UNICODE Collator++
-
CBL-4098 - Provide option to Save Cookie with Domain being a parent domain of the request
-
CBL-3651 - Only send port in HTTP Host header if non-standard
-
CBL-3450 - Make FullTextIndex.language and ignoreAccent Getter Public API
-
CBL-2509 - Enhance pinned server cert to support matching with parent certs
Issues and Resolutions
-
CBL-4285 - Fix crash in when generating user-agent on Android
-
CBL-4172 - Allow docs failed with property encryption / decryption to be retried
-
CBL-3866 - Fix WebSocket error 1006, "connection closed abnormally" crash
-
CBL-3626 - setDocumentExpiration hangs inside a batch transaction
-
CBL-3609 - Replicator does not retry conflict resolution for preexisting conflicted documents
-
CBL-3384 - Worker::childChangedStatus may lose child after enqueued
-
CBL-3075 - Database could be corrupted after being copied in linux platform
-
CBL-3046 - Connection Timeout is set to 15000000 Milliseconds on Non Windows Platforms
-
CBL-3013 - Continuous replicator does not push docs which are being observed
-
CBL-2948 - revpos is missing in the changed attachment body when using delta sync (Port)
-
CBL-2868 - EWOULDBLOCK (POSIX 35) causes connection to close
-
CBL-2867 - Cannot update the same field again after reopening the database (Port Fix)
-
CBL-2779 - N1QL : Meta().<property> column name returned as $<num>
-
CBL-2721 - Database is closed while replicator change listener is still executing
-
CBL-2693 - LiveQuerier could be leaked as liveQuerierStopped() delegate might not be called
-
CBL-2676 - 409 retry can result in invalid remote ancestor ID
-
CBL-2637 - Replication unable to continue after termination between rev and ack
-
CBL-2614 - Fix Memory leak when rapidly restarting replicator
-
CBL-2610 - Cleanup bundle folder when creating a database fails
-
CBL-2586 - LiveQuerier is running after having been stopped, causing a crash
-
CBL-2532 - Assertion failure when stopping replicator while replicator is connecting
-
CBL-2477 - Tear down DBAccess on stopped instead of on release
-
CBL-2460 - Different C4QueryObservers share the same C4QueryEnumerator
-
CBL-2459 - A second, new Query observer should be notified immediately.
-
CBL-2458 - Changing a Query's parameters should re-notify observers
-
CBL-2374 - Slowness from reindexing the database when opening database
Deprecations
-
CBL-4316 - Replicator's getPendingDocumentIds() and isDocumentPending(String id) are deprecated
-
CBL-4315 - ReplicatorConfiguration's filters and conflict resolver properties are deprecated
-
CBL-4314 - ReplicatorConfiguration APIs with Database object are deprecated
-
CBL-4306 - DatabaseChange and DatabaseChangeListener are deprecated
3.0.2 — August 2022
Version 3.0.2 of Couchbase Lite for C delivers a number of fixes and enhancements.
Issues and Resolutions
3.0.1 — March 2022
3.0.0 — February 2022
- Quick Links
-
New Features | Enhancements | Known Issues | Fixed Issues | Deprecated in this Release | Removed in this Release | Support Notices |
On upgrading from a 2.x release, all Couchbase Lite databases will be automatically re-indexed on initial database open. |
New Features
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
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.
Read More . . . SQL++ for Mobile
Deprecated in this Release
Items (features and-or functionality) are marked as deprecated when a more current, and usually enhanced, alternative is available.
Whilst the deprecated item will remain usable, it is no longer supported, and will be removed in a future release — see also: Removed in this Release You should plan to move to an alternative, supported, solution as soon as practical.
None for this release.