What’s New
Couchbase Lite Release 2.8
In addition to significant performance and resilience enhancements Couchbase Lite 2.8 introduces enhanced support for peer-to-peer synchronization.
New Features
Peer-to-Peer Synchronization
Using Couchbase Lite’s Peer-to-Peer Synchronization solution, you can build offline-first applications on edge devices that directly collaborate in secure bi-directional database synchronization without depending on centralized cloud-based control.
The solution provides an out-of-the-box implementation of a websocket based listener for use in peer-to-peer applications communicating over in IP-based networks.
Read More . . . Swift | Objective-C | Java | Android | C#.Net
Other Changes
The API has been enhanced with the following changes:
-
The Database Close method now automatically handles stopping open replicators, closing peer-to-peer websocket listener and removing observers for live queries.
-
The Database Delete method now automatically handles stopping open replicators, closing peer-to-peer websocket listener and removing observers for live queries.
-
The Replicator Is Document Pending method checks whether or not the document with the given ID has any pending revisions to push
-
The Replicator Get Pending Document method gets the Ids of all documents currently pending push
-
Meta Revision ID property is now available as a metadata property, which can be accessed directly in queries
- Release Notes
-
Swift | Objective-C | Java | Android | C#.Net