From 064f1005e5372ea7989fae70fbdb82ad66cdfdff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 17 Nov 2018 19:12:20 +0100 Subject: [PATCH] CHANGELOG --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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