Releases: pallets-eco/flask-mail
0.10.0
Flask-Mail is now part of the Pallets Community Ecosystem. Pallets is the open source organization that maintains Flask; Pallets-Eco enables community maintenance of related projects. If you are interested in helping maintain this project, please reach out on the Pallets Discord server.
This release mainly refreshes the project after its extended hiatus. It now uses the standard Pallets project layout, tools, and configurations. Documentation is now hosted at https://flask-mail.readthedocs.io. The library now exports static type annotations.
Changes: https://flask-mail.readthedocs.io/en/latest/changes/#version-0-10-0
Milestone: https://github.com/pallets-eco/flask-mail/milestone/1?closed=1
PyPI: https://pypi.org/project/Flask-Mail/0.10.0/
- Drop support for Python < 3.8.
- Use
pyproject.toml
for packaging metadata. - Use
flit_core
as build backend. - Apply code formatting and linting tools.
- Add static type annotations.
- Deprecate the
__version__
attribute. Use feature detection orimportlib.metadata.version("flask-mail")
instead. - Indicate that the deprecated
is_bad_headers
will be removed in the next version. - Fix the
email_dispatched
signal to pass the current app as the sender andmessage
as an argument, rather than the other way around. Attachment.data
may not beNone
.Attachment.content_type
will be detected based onfilename
anddata
and will not beNone
.