NetworkKit SPM - Version 1.0.7
🚀 New Features & Enhancements
- StrictConcurrency Support:
Added swiftSettings to enable complete concurrency checks under StrictConcurrency by utilizing the enableUpcomingFeature flag. This ensures that your networking code is future-proof and ready for the advanced concurrency features in Swift 6. - Swift 6 Compatibility:
Updated the minimum Swift version requirement to 5.8. This prepares the package for Swift 6, ensuring that users can leverage the latest Swift advancements. - @ Sendable Closures:
Enhanced the networking methods by updating the @ escaping closures with the @ Sendable attribute. This change aligns with the StrictConcurrency feature flag, promoting safer concurrency in your Swift code. - Internal Imports by Default:
Added support for the upcoming InternalImportsByDefault feature in Swift Package Manager. This enhancement improves encapsulation within the package and resolves potential issues related to internal imports.
🛠 Bug Fixes
• Combine Framework Imports:
Resolved issues related to InternalImportsByDefault by adding public access to import the Combine framework. This fix ensures that all public-facing APIs remain accessible and functional.
📦 How to Update
To update to this new version, modify your Package.swift as follows:
.package(url: "https://github.com/yourusername/NetworkKit.git", from: "1.0.7")
🧪 Swift 6 Tests on SwiftPackageIndex
This release is now available on SwiftPackageIndex and has been tested for compatibility with Swift 6. We recommend updating your projects to this version to take advantage of the new concurrency features and improvements.
Full Changelog: 1.0.6...1.0.7