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.tomlfor packaging metadata. - Use
flit_coreas 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_headerswill be removed in the next version. - Fix the
email_dispatchedsignal to pass the current app as the sender andmessageas an argument, rather than the other way around. Attachment.datamay not beNone.Attachment.content_typewill be detected based onfilenameanddataand will not beNone.