GRDB.swift Versions Save

A toolkit for SQLite databases, with a focus on application development

v6.27.0

3 weeks ago

A new release of the Swift toolkit for SQLite databases.

  • Fixed: #1533 by @groue: Fix a bug in Decodable support
  • Documentation Update: #1534 The Single-Row Tables guide was updated with guidance about default configuration values.
  • Documentation Update: #1535 The ValueObservation Scheduling documentation chapter explains the default behavior of ValueObservation fetches, and explains how to make sure they are never performed on the main thread.

v6.26.0

1 month ago

A new release of the Swift toolkit for SQLite databases.

  • New: #1503 by @simba909: Conform Database.ColumnType to Sendable
  • New: #1510 by @groue: Add Sendable conformances and unavailabilities
  • New: #1511 by @groue: Database schema dump
  • New: #1515 by @groue: Support for the CAST SQLite function
  • Fixed: #1508 by @groue: Fix ValueObservation mishandling of database schema modification
  • Fixed: #1512: Decoding errors are now correctly reported when decoding NULL into a non-optional property of type Data or Date.

v6.25.0

2 months ago

A new release of the Swift toolkit for SQLite databases.

  • New: #1496 by @danielepantaleone: Add privacy manifest file.

    A PrivacyInfo.xcprivacy resource was added to the GRDB SPM package and Xcode projects. It declares that GRDB does not collect anything.

v6.24.2

3 months ago

A new release of the Swift toolkit for SQLite databases.

  • Documentation Update: #1485: The Sharing a Database guide was updated with a new recommendation for databases shared between multiple processes. Writers should always perform IMMEDIATE transactions in order to avoid the SQLITE_BUSY error that can occur when transactions overlap. The new recommendation fits in a single line of code: configuration.defaultTransactionKind = .immediate.
  • New: Associations that involve views instead of tables were already supported, with an explicit ForeignKey in their definition. When the foreign key is missing, a clear diagnostic message is now emitted, instead of an unhelpful "no such table" runtime error.

Changes from 6.24.1 and 6.24.0:

  • Fixed: #1477: Remove shadow tables from database dump
  • New: #1466 by @barnettben: Add schema name option to database introspection methods

v6.24.1

4 months ago

A new release of the Swift toolkit for SQLite databases.

  • Fixed: #1477: Remove shadow tables from database dump

Changes from 6.24.0:

  • New: #1466 by @barnettben: Add schema name option to database introspection methods

v6.24.0

4 months ago

A new release of the Swift toolkit for SQLite databases.

  • New: #1466 by @barnettben: Add schema name option to database introspection methods

v6.23.0

5 months ago
  • New: #1462 Temporary read-only access

v6.22.0

5 months ago
  • New: #1452 by @groue: Bump SQLite custom builds to 3.44.0. Add support for FILTER and ORDER BY clauses in aggregate functions.
  • New: #1460 by @groue: Explicit change notifications help applications deal with undetected database changes.
  • Documentation Update: The documentations of ValueObservation, DatabaseRegionObservation, and TransactionObserver have a new "Dealing with Undetected Changes" section that documents possible strategies for notifying applications of undetected database changes.

v6.21.0

6 months ago
  • New: #1448 by @groue: Add support for stable ordering and dump of views
  • New: #1449 by @groue: Backport temporary copies from GRDBSnapshotTesting

v6.20.2

7 months ago
  • Fixed: #1442 by @groue: Extend the macOS availability of JSON functions

Inherited from 6.20.1:

  • Fixed: Removed a debug print
  • New: #1439 by @groue: Dump requests
  • New: QueryInterfaceRequest.withStableOrder() returns a request with well-defined order, suitable for tests.