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.
<palign="center" >Love your async code again with Hydra <br/>
8
-
Made with ♥ in pure Swift 3.x+, no dependencies, lightweight & fully portable
8
+
Made with ♥ in pure Swift 3.x/4.x, no dependencies, lightweight & fully portable
9
9
<p/>
10
10
<palign="center" >★★ <b>Star our github repository to help us!</b> ★★</p>
11
11
<palign="center" >Created by <ahref="http://www.danielemargutti.com">Daniele Margutti</a> (<ahref="http://www.twitter.com/danielemargutti">@danielemargutti</a>)</p>
12
12
13
+
## Swift 3 and Swift 4 Compatibility
14
+
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
+
13
18
# Hydra
14
-
Hydra is full-featured lightweight library which allows you to write better async code in Swift 3+. 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.
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.
15
20
Hydra supports all sexiest operators like `always`, `validate`, `timeout`, `retry`, `all`, `any`, `pass`, `recover`, `map`, `zip`, `defer` and `retry`.
16
21
Starts writing better async code with Hydra!
17
22
18
23
## Internals
19
24
A more detailed look at how Hydra works can be found in [ARCHITECTURE](https://github.com/malcommac/Hydra/blob/master/ARCHITECTURE.md) file or on [Medium](https://medium.com/@danielemargutti/hydra-promises-swift-c6319f6a6209).
20
25
21
-
## You also may like
26
+
## OTHER LIBRARIES YOU MAY LIKE
22
27
23
-
Do you like `Hydra`? I'm also working on several other opensource libraries.
28
+
I'm also working on several other projects you may like.
29
+
Take a look below:
24
30
25
-
Take a look here:
31
+
<palign="center" >
26
32
27
-
***[SwiftDate](https://github.com/malcommac/SwiftDate)** - Date & Timezone management in Swift
28
-
***[SwiftLocation](https://github.com/malcommac/SwiftLocation)** - CoreLocation and Beacon Monitoring on steroid!
29
-
***[SwiftRichString](https://github.com/malcommac/SwiftRichString)** - Elegant and painless attributed string in Swift
30
-
***[SwiftScanner](https://github.com/malcommac/SwiftScanner)** - String scanner in pure Swift with full unicode support
31
-
***[SwiftSimplify](https://github.com/malcommac/SwiftSimplify)** - Tiny high-performance Swift Polyline Simplification Library
32
-
***[SwiftMsgPack](https://github.com/malcommac/SwiftMsgPack)** - MsgPack Encoder/Decoder in Swift
0 commit comments