This repository is deprecated as of Couchbase Lite v2.8. Please refer to the Community Edition Repository
Lightweight, embedded, syncable NoSQL database engine for Android.
Couchbase Lite 2.0 Couchbase Lite is an embedded lightweight, document-oriented (NoSQL), syncable database engine. Couchbase Lite 2.0 has a completely new set of APIs. The implementation is on top of Couchbase Lite Core, whicCategory: Android / Miscellaneous |
Watchers: 104 |
Star: 1.2k |
Fork: 210 |
Last update: May 17, 2022 |
https://github.com/couchbase/couchbase-lite-android/issues/280 - Moves mavenLocal() from buildscript/repositories back to repositories where it belongs.
https://github.com/couchbase/couchbase-lite-android/issues/283 - Fixes the while in RouterTest so it will exit if activeTasks.size() doesn't shrink.
https://github.com/couchbase/couchbase-lite-android/issues/285 - Makes LiteTestCaseBase (see below) inherit from AndroidTestCase
https://github.com/couchbase/couchbase-lite-android/issues/287 - Supports a new property, LiteListener, that if set to 'true' will cause a Lite Listener to be started. So now one can run the tests using the listener instead of having to have the Sync Gateway. Also includes the code to create the Listener.
https://github.com/couchbase/couchbase-lite-android/issues/299 - There are really just two changes we need. One is to change what TestCase we inherit in if we are in Android or Java. The other is to change how temporary files for the listener (287) are created. To make this possible we did the following:
- LiteTestCase now inherits from LiteTestCaseBase ( LiteTestContext now inherits from LiteTestContextBase
Now the trick is that both LiteTestCaseBase and LiteTestContextBase are defined in the com.couchbase.test.lite namespace. This is intentional! That way we can define Android and Java versions of both of these classes in their respective projects and then just blindly copy com.couchbase.lite classes from androidTest to Java tests. Because the android/java specific classes (LiteTestCaseBase & LiteTestContextBase) are in their own separate namespace we can check them in and things will just work when we compile.
And yes, I will be submitting a parallel PR for couchbase-lite-java. I am getting some weird errors there and I want to first make sure I didn't screw anything up before submitting the PR for couchbase-lite-java.
- Currently we are using our own ported Android SQLiteDatabase which doesn't use Android's WindowsCursor so we don't have the same 2M blob limitation.
- Added DatabaseTest.testAndroid2MLimit to confirm that. #357
@hideki I think this test will show the problem of not being able to recall existing views (#952 ). I'm unable to test here (cannot compile forestdb because I'm using ubuntu x64)
https://github.com/couchbase/couchbase-lite-java-core/pull/284
When a continuous replication is started, if it fails to get the _local checkpoint 3 times with an error other than a 404, the replicator never starts, but its state doesn't change do STOPPED or OFFLINE, it just stays IDLE forever and never tries to make new requests
In the Replication fetchRemoteCheckpointDoc() if the error is different from 404 it just sets the replication error and the beginReplicating() method is never called(https://github.com/couchbase/couchbase-lite-java-core/blob/master/src/main/java/com/couchbase/lite/replicator/Replication.java#L1224-1226).
A backoff mechanism should be implemented to correct this behaviour and guarantee the replicator doesn't stay IDLE forever without making new requests.
@hideki could you review those changes? Not all changes are DB13 specific.
2.5.2(Jul 2, 2019)
Bug Fixes
- Invalid Fleece data in SQLite table (datatype mismatch)
- Data mismatch error after upgrading to 2.5
- Invalid Fleece data in SQLite table
- Intermittent access violation
- DBWorker crashes in Fleece Encoder (writePointer)
2.1.6(Apr 8, 2019)
- Fixed crash in Fleece: Scope while using LiveQuery
2.1.2(Nov 19, 2018)
As part of this release we had 5 commits which resulted in 6 issues being closed.
Bugs
- #1760 Warning about CBLWebSocket failed to shutdown the web socket
- #1761 Could not find class 'android.system.ErrnoException' error
- #1762 Potential memory leak in replicator
- #1763 Log from replicator's native code shouldn't be shown unless the logging is enabled
- #1766 Auth Header from BasicAuthenticator not getting sent if SG Guested is enabled
Where to get it
You can download this release from Couchbase.com
1.4.4(Oct 16, 2018)
As part of this release we had 2 issues closed.
Bugs
- #994 _attachments revpos values are keep changing when do pull replication
- #1724 Getting Exception in setExpirationDate
Where to get it
You can download this release from Couchbase.com
2.1.0(Sep 11, 2018)
As part of this release we had 39 commits which resulted in 12 issues being closed.
Enhancements
- #1678 Support Peer-to-Peer replication through MessageEndpoint API (EE Feature)
- #1683 Support Database Encryption (EE feature)
- #1696 Support replicator reset checkpoint
Bugs
- #1510 2.0: Crash with DB21 - in c4doc_update()
- #1665 Exception thrown openDatabase (Proguard strips methods that CBL uses)
- #1676 2.0: Replicator Error misses the error message.
- #1702 2.x: ValueIndexItem.expression(Expression) is missing
- #1725 2.1: Android : Replication does not start
- #1727 Dead lock occurs - DB 2.0.0
- #1742 Couchbase mobile 2.0.2 Emoji Support
Known Issues
- #1743 HTTP Proxy Support
Where to get it
You can download this release from Couchbase.com
2.0.2(Jun 12, 2018)
Support for Log redaction of sensitive information when logging is enabled.