github picqer/exact-php-client v4.6.1

latest releases: v4.10.0, v4.9.0, v4.8.0...
3 hours ago

Fixes

  • Generator pagination no longer stops early. getAsGenerator() and filterAsGenerator() stopped after the current page, without any error, when another request was made on the same connection while iterating (for example a find() or lazy loading). #695
  • setTokenExpires() accepts numeric strings again. Passing a value read from a database, as the README shows, threw a TypeError. getTokenExpires() now returns 0 instead of throwing when no value is set. #695
  • Failed token requests keep their HTTP status code. The ApiException code is now the status code (e.g. 400 for invalid_grant) instead of 0. #695
  • Beta endpoints work. The {division} placeholder in beta endpoint urls is now filled in. #695
  • Webhook hash codes are compared in constant time (hash_equals). #695

Maintenance

  • CI now tests PHP 7.4 to 8.5 and runs on pull requests. #694
  • Added tests for saving, authentication, error handling, rate limits, queries and XML. #696

Don't miss a new exact-php-client release

NewReleases is sending notifications on new releases.