diff --git a/CHANGELOG.md b/CHANGELOG.md index dc26253..dcdb84f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,16 @@ # Changelog -## [1.0.0] - unreleased +## [1.0.0] - 2023-11-04 - Drop Python 3.6 support. +- Fix compatibility issue with Python 3.10 + ([#31](https://github.com/waynerv/flask-mailman/pull/31)). +- Fix the log file generation issue to ensure that the log filename is random + ([#30](https://github.com/waynerv/flask-mailman/pull/30)). +- Fix compatibility issue with Python 3.12 + ([#56](https://github.com/waynerv/flask-mailman/issues/56)). - Support passing `from_email` in tuple format to `send_mail()` function -([#35](https://github.com/waynerv/flask-mailman/issues/35)). + ([#35](https://github.com/waynerv/flask-mailman/issues/35)). ## [0.3.0] - 2021-08-08 diff --git a/flask_mailman/backends/smtp.py b/flask_mailman/backends/smtp.py index ba38762..ceb60ee 100644 --- a/flask_mailman/backends/smtp.py +++ b/flask_mailman/backends/smtp.py @@ -77,9 +77,7 @@ def open(self): # non-secure connections. if not self.use_ssl and self.use_tls: if self.ssl_certfile: - context = ssl.SSLContext().load_cert_chain( - self.ssl_certfile, keyfile=self.ssl_keyfile - ) + context = ssl.SSLContext().load_cert_chain(self.ssl_certfile, keyfile=self.ssl_keyfile) else: context = None self.connection.starttls(context=context) diff --git a/pyproject.toml b/pyproject.toml index b4bd1e4..c2a8ec4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "Flask-Mailman" -version = "0.3.0" +version = "1.0.0" description = "Porting Django's email implementation to your Flask applications." authors = ["Waynerv "] license = "BSD-3-Clause"