From 9eda86eb29a5fb6fbe3cc6d5793de61eb405bd04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 8 Apr 2016 13:17:15 +0200 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index adf10f310..560934035 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,31 @@ Released April 8, 2016 If you are interested in the reasons behind a change that may look like a regression, read https://medium.com/@gwendal.roue/four-different-ways-to-handle-sqlite-concurrency-db3bcc74d00e. +- The following methods have changed their signatures: + + ```swift + protocol MutablePersistable { + mutating func insert(db: Database) throws + func update(db: Database) throws + mutating func save(db: Database) throws + func delete(db: Database) throws -> Bool + func exists(db: Database) -> Bool + } + + protocol Persistable { + func insert(db: Database) throws + func save(db: Database) throws + } + + class Record { + func insert(db: Database) throws + func update(db: Database) throws + func save(db: Database) throws + func delete(db: Database) throws -> Bool + func exists(db: Database) -> Bool + } + ``` + ## 0.56.2