Releases: sanfx/git-maildiff
Releases · sanfx/git-maildiff
v3.0.1
v3.0.0
Please use v2.0.3 if you require Python 2 compatibility.
Major Changes
Python 3 compatibility refactor:
- Migrated all Python 2 syntax to Python 3 (print statements → print(), etc.)
- Python 3 compatibility refactor: Migrated all Python 2 syntax to Python 3 — replaced print statements with print(),
raw_input() with input(), has_key() with in operator, and updated email module imports from the old
email.MIMEMultipart/email.MIMEBase style to the modern email.mime.* namespace. - Dropped colorlog/colorama dependencies: Replaced ColoredFormatter with the stdlib logging.Formatter, removing two
third-party dependencies and simplifying the dependency tree. - Switched os.path to pathlib.Path: Modernized path handling throughout setup.py, send.py, and maildiff_cmd.py.
- Expanded Python version support: Updated classifiers and Makefile to reflect support for Python 3.7–3.13.
- Version bump: Bumped version from 2.0.3 → 3.0.0 to reflect the breaking compatibility changes.
- Package import fix: Changed import maildiff_cmd to from . import maildiff_cmd in emaildiff/init.py to make the package
importable as a proper Python package. - Subprocess improvement: Added text=True to subprocess.Popen call to return strings instead of bytes.
Release 2.0.3
v2.0.3 Release 2.0.3