Releases: postgrespro/pgpro-pytest-html-json-extractor
v1.1.1
What's Changed
- fix: help for "--unescape-logs" is corrected (AUTO -> auto) (#4)
Full Changelog: v1.1.0...v1.1.1
v1.1.0
🚀 Release v1.1.0 — The "De-encapsulation" Update
This version marks a significant evolution of the extractor, moving from simple data recovery to intelligent report reconstruction. We’ve overhauled the core engine to handle the most complex HTML encoding scenarios found in pytest-html evolution.
🌟 Key Highlights
-
Intelligent Log Reconstruction (The "Unescape" Engine)
Finally defeated the "Russian Doll" effect! The extractor now performs surgical HTML entity decoding specifically within test logs. Your logs are restored to their pristine, human-readable state, while report metadata remains untouched and secure. -
Version-Aware Logic via ReportAdapter
Introduced a sophisticated internal registry ofReportAdapters. Whether you are usingpytest-htmlv4.0.2 or the latest v4.2.x, the tool dynamically adjusts its extraction strategy and unescaping rules to match the report's "DNA". -
Granular Control with
--unescape-logs
You are now in total control of the transformation pipeline. Added a new CLI parameter with three modes:auto(Default): Smart detection based on the report version.yes: Forceful restoration of all encoded characters.no: Raw forensics mode for debugging the original HTML-stored blob.
-
Industrial-Grade Test Suite
Our CI matrix has expanded to 24 concurrent environments, covering Python 3.8 through 3.14 (Alpha) on Alpine Linux. We’ve added complex E2E tests for nested HTML tags, mixed entities, and cross-version compatibility.
🛠 Internal Improvements
- Migrated to Enum-based internal configuration for the unescape engine.
- Hardened the JSON extraction logic against unexpected data types in the report.
- Refined the CLI interface with explicit
check_jsonlogic and improved help descriptions.
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Initial release.
Full Changelog: https://github.com/postgrespro/pgpro-pytest-html-json-extractor/commits/v1.0.0