Skip to content

0.10.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 23 May 22:30
· 8 commits to main since this release
0.10.0
848ea85

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 or importlib.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 and message as an argument, rather than the other way around.
  • Attachment.data may not be None.
  • Attachment.content_type will be detected based on filename and data and will not be None.