From 9abc657f1180754e0d0be707f2edcedb69e238aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 6 Sep 2015 17:06:29 +0200 Subject: [PATCH] RELEASE_NOTES.md --- RELEASE_NOTES.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 5fc10e6a7..f87a6869f 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -8,11 +8,15 @@ Release Notes - `RowConvertible` and `DatabaseTableMapping` protocols grant any type the fetching methods that used to be a privilege of `RowModel`. - `Row.columnNames` returns the names of columns in the row. - `Row.databaseValues` returns the database values in the row. -- `Blob.init(bytes:length:)` +- `Blob.init(bytes:length:)` is a new initializer. +- `NSDate` adopts `DatabaseValueConvertible`. +- `NSData` adopts `DatabaseValueConvertible`. **Breaking changes** -- `Blob.init(_ data: NSData)` has been renamed `Blob.init(data: NSData)` +- `DatabaseDate` has been removed. +- `DatabaseValueConvertible`: `init?(databaseValue:)` has been replaced by `static func fromDatabaseValue(_) -> Self?` +- `Blob.init(_)` has been renamed `Blob.init(data:)` - `RowModel.edited` has been renamed `RowModel.databaseEdited`. - `RowModel.databaseTable` has been replaced with `RowModel.databaseTableName()` which returns a String. - `RowModel.setDatabaseValue(_:forColumn:)` has been removed. Use and override `RowModel.updateFromRow(_)` instead.