Skip to content

Commit 4722496

Browse files
author
Ruben Nine
committed
Preparing for 2.3 release.
1 parent 7e7a8f2 commit 4722496

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Change Log
22
==========
33

4+
Version 2.3 *(2020-07-08)*
5+
----------------------------
6+
7+
- Added support for background uploads (see "Enabling background upload support" in README.md for more information.)
8+
- Improved upload progress reporting.
9+
- Improved retry and cancellation logic in upload operations.
10+
- Significantly improved performance of MD5 and Hmac calculations by relying on `CommonCrypto`.
11+
- Removed `CryptoSwift` dependency.
12+
413
Version 2.2.2 *(2020-05-04)*
514
----------------------------
615

FilestackSDK.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ Pod::Spec.new do |spec|
1212
spec.source_files = 'FilestackSDK/**/*.{h,swift}'
1313

1414
spec.dependency 'Alamofire', '~> 4.9'
15-
spec.dependency 'CryptoSwift', '~> 1.3'
1615
end

FilestackSDK.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@
10851085
SDKROOT = iphoneos;
10861086
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
10871087
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1088-
SWIFT_VERSION = 5.0;
1088+
SWIFT_VERSION = 4.2;
10891089
TARGETED_DEVICE_FAMILY = "1,2";
10901090
VERSIONING_SYSTEM = "apple-generic";
10911091
VERSION_INFO_PREFIX = "";
@@ -1143,7 +1143,7 @@
11431143
MTL_ENABLE_DEBUG_INFO = NO;
11441144
SDKROOT = iphoneos;
11451145
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
1146-
SWIFT_VERSION = 5.0;
1146+
SWIFT_VERSION = 4.2;
11471147
TARGETED_DEVICE_FAMILY = "1,2";
11481148
VALIDATE_PRODUCT = YES;
11491149
VERSIONING_SYSTEM = "apple-generic";

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ platform :ios, '11.0'
3434
use_frameworks!
3535

3636
target '<Your Target Name>' do
37-
pod 'FilestackSDK', '~> 2.2.2'
37+
pod 'FilestackSDK', '~> 2.3'
3838
end
3939
```
4040

@@ -57,9 +57,9 @@ $ brew install carthage
5757

5858
To integrate FilestackSDK into your Xcode project using Carthage, specify it in your `Cartfile`:
5959

60-
`github "filestack/filestack-swift" ~> 2.2.2`
60+
`github "filestack/filestack-swift" ~> 2.3`
6161

62-
Run `carthage update` to build the framework and drag the built `FilestackSDK.framework` into your Xcode project. Additionally, add `FilestackSDK.framework`, `Alamofire.framework` and `CryptoSwift.framework` to the embedded frameworks build phase of your app's target.
62+
Run `carthage update` to build the framework and drag the built `FilestackSDK.framework` into your Xcode project. Additionally, add `Alamofire.framework` to the embedded frameworks build phase of your app's target.
6363

6464
### Manually
6565

@@ -90,7 +90,7 @@ In the tab bar at the top of that window, open the "General" panel.
9090

9191
Click on the + button under the "Embedded Binaries" section and choose the `FilestackSDK.framework` for iOS.
9292

93-
Repeat the same process for adding `Alamofire` and `CryptoSwift` dependent frameworks.
93+
Repeat the same process for adding `Alamofire`.
9494

9595
## Usage
9696

@@ -327,6 +327,16 @@ uploader.progress // returns an `NSProgress` object
327327
</details>
328328
</details>
329329

330+
<details>
331+
<summary>Enabling background upload support</summary>
332+
333+
New in version `2.3`, we added support for uploading files in a background session. In order to activate this feature, please do the following:
334+
335+
```swift
336+
// Set `UploadService.shared.useBackgroundSession` to true to allow uploads in the background.
337+
FilestackSDK.UploadService.shared.useBackgroundSession = true
338+
```
339+
330340
## Versioning
331341

332342
Filestack Swift SDK follows the [Semantic Versioning](http://semver.org/).

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.2
1+
2.3

0 commit comments

Comments
 (0)