Releases: freshOS/Networking
Releases · freshOS/Networking
2.1.0 - Swift 6
03 Nov 11:09
Compare
Sorry, something went wrong.
No results found
Adds PrivacyInfo.xcprivacy
06 Mar 07:33
Compare
Sorry, something went wrong.
No results found
2.0.3
Copy PrivacyInfo.xcprivacy resource on target build
2.0.2-beta
15 Nov 01:10
Compare
Sorry, something went wrong.
No results found
Replaces POST PUT PATCH params by body parameter with an enum (.urlEncode | .json | .multipart)
1.2.4
14 Nov 00:40
Compare
Sorry, something went wrong.
No results found
Adds POST, PUT, PATCH Encodable body.
Example:
let data : Data = try await network. post ( " /users " , body: Credentials ( username: " john " , password: " doe " ) )
where Credentials conforms to the Encodable protocol.
1.2.1
29 Apr 10:28
Compare
Sorry, something went wrong.
No results found
Fixes async await continuation error.
1.2.0
28 Apr 09:29
Compare
Sorry, something went wrong.
No results found
Adds jsonDecoderFactory to provide your own JSONDecoder.
network. jsonDecoderFactory = {
let decoder = JSONDecoder ( )
let df = DateFormatter ( )
df. locale = Locale ( identifier: " en_US_POSIX " )
df. dateFormat = " yyyy-MM-dd'T'HH:mm:ssZZZZZ "
decoder. dateDecodingStrategy = . formatted( df)
return decoder
}
1.1.1
13 Apr 13:16
Compare
Sorry, something went wrong.
No results found
Async-Await api is here 🎉
1.1.0
12 Apr 15:38
Compare
Sorry, something went wrong.
No results found
async-await api is here !
1.0.0
07 Apr 09:14
Compare
Sorry, something went wrong.
No results found
Fixes naming issues detailed here #42
Includes #43 Thanks @elijah-rappaport
Bumps to 1.0.0, this has now been used in many production apps long enough 🚀
0.3.5
28 Nov 18:48
Compare
Sorry, something went wrong.
No results found
Fixes "?" added at the end of GET requests without any params. Found by @adomingd and fixed by @workingDog