Releases: antitypical/Result
Releases · antitypical/Result
5.0.0
4.1.0
NEW
- Add compatibility with Swift 5's Result (#278)
- Add
Result.Success
typealias
- Add
Result.Failure
typealias
- Add
init(catching body: () throws -> Success)
and deprecateinit(attempt f: () throws -> Value)
- Add
func get() throws -> Success
and deprecatefunc dematerialize() throws -> Value
- Add
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.
4.0.1
4.0.0
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
toErrorConvertible
(#232) - Reduce the responsibility of
ResultProtocol
(#235, #243) - Deprecate
materialize
functions (#239) - Make
try
functions unavailable (#253)