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

Changelog History
Page 25

  • v0.26.1 Changes

    ๐Ÿš€ Released October 31, 2015

    ๐Ÿ›  Fixed repository mess introduced by 0.26.0

  • v0.26.0 Changes

    ๐Ÿš€ Released October 31, 2015

    ๐Ÿ’ฅ Breaking Changes

    • The fetch(:primaryKeys:), fetchAll(:primaryKeys:) and fetchOne(:primaryKey:) methods have been renamed fetch(:keys:), fetchAll(:keys:) and fetchOne(:key:).
  • v0.25.0 Changes

    ๐Ÿš€ Released October 29, 2015

    ๐Ÿ›  Fixed

    • Record.reload(_) is no longer a final method.
    • GRDB always crashes when you try to convert a database NULL to a non-optional value.

    ๐Ÿ†• New

    • CGFloat can be stored and read from the database.
    • Person.fetch(_:primaryKeys:) returns a sequence of objects with matching primary keys.
    • Person.fetchAll(_:primaryKeys:) returns an array of objects with matching primary keys.
    • Person.fetch(_:keys:) returns a sequence of objects with matching keys.
    • Person.fetchAll(_:keys:) returns an array of objects with matching keys.
  • v0.24.0 Changes

    ๐Ÿš€ Released October 14, 2015

    ๐Ÿ›  Fixed

    • โช Restored iOS 7 compatibility
  • v0.23.0 Changes

    ๐Ÿš€ Released October 13, 2015

    ๐Ÿ†• New

    • Row() initializes an empty row.

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿšš NSData is now the canonical type for blobs. The former intermediate Blob type has been removed.
    • ๐Ÿšš DatabaseValue.dataNoCopy() has turned useless, and has been removed.
  • v0.22.0 Changes

    ๐Ÿš€ Released October 8, 2015

    ๐Ÿ†• New

    • Database.sqliteConnection: the raw SQLite connection, suitable for SQLite C API.
    • โœ… Statement.sqliteStatement: the raw SQLite statement, suitable for SQLite C API.
  • v0.21.0 Changes

    ๐Ÿš€ 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) -> ()
  • v0.20.0 Changes

    ๐Ÿš€ Released September 29, 2015

    ๐Ÿ†• New

    • ๐Ÿ‘Œ Support for NSURL

    ๐Ÿ’ฅ Breaking Changes

    • โช The improved TransactionObserverType protocol lets adopting types modify the database after a successful commit or rollback, and abort a transaction with an error.
  • v0.19.0 Changes

    ๐Ÿš€ Released September 28, 2015

    ๐Ÿ†• New

    • ๐Ÿ”ง The Configuration.transactionObserver lets you observe database changes.
  • v0.18.0 Changes

    ๐Ÿš€ Released September 26, 2015

    ๐Ÿ›  Fixed

    • It is now mandatory to provide values for all arguments of an SQL statement. GRDB used to assume NULL for missing ones.

    ๐Ÿ†• New

    • Row.dataNoCopy(atIndex:) and Row.dataNoCopy(named:).
    • Blob.dataNoCopy
    • DatabaseValue.dataNoCopy

    ๐Ÿ’ฅ Breaking Changes

    • String.fetch... now returns non-optional values. Use Optional<String>.fetch... when values may be NULL.