Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Releases: cloudant/CDTDatastore

2.1.1 (2018-09-19)

20 Sep 10:18
Compare
Choose a tag to compare
  • [FIXED] Unknown type and undeclared identifier issues with common crypto includes.

2.1.0 (2018-07-10)

10 Jul 14:51
e4cf17b
Compare
Choose a tag to compare
  • [NEW] Add method -closeDatastoreNamed: on CDTDatastoreManager.
  • [FIXED] Fix issue where repeated calls to -datastoreNamed:error: on CDTDatastoreManager for the same datastore could cause crashes or failures.

2.0.3 (2018-05-17)

17 May 16:02
232e512
Compare
Choose a tag to compare
  • [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)

30 Apr 06:46
9371fda
Compare
Choose a tag to compare
  • [FIXED] Bug which prevented find queries from executing
    successfully against indexes with certain names.

2.0.1 (2018-04-12)

17 Apr 06:50
c7c35c1
Compare
Choose a tag to compare
  • [FIXED] Header declaration of listIndexes(). This prevented this
    method from being called from Swift code.

2.0.0 (2018-02-14)

15 Feb 15:30
Compare
Choose a tag to compare
  • [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 call stop on the replicator.
  • [REMOVED] Removed deprecated class CDTSavedHTTPAttachment and method
    createRevisionFromJson on CDTDocumentRevision.
  • [IMPROVED] Updated documentation by replacing deprecated Cloudant links with the latest bluemix.net links.

1.2.2 (2017-09-06)

08 Sep 08:45
Compare
Choose a tag to compare
  • [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)

07 Apr 11:39
Compare
Choose a tag to compare
  • [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)

07 Dec 15:52
Compare
Choose a tag to compare
  • [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 for CDTPushReplication and CDTPullReplication objects.
  • [NEW] CDTReplay429Interceptor to back off and retry 429 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.