2.0 Developer Build 21
Pre-release
Pre-release
Changes
- Major API updates, some highlighted changes include:
- Database.getDocument(id) will also return nil if the document was deleted.
- Use term ‘value’ instead of ‘object’ for value/object based type setters.
- Allows to specify a dispatch queue for posting changes when adding a change listener. This change has applied to Database, Replicator, and Query.
- Remove LiveQuery and Query itself can be listened for changes.
- Reorganize Query expressions, separate Meta, Array, and Full-text expression into its own class.
- Support Full-text match on multiple indexed properties.
- Revise all Objective-C and Swift API to inline with the standard naming convention.
- Default conflict resolver algorithm changes as follows:
- Deletion always wins.
- Longest generation wins or Max RevID wins if the generations are the same.
- Database is now thread safe.
Where to get it
- Download prebuilt binaries from Couchbase.com
- Use CocoaPods or Carthage by following the instruction from here