GRDB.swift v0.5.0 Release Notes

  • ๐Ÿš€ Released July 22, 2015

    ๐Ÿ†• New

    • DatabaseDate handles storage of NSDate in the database.
    • DatabaseDateComponents handles storage of NSDateComponents in the database.

    ๐Ÿ›  Fixed

    • โšก๏ธ RowModel.save(db) calls RowModel.insert(db) or RowModel.update(db) so that eventual overridden versions of insert or update are invoked.
    • QueryArguments(NSArray) and QueryArguments(NSDictionary) now accept NSData elements.

    ๐Ÿ’ฅ Breaking changes

    • "Bindings" has been renamed "QueryArguments", and bindings parameters renamed arguments.
    • Reusable statements no longer expose any setter for their arguments property, and no longer accept any arguments in their initializer. To apply arguments, give them to the execute() and fetch() methods.
    • RowModel.isEdited and RowModel.setEdited() have been replaced by the RowModel.edited property.