All Versions
14
Latest Version
Avg Release Cycle
103 days
Latest Release
378 days ago

Changelog History
Page 2

  • v4.0.0 Changes

    September 27, 2017

    ๐Ÿ‘ Xcode 9 and Swift 4 support!

    ๐Ÿ’ฅ Breaking changes

    • ๐Ÿ“‡ Renamed disableErrorLogging to isErrorLoggingEnabled
    • ๐Ÿ”„ Changed initializer to use URLSessionConfiguration instead of the custom ConfigurationType.

    Before

    let networking = Networking(baseURL: "http://httpbin.org", configurationType: .default)
    

    After

    var configuration = URLSessionConfiguration.defaultconfiguration.timeoutIntervalForRequest = TimeInterval(60) configuration.timeoutIntervalForResource = TimeInterval(6048000)let networking = Networking(baseURL: "http://httpbin.org", configuration: configuration)
    
  • v3.0.3 Changes

    March 28, 2017
    • โšก๏ธ Update to Swift 3.1 (Xcode 8.3)
  • v3.0.2 Changes

    February 06, 2017
    • โž• Added convenience accessor for the result's error #197

    ๐Ÿ‘‰ Useful for when you don't care about the result but more if there's an error or not.

    Before:

    networking.delete("/user/10") { result inswitch result { case .success:completion(nil) case .failure(let response):completion(response.error) } }
    

    Now:

    networking.delete("/user/10") { result incompletion(result.error) // NSError?}
    
  • v3.0.1 Changes

    February 03, 2017
    • ๐Ÿ›  Fix result crashing when the request was successful but the image or data were malformed. #196