Skip to content

Releases: NC3-TestingPlatform/headersvalidator

v0.1.4

15 May 13:17
7db2cd7

Choose a tag to compare

What's changed

Added

  • pytest-mock>=3.12 added to dev extras.

Changed

  • assessor.assess(): parameters after url are now keyword-only (enforced by *,), preventing accidental positional mis-binding.
  • cli: --version short flag changed from -v to -V (uppercase), consistent with all other platform modules.
  • reporter.save_report(): now raises ValueError for unsupported file extensions instead of silently falling back to plain text.
  • verdict: VerdictSeverity gains a LOW member (1 pt penalty) between MEDIUM and INFO.

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

15 May 10:42
v0.1.3
5f78235

Choose a tag to compare

What's changed

Added

  • assessor.assess() accepts an optional progress_cb: Callable[[str], None]
    parameter, consistent with the platform-wide public API convention.
  • reporter module now exposes a public console alias (Console(record=True))
    and a save_report(path) function; the CLI imports these rather than
    duplicating the export logic internally.

Changed

  • CLI migrated to use reporter.console and reporter.save_report()
    the private _save_report() helper in cli.py has 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