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)