Releases: matasarei/olx-api-client-v2
Releases · matasarei/olx-api-client-v2
v1.1.2
In this release we updated the OLX API client to match the official API specification where responses are wrapped in a data key. The changes include updating test expectations for the Adverts resource, simplifying response body handling in the Client class, and adding usage documentation to the README. Also simplified the Client by replacing Utils::streamFor() with direct string casting for response body handling.
v1.1.1
v1.1.0
Fixed TypeError when OLX API returns HTTP 204 No Content:
- Modified handleResponse() in Client.php to use null coalescing operator, returning an empty array when JSON decode returns null
- Updated test expectations for DELETE and command operations to expect empty arrays