Skip to content

Release 0.1.2 – Swift Concurrency Compatibility Fix

Latest
Compare
Choose a tag to compare
@Blejator90 Blejator90 released this 04 Dec 23:04

What’s New

  • Resolved unsafe build flag warnings by conditionally enabling experimental Swift 6 features:
    • StrictConcurrency: Enforces stricter concurrency rules for better safety and future-proofing.
    • ExistentialAny: Prepares for upcoming changes to the way existential types are handled.
    • InferSendableFromCaptures: Improves concurrency handling by inferring Sendable for captured values.
  • Maintains backward compatibility with earlier Swift versions by applying these settings only for Swift 6 and newer.

Installation

To use this version, update your Package.swift to reference the latest version:

.package(url: "https://github.com/blejator90/SwiftPagination.git", from: "0.1.2")