Fixes
- Generator pagination no longer stops early.
getAsGenerator()andfilterAsGenerator()stopped after the current page, without any error, when another request was made on the same connection while iterating (for example afind()or lazy loading). #695 setTokenExpires()accepts numeric strings again. Passing a value read from a database, as the README shows, threw aTypeError.getTokenExpires()now returns0instead of throwing when no value is set. #695- Failed token requests keep their HTTP status code. The
ApiExceptioncode is now the status code (e.g.400forinvalid_grant) instead of0. #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