Skip to content

Commit

Permalink
Release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Nov 4, 2023
1 parent 3e64ed7 commit 7e61674
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 1 addition & 3 deletions flask_mailman/backends/smtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check warning on line 80 in flask_mailman/backends/smtp.py

View check run for this annotation

Codecov / codecov/patch

flask_mailman/backends/smtp.py#L80

Added line #L80 was not covered by tests
else:
context = None
self.connection.starttls(context=context)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <ampedee@gmail.com>"]
license = "BSD-3-Clause"
Expand Down

0 comments on commit 7e61674

Please sign in to comment.