This repository has been archived by the owner on Mar 11, 2022. It is now read-only.
Releases: cloudant/CDTDatastore
Releases · cloudant/CDTDatastore
2.1.1 (2018-09-19)
2.1.0 (2018-07-10)
- [NEW] Add method
-closeDatastoreNamed:
onCDTDatastoreManager
. - [FIXED] Fix issue where repeated calls to
-datastoreNamed:error:
onCDTDatastoreManager
for the same datastore could cause crashes or failures.
2.0.3 (2018-05-17)
- [FIXED] Bug which prevented CDTDatastore instances from being closed after calling index/query
methods. - [FIXED] Race condition which under some circumstances could return different
CDTDatastore
instances for the same open database.
2.0.2 (2018-04-30)
- [FIXED] Bug which prevented
find
queries from executing
successfully against indexes with certain names.
2.0.1 (2018-04-12)
- [FIXED] Header declaration of
listIndexes()
. This prevented this
method from being called from Swift code.
2.0.0 (2018-02-14)
- [NEW] Added API for upcoming IBM Cloud Identity and Access
Management support for Cloudant on IBM Cloud. Note: IAM API key
support is not yet enabled in the service. - [NEW] Interceptors can return
nil
to signal an error
condition. See
the interceptor documentation for more
details. - [FIXED] Crash when stopping replicators.
- [FIXED] Threading issues in replicators.
- [FIXED] Added status code
TDReplicatorErrorNetworkOffline
-
replicators will go into an error state with this error code if the
network goes offline, instead of appearing to complete normally. - [BREAKING CHANGE] On iOS, replicators no longer stop when the app is
backgrounded. To revert to the existing behaviour, your app should
over-ride
the
applicationDidEnterBackground
method
or register for
the
UIApplicationDidEnterBackgroundNotification
notification,
and callstop
on the replicator. - [REMOVED] Removed deprecated class
CDTSavedHTTPAttachment
and method
createRevisionFromJson
onCDTDocumentRevision
. - [IMPROVED] Updated documentation by replacing deprecated Cloudant links with the latest bluemix.net links.
1.2.2 (2017-09-06)
- [IMPROVED] Added pre-emptive session renewal when within 5 minutes of expiry.
- [FIXED] Issue where cookie interceptor did not check for 403 HTTP response case.
- [FIXED] Replaced the GoogleToolboxForMac files with the CocoaPod subspec.
1.2.1 (2017-04-07)
- [IMPROVED] Significant reduction in memory usage during large pull replications.
- [FIXED] Issue querying indexed fields when combining the
$not
and$size
operators.
1.2.0 (2016-12-07)
- [NEW] Warnings are logged if attachments dictionary is not keyed by
attachment.name
. - [NEW] Replications can now be managed from CDTDatastore object, see
CDTDatastore+Replication.h
. - [NEW] Credentials for replications can now be provided via the username and
password parameters forCDTPushReplication
andCDTPullReplication
objects. - [NEW]
CDTReplay429Interceptor
to back off and retry429
responses while replicating.
Optionally add this interceptor to replication configurations to enable this behaviour. - [IMPROVED] Return Conflict (409) instead of Not Found (404) when attempting to update a
deleted document. - [IMPROVED] Removed incorrect documentation for closing of datastores.
- [IMPROVED] Updated replicator to use version 3 of the replicator protocol.
- [IMPROVED] Disk full errors are now reported with code 507 rather than 500.
- [FIXED] Issue where the index database was not closed when CDTQIndexManager was
deallocated. - [FIXED] Dangling reference when loading saved attachments from the datastore.