Releases: couchbase/couchbase-lite-ios
Releases · couchbase/couchbase-lite-ios
2.0 Developer Build 22 (Beta 1)
Changes
- API Updates:
- Expression type safe API; new literal value based expression.
- Removed CBLFullTextIndexOptions and moved all of CBLFullTextIndexOptions's properties into CBLFullTextIndex.
- Renamed Query and Index factory class to QueryBuilder and IndexBuilder respectively.
- Cleaned up Swift API function labels.
- URI scheme update:
- The target URI scheme has changed from blip:// (blips:// ) to ws://(wss://) respectively
- Bug fixes and performance improvement.
Where to get it
- Download prebuilt binaries from Couchbase.com
- Use CocoaPods or Carthage by following the instruction from here
2.0 Developer Build 21
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
2.0 Developer Build 20
Changes
- New Immutable Document API (Breaking API Changes)
- Bug fixes and performance improvement from LiteCore.
Where to get it
- Download prebuilt binaries from Couchbase.com
- Use CocoaPods or Carthage by following the instruction from here
1.4.1
As part of this release we had 52 commits which resulted in 20 issues being closed.
Performance Improvements
- #1648 Purge does not remove row from 'docs' table
- #1737 View indexing is very slow, due to mis-optimized SQLite query
- #1751 Push replication becomes slower as local DB grows
Bugs
- #1354 Deferred pulling of attachments problem
- #1572 Idle crash [CBLRemoteSession close] (CBLRemoteSession.m:99)
- #1613 Crash in askDelegateToValidateServerTrust
- #1622 Error opening!: 23 - when trying to load data from iOS to Apple Watch
- #1649 Missing role appears to cause continuous push replication to stop [v1.4]
- #1655 Fatal Exception: NSInternalInconsistencyException [1.4]
- #1707 Replication Stops working after lots of syncing / lots of time - Too much memory used during replication
- #1758 Updating a design doc view map function does not take effect
- #1770 Crash observed while saving documents to DB
- #1779 IOS App Extension replication gets suspended "prematurely"
- #1853 CBL_BlobStoreWriter appendData assertion failure
- #1887 1.4 Encrypting a new database fails. Existing database encrypt fine.
- #1898 One shot sync not pulling data properly in background
- #1912 Peer sync between High Sierra and iOS 11 CBLWarnUntrustedCert error
- #1918 Channel removal potentially disrupts attachments
- #1921 CBLListener retaining CBL_RunLoopServer so both never get freed.
- #1923 CBLRemoteSession finishTasksAndInvalidate crash
Where to get it
You can download this release from Couchbase.com
2.0 Developer Build 19
Changes
- Fixed Replicator’s uncleaned socket disconnect warning (#1937).
- Fixed Session Cookie being overwritten (#1943).
- Fixed Carthage build failure on DB019 (#1947).
- Reimplemented Fragment API - API is now more lightweight and has better performance.
- Improved performance of reading and writing document data with Mutable Fleece.
Where to get it
- Download prebuilt binaries from Couchbase.com
- Use CocoaPods or Carthage by following the instruction from here
2.0 Developer Build 18
Changes
- Added headers property to ReplicatorConfiguration for adding additional HTTP headers when sending HTTP requests to a remote server.
- Fixed invalid CFBundleShortVersionString.
- Updated Lite Core to uptake the following fixes:
- Fixed replicator crashes when stopping replicator immediately after starting.
- Fixed replicator staying in BUSY status after finish replicating.
- Allowed MATCH operator nested inside multiple ANDs.
Where to get it
- Download prebuilt binaries from Couchbase.com
- Use CocoaPods or Carthage by following the instruction from here
2.0 Developer Build 16
Changes
- Support Database Encryption
- Implement a new index API
- Move FTS.rank expression to Function.rank()
- Make Replicator's User-Agent header that includes information about library version and platform.
Where to get it
- Download prebuilt binaries from Couchbase.com
- Use CocoaPods or Carthage by following the instruction from here
2.0 Developer Build 15
Changes
- Support Collation Expression.
- Support FTS Ranking Value Expression.
- Support database copy to allow to install a canned database.
- Allow to set logging level.
Where to get it
- Download prebuilt binaries from Couchbase.com
- Use CocoaPods or Carthage by following the instruction from here
2.0 Developer Build 14
Changes
- Support Select all properties.
- Support Quantified expression (Any, AnyAndEvery, and Every).
- Support Query's isNullOrMissing expression.
- Support more Query functions including array, mathematics, string, and type functions.
- Support type setters on Document, Dictionary, Array, and Query's parameters.
- Support Int64 getter on Document, Dictionary, Array.
- Added Connecting and Offline to the Replicator's ActivityLevel status.
Where to get it
- Download prebuilt binaries from Couchbase.com
- Use CocoaPods or Carthage by following the instruction from here
2.0 Developer Build 13
Changes
- Support query projection with alias names.
- CBLQuery returns CBLQueryResultSet instead of NSEnumerator. Same for Swift, Query return ResultSet instead of QueryIterator. CBLQueryRow is still used by CBLPredicateQuery.
- CBLQueryResult supports get values both by indexes and by keys. Same for Result in Swift.
- CBLDocument.documentID -> CBLDocument.id
- Bug fixes : #1819, #1824, #1825, #1835.
Where to get it
- Download prebuilt binaries from Couchbase.com
- Use CocoaPods or Carthage by following the instruction from here