GRDB.swift v4.5.0 Release Notes
Release Date: 2019-10-15 // over 4 years ago-
๐ Released October 15, 2019 • diff
๐ Fixed
- ๐ง The
DatabaseMigrator.eraseDatabaseOnSchemaChange
option no longer fails when migrations depend on database configuration. - ๐ Fixed
DatabasePool.reentrantRead
which was not actually reentrant. - ๐ #631: Fix custom SQLite builds
- ๐ #632 by @runhum: Fix documentation typo
๐ New
- #622: Allow observation of FTS4 virtual tables
- ๐ฆ #627: Swift Package Manager: define SQLite as a system library target
- #633: SQLITE_ENABLE_PREUPDATE_HOOK support with CocoaPods
- #635: Sunset FetchedRecordsController
๐ Documentation Diff
The [Support for SQLite Pre-Update Hooks](README.md#support-for-sqlite-pre-update-hooks) chapter has been updated with a way to enable extra GRDB APIs for the SQLITE_ENABLE_PREUPDATE_HOOK option with CocoaPods.
๐ The [Demo Application](Documentation/DemoApps/GRDBDemoiOS) no longer uses [FetchedRecordsController](Documentation/FetchedRecordsController.md), which has been sunsetted. Instead, it tracks database changes with [ValueObservation](README.md#valueobservation), and animates its table view with the Swift built-in difference(from:) method.
- ๐ง The