Exchange Web Services client library v2.2.0 Release Notes

Release Date: 2020-01-17 // about 4 years ago
    • ๐Ÿ‘ Added support for specifying a separate retry policy for the autodiscover service endpoint selection. Set via the exchangelib.autodiscover.legacy.INITIAL_RETRY_POLICY module variable for the the old autodiscover implementation, and via the exchangelib.autodiscover.Autodiscovery.INITIAL_RETRY_POLICY class variable for the new one.
    • ๐Ÿ‘€ Support the authorization code OAuth 2.0 grant type (see issue #698)
    • ๐Ÿšš Removed the RootOfHierarchy.permission_set field. It was causing too many failures in the wild.
    • The full autodiscover response containing all contents of the reponse is now available as Account.ad_response.
    • Added a new Autodiscover implementation that is closer to the specification and easier to debug. To switch to the new implementation, set the environment variable EXCHANGELIB_AUTODISCOVER_VERSION=new. The old one is still the default if the variable is not set, or set to EXCHANGELIB_AUTODISCOVER_VERSION=legacy.
    • The Item.mime_content field was switched back from a string type to a bytes type. It turns out trying to decode the data was an error (see issue #709).