Skip to content

Commit 26e6e01

Browse files
committed
chore: remove FullReport alias, bump version to 0.1.8
Remove the deprecated FullReport = MailReport alias from models.py; update the verdict.py module docstring to reference MailReport; bump version from 0.1.7 to 0.1.8 in pyproject.toml and __init__.py; move Unreleased changelog entries to [0.1.8] — 2026-05-15 and update comparison links.
1 parent 31f7a44 commit 26e6e01

5 files changed

Lines changed: 10 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ Version numbers follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html
99

1010
## [Unreleased]
1111

12+
---
13+
14+
## [0.1.8] — 2026-05-15
15+
1216
### Added
1317
- `mailvalidator/constants.py` — new module exposing `SMTP_DEFAULT_PORT`,
1418
`DNS_TIMEOUT`, `SMTP_TIMEOUT`, and `HTTP_TIMEOUT` constants, consistent
1519
with the platform-wide `constants.py` convention.
1620
- `pytest-mock>=3.12` added to dev extras.
1721

1822
### Changed
19-
- `models`: `FullReport` renamed to `MailReport`; `FullReport` is kept as a
20-
deprecated alias for backward compatibility.
23+
- `models`: `FullReport` deprecated alias removed; use `MailReport` directly.
2124
- `assessor`: `assess()` parameters after the first positional are now
2225
keyword-only (enforced by `*,`); logger moved below all imports to fix
2326
E402 linting errors.
@@ -148,7 +151,8 @@ Version numbers follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html
148151

149152
---
150153

151-
[Unreleased]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.1.7...HEAD
154+
[Unreleased]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.1.8...HEAD
155+
[0.1.8]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.1.7...v0.1.8
152156
[0.1.7]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.1.6...v0.1.7
153157
[0.1.6]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.1.5...v0.1.6
154158
[0.1.5]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.1.4...v0.1.5

mailvalidator/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
try:
66
__version__ = version("mailvalidator")
77
except PackageNotFoundError: # pragma: no cover – only when package not installed
8-
__version__ = "0.1.7"
8+
__version__ = "0.1.8"
99

1010
# NullHandler so library users who have not configured logging
1111
# do not see "No handler found" warnings (PEP 3118 / logging HOWTO).

mailvalidator/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,4 +344,3 @@ class MailReport:
344344
dnssec_mx: DNSSECResult | None = None
345345

346346

347-
FullReport = MailReport # deprecated alias – use MailReport

mailvalidator/verdict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Verdict panel: extract and display prioritised security actions.
22
3-
Analyses a :class:`~mailvalidator.models.FullReport` and produces a ranked
3+
Analyses a :class:`~mailvalidator.models.MailReport` and produces a ranked
44
list of :class:`VerdictAction` items highlighting the most important
55
improvements an operator should make. Severity is context-aware — e.g.
66
``BIMI Record`` missing is at most MEDIUM because BIMI is an optional

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "mailvalidator"
7-
version = "0.1.7"
7+
version = "0.1.8"
88
description = "Mail server configuration assessment CLI utility"
99
readme = "README.md"
1010
requires-python = ">=3.11"

0 commit comments

Comments
 (0)