Skip to content

Releases: matasarei/olx-api-client-v2

v1.1.2

08 Nov 20:33
1ad0069

Choose a tag to compare

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

07 Nov 20:52
e7d7cc2

Choose a tag to compare

Improves for the client's error handling

v1.1.0

07 Nov 20:18
371f34d

Choose a tag to compare

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

v1.0.0

12 Jul 22:22
41462ec

Choose a tag to compare

PHP7.4 refactoring and tests (#4)