diff --git a/CHANGELOG.md b/CHANGELOG.md index f57e685e3..135c6e435 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ Release Notes ### New +- [#442](https://github.com/groue/GRDB.swift/pull/442): Reindex + + ```swift + // Deletes and recreates from scratch all indices that use this + // locale-dependent collation. + try db.reindex(collation: .localizedCompare) + ``` + - ValueObservation has three new factory methods that accept an array of database regions, and complete the existing variadic methods (addresses [#441](https://github.com/groue/GRDB.swift/issues/441)): ```swift @@ -16,6 +24,15 @@ Release Notes - ValueReducer, the protocol that fuels ValueObservation, is flagged [**:fire: EXPERIMENTAL**](README.md#what-are-experimental-features). It will remain so until more experience has been acquired. +### API diff + +```diff + extension Database { ++ func reindex(collation: Database.CollationName) throws ++ func reindex(collation: DatabaseCollation) throws + } +``` + ## 3.5.0