Skip to content

0.4.0 (2020-08-07)

Choose a tag to compare

@Colin-b Colin-b released this 07 Aug 17:10
· 356 commits to master since this release
caa6b26

Changed

  • Mock an access token by default in httpx_auth.testing.token_cache_mock. Getting rid of pyjwt default dependency for testing.
  • Requires httpx==0.14.*

Added

  • Still under development, subject to breaking changes without notice: AWS4Auth authentication class for AWS. Ported from requests-aws4auth by Michael E. Martinka.
    Note that a few changes were made:
    • deprecated amz_date attribute has been removed.
    • it is not possible to provide an AWSSigningKey instance, use explicit parameters instead.
    • it is not possible to provide a date. It will default to now.
    • it is not possible to provide raise_invalid_date parameter anymore as the date will always be valid.
    • include_hdrs parameter was renamed into include_headers
    • host is not considered as a specific Amazon service anymore (no test specific code).
    • Each request now has it's own signing key and x-amz-date. Meaning you can use the same auth instance for more than one request.
    • session_token was renamed into security_token for consistency with the underlying name at Amazon.