You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+40-3Lines changed: 40 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,59 @@
4
4
5
5
## CHANGELOG
6
6
7
-
* Version **[1.0.0](#100_110)** (Swift 3.x) and **[1.1.0](#100_110)** (Swift 4.x)
7
+
* Version **[1.2.0](#120)** (Swift 4)
8
+
* Version **[1.1.0](#110)** (first Swift 4)
9
+
* Version **[1.0.1](#101)** (latest for Swift 3)
10
+
* Version **[1.0.0](#100)**
8
11
* Version **[0.9.9](#099)**
9
12
* Version **[0.9.7](#097)**
10
13
* Version **[0.9.4](#094)**
11
14
* Version **[0.9.3](#093)**
12
15
* Version **[0.9.2](#092)**
13
16
* Version **[0.9.1](#091)**
14
17
15
-
<aname="100_110" />
18
+
<aname="120" />
16
19
17
-
## Hydra 1.0.0 (for Swift 3) & 1.1.0 (for Swift 4)
20
+
## Hydra 1.2.0 (Swift 4)
21
+
---
22
+
-**Release Date**: 2017-10-27
23
+
-**Download Version for Swift 4**: [Download 1.2.0](https://github.com/malcommac/Hydra/releases/tag/1.2.0)
24
+
25
+
-[#54](https://github.com/malcommac/Hydra/pull/54) Fixed an issue when compiling Hydra for macOS, tvOS and watchOS
26
+
27
+
<aname="110" />
28
+
29
+
## Hydra 1.1.0 (first for Swift 4)
18
30
---
19
31
-**Release Date**: 2017-09-04
20
32
-**Download Version for Swift 3**: [Download 1.0.0](https://github.com/malcommac/Hydra/releases/tag/1.0.0)
21
33
-**Download Version for Swift 4**: [Download 1.1.0](https://github.com/malcommac/Hydra/releases/tag/1.1.0)
22
34
35
+
-[#44](https://github.com/malcommac/Hydra/pull/44) Resolved a compatibility issue with `await` under iOS 11 or later.
36
+
-[#45](https://github.com/malcommac/Hydra/pull/45) Added support for cancellable promises inside the `await` operator.
37
+
-[#46](https://github.com/malcommac/Hydra/pull/46) Resolved an issue where `timeout` operator keep a Promise alive even if it resolves correctly before it expires.
38
+
-[#48](https://github.com/malcommac/Hydra/pull/48) Resolved a memory leaks with cancellable promises.
39
+
-[#49](https://github.com/malcommac/Hydra/pull/49) Replaced with `(Void)` with `()` to fix warnings with Swift 4 and XCode 9
40
+
41
+
42
+
<aname="101" />
43
+
44
+
## Hydra 1.0.1 (latest for Swift 3)
45
+
---
46
+
-**Release Date**: 2017-10-27
47
+
-**Download Version for Swift 3**: [Download 1.0.1](https://github.com/malcommac/Hydra/releases/tag/1.0.1)
48
+
49
+
-[#51](https://github.com/malcommac/Hydra/pull/51) Fixed an when compiling using Chartage
50
+
-[#52](https://github.com/malcommac/Hydra/pull/45) Fixed an issue when compiling Hydra for macOS, tvOS and watchOS
51
+
52
+
53
+
<aname="100" />
54
+
55
+
## Hydra 1.0.0
56
+
---
57
+
-**Release Date**: 2017-09-04
58
+
-**Download Version for Swift 3**: [Download 1.0.0](https://github.com/malcommac/Hydra/releases/tag/1.0.0)
59
+
23
60
-[#45](https://github.com/malcommac/Hydra/pull/45) Added support for cancellable promises inside the `await` operator.
24
61
-[#46](https://github.com/malcommac/Hydra/pull/46) Resolved an issue where `timeout` operator keep a Promise alive even if it resolves correctly before it expires.
25
62
-[#44](https://github.com/malcommac/Hydra/pull/44) Resolved a compatibility issue with `await` under iOS 11 or later.
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ Made with ♥ in pure Swift 3.x/4.x, no dependencies, lightweight & fully portab
12
12
13
13
## Swift 3 and Swift 4 Compatibility
14
14
15
-
***Swift 4.x**: >= 1.1.0 - Latest is 1.1.0 (`pod 'HydraAsync'`)
16
-
***Swift 3.x**: Latest compatible version is 1.0.0 Download here. If you are using CocoaPods be sure to fix the release (`pod 'HydraAsync', '~> 1.0.0'`)
15
+
***Swift 4.x**: Latest is 1.2.0 (`pod 'HydraAsync'`)
16
+
***Swift 3.x**: Latest is 1.0.1 - Latest compatible version is 1.0.1 Download here. If you are using CocoaPods be sure to fix the release (`pod 'HydraAsync', '~> 1.0.1'`)
17
17
18
18
# Hydra
19
19
Hydra is full-featured lightweight library which allows you to write better async code in Swift 3.x/4.x. It's partially based on [JavaScript A+](https://promisesaplus.com) specs and also implements modern construct like `await` (as seen in [Async/Await specification in ES8 (ECMAScript 2017)](https://github.com/tc39/ecmascript-asyncawait) or C#) which allows you to write async code in sync manner.
@@ -43,8 +43,8 @@ Take a look below:
43
43
## Current Release (Swift 3 and 4 releases)
44
44
45
45
Latest releases are:
46
-
-**Swift 4.x**: From (>=) **1.1.0**[Download here](https://github.com/malcommac/Hydra/releases/tag/1.1.0).
47
-
-**Swift 3.x**: Latest release is **1.0.0**[Download here](https://github.com/malcommac/Hydra/releases/tag/1.0.0).
46
+
***Swift 4.x**: Latest is 1.2.0 (`pod 'HydraAsync'`) [Download here](https://github.com/malcommac/Hydra/releases/tag/1.2.0).
47
+
***Swift 3.x**: Latest is 1.0.1 (`pod 'HydraAsync', '~> 1.0.1'`)[Download here](https://github.com/malcommac/Hydra/releases/tag/1.0.1).
48
48
49
49
A complete list of changes for each release is available in the [CHANGELOG](CHANGELOG.md) file.
50
50
@@ -593,10 +593,10 @@ all(op_1.void,op_2.void,op_3.void).then { _ in
593
593
<a name="installation"/>
594
594
595
595
## Installation
596
-
You can install Swiftline using CocoaPods, carthage and Swift package manager
596
+
You can install Hydra using CocoaPods, Carthage and Swift package manager
597
597
598
-
-**Swift 3.x**:Up to 1.0.0 ([Direct Download](https://github.com/malcommac/Hydra/releases/tag/1.0.0))
599
-
-**Swift 4.x**:Starting from 1.1.0([Direct Download](https://github.com/malcommac/Hydra/releases/tag/1.1.0))
0 commit comments