Repository navigation
5.0.0
Works with VRT server 6.0 and targets .NET 10.
Fixes
Stopsends{"isRunning": false}, so the server stops the build itself instead of
relying on its fallback for an empty request.ImageUrl,DiffUrlandBaselineUrlpoint to{apiUrl}/images/{name}, which
works for HDD and S3 storage. They used to be built from the web-app link.- Server errors throw
ServerErrorwithStatusCodeand the server's message, with a
hint for 413 (BODY_PARSER_JSON_LIMIT) and 422 (MAX_IMAGE_PIXELS). Network errors,
timeouts and non-API responses are wrapped inVisualRegressionTrackerError. - All six server statuses are known, an unknown one is returned as
Unknown, and only
NewandUnresolvedfailTrack. - With
EnableSoftAssert, failures are written to stderr instead of being dropped. Track(Stream)leaves the caller's stream open.- The
HttpClientthe tracker creates waits up to 360 s for slow comparisons. - No dependencies: NSwag and Newtonsoft.Json 12.0.2 (CVE-2024-21907) are gone.
Breaking changes
- Targets
net10.0only. - The generated
ApiClient,ApiException,ApiException<T>and DTOs are removed;
IgnoreAreaDtostays, withoutAdditionalProperties. TrackthrowsServerErrorinstead ofApiException.Failed,ApprovedandUnknownare returned instead of thrown.ImageUrlisnullwhen the server returns no image name.vrt.jsonis read with System.Text.Json: single quotes are no longer accepted, and an
unreadable file throwsVisualRegressionTrackerError.VisualRegressionTrackerisIDisposable.
See "Upgrading from 4.x" in the README.