All Versions
Latest Version
Avg Release Cycle
112 days
Latest Release

Changelog History
Page 2

  • v5.0.0 Changes

    ➕ Adds support for Swift 3 and Xcode 8

  • v4.1.1 Changes

    ➕ Adds support for Swift 2.3 and Xcode 8 (tested with beta 4)

  • v4.1.0 Changes

  • v4.0.0 Changes

    BrightFutures 4.0.0 is compatible with Swift 2.2 and Xcode 7.3.

    • 🚚 [BREAKING] NoError has been removed from BrightFutures.
    • [Breaking] SequenceType.fold(_:zero:f:) and methods that use it (such as SequenceType.traverse(_:f:) and SequenceType.sequence()) are now slightly more asynchronous: to prevent stack overflows, after a certain number of items, it will perform an asynchronous call.
    • 🛠 [FIX] Fixed stack overflow when using sequence() or traverse() on large sequences.
  • v3.3.0 Changes

    • ➕ Added three new variants of the future free function that enables easy wrapping of completionHandler-based API. Thanks @phimage!

    Note: some versions are missing here

  • v3.0.0-beta.4 Changes

    • The implementation of mapError now explicitly uses ImmediateExecutionContext, fixing unnecessary asynchronicity
    • ➕ Adds delay(interval: NSTimeInterval) on Async, which produces a new Async that completes with the original Async after the given delay
    • 🆓 All FutureUtils free functions are now functions in extensions of the appropriate types (e.g. SequenceType)
    • InvalidationToken instances now have a validContext property which is an ExecutionContext that can be passed to any function that accepts an ExecutionContext to make the effect of that function depend on the validity of the token.
    • ➕ Added support for NSOperationQueue as an ExecutionContext
  • v3.0.0-beta.1 Changes

    🚀 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.

  • v2.0.1 Changes

    • ➕ Adds an implementation of flatMap that allows a function to be passed in immediately. Thanks @nghialv!
  • v2.0.0 Changes

    • 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!)

  • v1.0.1 Changes

    • ⚡️ Updated README to reflect the pre-1.0.0 change from FutureUtils functions to free functions