Releases: couchbase/couchbase-lite-android
2.0 Developer Build 7
2.0 DB7 includes the following features:
- A new unified and simpler API
2.0 Developer Build 6
2.0 DB6 includes the following features:
- Database & Document notification
2.0 Developer Build 5
2.0 DB5 includes the following features:
- Blob
- Conflict Resolution
2.0 Developer Build 4
2.0 DB4 includes the following features:
- Database (CRUD)
- Document (CRUD)
- Properties (CRUD)
- Cross platform Query
1.3.1
As part of this release we had 60 commits which resulted in 9 issues being closed.
Enhancements
- #946 Very slow replication (build 1.3.0-33)
Bugs
- #939 Lots of 'replicator.RemoteRequest' warnings (v1.3.0-23)
- #946 Very slow replication (build 1.3.0-33)
- #947 Pull replication completing after the first fifty docs are pulled
- #950 Views seem to stop working: 1.3.0-45
- #951 _changes, longpoll, timeout with 1.3.0-45
- #952 ForestDB: db.getExistingView(viewName) returns null for views created in previous app launch
- #955 Replication default limit of 50 rows with CBL 1.3.0 ???
- #959 With the REST API, POST _bulk_docs does not return generated document IDs (v1.3.0)
- #978 Cloudant could not handle POST /_changes request, and it returns 401, 403, or 405
Where to get it
You can download this release from Couchbase.com
1.3.0
As part of this release we had 215 commits which resulted in 40 issues being closed.
This is a feature release, with a focus on performance. Noteworthy changes:
- Support for OpenID Connect authentication, so you can log into Sync Gateway using a 3rd-party identity like a Google or Yahoo ID.
- Timed expiration of documents can help keep your database from growing indefinitely.
- Better performance with docs that have many revisions. Replication is faster, and older revisions are now automatically cleaned up in SQLite storage.
- Eliminate HttpClient library, and replace with OkHttp
- And of course many smaller optimizations, and lots of bug fixes.
Enhancements
- #803 Add support for auto-compaction
Bugs
- #470 Get error status: 403 only when trying to update a document and calling setAttachment on the new revision
- #476 Doc_ids needs extra string quotes in _replicate POST request
- #643 RemoteRequestCompletionBlock throw Exception -- java.lang.NullPointerException
- #645 Startkey with reduce doesn't work properly
- #651 SIGSEGV crash when inserting json
- #655 Continuous Pull Replication Moves to 'Idle' Before All Documents Pulled Down
- #660 Delete attachment return 404 by REST API
- #675 Fatal signal 11 on liteserv when run sg func tests with large revisions
- #709 Query include deleted does not work
- #730 Continuous replication stops retrying when server not reachable
- #742 Document update not updated immediately ..while the changelistner say it is .
- #775 [1.2.0] the value of version is "1.2.0-null"
- #795 Query not filtering view properly, CB 1.2.0
- #810 Exception from forestDB during updateIndexes()
- #811 Com.couchbase.lite.util.SimpleLogger.e(SimpleLogger.java:69) MISSING msg
- #834 ConcurrentModificationException when try to update object
- #835 Cant build chouchbase-lite-android on windows using Android Studio version-2.0 Gradle version -2.10
- #837 ViewNameToFilename generates invalid filename
- #839 Error re-adding a document after it's been purged
- #845 Endless loop in pull replication when using builds after 0.0.0-671 and 0.0.0-672
- #846 "SQLiteDatabaseCorruptException: database disk image is malformed" occurs frequently while querying a View.
- #853 ChangesFeedPOSTBodyMap NPE
- #854 Getting "Application Not Responding" Dialog when try to fetch Document Properties.
- #863 Livequery is blocked by replicator
- #880 SQLiteException: no such table: maps_١ (code 1)
- #884 [CouchDB 1.6.1] ver. 1.2.1 has Exception uploading multipart request org.apache.http.client.ClientProtocolException
- #885 UnsatisfiedLinkError: Native method not found: nativeOpen 1.2.1
- #890 Docs not syncing
- #898 Push replication failing with large data sets
- #900 [Release 1.2.1] Database upgrades 1.1 -> 1.2.1 not copying "content_type" of attachments during upgrade
- #901 NPE when doc saved
- #908 Forest Init replication show error in logcat
- #909 Forest FC when save record (Note: ForestDB error code = -39)
- #928 _compact from REST api does not return JSON
- #929 SQLiteDatabaseLockedException in 1.3.0-8
- #930 REST API response headers not correct in 1.3.0-8
- #932 Excessive logging
- #933 NPE and RemoteRequestCompletionBlock in 1.3.0-12
- #942 Pull replicator filter not working in 1.3.0-27 against CouchDB
Where to get it
You can download this release from Couchbase.com
1.2.1
As part of this release we had 130 commits which resulted in 5 issues being closed.
Couchbase Lite for Android 1.2.1 is a patch release.
Bugs
- #249 Request non json attachment with Header 'Accept: applicatio/json' should return 406
- #782 Pull Replication crashes Android client
- #783 Upgrading from 1.1.0 to 1.2.0 - ClassCastException
- #784 Emitting null with the ForestDB engine causes segfault
- #792 Java.lang.UnsatisfiedLinkError: nativeOpen on 1.2 and Android SDK15
Where to get it
You can download this release from Couchbase.com
1.2.0
This release features a number of performance improvements, enhancements, and bug fixes, including:
- ForestDB Storage Engine (Developer Preview) - Preview the speed of our new ForestDB storage engine.
- Database Encryption - AES-256 on-disk encryption with your choice of provided storage library: SQLCipher or ForestDB.
- Improved Performance - Sync protocol enhancements, compression optimizations, and lower memory usage are just a few of the many performance improvements we've included.
Performance Improvements
- #197 Gzipped attachment support with Replicator does not seem to be working
- #687 Compaction Time for Large Document Counts is Excessive
- #704 ForestDB storage Performance improvement
- #749 Slow when creating a BlobStore with a secure random generated key
- #801 Replace JNI-based JSON collation with ICUC
Enhancements
- #321 Test CBForest storage engine
- #417 Add API to tell which documents haven't been pushed to the server
- #435 One shot replicator sends STOPPING state immediately after started replication
- #535 The replicator's setDocIds method doesn't filter the documents to push
- #573 Port Replication.stop() method from iOS
- #576 Changetracker does not automatically login again after expired session
- #628 Catch up latest (v1.1) SQLite table schema and SQL queries
- #644 Implement pluggable storage engine
- #663 Make available on JCenter
- #681 Catch up latest (v1.1) View.updateIndex() implementation
- #682 Add "_conflicts" property to doc in map function when doc is in conflict
- #683 [Request] Make Attachment.getContentURL() api public for android.
- #688 Expose CBLView.totalRows to public
- #691 Add BySequence to AllDocsOptions
- #695 Add replicator support for remote dbs with varying URLs
- #697 Complete CBForest-Java Implmentation and Test
- #702 Add support for SQLCipher
- #703 Implement ForestDB Storage Engine
- #704 ForestDB storage Performance improvement
- #710 Encrypt file attachments
- #719 Support SQLite encryption rekey feature
- #720 Support attachment encryption rekey
- #722 Migrating SQLite db to ForestDB
- #733 Enhance forestdb storage performance
- #736 Add retry queue for failed revisions in a bulk get
- #760 Sync iOS key derivation and encryption algorithm with iOS
- #763 Enable HTTP compression for _changes feed requests (non-continuous)
- #801 Replace JNI-based JSON collation with ICUC
- #804 Add official openDatabase API for encryption/storage options
- #811 Support encryption in ForestDB storage engine
- #812 Support unicode comparison with ICU for java
- #813 Support unicode comparison with ICU for AndroidSQLCipherStorageEngine
- #816 REST API /_changes with include_docs=true option does not handle the conflicted document
- #819 Support multiple sqlite configurations
- #827 Support encryption in ForestDBStore
- #894 Replication.docIds API discrepency
- #939 Optimize first-time sync
Bugs
- #301 [Memory] compacting large database memory leak
- #357 Replace default Android storage engine to support JSON docs > 2Meg
- #628 Documents missing after full sync thru SyncGateway
- #629 Memory leak/memory management continuous push
- #643 Add conflict check in
PullerInternal.processChangeTrackerChange()
- #652 Refactor Batcher class (Port latest codes from iOS)
- #655 Unique constraint violation in sqlite
- #656 Cannot build or run unit tests due to missing sqlite3.h
- #661 BasicAuth with empty password causes ArrayIndexOutOfBoundsException
- #664 Creating authenticator with empty password throws ArrayIndexOutOfBoundsException
- #670 LiteServ crashed with Fatal signal 11 (SIGSEGV) when run cbl-large-revisions localy
- #677 Pulling attachments fail if document got a deleted revision in history
- #683 Include_docs in _change-feed when replicating from server
- #685 Compaction with any revision depth doesn't seem to do anything
- #687 Compaction Time for Large Document Counts is Excessive
- #689 CBL Java build (unit test) failure on Jenkins
- #696 Support for CBLReplication.pendingDocumentIds
- #697 SQLiteConnectionPool Issue with Latest Master
- #699 Inserting multiple attachments fails when push replication is active.
- #700 Build failure with CBL Java on jenkins
- #706 ClassCastException if a view uses an array as value
- #707 PullerInternal processInbox Issue
- #709 View update skips winning revisions
- #712 ReplicationTest.testAllLeafRevisionsArePushed() unit test failure with forestdb strage engine
- #713 BatcherTest.testBatcherWaitsForProcessorDelay2() fails
- #717 TestContinuousPushReplicationGoesIdleTooSoon causes native crash if unit test run from command line on OSX
- #718 Android-database-sqlcipher doesn't provide 64 bit binary
- #723 401 status from server not being propagated to CBLReplication.lastError
- #724 Android build on Jenkins fails
- #728 Replicator should ...
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 |
1.1 Developer Preview
Preview of our upcoming 1.1 release, which focuses on bug fixes in Java Core.