Hello Swift Community,
Version 5.6.0 of GRDB, the toolkit for SQLite databases, is out!
In this release:
-
Fixed: #933: Fix DatabaseMigrator.eraseDatabaseOnSchemaChange in the context of shared databases
-
Fixed: #934: Fix a crash in the ValueObservation Combine publisher
-
New: #936: Complete Associations and the DerivableRequest Protocol
-
New: Database cursors can feed more standard Swift collections: Array(cursor, minimumCapacity: ...), Dictionary(uniqueKeysWithValues: cursor), etc (see Cursors).
-
Documentation update: The Associations Guide has gained a new Further Refinements to Associations chapter which shows the new association methods brought by #936.
-
Documentation update: The Good Practices for Designing Record Types guide has an updated Define Record Requests chapter, now that the DerivableRequest protocol has access to limit, distinct, group, having, association aggregates, and common table expressions.
-
Documentation update: The Good Practices for Designing Record Types guide has a new chapter of good practices: Record Types Hide Intimate Database Details.
-
Documentation update: A new Single-Row Tables guide provides guidance for designing tables that store configuration values, user preferences, and generally some global application state.
For more details, see the complete Release Notes.
Happy GRDB!
2 Likes