Skip to content

Releases: MrSkwiggs/Netswift

Netswift v1.1.1 - Better error logs

19 Sep 14:22
2b45629
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.1.0...1.1.1

Netswift v1.1.0 - MacOS 12 support

01 Sep 07:37
8766031
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.1...1.1.0

Netswift v1.0.1

20 Jul 11:06
82e18cf
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.0...1.0.1

Netswift v1.0.0 - Request Body

14 Jul 10:32
a8bc49a
Compare
Choose a tag to compare

This version introduces breaking changes.

Body

NetswiftRequest now introduces a Body associated type which can then be used for encoding. This removes the need for implementing func body(encodedBy encoder: Encoder) -> Data? and instead replaces it with a var body: Body? requirement (which is nil
by default).

When Body conforms to Codable, default implementations have been implemented with JSONEncoder

URLQueryItems

NetswiftRoute now replaces the var query: String? requirement with var queryItems: [URLQueryItems]? instead. This should hopefully reduce friction as most real life implementations deferred to URLQueryItem anyways.

What's Changed

  • 💥 Add Body & use URLQueryItems instead of String? query by @MrSkwiggs in #45

Full Changelog: 0.9.0...1.0.0

Netswift v0.9.0 - Linux

23 Jun 15:05
fd60df1
Compare
Choose a tag to compare

This version introduces changes that should allow compatibility with building Netswift on Linux

What's Changed

Full Changelog: 0.8.0...0.9.0

Netswift v0.8.0 - Sanitized Version Requirements

22 Jun 09:30
f050aa3
Compare
Choose a tag to compare

There were some discrepancies with how Async/Await related parts of the codebase required minimum versions. This has now been fixed.

What's Changed

Full Changelog: 0.7.1...0.8.0

Netswift v0.7.1 - Error debug description

22 Jun 08:55
d53d475
Compare
Choose a tag to compare

What's Changed

  • ♻️ Print error.payload in debug description by @MrSkwiggs in #42

Full Changelog: 0.7.0...0.7.1

Netswift v0.7.0 - Platforms

01 Feb 15:10
a36ec8f
Compare
Choose a tag to compare

Added

  • Support for macOS 12.0, iOS 15.0, tvOS 15.0 & watchOS 8.0
  • NetswiftHeaders type, consolidates headers definition
  • Basic token & custom Auth types
  • hook(into: URLRequest) on NetswiftPerformer
  • port can now be specified on routes
  • scheme now uses NetswiftScheme type, with support for custom schemes
  • Added 422 status code handling

Changed

  • URL instantiation now uses URLComponents
  • Request Headers are now handled as a Set

History

Full Changelog: 0.6.2...0.7.0

Netswift v0.6.2

25 Jan 09:06
7a35dcd
Compare
Choose a tag to compare

What's Changed

  • Made variables under NetswiftNetworkPerformer & NetswiftHTTPPerformer public
  • 🚀 Release/v0.6.2 by @MrSkwiggs in #40

Full Changelog: 0.6.1...0.6.2

Netswift v0.6.1 - Renamed timeOut to deadline

24 Jan 19:57
e54e026
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.0...0.6.1