Skip to content

Commit 629a9ce

Browse files
committed
Bump version
1 parent c765377 commit 629a9ce

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ HEAD
55
----
66

77

8+
4.7.1
9+
-----
10+
- Fixed issue where creating an Account with autodiscover and no config would
11+
never set a default retry policy.
12+
13+
814
4.7.0
915
-----
1016
- Fixed some spelling mistakes:

docs/exchangelib/account.html

+6-4
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@ <h1 class="title">Module <code>exchangelib.account</code></h1>
146146
).discover()
147147
# Let&#39;s not use the auth_package hint from the AD response. It could be incorrect and we can just guess.
148148
self.protocol.config.auth_type = auth_type
149-
self.protocol.config.retry_policy = retry_policy
150-
if not self.protocol.config.version:
149+
if retry_policy:
150+
self.protocol.config.retry_policy = retry_policy
151+
if version:
151152
self.protocol.config.version = version
152153
primary_smtp_address = self.ad_response.autodiscover_smtp_address
153154
else:
@@ -755,8 +756,9 @@ <h2 class="section-title" id="header-classes">Classes</h2>
755756
).discover()
756757
# Let&#39;s not use the auth_package hint from the AD response. It could be incorrect and we can just guess.
757758
self.protocol.config.auth_type = auth_type
758-
self.protocol.config.retry_policy = retry_policy
759-
if not self.protocol.config.version:
759+
if retry_policy:
760+
self.protocol.config.retry_policy = retry_policy
761+
if version:
760762
self.protocol.config.version = version
761763
primary_smtp_address = self.ad_response.autodiscover_smtp_address
762764
else:

docs/exchangelib/index.html

+4-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h1 class="title">Package <code>exchangelib</code></h1>
4444
from .transport import BASIC, DIGEST, NTLM, GSSAPI, SSPI, OAUTH2, CBA
4545
from .version import Build, Version
4646

47-
__version__ = &#39;4.7.0&#39;
47+
__version__ = &#39;4.7.1&#39;
4848

4949
__all__ = [
5050
&#39;__version__&#39;,
@@ -372,8 +372,9 @@ <h3>Inherited members</h3>
372372
).discover()
373373
# Let&#39;s not use the auth_package hint from the AD response. It could be incorrect and we can just guess.
374374
self.protocol.config.auth_type = auth_type
375-
self.protocol.config.retry_policy = retry_policy
376-
if not self.protocol.config.version:
375+
if retry_policy:
376+
self.protocol.config.retry_policy = retry_policy
377+
if version:
377378
self.protocol.config.version = version
378379
primary_smtp_address = self.ad_response.autodiscover_smtp_address
379380
else:

exchangelib/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from .transport import BASIC, DIGEST, NTLM, GSSAPI, SSPI, OAUTH2, CBA
1717
from .version import Build, Version
1818

19-
__version__ = '4.7.0'
19+
__version__ = '4.7.1'
2020

2121
__all__ = [
2222
'__version__',

0 commit comments

Comments
 (0)