couchbase-lite-ios

Lightweight, embedded, syncable NoSQL database engine for iOS and MacOS apps.

APACHE-2.0 License

Stars
1.6K
Committers
66

Bot releases are visible (Hide)

couchbase-lite-ios - 2.0 Developer Build 20

Published by pasin almost 7 years ago

Changes

  • New Immutable Document API (Breaking API Changes)
  • Bug fixes and performance improvement from LiteCore.

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 1.4.1

Published by jamesnocentini almost 7 years ago

As part of this release we had 52 commits which resulted in 20 issues being closed.

Performance Improvements

  • #1648 Purge does not remove row from 'docs' table
  • #1737 View indexing is very slow, due to mis-optimized SQLite query
  • #1751 Push replication becomes slower as local DB grows

Bugs

  • #1354 Deferred pulling of attachments problem
  • #1572 Idle crash [CBLRemoteSession close] (CBLRemoteSession.m:99)
  • #1613 Crash in askDelegateToValidateServerTrust
  • #1622 Error opening!: 23 - when trying to load data from iOS to Apple Watch
  • #1649 Missing role appears to cause continuous push replication to stop [v1.4]
  • #1655 Fatal Exception: NSInternalInconsistencyException [1.4]
  • #1707 Replication Stops working after lots of syncing / lots of time - Too much memory used during replication
  • #1758 Updating a design doc view map function does not take effect
  • #1770 Crash observed while saving documents to DB
  • #1779 IOS App Extension replication gets suspended "prematurely"
  • #1853 CBL_BlobStoreWriter appendData assertion failure
  • #1887 1.4 Encrypting a new database fails. Existing database encrypt fine.
  • #1898 One shot sync not pulling data properly in background
  • #1912 Peer sync between High Sierra and iOS 11 CBLWarnUntrustedCert error
  • #1918 Channel removal potentially disrupts attachments
  • #1921 CBLListener retaining CBL_RunLoopServer so both never get freed.
  • #1923 CBLRemoteSession finishTasksAndInvalidate crash

Where to get it

You can download this release from Couchbase.com

couchbase-lite-ios - 2.0 Developer Build 19

Published by pasin almost 7 years ago

