Skip to content

Releases: ikesyo/Himotoki

1.1.1

20 Oct 04:22
Compare
Choose a tag to compare

This release targets Swift 2.0 / Xcode 7.0.

Bug fixes

  • Fix DecodeError.MissingKeyPath handling thrown from decode() (#53)

1.1.0

15 Oct 03:36
Compare
Choose a tag to compare

This release targets Swift 2.0 / Xcode 7.0.

Enhancements

  • Extractor and KeyPath now conform to CustomStringConvertible (#46, #47)
  • Implement RawRepresentable support (#50)

1.0.0

24 Sep 07:21
Compare
Choose a tag to compare

This release targets Swift 2.0 / Xcode 7.0.

Breaking changes

  • #31 Introduce error handling model. The signatures of decode functions / methods and operators for Extractor are changed to use throws with DecodeError 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 to Equatable.

0.6.3

15 Sep 08:25
Compare
Choose a tag to compare

This release targets Swift 1.2 / Xcode 6.4.

Bug fixes

  • #37 Add necessary import statements to Decodable.swift and Extractor.swift.

0.6.2

12 Sep 12:19
Compare
Choose a tag to compare

This release contains a performance improvement, it is recommended to upgrade to the release!

Enhancements

  • #34 Avoid casting to [String: AnyObject] dictionary for performance improvement.

0.6.1

04 Sep 18:43
Compare
Choose a tag to compare

This release contains a huge performance improvement, it is strongly recommended to upgrade to the release!

Bug fixes

  • #32 Fix performance penalty in Extractor.

Enhancements

  • #32 Improve decodeArray() performance.

0.6.0

30 Aug 02:35
Compare
Choose a tag to compare

Breaking changes

  • #29 Refine build() functions signature. This would make it easy for the compiler to infer the parameters' type. You should now use build() as follows (from README):

    let create = { Group($0) }
    return build(create)(
        e <| "name",
        e <| "floor",
        e <| [ "location", "name" ],
        e <||? "optional"
    )

0.5.2

06 Aug 02:26
Compare
Choose a tag to compare

Enhancements

  • #26 Make Extractor conform to Decodable.

    You can now use a Extractor's rawValue as follows:

     (e <| "raw_value").map { (e: Extractor) in e.rawValue }

0.5.1

02 Jul 03:52
Compare
Choose a tag to compare

Enhancements

  • #20 Add support for various signed/unsigned integer types.

0.5

30 Jun 01:52
Compare
Choose a tag to compare
0.5

Breaking changes

  • #17 Rename some decode functions. This change is for better readability, understandability, and ease of type inference.
    • decode() -> [T]? is now decodeArray().
    • decode() -> [String: T]? is now decodeDictionary().