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:)
andfetchOne(:primaryKey:)
methods have been renamedfetch(:keys:)
,fetchAll(:keys:)
andfetchOne(:key:)
.
- The
-
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 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) -> ()
-
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.
- ๐ง The
-
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:)
andRow.dataNoCopy(named:)
.Blob.dataNoCopy
DatabaseValue.dataNoCopy
๐ฅ Breaking Changes
String.fetch...
now returns non-optional values. UseOptional<String>.fetch...
when values may be NULL.