diff --git a/CHANGELOG.md b/CHANGELOG.md index 62c0edeb6..8b7df2842 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one exception: #### 7.x Releases +- `7.9.x` Releases - [7.9.0](#790) - `7.8.x` Releases - [7.8.0](#780) - `7.7.x` Releases - [7.7.0](#770) - [7.7.1](#771) - `7.6.x` Releases - [7.6.0](#760) - [7.6.1](#761) @@ -140,6 +141,37 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one exception: --- +## 7.9.0 + +Released December 13, 2025 + +- **Breaking Change**: Simplify the compiler checks for the availability of SQLite snapshots by [@groue](https://github.com/groue) in [#1826](https://github.com/groue/GRDB.swift/pull/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](https://github.com/groue) in [#1819](https://github.com/groue/GRDB.swift/pull/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`.** + +- **Fixed**: Fix cancellation of async tasks that use the FTS5 full-text engine by [@groue](https://github.com/groue) in [#1839](https://github.com/groue/GRDB.swift/pull/1839) + + This workarounds an [SQLite bug](https://sqlite.org/forum/forumpost/95413eb410) that would trigger a GRDB crash, and improves the robustness of the library regarding database accesses cancellation and database interruption. + +- **New**: Improve the ergonomics of `DatabaseMigrator.registerMigration(_:foreignKeyChecks:merging:migrate)`, introduced in [#1818](https://github.com/groue/GRDB.swift/pull/1818), by accepting that the name of the merged migration is included in the set of merged migrations: + + ```swift + // Used to fail, now OK: + migrator.registerMigration("v3", merging: ["v1", "v2", "v3"]) { ... } + // ~~~~ ~~~~ + + // The above code is equivalent to: + migrator.registerMigration("v3", merging: ["v1", "v2"]) { ... } + ``` + ## 7.8.0 Released October 2, 2025 @@ -4370,7 +4402,7 @@ Released April 3, 2017 **Breaking Changes** -- SQLite C API is now available right from the GRBD module: you don't need any longer to import `SQLiteiPhoneOS` module et al (see documentation for [Raw SQLite Pointers](https://github.com/groue/GRDB.swift#raw-sqlite-pointers)). +- SQLite C API is now available right from the GRDB module: you don't need any longer to import `SQLiteiPhoneOS` module et al (see documentation for [Raw SQLite Pointers](https://github.com/groue/GRDB.swift#raw-sqlite-pointers)). - The [manual installation procedure for WatchOS extensions](https://github.com/groue/GRDB.swift#installation) has changed. - [Carthage](https://github.com/Carthage/Carthage) is no longer supported. At the present time it is unable to support the various frameworks built by GRDB (system SQLite, SQLCipher, custom SQLite builds, etc.) diff --git a/GRDB.swift.podspec b/GRDB.swift.podspec index 5bc4b08c8..5afe361f3 100644 --- a/GRDB.swift.podspec +++ b/GRDB.swift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'GRDB.swift' - s.version = '7.8.0' + s.version = '7.9.0' s.license = { :type => 'MIT', :file => 'LICENSE' } s.summary = 'A toolkit for SQLite databases, with a focus on application development.' diff --git a/README.md b/README.md index 9610f00bf..c374fff6d 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ CI Status

-**Latest release**: October 2, 2025 • [version 7.8.0](https://github.com/groue/GRDB.swift/tree/v7.8.0) • [CHANGELOG](CHANGELOG.md) • [Migrating From GRDB 6 to GRDB 7](Documentation/GRDB7MigrationGuide.md) +**Latest release**: December 13, 2025 • [version 7.9.0](https://github.com/groue/GRDB.swift/tree/v7.9.0) • [CHANGELOG](CHANGELOG.md) • [Migrating From GRDB 6 to GRDB 7](Documentation/GRDB7MigrationGuide.md) **Requirements**: iOS 13.0+ / macOS 10.15+ / tvOS 13.0+ / watchOS 7.0+ • SQLite 3.20.0+ • Swift 6.1+ / Xcode 16.3+ diff --git a/Support/Info.plist b/Support/Info.plist index bd96eed61..95b3afb3f 100644 --- a/Support/Info.plist +++ b/Support/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 7.8.0 + 7.9.0 CFBundleSignature ???? CFBundleVersion