This repository was archived by the owner on Mar 11, 2022. It is now read-only.
Tags: cloudant/swift-cloudant
Tags
- [UPGRADED] Minimum Swift language version to 4.2. - [UPGRADED] Swift tools version and package manifest to version 5.0. - [BREAKING CHANGE] Projects using older Swift tool and language versions will not work with versions newer than 0.8.0. - [FIXED] Fixed scope of `Operation.Error` to be exposed as public.
- [NEW] Runs on Swift 4.x on Linux with some limitations (see note). - [FIXED] Set the default Swift language version in the SwiftCloudant.podspec to 3.1. - [FIXED] Fixed warning for non-exhaustive switch statement. - [NOTE] The `GetChangesOperation` is not currently supported by the Linux platform, see [issue #176](#176).
0.7.0 (2017-04-10) - [NEW] Implement convenience init for creating client from VCAP services metadata. - [NEW] Allow server to generate document IDs if they are set as `nil` in the documents being saved. - [FIXED] Access level warning in the ViewPager class. - [FIXED] Crash on deallocate for unused client. - [FIXED] Resolved issue where an infinite retry loop would be triggered if a `401: Forbidden` response was always received from an endpoint.
- [NEW] Support for Swift 3.0 Release for Darwin Platforms. - [NEW] New `PutBulkDocsOperation` API. - [NEW] Support for backing off when a 429 status code is encountered, optionally enabled by using `ClientConfiguration` struct. - [NEW] New `GetChangesOperation` API. - [NEW] New `ViewPager` API. - [FIXED] Correctly handle differences between CouchDb and Cloudant for cookie expiration.
- [NEW] New FindDocumentsOperation API. - [NEW] New DeleteAttachmentOperation API. - [BREAKING] `Database` class has been removed - [BREAKING] `CouchOperation` is now a protocol, in order to use `NSOperation` APIs you need to use the `Operation` class in conjunction with objects that conform to `CouchOperation` - [BREAKING] `CouchDatabaseOperation` is now a protocol. - [NEW] `JsonOperation` and `DataOperation` protocols. - [BREAKING] `completionHandler` property is no longer defined on `CouchOperation` its replacement is `completionHander` defined on `JsonOperation` and `DataOperation` - [BREAKING] The following properties on `CouchOperation` have been renamed: | Previous Name | New Name | |---------------|---------| | `httpPath` | `endpoint`| | `httpRequestData` | `data` | | `httpContentType` | `contentType`| |`httpMethod` | `method`| - [BREAKING] `QueryItems` property has been removed. - [NEW] parameters property API, used to define HTTP query parameters for a CouchOperation request.
PreviousNext