All Versions
11
Latest Version
Avg Release Cycle
102 days
Latest Release
2061 days ago

Changelog History
Page 1

  • v5.0.0 Changes

    May 27, 2019
    • Adopt Swift 5's built-in Result type when compiler(>=5.0) (#280)
    • 🗄 Deprecate NoError in favor of Never, which now conforms to Error (#286)
  • v4.1.0 Changes

    January 01, 2019

    🆕 NEW

    • ➕ Add compatibility with Swift 5's Result (#278)
      • Add Result.Success typealias
      • Add Result.Failure typealias
      • Add init(catching body: () throws -> Success) and deprecate init(attempt f: () throws -> Value)
      • Add func get() throws -> Success and deprecate func dematerialize() throws -> Value

    👀 See https://github.com/apple/swift-evolution/blob/master/proposals/0235-add-result.md and https://forums.swift.org/t/accepted-with-modifications-se-0235-add-result-to-the-standard-library/18603 for further information of the Swift 5's Result.

  • v4.0.1 Changes

    December 31, 2018

    🆕 NEW

    • ➕ Add explicit support for Xcode 10 / Swift 4.2.
  • v4.0.0 Changes

    April 27, 2018

    🔄 CHANGED

    • 👍 Result now requires Swift 4.0/Xcode 9 at least. Swift 4.1/Xcode 9.3 are supported as well (#217, #237, #241, #245, #252, #256, #258, #259, #264)
    • ✂ Remove deprecated and unavailable APIs from Result 2.x (Swift 2.x) (#220, #226)
    • 📇 Rename ErrorProtocolConvertible to ErrorConvertible (#232)
    • ⬇️ Reduce the responsibility of ResultProtocol (#235, #243)
    • 🗄 Deprecate materialize functions (#239)
    • 👉 Make try functions unavailable (#253)

    🆕 NEW

    • ➕ Add LocalizedError conformance to AnyError on Linux (#227)
    • ➕ Add AnyError overloads for init(_:) and init(attempt:) (#236)
  • v3.2.4 Changes

    September 27, 2017
    • 🔄 [CHANGED]: Deprecate try functions in favor of Result.init(attempt:) (#251)
  • v3.2.3 Changes

    May 29, 2017
    • 🔄 [CHANGED]: Deprecate ErrorProtocolConvertible in favor of ErrorConvertible (#230)
  • v3.2.2 Changes

    May 16, 2017
    • 🛠 [FIXED]: Improve AnyError support in Result.init(attempt:) (#224)
  • v3.2.1 Changes

    March 04, 2017
    • 🛠 [FIXED]: Swift 3.1 compatibility issue on Linux (#212, #214)
  • v3.2.0 Changes

    March 01, 2017
    • 🆕 [NEW]: Add ResultProtocol.bimap(success:failure:) method (#116, #205)
    • 🆕 [NEW]: Add ResultProtocol.fanout(_:) as an alternative to &&& operator (#204)
    • 🆕 [NEW]: Add LocalizedError conformance to AnyError on Darwin platforms (#210)
    • 🔄 [CHANGED]: Deprecate >>- and &&& operators (#206)
  • v0.6.0

    August 16, 2018