1.1.0
Couchbase Lite iOS v1.1.0 is a major release since v1.0.0 released about a year ago. It has several new features and enhancements including:
- Support Couchbase's super-fast new ForestDB storage engine. The SQLite engine still remains the default engine. Follow instructions here to enable the ForestDB engine.
- Support database encryption. See here for more detail.
- Support a new CBLQueryBuilder that allows developers to use NSPredicates to query the database instead of using map functions.
- Has performance improvement in replication and view indexing. View indexes are now stored more efficiently, which speeds up indexing by roughly 10%.
- Contain some API changes, which are described here in more detail.
- Contain several bug fixes and enhancements.
IMPORTANT: CBL 1.1.0 has a new optimized database schema which is not backwards compatible, so after running with CBL 1.1, your application’s local databases are no longer readable by earlier versions. (Of course this only affects local database storage, not replication.)
As part of this release we had 482 commits which resulted in 40 issues being closed.
Performance
- #684 iOS 8.2+ seems slower than 8.1 or lesser
- #677 Test performance improvement replicating docs with large revision trees
- #390 Sync problem with Cloudant databases - puller or change tracker?
Enhancements
- #606 Inverse relation support for CBLModel
- #605 CBLIncrementalStore - Support query via abstract entity
- #571 Use CBLQueryBuilder in CBLIncrementalStore
- #569 Support to-many without inverse relationship in CBLIncrementalStore
- #526 Implement isStoredInExternalRecord support in CBLIncrementalStore
- #514 Support feed=eventsource in _changes feed
- #439 Support for encoding / decoding NSURL instances as properties of a CBLModel
- #358 userProperties method on CBLModel.
- #316 Can CBLModel define the "type" @Property instead of making a subclass have to implement it?
Bugs
- #723 CBL 1.1 (iOS) Docs not syncing when I think they should
- #718 Crash when create a document with attachment in one single revision
- #712 CBLView updateIndex isn't public, but is in the API spec
- #711 Potential database upgrade error
- #709 CBLQuery fullTextRanking and fullTextSnippet properties were removed
- #705 ForestDB native lib missing dev preview package
- #701 Couchbase lite iOS memory consumption indexing views
- #700 ForestDB fails in 32-bit OS due to bug in get_memory_size fn
- #696 Start-restart replication problem in CBL 1.1.0
- #691 Thread-safety issue in CBLReplication cookie methods
- #687 Cannot get the database schema version while replace/upgrade a database
- #684 iOS 8.2+ seems slower than 8.1 or lesser
- #672 Pulled docs with a stub attachment failed to insert
- #665 Multipart streams cannot be reopened when retrying to send the request
- #662 ForestDB: fullTextSearch emmits wrong values
- #608 Pull replication missing documents from SG channel
- #592 CBL 1.0.4 - Rare/minor dealloc issue
- #578 View not indexing older revisions
- #576 New object notification not generated when using CBLIncrementalStore
- #574 Query with limit and postFilter may not return enough rows
- #566 save and lockForWriting issues
- #543 Replicators should have independent cookie storage
- #495 forestdb::RevTree:compact() causing crash
- #479 ForestDB: Emitting dictionary key causes error
- #390 Sync problem with Cloudant databases - puller or change tracker?
Where to get it
You can download this release from Couchbase.com
Support Statement
Version 1.0 was released in May, 2014. With this release of version 1.1, the support window for 1.0 expires in December 2015.
| Release | Release Date | End of Life Date |
|---|---|---|
| 1.0 | May 2014 | December 2015 |
| 1.1 | June 2015 |