Skip to content

Releases: 3lvis/Networking

Networking — 2.3.2

30 Oct 18:48
Compare
Choose a tag to compare

Release to support Xcode 8.1 on Carthage

Networking — 2.3.1

27 Oct 15:50
Compare
Choose a tag to compare
  • Improve deprecated messages

Networking — 2.3.0

27 Oct 11:26
Compare
Choose a tag to compare
  • Rename authentication method (#139)
  • Run SwiftFormat (#144)
  • Make public to cancel a single request and add a unit test (#142)
  • Set default parametertype to .none (#146)
  • Make app-extension safe (#152)

Networking — 2.2.0

13 Oct 13:00
Compare
Choose a tag to compare
  • If you provided a path that contained special characters, calling destination URL would crash. #141
  • Refactored, renamed formURLEncodedFormat to urlEncodedString 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

01 Oct 19:56
Compare
Choose a tag to compare
  • 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

18 Sep 21:16
Compare
Choose a tag to compare
  • Moved imageFromCache and dataFromCache 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

18 Sep 20:17
Compare
Choose a tag to compare
  • Move imageFromCache to be synchronous aka less bugs!

Networking — 2.0.0

14 Sep 10:33
Compare
Choose a tag to compare
  • Swift 3 migration.

Networking — 1.1.2

02 Sep 11:32
Compare
Choose a tag to compare

Add support for Swift 2.3.

Networking — 1.1.1

26 Jul 15:53
Compare
Choose a tag to compare
  • Allow returning JSON even if an error is found. (#119)

Thanks @webventil for this contribution. 💐