Skip to content

Releases: sabapathy7/NetworkKit

1.0.8

26 Aug 03:54
Compare
Choose a tag to compare

🚀 Update & Compatibility Notice

  • InternalImportsByDefault Update:
    Updated InternalImportsByDefault to enableExperimentalFeature in the Swift Package Manager configuration. This change aligns the package with the latest Swift 6 experimental features.
  • Removed Public Import for Combine:
    Removed the public modifier from the Combine import, reflecting the updated internal usage of the library.

⚠️ Compatibility Notice

This release is fully compatible with Swift 6, ensuring that all new concurrency and package management features work as intended. However, it is important to note that this version is not compatible with Swift versions 5.8 to 5.11. If you need support for those versions, please use an earlier version of the package.

📦 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.7...1.0.8

NetworkKit SPM - Version 1.0.7

25 Aug 19:31
Compare
Choose a tag to compare

🚀 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

1.0.6

15 Aug 16:56
1d07e3f
Compare
Choose a tag to compare

What's Changed

README Update: Improved documentation with enhanced details on features, installation, and usage examples to help developers better understand and integrate NetworkKit into their projects.
Test Cases Added: Introduced a set of comprehensive test cases to ensure the reliability and robustness of the network layer. These tests cover key functionalities and edge cases, improving the overall quality of the package.

Full Changelog: 1.0.5...1.0.6

v1.0.5 - Enhanced Error Handling

04 Jul 12:08
290b561
Compare
Choose a tag to compare

This release introduces improved error handling for URL request creation using preconditionFailure. This ensures immediate feedback for critical failures during development, enhancing the robustness and reliability of our framework.

Key Changes:

  • Critical Failure Handling: Switched to preconditionFailure("Failed URLRequest") for better clarity and immediate error detection.
  • Documentation: Updated to reflect new error handling behavior.

Action Required: Review the updated documentation and handle any preconditionFailure errors as critical issues.

Added Async/await

07 Mar 02:01
Compare
Choose a tag to compare
  • Added new method using Async/await - Structured Concurrency
  • Updated the README.md file and added projects used for reference

1.0.3

14 Jan 15:53
Compare
Choose a tag to compare

Added Path Param and Query Param to the EndPoint protocol
Refracted NetworkError - Access Level and added message

1.0.2

13 Jan 12:21
Compare
Choose a tag to compare

Appended Path Params and Query Params to the API.

1.0.1

01 Jan 16:02
Compare
Choose a tag to compare

Powerful network layer seamlessly integrating Combine Framework, Async/Await, and Closures.

Support from Swift Version 5.6