Changes

  • Fixed Replicator’s uncleaned socket disconnect warning (#1937).
  • Fixed Session Cookie being overwritten (#1943).
  • Fixed Carthage build failure on DB019 (#1947).
  • Reimplemented Fragment API - API is now more lightweight and has better performance.
  • Improved performance of reading and writing document data with Mutable Fleece.

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 2.0 Developer Build 18

Published by pasin about 7 years ago

Changes

  • Added headers property to ReplicatorConfiguration for adding additional HTTP headers when sending HTTP requests to a remote server.
  • Fixed invalid CFBundleShortVersionString.
  • Updated Lite Core to uptake the following fixes:
    • Fixed replicator crashes when stopping replicator immediately after starting.
    • Fixed replicator staying in BUSY status after finish replicating.
    • Allowed MATCH operator nested inside multiple ANDs.

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 2.0 Developer Build 16

Published by pasin about 7 years ago

Changes

  • Support Database Encryption
  • Implement a new index API
  • Move FTS.rank expression to Function.rank()
  • Make Replicator's User-Agent header that includes information about library version and platform.

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 2.0 Developer Build 15

Published by pasin about 7 years ago

Changes

  • Support Collation Expression.
  • Support FTS Ranking Value Expression.
  • Support database copy to allow to install a canned database.
  • Allow to set logging level.

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 2.0 Developer Build 14

Published by pasin about 7 years ago

Changes

  • Support Select all properties.
  • Support Quantified expression (Any, AnyAndEvery, and Every).
  • Support Query's isNullOrMissing expression.
  • Support more Query functions including array, mathematics, string, and type functions.
  • Support type setters on Document, Dictionary, Array, and Query's parameters.
  • Support Int64 getter on Document, Dictionary, Array.
  • Added Connecting and Offline to the Replicator's ActivityLevel status.

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 2.0 Developer Build 13

Published by pasin about 7 years ago

Changes

  • Support query projection with alias names.
  • CBLQuery returns CBLQueryResultSet instead of NSEnumerator. Same for Swift, Query return ResultSet instead of QueryIterator. CBLQueryRow is still used by CBLPredicateQuery.
  • CBLQueryResult supports get values both by indexes and by keys. Same for Result in Swift.
  • CBLDocument.documentID -> CBLDocument.id
  • Bug fixes : #1819, #1824, #1825, #1835.

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 2.0 Developer Build 12

Published by pasin over 7 years ago

Changes

  • Unify change event API for Database, Replicator, and LiveQuery by using block
  • Replicator Filter : Channel and DocumentID
  • Query
    • Aggregate Functions (AVG, COUNT, MIN, MAX, SUM)
    • OrderBy (Updated)
    • GroupBy / Having
    • Join
    • Projection (Without alias and Select *)
    • Parameters
    • Meta (Document ID and Sequence)

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 2.0 Developer Build 11

Published by pasin over 7 years ago

Changes

  • Support Replicator Authenticator including Basic and Session Authenticator
  • Support Live Query

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 2.0 Developer Build 10

Published by pasin over 7 years ago

Changes

  • Fixed replicator not correctly encoding documents when it saves the documents

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 2.0 Developer Build 9

Published by pasin over 7 years ago

Changes

  • Added an ability to pin server certificate to a replicator
  • Fixed custom functions not being registered in all opened SQLite connections
  • Fixed unused blobs not being garbaged after compacting a database

Where to get it

  • Download prebuilt binaries from Couchbase.com
  • Use CocoaPods or Carthage by following the instruction from here
couchbase-lite-ios - 1.4.0.1

Published by pasin over 7 years ago

This release is a hot fix release, which includes the following bug fix.

Bugs

  • #1737 View indexing is very slow, due to mis-optimized SQLite query
couchbase-lite-ios - 2.0 Developer Build 8

Published by pasin over 7 years ago

Objective-C and Swift:

  • DatabaseConfiguration
  • DocumentChangeNotification
  • Array optimization
  • New Replicator API
  • Replicator - Online / Offline support
  • LiveQuery
  • Minor changes to Database and Document API including
    • Database.compact()
    • Database.count()
    • Database.contains(id)
    • Dictionary.remove(key)
    • Dictionary nil value support

Binaries to download. For CocoaPods or Carthage, please follow the instruction from the here.

couchbase-lite-ios - 2.0 Developer Build 7

Published by pasin over 7 years ago

2.0 DB7 includes the following features:

  • New unified API for Document, ReadOnlyDocument, Dictionary, ReadOnlyDictionary, Array, ReadOnlyArray.
  • Replaced Subdocument with Dictionary.
  • Removed DocumentChangeNotification from Document; The DocumentChangeNotification will be re-implemented at the Database level in the next release.
  • Has new ConflictResolver API that take a single Conflict object as a parameter. The target, source, and commonAncestor property are ReadOnlyDocument object. This change has been made to the Objective-C framework only. The ConflictResolver will be implemented in the Swift framework in the next release.
  • Bug fixes and performance improvement from LiteCore.
couchbase-lite-ios - 2.0 Developer Build 5

Published by pasin over 7 years ago

2.0 DB5 includes the following features:

  • Support replicating attachments
  • Support automatic 1.x database upgrade to 2.0
  • Fixed Swift replication delegate not functional (#1699)
couchbase-lite-ios - 1.4.0

Published by jamesnocentini over 7 years ago

As part of this release we had 22 issues closed.
Early-2017 update focusing mostly on bug-fixes.

Performance Improvements

  • #1389 Allow SQLite reads concurrently with writer
  • #1497 Update ForestDB to get improved compaction / space reuse

Enhancements

  • #1538 Make CBLDatabaseChange.isDeletion public?

Bugs

  • #794 "!_changeTracker" assertion failure in -[CBLRestPuller startChangeTracker]
  • #1207 Push replication stops with error 400 bad_request
  • #1243 Replication task missing source or target values
  • #1285 REST API does not allow GET on a db with "/" in its name
  • #1343 Need to close all other db handles before rekeying
  • #1365 Non-continuous push replication gets stuck in kCBLReplicationIdle status
  • #1422 ForestDB crashes frequently in the background because of protection data level
  • #1429 1.3.1-6: crashed EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
  • #1442 Collection class properties not propagating from CBLDocument to CBLModel after sync
  • #1443 Handle iOS file protection gracefully when in background
  • #1461 ForestDB: Assertion failure in -MYBackgroundMonitor beginBackgroundTaskNamed: MYBackgroundMonitor.m:66
  • #1467 Memory leak caused by ref cycle between replicator and CBLRemoteSession
  • #1556 Assertion failed: (_changesTimeout > 0)
  • #1557 Exception caught in CBLDatabase transaction
  • #1558 Not all updates propagating while under load
  • #1568 Attachments failing to push after delete / create (ForestDB)
  • #1579 [NSLock lock]: deadlock when deleting database (ForestDB)
  • #1580 Wrong "reason" response for GET on purged documents
  • #1621 OIDC failing with Grocery Sync when creating new google project

Where to get it

You can download this release from Couchbase.com

couchbase-lite-ios - 2.0 Developer Build 4

Published by pasin over 7 years ago

2.0 DB4 includes the following features:

  • Cross platform Query API for Swift.
  • Replicator API for both Objective-C and Swift.
  • Minor changes to Swift property accessors to inline with the other platforms.
couchbase-lite-ios - 2.0 Developer Build 3

Published by pasin over 7 years ago

2.0 DB3 includes the following features:

  • New Cross platform Query API for Objective-C framework
couchbase-lite-ios - 2.0 Developer Build 2

Published by pasin over 7 years ago

2.0 DB2 includes the following features:

  • Subdocument
  • New CouchbaseLiteSwift framework for the Swift API