Releases: railwaymen/restler
Releases · railwaymen/restler
v1.1 - more Combine!
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
RestlerRequestobject (Combine). - Added new target -
RestlerCombinefor using Restler with Combine.
v1.0.1
v1.0.0
Changed (Breaking changes!)
- Deprecated functions
onSuccess,onFailure,onCompletionandstart. Now they all are combined intosubscribe(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
URLRequestdirectly from theRequestBuilder. - Logging requests in a
DEBUGbuild. - Possibility to run finish handlers on a custom dispatch queue.
- Possibility to run task on a custom
URLSession.
Version 0.6.0
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
Bump version, no changes
Make Restler public
Nothing changed in the framework besides it's now open-source and open publicly for usage