MySQL Swift v0.9.0 Release Notes

Release Date: 2018-05-29 // over 4 years ago
  • We've changed row decoder to Swift.Decodable from QueryRowResultType. #69
    And accepts Encodable type as query parameters.

    โž• Added:

    • Querying with QueryParameterOption (actually TimeZone option)
    • Custom data based type(like JSON, Protobuf) in blob/json column for decoding and encoding
      • Use QueryRowResultCustomData, QueryCustomDataParameter (see this tests.)

    โœ‚ Removed:

    • QueryRowResultType, Use Decodable type instead
    • SQLEnumType, Use QueryRawRepresentableParameter or make conforming your enum to Encodable
    • QueryParameterDictionaryType, Use Encodable type instead

    ๐Ÿ“‡ Renamed:

    • QueryDictionary -> QueryParameterDictionary
    • QueryArray -> QueryParameterArray

    (Thanks @florianreinhart, @patrick-zippenfenig )