diff --git a/CHANGELOG.md b/CHANGELOG.md index 049c0b81..dc336435 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ HEAD ---- +4.7.1 +----- +- Fixed issue where creating an Account with autodiscover and no config would + never set a default retry policy. + + 4.7.0 ----- - Fixed some spelling mistakes: diff --git a/docs/exchangelib/account.html b/docs/exchangelib/account.html index dfccef1b..eaaa09f9 100644 --- a/docs/exchangelib/account.html +++ b/docs/exchangelib/account.html @@ -146,8 +146,9 @@

Module exchangelib.account

).discover() # Let's not use the auth_package hint from the AD response. It could be incorrect and we can just guess. self.protocol.config.auth_type = auth_type - self.protocol.config.retry_policy = retry_policy - if not self.protocol.config.version: + if retry_policy: + self.protocol.config.retry_policy = retry_policy + if version: self.protocol.config.version = version primary_smtp_address = self.ad_response.autodiscover_smtp_address else: @@ -755,8 +756,9 @@

Classes

).discover() # Let's not use the auth_package hint from the AD response. It could be incorrect and we can just guess. self.protocol.config.auth_type = auth_type - self.protocol.config.retry_policy = retry_policy - if not self.protocol.config.version: + if retry_policy: + self.protocol.config.retry_policy = retry_policy + if version: self.protocol.config.version = version primary_smtp_address = self.ad_response.autodiscover_smtp_address else: diff --git a/docs/exchangelib/index.html b/docs/exchangelib/index.html index ed261426..7613db4b 100644 --- a/docs/exchangelib/index.html +++ b/docs/exchangelib/index.html @@ -44,7 +44,7 @@

Package exchangelib

from .transport import BASIC, DIGEST, NTLM, GSSAPI, SSPI, OAUTH2, CBA from .version import Build, Version -__version__ = '4.7.0' +__version__ = '4.7.1' __all__ = [ '__version__', @@ -372,8 +372,9 @@

Inherited members

).discover() # Let's not use the auth_package hint from the AD response. It could be incorrect and we can just guess. self.protocol.config.auth_type = auth_type - self.protocol.config.retry_policy = retry_policy - if not self.protocol.config.version: + if retry_policy: + self.protocol.config.retry_policy = retry_policy + if version: self.protocol.config.version = version primary_smtp_address = self.ad_response.autodiscover_smtp_address else: diff --git a/exchangelib/__init__.py b/exchangelib/__init__.py index 85436753..b6677806 100644 --- a/exchangelib/__init__.py +++ b/exchangelib/__init__.py @@ -16,7 +16,7 @@ from .transport import BASIC, DIGEST, NTLM, GSSAPI, SSPI, OAUTH2, CBA from .version import Build, Version -__version__ = '4.7.0' +__version__ = '4.7.1' __all__ = [ '__version__',