Wormholy 2.0.0 is a major rewrite of the library with significant improvements and new features to enhance your network debugging experience on iOS.
New Features
- SPM Integration: Seamlessly integrate Wormholy into your project using Swift Package Manager.
- Network Traffic Statistics View: Analyze networking stats with detailed breakdowns of HTTP methods, status code distributions, error types, response size stats, and more for precise debugging insights.
- SwiftUI Rewrite: The entire library has been rewritten using SwiftUI, offering improved performance and a modern interface.
- Status Code Filtering: Easily filter responses by status code to streamline your debugging process.
- Wormholy now requires iOS 16+. If you still support iOS 15 or below, please use release 1.7.0.
Enhancements
- Improved Cache Handling: Enhanced handling of
urlSession(_:dataTask:didReceive:completionHandler:)
to accurately set cache storage policies based on URLRequest cache policies. Adjustments made tocanInit(with:)
to properly skip API calls when usingNSURLRequestReturnCacheDataElseLoad
orNSURLRequestReturnCacheDataDontLoad
. - Enable/Disable Tracking: Introduced the
setEnabled
method to toggle Wormholy tracking, allowing you to easily disable it in different environments for better control.
Important Notes
- It is recommended to remove Wormholy before releasing apps to production to maintain optimal performance and security.