Releases: NC3-TestingPlatform/headersvalidator
Releases · NC3-TestingPlatform/headersvalidator
v0.1.4
What's changed
Added
pytest-mock>=3.12added to dev extras.
Changed
assessor.assess(): parameters afterurlare now keyword-only (enforced by*,), preventing accidental positional mis-binding.cli:--versionshort flag changed from-vto-V(uppercase), consistent with all other platform modules.reporter.save_report(): now raisesValueErrorfor unsupported file extensions instead of silently falling back to plain text.verdict:VerdictSeveritygains aLOWmember (1 pt penalty) betweenMEDIUMandINFO.
Impact
Harmonization pass 2. Migration: if you call assess() with positional arguments beyond url, switch to keyword form. Update any -v usage in scripts to -V.
Full changelog: https://github.com/NC3-TestingPlatform/headersvalidator/blob/master/CHANGELOG.md
v0.1.3
What's changed
Added
assessor.assess()accepts an optionalprogress_cb: Callable[[str], None]
parameter, consistent with the platform-wide public API convention.reportermodule now exposes a publicconsolealias (Console(record=True))
and asave_report(path)function; the CLI imports these rather than
duplicating the export logic internally.
Changed
- CLI migrated to use
reporter.consoleandreporter.save_report()—
the private_save_report()helper incli.pyhas been removed.
Impact
Platform API alignment release. assess() now accepts a progress_cb
callback for progress reporting, and save_report() is a first-class
public function — consistent with all other NC3-TestingPlatform modules.
No change to check logic or scoring.
Full changelog: https://github.com/NC3-TestingPlatform/headersvalidator/blob/master/CHANGELOG.md