All Versions
Latest Version
Avg Release Cycle
112 days
Latest Release

Changelog History
Page 2

  • v5.1.0 Changes

    November 05, 2016

    โž• Adds compatibility with the Swift Package Manager

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