diff --git a/Documentation/GRDB6MigrationGuide.md b/Documentation/GRDB6MigrationGuide.md new file mode 100644 index 000000000..836cdaa74 --- /dev/null +++ b/Documentation/GRDB6MigrationGuide.md @@ -0,0 +1,13 @@ +Migrating From GRDB 5 to GRDB 6 +=============================== + +**This guide aims at helping you upgrading your applications from GRDB 5 to GRDB 6.** + +- [Preparing the Migration to GRDB 6](#preparing-the-migration-to-grdb-6) + + +## Preparing the Migration to GRDB 6 + +If you haven't made it yet, upgrade to the [latest GRDB 5 release](https://github.com/groue/GRDB.swift/tags) first, and fix any deprecation warning prior to the GRDB 6 upgrade. + +You can then upgrade to GRDB 6. Due to the breaking changes, it is possible that your application code no longer compiles. Follow the fix-its that suggest simple syntactic changes. Other modifications that you need to apply are described below. diff --git a/README.md b/README.md index d9a5e8b45..7c3cc6c1c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ --- -**Latest release**: July 9, 2022 • [version 5.26.0](https://github.com/groue/GRDB.swift/tree/v5.26.0) • [CHANGELOG](CHANGELOG.md) • [Migrating From GRDB 4 to GRDB 5](Documentation/GRDB5MigrationGuide.md) +**Latest release**: July 9, 2022 • [version 5.26.0](https://github.com/groue/GRDB.swift/tree/v5.26.0) • [CHANGELOG](CHANGELOG.md) • [Migrating From GRDB 5 to GRDB 6](Documentation/GRDB6MigrationGuide.md) **Requirements**: iOS 11.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+ • SQLite 3.8.5+ • Swift 5.3+ / Xcode 12+ @@ -360,7 +360,7 @@ Documentation #### General Guides & Good Practices - :bulb: [Good Practices for Designing Record Types](Documentation/GoodPracticesForDesigningRecordTypes.md) -- :bulb: [Migrating From GRDB 4 to GRDB 5](Documentation/GRDB5MigrationGuide.md) +- :bulb: [Migrating From GRDB 5 to GRDB 6](Documentation/GRDB6MigrationGuide.md) - :bulb: [Issues tagged "best practices"](https://github.com/groue/GRDB.swift/issues?q=is%3Aissue+label%3A%22best+practices%22) - :question: [Issues tagged "question"](https://github.com/groue/GRDB.swift/issues?utf8=✓&q=is%3Aissue%20label%3Aquestion) - :blue_book: [Why Adopt GRDB?](Documentation/WhyAdoptGRDB.md)