Skip to content

Releases: MrSkwiggs/Netswift

Netswift v0.6.0 - Async/Await Support

13 Dec 05:27
d104b5e
Compare
Choose a tag to compare

What's Changed

  • Feature/async await support by @Deco354 in #34
  • Add requirement for requests with deadlines (time-out) by @MrSkwiggs in #35
  • [BREAKING] NetswiftRequestPerformable now has an additional requirement so that they can be performed with a time-out.
  • NetswiftHTTPMethod.head, a convenience accessor for HEAD http methods.
  • NetswiftRequest.curl, a convenience cURL string generator for any request.

Full Changelog: 0.5.1...0.6.0

Netswift v0.5.1 - Patch

20 Aug 13:08
Compare
Choose a tag to compare

[0.5.1 (202108201]

Changed

  • Marked NetswiftRequest.body(_:) as throws -> Data?

Netswift v0.5.0 - Request Body

20 Aug 12:39
b32d34a
Compare
Choose a tag to compare

[0.5.0 (20210820)]

Added

  • New NetswiftEncoder wrapper protocol for types such as JSONEncoder or PropertyListEncoder (those 2 are already made to conform to NetswiftEncoder)

Changed

  • NetswiftRequest now has new requirements:
    • A bodyEncoder: NetswiftEncoder? var, which can be used to encode any data into the request's httpBody;
    • A body(encodedBy encoder: NetswiftEncoder?) -> Data? function that uses the given encoder to return Data?, if applicable.

Netswift v0.4.0 - Update: HTTP Status Codes in NetswiftError.Category

29 Jun 13:15
58a5cc3
Compare
Choose a tag to compare

Netswift v0.3.1 - Convenience

03 Sep 11:38
572479a
Compare
Choose a tag to compare

[0.3.1 (20200824)]

Changed

  • NetswiftError.Category now conforms to CustomDebugStringConvertible

Netswift v0.3.0 - Update: NetswiftError refactor

25 Feb 11:34
936c836
Compare
Choose a tag to compare

[0.3.0 (20200225)]

Changed

  • NetswiftError has been refactored to always keep track of a network task's response payload, if any is available.
  • NetswiftRequest are now given a chance to intercept and handle a NetswiftError when performed.

Fixed

  • Access control levels for NetswiftHTTPPerformer and NetswiftPerformer have been set to open to allow for overriding and extending.

Netswift v0.2.1 - Update: Cleaning up

09 Feb 16:40
e4d3757
Compare
Choose a tag to compare

[0.2.1 (20200209)]

Added

  • New Changelog file to keep track of updates!
  • JPEG Mime Type
  • NetswiftError now conforms to Equatable

Changed

  • Updated Readme to remove some deprecated stuff
  • Renamed MimeType.plainText to MimeType.text

Fixed

  • Access control for several classes has been made public
  • Fixed a typo for the .mailto Generic Scheme's rawValue
  • Added missing headers in default implementation of NetswiftRequest.serialise()

Netswift v0.2.0 - Update: Use default SPM Platform requirements

17 Jan 09:41
0c992d9
Compare
Choose a tag to compare
🔀 Merge pull request #20 from MrSkwiggs/release/v0.2.0

🚀 Release Update v0.2.0

Netswift v0.1.7 - Update: Sensible Deployment Targets

17 Jan 09:23
c751ed8
Compare
Choose a tag to compare

This update brings sensible deployment targets requirements for Netswift, as iOS 13.3 was unnecessarily restrictive.

I've also fixed some of the examples which did not work as expected anymore.

Netswift v0.1.6 - Update: Now with SPM

16 Jan 15:58
3d1cf3b
Compare
Choose a tag to compare

This update brings support for SPM