Releases: mitchtreece/Spider
Releases · mitchtreece/Spider
2.3.3 - Exported Espresso Types
- Added exported imports for:
Espresso.JSON
Espresso.JSONRepresentable
Espresso.URLRepresentable
2.3.2 - Granular Imports
- Minimum iOS version updated to 15
- Migrated from
EspressoLibSupport
to granular type imports
2.3.1 - macOS Support
- Added support for macOS 13
2.3.0 - iOS 17 & Xcode 15
- iOS 17 & Xcode 15 support
2.2.1 - Exported Imports
- Added exported imports for:
Foundation
,UIKit
,Kingfisher
, &PromiseKit
2.2.0 - SPM Support 📦
- Migrated from CocoaPods → SPM
- Project cleanup & organization updates
- Renamed
EventSource
→RemoteEventStream
2.1.0 - Async/Await & SSE
- Swift async/await support
- SSE support via
EventSource
- Dependency updates
2.0.1
Fixed bug where custom request header fields weren't being set properly.
2.0.0 🎉
2.0.0 is here! Lot's of great quality-of-life changes, syntax updates, & new features
Naming changes
Lot's of swifty naming changes across the board:
SpiderRequest
&SpiderResponse
→Request
&Response
SpiderMultipartRequest
→MultipartRequest
Body
Headers
New Request System
The request execution system has been completely re-written! When asking Spider to perform a request, a RequestWorker
is now created and returned. Request workers manage the execution & serialization of requests & responses. This new system let's us write network calls declaratively:
Spider.web
.get("https://path/to/endpoint")
.json { response in
...
}
Other Stuff:
- Better error handling
- Concrete HTTP error codes
- Response middleware
- Reachability notifications
- Response debug helpers
- Cancellable requests
- ...And much more!
UISpider Bug Fixes
UIImageView.setImage(...)
no longer clears the current image when loading a bad web image.