This repository has been archived by the owner on Jul 3, 2022. It is now read-only.
Releases: Thomvis/BrightFutures
Releases · Thomvis/BrightFutures
3.0.0-beta.2
This release is compatible with Swift 2. It is a direct port of 2.0, meaning it makes no use of new Swift 2 features yet.
- The Result dependency has been updated to the newest beta.
- Compatibility with CocoaPods has been restored.
3.0.0-beta.1: It Feels So Much Lighter Now
This release is compatible with Swift 2. It is a direct port of 2.0, meaning it makes no use of new Swift 2 features yet.
- Removed our homegrown 'ErrorType' with Swift 2's native one
- The 'Box' dependency is gone. Swift 2 removed the need for boxing associated values in enums!
Because antitypical/Result has not yet released a Swift 2 compatible release on CocoaPods, this version of BrightFutures can not yet be built using CocoaPods.
2.0.0: Brighter, Better and (Finally) Out of Beta
BrightFutures 2.x targets Xcode 6 and Swift 1.2. Compatible with iOS 8 / OS 10.10 and up.
Breaking changes from 1.x:
- Replaced homegrown
Result
andBox
types with Rob Rix' excellent types. - Futures & Promises are now also parametrizable by their error type, in addition to their value type:
Future<ValueType, ErrorType>
. This allows you to use your own (Swifty) error type, instead ofNSError
! - Adds
BrightFuturesError
enum, containing all three possible errors that BrightFutures can return - Renames
asType
toforceType
to indicate that it is a dangerous operation
Other improvements:
- Adds missing documentation (jazzy reports 100% documentation coverage!)
- Adds a lot of tests (test coverage is now at 97%, according to SwiftCov!)
There's a migration guide to help you upgrading your project from 1.0.1 to 2.0.0.
v2.0.0-beta.1
First beta release of BrightFutures 2.0
v1.0.1
v1.0.0
1.0.0-beta.3
Tag for 1.0.0-beta.3
1.0.0-beta.2
Tag for 1.0.0-beta.2 release
v1.0.0-beta.1
Tag for release 1.0.0-beta.1