What's Changed
Modernize for Swift 6.1 by @gwynne in #109
Changes:
- The minimum required Swift version is now 6.1
- Imports
FoundationEssentialsinstead ofFoundationwhen possible.- Queries made via the Concurrency-based API now follow a considerably more efficient code path which completely bypasses event loops.
- Date handling now uses
Date.ISO8601FormatStylewhen available instead ofISO8601DateFormatter. Where not available (should never happen in practice), falls back on extremely simplistic manual parsing that nonetheless (surprisingly) works.- All TSan complaints about data races have been addressed.
- The tests are use SwiftTesting instead of XCTest.
- Replaces the use of
IntinSQLiteDatawith the typealiasSQLiteInt64. There is no API breakage on 64-bit platforms (which are the only ones currently supported at this time), as the type has not actually changed. This improves future support for 32-bit platforms.
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 1.12.10...1.13.0