github groue/GRDB.swift v7.9.0

2 days ago

A new release of the Swift toolkit for SQLite databases.

What's Changed

  • BREAKING CHANGE: Simplify the compiler checks for the availability of SQLite snapshots by @groue in #1826

    This change aims at easing Linux and Android compatibility.

    The library requirements are raised to Swift 6.1+, Xcode 16.3+.

  • BREAKING CHANGE: Accept multiple SQLCipher libraries by @groue in #1819

    This change aims at easing building GRDB against various SQLCipher flavors.

    The compiler flag that enables new GRDB APIs for SQLCipher is now SQLITE_HAS_CODEC.

  • Fix cancellation of async tasks that use the FTS5 full-text engine. by @groue in #1839

    This workarounds an SQLite bug that would trigger a GRDB crash, and improves the robustness of the library regarding cancellation and interruption of database accesses.

  • Improve the ergonomics of DatabaseMigrator.registerMigration(_:foreignKeyChecks:merging:migrate) by accepting that the name of the merged migration is included in the set of merged migrations:

    // Used to fail, now OK:
    migrator.registerMigration("v3", merging: ["v1", "v2", "v3"]) { ... }
    //                         ~~~~                        ~~~~
    
    // The above code is equivalent to:
    migrator.registerMigration("v3", merging: ["v1", "v2"]) { ... }

Full Changelog: v7.8.0...v7.9.0

Don't miss a new GRDB.swift release

NewReleases is sending notifications on new releases.