Skip to content

0.12.0 (2021-11-01)

Compare
Choose a tag to compare
@Colin-b Colin-b released this 01 Nov 17:05
· 235 commits to master since this release

Changed

  • Requires httpx==0.20.*
  • OAuth2ResourceOwnerPasswordCredentials.client attribute is now set to None in case it was not provided as parameter.
  • OAuth2ClientCredentials.client attribute is now set to None in case it was not provided as parameter.
  • OktaClientCredentials.client attribute is now set to None in case it was not provided as parameter.
  • OAuth2AuthorizationCode.client attribute is now set to None in case it was not provided as parameter.
  • OktaAuthorizationCode.client attribute is now set to None in case it was not provided as parameter.
  • OAuth2AuthorizationCodePKCE.client attribute is now set to None in case it was not provided as parameter.
  • OktaAuthorizationCodePKCE.client attribute is now set to None in case it was not provided as parameter.
  • httpx.Client provided as client parameter to OAuth2ResourceOwnerPasswordCredentials is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
  • httpx.Client provided as client parameter to OAuth2ClientCredentials is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
  • httpx.Client provided as client parameter to OktaClientCredentials is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
  • httpx.Client provided as client parameter to OAuth2AuthorizationCode is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
  • httpx.Client provided as client parameter to OktaAuthorizationCode is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
  • httpx.Client provided as client parameter to OAuth2AuthorizationCodePKCE is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
  • httpx.Client provided as client parameter to OktaAuthorizationCodePKCE is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.

Fixed

  • A new client is created (if not provided as client parameter) upon request of a new token for OAuth2ResourceOwnerPasswordCredentials flow. Re-using previously closed client was raising an issue upon token expiry.
  • A new client is created (if not provided as client parameter) upon request of a new token for OAuth2ClientCredentials flow. Re-using previously closed client was raising an issue upon token expiry.
  • A new client is created (if not provided as client parameter) upon request of a new token for OktaClientCredentials flow. Re-using previously closed client was raising an issue upon token expiry.
  • A new client is created (if not provided as client parameter) upon request of a new token for OAuth2AuthorizationCode flow. Re-using previously closed client was raising an issue upon token expiry.
  • A new client is created (if not provided as client parameter) upon request of a new token for OktaAuthorizationCode flow. Re-using previously closed client was raising an issue upon token expiry.
  • A new client is created (if not provided as client parameter) upon request of a new token for OAuth2AuthorizationCodePKCE flow. Re-using previously closed client was raising an issue upon token expiry.
  • A new client is created (if not provided as client parameter) upon request of a new token for OktaAuthorizationCodePKCE flow. Re-using previously closed client was raising an issue upon token expiry.