Couchbase Mobile v2.8.1 Release Notes

Release Date: 2020-11-13 // 12 months ago

Previous changes from v2.8.0

  • 🔋 Feature

    • 🔀 Peer-to-Peer Synchronization

    Other Enhancements

    • 🚧 CBL-991 — Add Maintenance API.
    • CBL-954 — Return 403 for forbidden listener requests

    API 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.isDocumentPending() method checks whether or not the document with the given ID has any pending revisions to push
    • The Replicator.pendingDocumentIds() method gets the Ids of all documents currently pending push
    • 📇 Meta.revisionID property is now available as a metadata property, which can be accessed directly in queries

    Known Issues

    • CBL-1362 — Harmless unused property in ReplicatorConfiguration
    • CBL-216 — Ordering null values inconsistent with N1QL expectations
    • CBL-95 — Pending conflicts could be resolved by a wrong replicator
    • CBL-49 — Need a way to distinguish boolean types

    đź›  Fixed Issues

    • CBL-1141 — Android cannot use unlinked files
    • CBL-1107 — Properties beginning with dollar sign not handled correctly
    • 🌲 CBL-1045 — Data race in log rollover
    • CBL-978 — Math errors with float → int implicit fleece conversion
    • CBL-977 — Full text search with Left Outer Join causes fields to be null
    • CBL-859 — ChangeEncryptionKey() and save document after creating a brand new Database throws CouchbaseLiteException (SQLiteDomain / 21): bad parameter or other API misuse.
    • CBL-789 — Crash when accessing connection→name()
    • CBL-745 — Save fails when NSDate inserted with [CBLMutableDocument setData]
    • CBL-707 — Compaction is ineffective (auto_vacuum not enabled)
    • CBL-624 — Revision flags get cleared while saving resolved document in iOS
    • CBL-614 — Closing a read only database causes errors
    • CBL-609 — Fleece thinks a boolean is a Long
    • CBL-594 — Local to Local replication duplicates remote ID
    • CBL-590 — Investigate handling of BLIP 500 errors
    • CBL-578 — Receive rev#1 after rev#2 is saved to DB
    • 🌲 CBL-565 — Crashes apparently caused by attempting to log after failure
    • CBL-564 — Property alias not working under certain cases
    • CBL-530 — Certain keys in a query can cause segmentation faults
    • CBL-529 — Cannot create an offset query without limit
    • CBL-384 — Platform WebSocket code should manage HTTP cookies
    • CBL-358 — xsockets doesn’t account for POSIX variations