Releases: NC3-TestingPlatform/mailvalidator
v0.1.8
What's changed
Added
mailvalidator/constants.py— new module exposingSMTP_DEFAULT_PORT,DNS_TIMEOUT,SMTP_TIMEOUT, andHTTP_TIMEOUTconstants.pytest-mock>=3.12added to dev extras.
Changed
models:FullReportdeprecated alias removed; useMailReportdirectly.assessor:assess()parameters after the first positional are now keyword-only (enforced by*,).cli:checkcommand gains a--timeout / -Toption (default5.0 s); exit code1is now raised when the calculated grade is D or F.reporter: injectableconsoleparameter on allprint_*functions;Consolecreated withhighlight=False;save_report()raisesValueErrorfor unsupported extensions.print_verdictsignature changed from(actions, grade)to(report, *, console=None)— verdict actions and grade are now extracted internally.verdict:VerdictSeveritygainsLOW(1 pt) andINFO(0 pt) members, aligning the enum withheadersvalidator.
Impact
Harmonization pass 2. Migration: rename FullReport → MailReport in any code that imported it directly. The --timeout flag is a new addition with no breaking effect.
Full changelog: https://github.com/NC3-TestingPlatform/mailvalidator/blob/master/CHANGELOG.md
v0.1.7
What's changed
Changed
__init__: addedNullHandleron the"mailvalidator"logger so library
users do not see spurious "No handler found" warnings, consistent with all
other platform modules.- CLI: internal variable
as_jsonrenamed tojson_outputacross all
sub-commands, aligning with the platform-wide naming convention.
Impact
Maintenance release. Library users consuming mailvalidator as a Python
dependency will no longer see No handler found for logger "mailvalidator"
warnings. No functional changes to checks, scoring, or output formats.
Full changelog: https://github.com/NC3-TestingPlatform/mailvalidator/blob/master/CHANGELOG.md
v0.1.6
What's changed
Added
- PQC Key Exchange check — the TLS section now reports post-quantum
cryptography readiness for each SMTP server. Uses the vendored
quantumvalidatormodule (same pattern aschainvalidator) to probe
whether a PQC hybrid key exchange group (e.g. X25519MLKEM768) was
negotiated. Result status:GOOD(PQC-ready),WARNING(classical
key exchange only), orINFO(probe unavailable — requires OpenSSL ≥ 3.0).
Appears as a MEDIUM verdict action when the server is not PQC-ready. quantumvalidatorvendored dependency — added as a git submodule
undervendor/quantumvalidator(CNSA 2.0, BSI TR-02102-2 standards).
Impact
SMTP servers are now probed for post-quantum cryptography readiness
alongside all existing TLS checks. Servers not using ML-KEM hybrid key
exchange (e.g. X25519MLKEM768) receive a new MEDIUM verdict action,
providing early visibility ahead of CNSA 2.0 deadlines. Requires
OpenSSL ≥ 3.0 on the host for the PQC probe to run.
Full changelog: https://github.com/NC3-TestingPlatform/mailvalidator/blob/master/CHANGELOG.md