You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: upgrade to Swift 6 strict concurrency (swift-tools-version 6.0)
- Bump swift-tools-version from 5.9 to 6.0
- Replace .enableUpcomingFeature("StrictConcurrency") with .swiftLanguageMode(.v6)
- Drop redundant .enableUpcomingFeature("ExistentialAny") (default in Swift 6)
- Add @preconcurrency imports for NIOCore/NIOPosix/NIOSSL across all connection files
- Use channel.eventLoop.submit + syncOperations for NIOSSLHandler and
ByteToMessageHandler (both explicitly mark Sendable unavailable as event-loop-bound types)
- Restructure ClientBootstrap usage to capture value-type host/port instead of
the non-Sendable bootstrap object in the @sendable timeout closure
- Add SQLNioCore/_UnsafeSendable bridge type for safely moving event-loop-bound
NIO handlers across the Swift 6 concurrency boundary into syncOperations calls
- Fix test: use @unchecked Sendable MutableList class for onNotice accumulator
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments