Repository navigation
v0.7.0
Breaking changes:
- Timeout model reworked. Capture budgets moved to
TimeoutsonPravdaConfig, expressed in bare float seconds. They bound only the target-facing capture: expiry is recorded evidence — a persisted failed attempt, or a dropped artifact. Browser machinery deadlines moved toLiveness; their expiry raisesInfrastructureErrorand persists nothing. - Pravda owns the browser connection lifecycle. Connection setup and recording-context close are Pravda's own infrastructure: their failures raise
InfrastructureErrorand persist nothing, like storage and database failures. A plainasync_sessionmakeris now accepted —expire_on_commit=Falseis no longer required. - New
standalone_htmlartifact. Each snapshot derives a self-contained HTML file from its HAR withunmhtml(new dependency). This adds astandalone_htmlcolumn topravda.db.Baseand the field on the publicSnapshot. Regenerate your migrations from the metadata to add the column. Pravda.snapshots()removed. Query history with your own selects againstSnapshotRecordonpravda.db.Base.
Also new: rendered HTML capture waits for the DOM to settle (mutation-quiet) before reading, so hydration scripts land in the captured HTML.