Skip to content

Releases: dbsystel/DBNetworkStack

Async 🙅🏼‍♂️

11 Jan 10:00
57a7e4b
Compare
Choose a tag to compare
  • Async/Await support
  • Typed errors with RessourceWithError
  • improved NetworkServiceMock
  • Removes Carthage Support
  • Removes CocoaPods Support

Whoops... SPM

29 Oct 08:38
245034c
Compare
Choose a tag to compare
  • Fixes wrong SPM Package description.

Results are ready 🧾

26 Sep 11:20
784f401
Compare
Choose a tag to compare

Some little improvements and sadly breaking changes.

  • Use brand new Result<T, Error> type
  • Removed unneeded URLRequestConvertible
  • NetworkServiceMock tweaks

Thanks to @OliverDobner-DBSystel

Cooling down🍦

22 Aug 09:33
dc0c38c
Compare
Choose a tag to compare

During summer we worked on the following improvements.

  • New type called ContainerNetworkTask which supports request chaining.
  • Initialize a URL with a StaticString to get rid of if let/guard let
  • Small documentation improvements

Enjoy the rest of the summer ☀️🍧🏖🐙.

A more flexible Mock 👩🏽‍🔬

06 Jun 14:06
Compare
Choose a tag to compare

From now on testing with a NetworkServiceMock is more flexible.
It allows you to test cases where multiple requests are involved.

  • When your code performs multiple requests, NetworkServiceMock now queues them and you are able to respond to all requests independently with success or error.
  • Request chains are now supported: Requests started by responses of requests started by responses of requests started by responses... 🌀

Finally version one 🎈🎉🤩🚊

15 Jan 12:28
a13db0c
Compare
Choose a tag to compare

With Version 1.0, the API is declared as stable and will be maintained by conforming to semantic versioning.

What’s new

  • Support for introspection of the data of a Resource with Resource inspectData

  • New documentation which can be found here

  • Droping the name schema where protocols would end with ‘providing’ or representing

  • NetworkAccessProvinding -> NetworkAccess, NetworkServiceProviding -> NetworkService, NetworkTaskRepresenting -> NetworkTask, NetworkService -> BasicNetworkService

Ready for Swift 4.0 🔮

21 Sep 04:39
Compare
Choose a tag to compare

What`s new

  • Support for iOS 11 SDK
  • Support for Swift 4.0
  • Support for new Codeable to use in a Resource
  • Cleans up API by removing deprecated types/methods

Give me a response 📢

02 Aug 05:42
Compare
Choose a tag to compare

What`s new

  • Access HTTPURLResponse when requesting a resource.
  • We deprecate ResourceModeling. By doing so we try to get rid of the complexity. The next release will introduce more simple APIs.
  • Refactoring of internal request processing

Back to URLRequest 📡

21 Jun 07:08
13a5e9f
Compare
Choose a tag to compare

As discussed in #34 we remove our own representation of Requests and use native URLRequest . By using URLRequest we replace our hard to understand idea of urlKeys.

What`s new

  • URLRequestConvertible to bridge custom Request objects to URLRequest
  • official CocoaPods support 🎖
  • new ways of type erase a ResourceModeling

DBNetworkStack goes 🐧

06 Apr 07:12
Compare
Choose a tag to compare
  • Migration to Swift 3.1
  • Completion handlers execute on a given Queue
  • Linux Support 🐧
  • NetworkServiceMock to improve testing ✅
  • SwiftLint 0.17.0