Skip to content

v4.6.1

Choose a tag to compare

@stephangroen stephangroen released this 23 Sep 11:59
a3b43dc

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