From fd65e72bbb7f319edf5ee4b6db3c2fed0af1251f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 14 Jan 2018 19:41:05 +0100 Subject: [PATCH] CHANGELOG --- CHANGELOG.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e29bb2bc3..9378ff519 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,11 +3,22 @@ Release Notes ## Next Version -**New** +### New +- `TransactionObserver.ignoreDatabaseChangesUntilNextTransaction` allows transaction observers to stop observing the database for the remaining extent of a transaction. +- GRDB no longer prevents the [truncate optimization](https://www.sqlite.org/lang_delete.html#truncateopt) when no transaction observers are interested in deleted rows. - `Row` adopts RandomAccessCollection +### API diff + +```diff ++extension TransactionObserver { ++ func ignoreDatabaseChangesUntilNextTransaction() ++} +``` + + ## 2.5.0 Released January 11, 2018 • [diff](https://github.com/groue/GRDB.swift/compare/v2.4.2...v2.5.0)