Skip to content

1.3

Compare
Choose a tag to compare
@snej snej released this 05 Jul 21:11
· 2158 commits to master since this release

As part of this release we had 59 issues 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.
  • Optimized redisplay of UITableViews when using CBLUITableController.
  • Clearer error messages and better logging.
  • And of course many smaller optimizations, and lots of bug fixes.

Performance Improvements

  • #1114 LiveQuery shouldn't re-run query if view index didn't change
  • #1150 Optimize & animate CBLUITableController by using the Levenshtein algorithm
  • #1165 Incrementally purge oldest revisions in SQLite databases
  • #1242 Fix inefficiencies replicating docs with many revisions
  • #1340 Optimized multipart download performance

Enhancements

  • #394 Start using NSURLSession in the replicator
  • #984 Comparing CBLQuery objects
  • #1100 External property on kCBLDatabaseChangeNotification when CBL is remote
  • #1107 Logging overhaul
  • #1117 Redact passwords/tokens in URLs in log messages
  • #1118 API: Public method for inserting existing revisions (putExistingRevisionWithProperties:...)
  • #1148 API: Make -[View updateIndex] public; add async version
  • #1150 Optimize & animate CBLUITableController by using the Levenshtein algorithm
  • #1165 Incrementally purge oldest revisions in SQLite databases
  • #1181 API: Document expiration time (TTL)
  • #1201 Replicator should immediately fail if URL path is invalid
  • #1245 Expose server error messages in NSErrors from public API
  • #1266 OpenID Connect authenticator
  • #1271 Disable App Transport Security on Mac OSX LiteServ
  • #1291 Allow configuring revs_limit in LiteServ
  • #1334 Scope cookie storage by database, not by replication

Bugs

  • #641 Enumerate sequence in descending order in CBForest not working
  • #966 CBLIS : Data loss
  • #1005 Replication fails without starting on wifi if network depends on a proxy
  • #1015 Crash when [CBLRemoteRequest connection:didFailWithError:]
  • #1045 POST _bulk_docs does not support HTTPBodyStream
  • #1071 [Testfest] Items not showing up in offline mode
  • #1085 CBLIS : NSIncrementalStore accessed by multiple context dispatch queues
  • #1095 Obsolete rows left in view index when documentType is used (1.1.1)
  • #1106 CBLListener readOnly property prevents pulls from updating the database
  • #1120 Warn if map function calls emit(nil, ...)
  • #1124 Multipart Uploader cannot upload the attachment when using basic auth
  • #1128 Crash pushing docs with non-downloaded attachments
  • #1129 CBLIS: NSSet was mutated while being enumerated.
  • #1131 CBLVersion() incorrectly returns "(unofficial)" in official releases
  • #1132 CBLReplicator.isDocumentPending is inaccurate when replicator is offline
  • #1138 Continuous puller with WebSocket not responding with 401 error when changing password
  • #1139 ChangeTracker POST request are incompatible with CouchDB
  • #1143 Swift API glitches
  • #1152 CBLRestReplicator does not properly end bgTask when app is foregrounded
  • #1163 Fixed macOS 10.10 dependency & updated deployment version to 10.9
  • #1180 Doc can be saved with missing attachment file, leading to errors
  • #1188 CBForest bad memory access while purging doc
  • #1191 Liteserv crashes with Forestdb option when creating local docs after delete operation
  • #1192 Manual compaction returns error if auto-compact is already running
  • #1200 Replication rejects attachments generated by PouchDB with revpos:0
  • #1216 REST API: POST /_replicate can start/stop once, but not restart?
  • #1228 One-shot push from empty db never stops
  • #1233 Failure to encrypt SQLite database when using WAL journaling
  • #1260 Inconsistent response when no conflicts are present and ?conflicts=true
  • #1263 Incorrect "error" property in REST response for GET of deleted doc
  • #1274 PendingDocumentIDs is incorrect
  • #1279 Don't stop replicator if one doc gets an error
  • #1292 _replicate between 2 dbs on same LiteServ fails
  • #1323 Cannot push encrypted attachments when testing with ToDoLite
  • #1325 LiteServ crash when delete dbs asyncronously
  • #1327 Archive build is missing symbols in iOS frameworks
  • #1335 Database upgrades from 1.1 not copying "content_type" of attachments
  • #1348 OIDC tokens in Keychain should be per-database
  • #1362 App crashing on iOS 8.3 device
  • #1370 TodoLite showing wrong list when deleting tasks

Where to get it

You can download this release from Couchbase.com