Skip to content

Releases: railwaymen/restler

v1.1 - more Combine!

05 Jan 14:01
c685ed8

Choose a tag to compare

Changed

  • Upgraded RxSwift used by RxRestler to version 6.0.0.

Added

  • Added an interface for downloading a file.
  • Added a possibility to return a publisher from a RestlerRequest object (Combine).
  • Added new target - RestlerCombine for using Restler with Combine.

v1.0.1

30 Oct 10:12
38df3ab

Choose a tag to compare

Changed

  • Restler module now is named RestlerCore.

Fixed

  • Installation of RxRestler extension via CocoaPods.

v1.0.0

11 Sep 08:23
9a07b90

Choose a tag to compare

Changed (Breaking changes!)

  • Deprecated functions onSuccess, onFailure, onCompletion and start. Now they all are combined into subscribe(onSuccess:onFailure:onCompletion:)
    Please, adjust to this deprecation as soon as possible. We'll delete the deprecated functions in the next versions.
  • Now handlers provided in the function subscribe(onSuccess:onFailure:onCompletion:) will not be called on the main thread. To stay with the previous behavior, you have to add .receive(on: .main) before calling .decode(SomeType.self). For more info take a look at the README.md file.
  • If you're using CocoaPods, you will have to change import to pod 'Restler/Core' from this version if you don't want to import RxSwift.

Added

  • Support for Combine.
  • Support for RxSwift.
  • Support for all Apple Platforms in every version supported by SwiftPM.
  • Possibility to build a URLRequest directly from the RequestBuilder.
  • Logging requests in a DEBUG build.
  • Possibility to run finish handlers on a custom dispatch queue.
  • Possibility to run task on a custom URLSession.

Version 0.6.0

22 Jun 13:12
6ce3348

Choose a tag to compare

Added

  • Possibility of custom modifications on URLRequest.

Changed

  • The result of the start() method can be ignored now.
  • ErrorParser is a structure now instead of being a class.
  • Updated README

Bump version

14 Apr 13:38
4d9c8ff

Choose a tag to compare

Bump version, no changes

Make Restler public

14 Apr 12:43
d47de29

Choose a tag to compare

Nothing changed in the framework besides it's now open-source and open publicly for usage