Skip to content

1.13.0 - Modernize for Swift 6.1

Latest

Choose a tag to compare

@penny-for-vapor penny-for-vapor released this 28 Jul 10:50
553a6be

What's Changed

Modernize for Swift 6.1 by @gwynne in #109

Changes:

  • The minimum required Swift version is now 6.1
  • Imports FoundationEssentials instead of Foundation when 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.ISO8601FormatStyle when available instead of ISO8601DateFormatter. 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 Int in SQLiteData with the typealias SQLiteInt64. 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