2.0.0
Support Swift3/Xcode8 🎉
Add
- Add function
InsecureDistillate.value(): () throws -> Value
- Add function
SecureDistillate.value(): () -> Value
- Add function
Array<Distillable>.distil(j:)
- Add function
Dictionary<Key: StringConvertible, Value: Distillable>.distil(j:)
- Add protocol
InitDistillable
Breaking
Obsolete
- Serialize objects to JSON Data or String
DistillateType
Rename
success(_ handler:)
tovalue(_ handler)
failure(_ handler:)
toerror(_ handler)
recover()
tocatch()
DistillSubscripted
toLazyJSON
JSONPath
toPath
OptionalType
toOptionalConvertible
JSONPathElement
toPathElement
Change
- Change the type constraint of distil value functions from
distil(Path)(Type)
todistil(Path, to: Type)
Distillate.filter()
is now computed property.filter
"JSON
became Class object from Struct- Enums are now lowercase
- Some argument labeling rules