Skip to content

2.0.0

Compare
Choose a tag to compare
@ikesyo ikesyo released this 12 Apr 05:15
· 179 commits to master since this release

This release targets Swift 2.2 / Xcode 7.3.

Breaking

  • Remove DecodedType typealias (associatedtype) from Decodable protocol (#100). You can use required initializer or Transformer API for decoding non-final classes.
  • decode functions are unavailable in favor of decodeValue functions (#109).
  • Update DecodeError.TypeMismatch signature (#110). keyPath associated value is non-optional now. KeyPath.empty could be used instead of nil.
  • build functions are unavailable now (81df7c8).

Added

  • Add some protocol extensions for Decodable (#111).
    • Decodable.decodeValue
    • [Decodable].decode
    • [String: Decodable].decode