Releases: ikesyo/Himotoki
Releases · ikesyo/Himotoki
1.1.1
1.1.0
1.0.0
This release targets Swift 2.0 / Xcode 7.0.
Breaking changes
- #31 Introduce error handling model. The signatures of
decode
functions / methods and operators forExtractor
are changed to usethrows
withDecodeError
and return non-optional value, as something like:Decodable
:static func decode(e: Extractor) throws -> DecodedType
func decode<T>(object: AnyObject) throws -> T
func <| <T>(e: Extractor, keyPath: KeyPath) throws -> T
Enhancements
- #24 Add watchOS target.
KeyPath
now conforms toEquatable
.
0.6.3
0.6.2
0.6.1
0.6.0
Breaking changes
-
#29 Refine
build()
functions signature. This would make it easy for the compiler to infer the parameters' type. You should now usebuild()
as follows (from README):let create = { Group($0) } return build(create)( e <| "name", e <| "floor", e <| [ "location", "name" ], e <||? "optional" )