Skip to content

Releases: mergado/mergado-api-client-php

2.0.1

30 May 10:09
Compare
Choose a tag to compare

Bumps guzzlehttp/guzzle from 7.4.2 to 7.4.3.

2.0.0

30 May 08:46
Compare
Choose a tag to compare

What's Changed

  • Upgraded guzzlehttp and league/oauth2-client
  • Some fixes to support new versions of packages
  • BC break: PHP 7.1 no longer supported
  • Supported PHP: 7.2, 7.4, 8.0 and 8.1
  • Improved example script
  • Removed stupid test

1.2.0

14 Sep 13:12
577f291
Compare
Choose a tag to compare
  • OAuth URL can be setup by 'oAuthEndpoint' option in MergadoProvider constructor
  • Same for API URL in UrlBuilder
  • Removed mode parameter, not in use anymore
  • Removed unused tests
  • Added new tests
  • Added proper exapmle
  • Code refactoring and styling

Added check for empty fields

21 Mar 12:07
Compare
Choose a tag to compare
1.1.6

Added check for empty fields in ApiClient@fields

Patch method

01 Feb 15:06
Compare
Choose a tag to compare

Implemented patch method

Added dockblocks

30 Jan 16:15
Compare
Choose a tag to compare
Changed version in composer.json to `1.1.4`

Small fixes, removed Unauthorized Exception

30 Jan 16:09
Compare
Choose a tag to compare
  • Small fixes in code formatting
  • Removed Unauthorized Exception - use default RequestException, ClientException etc from Guzzle client
  • Fixed tests

Bug fix

16 Jun 08:21
Compare
Choose a tag to compare

Fixed use statement in HttpClient

New oauth authorization

14 Jun 08:21
Compare
Choose a tag to compare

Changed uaht refresh token grant
Changed oauth authorization code grant
Added Accesstoken.php, as out custom access token class, similar to phpleague, but with subtle differences in what information it contains