BrightFutures v2.0.0 Release Notes

    • Replaced homegrown Result and Box 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 of NSError!
    • ➕ Adds BrightFuturesError enum, containing all three possible errors that BrightFutures can return
    • Renames asType to forceType to indicate that it is a dangerous operation

    • ➕ Adds missing documentation (jazzy reports 100% documentation coverage!)

    • ➕ Adds a lot of tests (test coverage is now at 97%, according to SwiftCov!)