Himotoki v2.0.0 Release Notes

Release Date: 2016-04-12 // about 8 years ago
  • 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