All Versions
14
Latest Version
Avg Release Cycle
103 days
Latest Release
1436 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v5.1.0 Changes
October 04, 2020- โก๏ธ Updated to Xcode 12
-
v5.0.3 Changes
July 08, 2020 -
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 -
v5.0.0 Changes
April 17, 2019- ๐ Swift 5 and Xcode 10.2 support
-
v4.4.0 Changes
October 06, 2018 -
v4.3.0 Changes
July 23, 2018 -
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 usingFileManager.json(from:bundle:)
.