Releases: jonnyholland/ComposableArchitecturePattern
1.2.0
This release brings some enhancements to make life using the protocols easier. This release also separates requests from the server to allow you to more easily test your code. Each server will now be required to use a Courier
, which will be what actually makes the requests. By default, each server will now get a shared version of DefaultCourier
, which basically uses the same logic as was previously in the sendRequest
methods. This allows you to use MockCourier
to test local response files against what you expect that should come back from the server.
This release also adds some helper methods to auto lookup the api that best fits the request. Hopefully this adds some use for those who may not want to keep a reference to the api after the server is created.
Full Changelog: 1.1.8...1.2.0
1.1.8
Full Changelog: 1.1.7...1.1.8
1.1.7
Full Changelog: 1.1.6...1.1.7
1.1.6
Adds ability to pass in endpoint to api request and does some cleanup. In this release, we remove the requirement for each Server
to have a specific initializer. This came after more use it became clear this could become a burden to the developmental process.
Full Changelog: 1.1.5...1.1.6
1.1.5
This version includes some refinements and enhancements.
Full Changelog: 1.1.4...1.1.5
1.1.3
Full Changelog: 1.1.2...1.1.3
1.1.2
Updates ServerAPI
to make it easier to use and cleans up documentation.
Full Changelog: 1.1.1...1.1.2
1.1.1
Simplifies the required initializer and provides some default values.
Full Changelog: 1.1.0...1.1.1
1.1.0
This release has all the Composable Architecture Pattern (CAP) functionality with changes over the recent months but adds some small changes to improve internal customization by allowing the specifying of the URLSession
to use with the server calls.
Full Changelog: 1.0.0...1.1.0