mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
CHANGELOG
This commit is contained in:
1 parent
53adad16e5
commit
064f1005e5
1 file changed
+17
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user