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.