Releases: lavr/python-emails
Releases · lavr/python-emails
v1.0.2
v1.0.1
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Changelog
1.0
Breaking changes
- Require Python 3.10+ (dropped 3.9) (#188)
- HTML transformation dependencies (
cssutils,lxml,chardet,requests,premailer) are now optional — install withpip install emails[html](#190) - Removed Python 2 compatibility helpers
to_bytes,to_native,to_unicodefromemails.utils(#197) - Replaced vendored
emails.packages.dkimwith upstreamdkimpypackage — useimport dkimdirectly (#196)
Added
reply_toparameter for Message (#115)- Content-based MIME type detection via
puremagicwhen file extension is missing (#163) - Data URI support in transformer —
data:URIs are preserved as-is (#62) - Type hints for public API (#191)
- mypy in CI (#194)
- Python 3.13 and 3.14 support (#184)
- Django CI jobs with Django 4.2, 5.2, 6.0 (#201)
- CC/BCC importing in MsgLoader (#182)
- RFC 6532 support — non-ASCII characters in email addresses (#138)
- In-memory SMTP backend (#136)
- SMTP integration tests using Mailpit (#186)
Fixed
- Double stream read in
BaseFile.mimefor file-like attachments (#199) as_bytesDKIM signing bug (#194)- SMTP connection is now properly closed on any initialization failure (#180)
- SMTP connection is now properly closed on failed login (#173)
- Incorrect
isinstancecheck inparse_name_and_email_list(#176) - Message encoding to bytes in SMTP backend (#152)
- Unique filename generation for attachments
- Regex escape sequence warning (#148)
- Replaced deprecated
cgimodule withemail.message - Coverage reports now correctly exclude
emails/testsuite/
Maintenance
- Removed vendored dkim package (~1400 lines)
- Removed Python 2 compatibility code and helpers (#188, #197, #198)
- Updated pre-commit hooks to current versions
- Updated GitHub Actions to supported versions
- Removed universal wheel flag (py3-only)
- Cleaned up documentation and project metadata
- Added Python 3.12 to test matrix (#169)
0.6 — 2019-07-14
Last release before the changelog was introduced.