Skip to content

Releases: 3lvis/Networking

Networking — 2.7.1

26 Jan 14:11
Compare
Choose a tag to compare

Networking — 2.7.0

16 Jan 13:00
Compare
Choose a tag to compare

Fantastic addition by @marijnschilling, now we have a callback that gets called every time you get a 403 or a 401, so you can easily throw the user out of the app back to the login screen. 💪 #177

Networking — 2.6.2

15 Jan 12:31
Compare
Choose a tag to compare
  • Return request identifiers for download image and download data.

Networking — 2.6.1

05 Jan 18:50
Compare
Choose a tag to compare
  • Fixed cache not working properly for URLs with several parameters

Networking — 2.6.0

05 Jan 09:11
Compare
Choose a tag to compare
  • Adds reset method: cleans up cache and stored credentials

Networking — 2.5.2

17 Dec 15:48
Compare
Choose a tag to compare
  • Changed a few fatalErrors for throws

Networking — 2.5.1

12 Dec 14:25
Compare
Choose a tag to compare
  • Improved URL encoding

Networking — 2.5.0

10 Dec 16:42
Compare
Choose a tag to compare
  • Add support for URL encoded parameters in GET and DELETE
let networking = Networking(baseURL: baseURL)
networking.GET("/get", parameters: ["count": 25]) { json, error in
    let json = json as? [String: Any] ?? [String: Any]()
    XCTAssertEqual(json["url"] as? String, "http://httpbin.org/get?count=25")
}

Networking — 2.4.1

10 Dec 00:06
Compare
Choose a tag to compare
  • Improved .formURLEncoded escaping #162
  • Changed closure JSON to be json, since it's the norm in Swift

Networking — 2.4.0

01 Dec 17:41
Compare
Choose a tag to compare
  • Check for URLError.cancelled.rawValue instead of -999 for cancelled operations.
  • Add disableErrorLogging to skip error logging.