1.3.0
As part of this release we had 157 commits which resulted in 63 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
- #708 Apache HTTP Client Removal/Deprecated in Android M.
- #820 Filter out _removed revision from push replication
- #1054 Support POST /_changes in Listener
- #1057 Cbforest master branch version fails with many unit test (1.2.0-java -> master)
- #1097 After purging a doc, its rows are left behind in view indexes
- #1099 Docs in SQLite dbs never get pruned until entire db is compacted
- #1194 Fallback to GET when POST is not allowed to _changes
- #1207 TTL support
- #1222 Make SQLite one writer and one/multiple reader modes to avoid waiting connection.
- #1247 Add public API to add an existing revision (AKA new_edits=false, or -forceInsert:)
- #1255 Authenticator for OpenID Connect
Bugs
- #310 Post on doc without data returns 404 instead of 405
- #667 Using PipedInputStream and PipedOutputStream in URLConnection can cause deadlock (see issue 57 in couchbase-lite-java-listener)
- #880 Query for view with map-reduce function and startkey doesn't work properly
- #891 Fix failing tests (on Jenkins/VM)
- #952 Views broken with concurrent update and delete
- #1015 NPE Attempt to invoke virtual method int com.couchbase.lite.Database.findMissingRevisions on a null object reference
- #1026 Change tracker stopping during replication exception
- #1037 Proxy setting on Android blocks access to Listener
- #1073 ForestDB CBL 1.2 random crash.
- #1090 Android API 10: java.lang.UnsatisfiedLinkError: nativeOpen
- #1091 ReplicationTest > testPusherBatching FAILED with CBL Java
- #1095 CBL 1.2 ForestDB random crash.
- #1098 Querying local CBLite via REST API returns all doc revisions (not just current rev)
- #1161 CBL - 1.2.0 upgrade from 1.1.0 clears device db
- #1176 ForestDB CBL 1.2 crash in endTransaction()
- #1177 ForestDB CBL 1.2 crash.
- #1193 Return 405 (Method Not Allowed) instead of 404 if Router does not support requested REST API
- #1196 Crash in ForestDB (filemgr_is_fully_resident)
- #1201 GrocerySync crashes with ForestDB
- #1210 Listener ?attachments=true to return attachment in base64
- #1211 Supports
only_conflictsandinclude_conflictsquery parameters for_all_docsREST API - #1222 Make SQLite one writer and one/multiple reader modes to avoid waiting connection.
- #1227 Port: Crash when saving, conflict generated and infinite replication loop
- #1232 ManagerTest.testClose() failed with latest master branch
- #1235 BackFillTest.testPullReplWithRevsAndAtts() fails
- #1236 PullReplWithRevsAndAttsTest.testPullReplWithRevsAndAtts() fails
- #1241 Couchbase-lite-java-forestdb is not build-able on Windows
- #1243 Push replication from Android LiteServ and sync_gateway not pushing all deleted documents
- #1245 CBL Java/Android can not handle complex Accept: header value
- #1249 Purge does not update view on ForestDB Mobile
- #1263 Deleting a db takes over 1 min.
- #1264 Querying a design document view returns deleted documents too REST API
- #1270 Forestdb Handle is being used by another thread (Note: ForestDB error code = -39)
- #1272 400 Missing data of attachment while pushing attachments
- #1275 Very slow doc PUT's with lots of garbage collection.
- #1276 ForestDB CBL crash.
- #1285 OkHttp ConnectionPool thread leaking
- #1289 SecureTokenStore does not work with Android M/N and there is encrypting data size limitation for API 18 - 22
- #1297 590 Database error (Note: ForestDB error code = -39)
- #1299 Get just attachment with header 'Accept: applicatio/json' should return {"status" : 406, "error" : "not_acceptable"}
- #1300 Compaction doesn't work with ForestDb
- #1301 ForestDB throws exception from native call (Note: ForestDB error code = -39)
- #1308 Encrypted attachments fail to sync
- #1315 Replicator shouldn't go to IDLE state if the authenticating is not done
- #1319 Autopruning failing on pull replication
- #1324 OIDC shouldn't clear refresh token after refreshing the token
- #1332 Cancelling a replication does not return a response.
- #1333 OIDC: Obtaining username with refresh-token might have issue
- #1339 Make lower initial heartbeat value for /_changes REST API
- #1342 Unit Test Failures on Jenkins
- #1355 Listener does not return response for PUT /db
- #1356 Listener does not return response for DELETE /db
- #1367 Live Query Seems broken with ForestDB
Where to get it
You can download this release from Couchbase.com