All Versions
267
Latest Version
Avg Release Cycle
15 days
Latest Release
-

Changelog History
Page 24

  • v0.34.0 Changes

    ๐Ÿš€ Released December 14, 2015

    ๐Ÿ†• New

    • DatabaseValueConvertible now inherits from RowConvertible.

    ๐Ÿ’ฅ Breaking Changes

    • RowConvertible no longer requires an init(row:Row) initializer, but a static func fromRow(_:Row) -> Self factory method.
    • ๐Ÿšš RowConvertible dictionary initializers have been removed.
  • v0.33.0 Changes

    ๐Ÿš€ Released December 11, 2015

    ๐Ÿ†• New

    • The DatabasePersistable and MutableDatabasePersistable protocols grant any adopting type the persistence methods that used to be reserved to subclasses of Record (#12)
    • Database.clearSchemaCache()

    ๐Ÿ’ฅ Breaking Changes

    • RecordError has been renamed PersistenceError
    • Record.databaseTableName() now returns a non-optional String.
  • v0.32.2 Changes

    ๐Ÿš€ Released December 3, 2015

    ๐Ÿ›  Fixed

    • โšก๏ธ Errors thrown by update statements expose the correct statement arguments.
  • v0.32.1 Changes

    ๐Ÿš€ Released December 2, 2015

    ๐Ÿ›  Fixed

    • DatabaseCollation did incorrectly process strings provided by sqlite.
  • v0.32.0 Changes

    ๐Ÿš€ Released November 23, 2015

    ๐Ÿ†• New

    • DatabaseCollation let you inject custom string comparison functions into SQLite.
    • DatabaseValue adopts Hashable.
    • DatabaseValue.isNull is true if a database value is NULL.
    • DatabaseValue.storage exposes the underlying SQLite storage (NULL, INTEGER, REAL, TEXT, BLOB).
  • v0.31.0 Changes

    ๐Ÿš€ Released November 19, 2015

    ๐Ÿ†• New

    • DatabaseFunction lets you define custom SQL functions.
  • v0.30.0 Changes

    ๐Ÿš€ Released November 17, 2015

    ๐Ÿ›  Fixed

    • Prepared statements won't execute unless their arguments are all set.
  • v0.29.0 Changes

    ๐Ÿš€ Released November 14, 2015

    ๐Ÿ†• New

    • DatabaseValue.init?(object: AnyObject) initializer.
    • 0๏ธโƒฃ StatementArguments.Default is the preferred sentinel for functions that have an optional arguments parameter.

    ๐Ÿ’ฅ Breaking Changes

    • Row.init?(dictionary: NSDictionary) is now a failable initializer which returns nil if the NSDictionary contains invalid values.
    • RowConvertible.init?(dictionary: NSDictionary) is now a failable initializer which returns nil if the NSDictionary contains invalid values.
    • StatementArguments.init?(_ array: NSArray) is now a failable initializer which returns nil if the NSArray contains invalid values.
    • StatementArguments.init?(_ dictionary: NSDictionary) is now a failable initializer which returns nil if the NSDictionary contains invalid values.
    • 0๏ธโƒฃ All methods that used to have an StatementArguments? parameter with nil default value now have a non-optional StatementArguments parameter with StatementArguments.Default as a default value. This makes sure failable StatementArguments initializers don't let invalid inputs sneak in your queries.
  • v0.28.0 Changes

    ๐Ÿš€ Released November 13, 2015

    ๐Ÿ’ฅ Breaking Change

    • The methods of protocol TransactionObserverType are no longer optional.
  • v0.27.0 Changes

    ๐Ÿš€ Released November 4, 2015

    ๐Ÿ†• New

    • DatabaseCoder reads and stores objects that conform to NSCoding in the database.
    • Database.inTransaction() executes a block inside a database transaction.
    • DatabaseMigrator.registerMigrationWithoutForeignKeyChecks() let you make arbitrary changes to the database schema, as described at https://www.sqlite.org/lang_altertable.html#otheralter.

    ๐Ÿ’ฅ Breaking Changes

    • Record.delete returns a Bool which tells whether a database row was deleted or not.