GRDB.swift v0.21.0 Release Notes

  • ๐Ÿš€ Released October 1, 2015

    ๐Ÿ›  Fixed

    • RowConvertible.awakeFromFetch(_) is declared as mutating.

    ๐Ÿ†• New

    • ๐Ÿ‘Œ Improved value extraction errors.

    • Row.hasColumn(_)

    • ๐Ÿ†“ RowConvertible and Record 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) -> ()