Skip to content

1.2.0

Compare
Choose a tag to compare
@jonnyholland jonnyholland released this 08 Dec 22:42
· 9 commits to main since this release

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