Releases: 3lvis/Networking
Releases · 3lvis/Networking
Networking — 2.3.2
Release to support Xcode 8.1 on Carthage
Networking — 2.3.1
- Improve deprecated messages
Networking — 2.3.0
Networking — 2.2.0
- If you provided a path that contained special characters, calling destination URL would crash. #141
- Refactored, renamed
formURLEncodedFormat
tourlEncodedString
and made it public
// Returns the parameters in using URL-enconding, for example ["username": "Michael", "age": 20] will become "username=Michael&age=20"
let parameters = ["username": "elvis", "password": "secret"]
let formatted = parameters.urlEncodedString()
// username=elvis&password=secret
- Improved to add support for usage of
Networking
on app extensions. #135
Networking — 2.1.0
- Moved cached files to a different folder, before it was stored on the root of the Documents folder, now is under
com.3lvis.networking
. - Now that we know where files are stored, we can provide a way to wipe them all away.
Networking.deleteCachedFiles()
Networking — 2.0.1
- Moved
imageFromCache
anddataFromCache
to be synchronous. PR here. - Formatted code using SwiftFormat 🎉
- Fixed a bug where a failed request with a wrong JSON parsing would send the error for the wrongly parsed JSON instead of the request error, so you would get status code 3480 instead of 404. Welp, not anymore 😁
Also I want a smoothie, does anyone read this? If you are reading this, I hope you had a kick ass weekend. 👋
Networking — 1.2.0
- Move imageFromCache to be synchronous aka less bugs!
Networking — 2.0.0
- Swift 3 migration.
Networking — 1.1.2
Add support for Swift 2.3.
Networking — 1.1.1
- Allow returning JSON even if an error is found. (#119)
Thanks @webventil for this contribution. 💐