GRDB.swift v0.21.0 Release Notes
-
๐ Released October 1, 2015
๐ Fixed
RowConvertible.awakeFromFetch(_)
is declared asmutating
.
๐ New
๐ Improved value extraction errors.
Row.hasColumn(_)
๐
RowConvertible
andRecord
get a dictionary initializer for free:class Person: Record { ... } let person = Person(dictionary: ["name": "Arthur", "birthDate": nil])
๐ Improved Foundation support:
Row(dictionary: NSDictionary) Row.toDictionary() -> NSDictionary
๐ Int32 and Int64 enums are supported via DatabaseInt32Representable and DatabaseInt64Representable.
๐ฅ Breaking Changes
TraceFunction
is now defined as(String) -> ()