Releases: SocalNick/orchestrate-php-client
Releases · SocalNick/orchestrate-php-client
Upgrade GuzzleHttp to 6.1
Event API Feature Parity - THIS RELEASE BREAKS BACKWARDS COMPATIBILITY
Fixes the following issues:
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.
SearchResult supports getNext / getPrev
Thanks to @izziaraffaele for pointing out this was missing from SearchResult
PATCH (Merge) and Search Aggregate support
- Support for PATCH (partial update - merge)
- Support for Search aggregate
POST / PATCH Support
- Support for Key/Value POST to auto-generate a key
- Support for Key/Value PATCH (partial update - operations) to support partial updates - PATCH (partial update - merge) coming soon
- Improved Graph
- Support for limit and offset in fetch operation
- Support for getNext and get Prev on result object
Sort support in Search in SearchOperation
0.2.0 Add test for sort parameter
Initial Release
0.1.0 Documentation for collection delete