Skip to content

Releases: freshOS/Then

Xcode 10.1 & Swift 4.2.1

19 Dec 14:41
Compare
Choose a tag to compare

Adds the Carthage pre-built framework for Xcode 10.1 & Swift 4.2.1

Xcode10 & Swift 4.2

19 Sep 07:20
Compare
Choose a tag to compare
  • Migrates to Xcode10 & Swift 4.2 🚀

4.1.1

22 Jun 09:17
Compare
Choose a tag to compare
  • Adds @discardableResult to await
  • Adds lazyWhenAll (courtesy of @cfanfs 👏 )
  • Resovles a data race on lockQueue (@cfans again 🚀 )

Thread Safety 🔒

30 May 16:14
Compare
Choose a tag to compare

Thread Safety 🔒

  • Fixes WheAll race condition when using concurrent operations
  • Fixes overall thread safety
  • .. & ..? syntax for await

Big thanks @cfanfs for his work on this release 👏

Xcode 9.3 & Swift 4.1

04 Apr 18:22
Compare
Choose a tag to compare

Big Thanks to @casademora for this release 👏 🎉

This introduces breaking changes.

Promises calls like this:

func foo() -> Promise<Void> {
    return Promise { resolve, _ in
      // code...
  }
}

Will now need to be disambiguated like so:

func foo() -> Promise<Void> {
    return Promise { (resolve: @escaping () -> Void, _) in
      // code...
  }
}

Indeed, Promise<T> and Promise<Void> share the same initializer with different param types which is now considered ambiguous. Until we find a workaround, explicitly declaring types will be needed.

3.1.0

05 Feb 15:34
Compare
Choose a tag to compare

Kudos to @qhua948 for adding a cool recover overload 🎉

recover(_ block:@escaping (Error) throws -> Promise<T>) -> Promise<T>

Also made zip concurrent (faster!) and thread safe with up to 8 inputs :)

WhenAll DispatchQueue

03 Jan 10:49
Compare
Choose a tag to compare
  • whenAll now accepts an optional DispatchQueue

Kudos to @cliapis for finding this issue 👏

Happy New Year everybody! 🍾 🎉

Fixes SPM integration &remove test coverage data

27 Sep 13:18
Compare
Choose a tag to compare

Fixes SPM integration &remove test coverage data

Swift 4 & Xcode9 !

25 Sep 08:25
Compare
Choose a tag to compare

Swift 4 & Xcode9 support.

tvOS Support

21 Aug 08:35
Compare
Choose a tag to compare

tvOS is now officially supported thanks to @florianbuerger !
Kudos 👏🎉