Skip to content

Event API Feature Parity - THIS RELEASE BREAKS BACKWARDS COMPATIBILITY

Compare
Choose a tag to compare
@SocalNick SocalNick released this 20 Feb 18:21
· 5 commits to master since this release

Fixes the following issues:

  • Event API Parity - #12
  • Optionally pass baseUrl to client - #13

Backwards compatibility changes:

  • Event API has been corrected to match Orchestrate's non-deprecated usage. It was originally implemented before the new Event API was released.
  • Client instantiation now has 3 parameters: $apiKey, $baseUrl, $httpClient. The $apiKey is still the only required parameter. The $baseUrl is new and was added before the $httpClient to allow changing to the Orchestrate Amazon EU West instance. This seemed like it would be more common than swapping the $httpClient.
  • The client no longer swallows exceptions. 4xx and 5xx errors are caught and re-thrown as exceptions in the SocalNick\Orchestrate namespace. Other errors / exceptions from Guzzle HTTP client will pass through.