1.1.0
Couchbase Lite Android/Java v1.1.0 is major release since v1.0.0 released about a year ago. It has several enhancements including:
- Has significant performance improvement in replication and view indexing.
- Has significant memory usage reduction in processing many documents.
- Contain several bug fixes and enhancements.
As part of this release we had 730 combined commits which resulted in 40 combined issues being closed. This includes totals across couchbase-lite-java, couchbase-lite-android, couchbase-lite-java-core, and couchbase-lite-java-native.
Performance
Enhancements
- #590 Add in replication optimization from iOS version
- #360 REST API need a way to setCookie
- #343 Control EXECUTOR_THREAD_POOL_SIZE
- #328 Excessive checkpointing during push replication
- #81 HttpMime library source code integration in couchbase breaks existing code
Bugs
- #654 "Window is Full" during View.updateIndex()
- #636 Push replication "losing" documents created when disconnected
- #635 Jackson deserialization exception
- #614 Push a small doc with an attachment failed
- #600 Push replication to rcouch fails on rev with attachments
- #596 Handle SQL 'attach' table incompatibility in CBL 1.1
- #587 Starting an AsyncTask right after Document.putProperties(), does not call the doInBackround() method?
- #585 toLiveQuery() forgets PrefixMatchLevel
- #583 getAllDocumentsQuery() ignores PrefixMatchLevel
- #575 restart of a replication shouldn't hang if the replication is already stopped.
- #563 Updating a document in a transaction block twice using Document.DocumentUpdater results in an infinite loop
- #560 Using deleteIndex() on an unregistered View makes the View unusable
- #497 Crash while building/rebuiding View
- #472 Potenial race condition in Document.update
- #452 Error after close DB client
- #427 P2P - SQLiteReadOnlyDatabaseException error
- #413 NullPointerException in query with setGroupLevel() without reduce function and no data
- #397 PushReplicator tries to push new document even though replicator is offline
- #383 Pull replication not going back into IDLE state
- #371 Android,replication algorithm 1.0.3 stalls before replicating all documents
- #361 RemoteRequestCompletionBlock java.util.ConcurrentModificationException
- #356 Replication restart problem
- #353 Don't persist cookie without max-age or expires property
- #352 Get session and checkpoint when retrying replications
- #342 Changes performed offline don't sync when going online.
- #296 NPE thrown when running ApiTest.testLiveQueryRun
- #285 Null pointer exception because of failing to rebuild view
- #61 Make / db names work in windows
Where to get it
You can download this release from Couchbase.com
To incorporate 1.1 into Android Studio: In the application level build.gradle file, please add the following line to the top-level dependency section:
compile 'com.couchbase.lite:couchbase-lite-android:1.1.0’
Please refer Adding Couchbase Lite to your Gradle project for detailed information.
System Requirements
- Android 2.3 Gingerbread (API level 9) and above.
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 |