All Versions
267
Latest Version
Avg Release Cycle
15 days
Latest Release
-
Changelog History
Page 24
Changelog History
Page 24
-
v0.34.0 Changes
๐ Released December 14, 2015
๐ New
DatabaseValueConvertible
now inherits fromRowConvertible
.
๐ฅ Breaking Changes
RowConvertible
no longer requires aninit(row:Row)
initializer, but astatic func fromRow(_:Row) -> Self
factory method.- ๐
RowConvertible
dictionary initializers have been removed.
-
v0.33.0 Changes
๐ Released December 11, 2015
๐ New
- The
DatabasePersistable
andMutableDatabasePersistable
protocols grant any adopting type the persistence methods that used to be reserved to subclasses ofRecord
(#12) Database.clearSchemaCache()
๐ฅ Breaking Changes
RecordError
has been renamedPersistenceError
Record.databaseTableName()
now returns a non-optional String.
- The
-
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-optionalStatementArguments
parameter withStatementArguments.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.
- The methods of protocol
-
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.