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

Changelog History
Page 1

  • v5.1.0 Changes

    October 04, 2020
    • โšก๏ธ Updated to Xcode 12
  • v5.0.3 Changes

    July 08, 2020
    • โœ‚ Remove fatalError from purging cached data #261 thanks to @mkll for pointing out this issue
  • v5.0.2 Changes

    June 06, 2020
    • ๐Ÿ“‡ Renamed Result protocol to NetworkingResult (thanks to @mkll for helping with this!)
  • v5.0.1 Changes

    November 16, 2019
    • ๐Ÿ›  Fixes a crash related to cacheOrPurgeJSON #249 (thanks @aasatt!)
  • v5.0.0 Changes

    April 17, 2019
    • ๐Ÿ‘ Swift 5 and Xcode 10.2 support
  • v4.4.0 Changes

    October 06, 2018

    โž• Adds support for creating a Networking instance without a baseURL #236

    โž• Adds Xcode 10 support #241

  • v4.3.0 Changes

    July 23, 2018
    • ๐Ÿ›  Fixes NetworkActivityIndicator not showing (#222)
    • ๐Ÿ›  Fix Swift 4 warnings (#226)
    • Cache response for GET requests (#230)
    • Introduce more result types (#231)
  • v4.2.0 Changes

    January 02, 2018
    • โž• Added support for PATCH #220
  • v4.1.1 Changes

    November 06, 2017
    • ๐Ÿ›  Fix warnings regarding characters being deprecated in Xcode 9.
  • v4.1.0 Changes

    October 02, 2017

    โž• Added a way to extract the data from the response of a GET, POST, PUT, DELETE request. Before you would be able to access the JSON as dictionary or array, now you can also access the data. This is useful for example if you want to use Networking with JSONDecoder.

    let networking = Networking(baseURL: "http://httpbin.org") networking.get("/get") { result inswitch result { case let .success(response):// response.dictionaryBody -\> JSON // response.data -\> JSON datacase .failure:// Handle error } } 
    

    ๐Ÿ’ฅ In order to achieve this in a clean way I had to modify the JSON enum, while doing this I noticed that the JSON enum was public, it wasn't meant to be public so I've converted it into a protected enum. The biggest breaking change of doing this is that some projects might be making use of the JSON.from(:bundle:) method, now you can access this utility using FileManager.json(from:bundle:).