All Versions
11
Latest Version
Avg Release Cycle
102 days
Latest Release
2022 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