Skip to content

Releases: Flipkart/Swifty

Swifty 1.3.3

09 Nov 06:08
e6e5c18
Compare
Choose a tag to compare

Swifty can now handle all HTTP headers as lowercased

Swifty 1.3.2

14 Mar 05:26
Compare
Choose a tag to compare

Swifty now exposes network metrics APIs publically.

Swifty 1.3.1

30 Dec 11:26
08de56d
Compare
Choose a tag to compare

Swifty now handles all 2xx responses as valid responses.

Swifty 1.3.0

27 May 14:40
Compare
Choose a tag to compare

Swifty has been upgraded for Swift 5.

Swifty 1.2.1

25 May 08:22
Compare
Choose a tag to compare

Swifty has been upgraded for Swift 4.2.

Added

  • Adds the @objc attribute to all publicly ObjC accessible classes and methods.
  • Added ability to specify a custom sessionMetricsDelegate: URLSessionTaskDelegate in the Swifty initializer to collect URLSessionTaskMetrics

1.2.0-beta-1

15 Feb 07:34
c0c5f7e
Compare
Choose a tag to compare
1.2.0-beta-1 Pre-release
Pre-release

• Added support for swift 4.2 with necessary apis exposed to objective-c as well.

Swifty 1.1.1

12 Aug 19:16
Compare
Choose a tag to compare

Swifty now supports attaching multipart form data into requests.

Added

  • Adds a new modifier .multipart() to attach multipart form data into requests.
  • The new modifier is can be chained continuously to attach multiple data into requests.
  • The encoding of the data is done at the time .load() is called, using an internal RequestInterceptor

Swifty 1.1.0

13 Dec 20:09
Compare
Choose a tag to compare

Swifty now supports the Codable Protocol, plus adds support for Response Mocking.

Added

  • Adds a new .json(encodable: encoder:) modifier to attach Encodable objects into request bodies.
  • Adds a new method .loadJSON<T: Decodable>(decodable: decoder:) to support loading Decodable objects from network responses directly.
  • Adds a new .mock(withFile: OfType) modifier to mock responses of requests using files in the main bundle.
  • Tests for Codable Support & Response Mocking.

Fixed

  • The creationError property in NetworkResource is now public, so that it can be utilized by a user's custom extensions.

Swifty 1.0.2

17 Nov 09:05
Compare
Choose a tag to compare

Fixed

  • Simpler logic for Query Preservation in BaseResource modifiers

Swifty 1.0.1

31 Oct 09:09
Compare
Choose a tag to compare

Fixed

  • Improved Query Preservation in BaseResource modifiers