Releases: cole/aiosmtplib
Releases · cole/aiosmtplib
v5.1.0
v5.0.0
v4.0.2
What's Changed
- Bugfix: correct aexit signature to comply with async context manager protocol by @oliverlambson in #323
New Contributors
- @oliverlambson made their first contribution in #323
Full Changelog: v4.0.1...v4.0.2
v4.0.1
v4.0.0
- BREAKING: Drop Python 3.8 support
- Bugfix: Run socket.getfqdn in thread to avoid blocking event loop if local_hostname not provided (thanks @raidzin)
- Bugfix: Clear connect lock on connection lost, allowing client reconnect
- Bugfix: Allow socket connections to use TLS by providing hostname and use_tls=True
Full Changelog: v3.0.2...v4.0.0
v3.0.2
v3.0.1
- Bugfix: 'Future exception was never retrieved' warning in SMTPProtocol after successful connection close and garbage collection.
- Cleanup: Updated FlowControlMixin logic from stdlib
Full Changelog: v3.0.0...v3.0.1
3.0.0
- BREAKING: Drop Python 3.7 support.
- BREAKING: Positional arguments are now positional only, and keyword arguments
are keyword only. - BREAKING: Passing
source_addressas a string argument (deprecated in 2.0) is now an error.source_addresstakes a (addr, port) tuple that is used as thelocal_addrparam ofasyncio.create_connection, allowing for binding to a specific IP. Thelocal_hostnameargument takes the value to be sent to the server with the EHLO/HELO message (which is whatsource_addresswas used for prior to 2.0). - Change: don't use timeout value passed to
connecteverywhere, only for the initial connection (credit @wombatonfire) - Change: removed unnecessary connection lost callback
- Change: revised handling for 'Future exception was never retrieved' warnings in protocol
v2.0.2
- Bugfix: don't send extra EHLO/HELO before QUIT (credit @ikrivosheev)
- Change: added SMTPConnectionResponseError for invalid response on connect only (credit @ikrivosheev)