File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 11Changelog
22=========
33
4+
5+ Changes in Version 4.12.1 (XXXX/XX/XX)
6+ --------------------------------------
7+
8+ Version 4.12.1 is a bug fix release.
9+
10+ - Fixed a bug that could raise ``UnboundLocalError `` when creating asynchronous connections over SSL.
11+ - Fixed a bug causing SRV hostname validation to fail when resolver and resolved hostnames are identical with three domain levels.
12+
13+ Issues Resolved
14+ ...............
15+
16+ See the `PyMongo 4.12.1 release notes in JIRA `_ for the list of resolved issues
17+ in this release.
18+
19+ .. _PyMongo 4.12.1 release notes in JIRA : https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=43094
20+
421Changes in Version 4.12.0 (2025/04/08)
522--------------------------------------
623
Original file line number Diff line number Diff line change @@ -346,12 +346,10 @@ async def _configured_protocol_interface(
346346 ssl = ssl_context ,
347347 )
348348 except _CertificateError :
349- transport .abort ()
350349 # Raise _CertificateError directly like we do after match_hostname
351350 # below.
352351 raise
353352 except (OSError , SSLError ) as exc :
354- transport .abort ()
355353 # We raise AutoReconnect for transient and permanent SSL handshake
356354 # failures alike. Permanent handshake failures, like protocol
357355 # mismatch, will be turned into ServerSelectionTimeoutErrors later.
You can’t perform that action at this time.
0 commit comments