GRDB.swift v5.9.0 Release Notes
-
๐ Released August 15, 2021 • diff
- ๐ Fixed: #980 by @jroselightricks: Fix spelling
- ๐ Fixed: #989 by @pp5x: FTS: add support of ifNotExists in synchronize()
- ๐ Fixed: #999:
request(for: association)
no longer crashes when the foreign key contains a NULL value. - ๐ Fixed: #1025 by @mattgallagher: Fix ValueObservation crash
- ๐ Fixed: Fix thread unsafety in
ValueObservation.print()
- ๐ New: The
selectID()
method is now available for [Identifiable Records](README.md#identifiable-records) ๐ New: Cached prepared statements can profit from [SQL Interpolation](Documentation/SQLInterpolation.md):
let updateStatement = try db.cachedStatement(literal: "INSERT ...") // ~~~~~~~
๐ New: #993 by @groue: QueryInterfaceRequest builder with dynamic table/view name
๐ New: Types that adopt both
DatabaseValueConvertible
andCodable
now profit from automatic JSON encoding and decoding.๐ New: #1012 by @ZevEisenberg: Add brackets to urls in doc comments to make them clickable
๐ New: #1019 by @groue: Merge prepared statement types, and introduce statement cursor
๐ Documentation Update: The [Requests](README.md#requests) chapter was updated for the new
Table
type that can build requests without any record type.๐ Documentation Update: The [Custom Value Types](README.md#custom-value-types) chapter was extended about the new support for codable value types encoded as JSON arrays or objects.
๐ Documentation Update: The [Fetching Methods](README.md#fetching-methods) and [Prepared Statements](README.md#prepared-statements) chapters have been updated for the unique
Statement
class, and the newDatabase.allStatements()
method.