Repository navigation
Migrating to v4
Kronikol 4.0.0 changes three defaults and removes one opt-in control. Nothing else in the public API changes: code that builds against 3.36.0 without a CS0618 warning builds against 4.0.0 unchanged. Each default can be set back to what 3.x did.
| 3.x | 4.0.0 | To keep the 3.x behaviour | |
|---|---|---|---|
Large payloads in TestRunReport.json
|
Text | Compressed in place |
CompressTestRunReportPayloads = false, or kronikol ingest --payloads plain
|
| Request and response headers in diagram notes | Shown | Hidden until a reader shows them |
TestRunReportToggleDefaults.HeadersShown = true, or kronikol ingest --headers shown
|
| JSON payloads in diagram notes | Drawn as JSON | Drawn as YAML |
NotePayloadFormat = NotePayloadFormat.Json, or kronikol ingest --note-format json
|
| Monospace note control | Opt-in, ShowNoteFontControls
|
Removed | None: notes use the diagram's own font |
To keep all three 3.x defaults:
var options = new ReportConfigurationOptions
{
CompressTestRunReportPayloads = false,
NotePayloadFormat = NotePayloadFormat.Json,
TestRunReportToggleDefaults = { HeadersShown = true },
};A body or a diagram's PlantUML source of 8,192 characters or more (512 in 4.0.0 and 4.0.1) is written as {"$h": "b:…", "$n": length, "$z": "…"} in its place when that is smaller, and a file holding one declares formatVersion 2 (#85). The file is still JSON, and every kronikol query verb answers as it does on an uncompressed copy of the same run. On BreakfastProvider's xUnit lane the file came to 4,345,421 bytes, 74% of the 5,855,252 that 3.34.2 wrote. 4.0.2 compresses from 8,192 characters, not 512: zipped as a CI artifact, or served gzipped as GitHub Pages serves it, a report whose payloads are mostly under a few kilobytes had come out larger than with nothing compressed, since each payload gzipped on its own no longer compresses against the others. On BreakfastProvider's in-memory xUnit lane the zip of the file went from 44.6% larger than with nothing compressed to 8.5% larger, and the file stays 20% smaller than with nothing compressed. See Generated Reports › Compressed payloads.
What reads it:
-
kronikol3.35.0 and later. An olderkronikolrefuses the file by itsformatVersionrather than half-reading it. Update the tool:dotnet tool update -g Kronikol.Tool. -
kronikol mergetakes 3.x and 4.0.0 shards together. The merge is compressed when any shard was. -
query.py. The copy Kronikol writes into a repository reads compressed payloads from 3.35.0 on. A copy made before 3.35.0 fails on one: refresh it withkronikol init-agents, or copy it again from the project template. -
The history action. The tool its
VERSIONfile installs has to readformatVersion2, so a workflow that pins the action to a tag beforev3.35.0has to move it on, tov4.0.0or later. -
Your own scripts.
$zis the base64 of the gzip of the text's UTF-8: decode it and gunzip it.$his the payload'sb:address and$nits length. The report's JSON schema describes the wrapper. - Kronikol4J writes its own file and is not affected.
Diagrams start without the grey header lines of each request and response note. The Headers toolbar button shows them for the whole report or for one scenario, as it always has; only the state a report opens in has changed.
A JSON payload in a note is drawn as YAML, so a multi-line string such as a SQL query reads with its real line breaks. A payload that cannot be drawn as YAML stays JSON. Readers switch a note, a scenario or the whole report between JSON and YAML as before.
ReportConfigurationOptions.ShowNoteFontControls, ReportToggleDefaults.NoteFont, ResolvedToggleDefaults.NoteFont, ResolvedToggleDefaults.ShowNoteFontControls and the NoteFontFamily enum are gone. 3.36.0 marked them obsolete, so a build with no CS0618 warning on 3.36.0 has nothing to change. Code that still sets them does not build on 4.0.0: delete those lines. The note width control stays; see PlantUML Browser Rendering › Note Appearance.
kronikol ingest follows the library's defaults, so without flags it now writes compressed payloads, headers hidden and YAML notes. --payloads plain, --headers shown and --note-format json write what 3.x wrote. See Ingesting External Captures.
Home · 🔍 Search this wiki Full-text search across every page. The “Pages” list above matches page and heading names, not page content.
Getting Started
- Quick Start (xUnit)
- Project Templates
- AI Integration Prompt
- Framework Integration Guides
- Migrating to v5
- Migrating to v4
Common Tasks
Integration Guides
- Integration xUnit3
- Integration xUnit2
- Integration NUnit
- Integration MSTest
- Integration TUnit
- Integration BDDfy xUnit3
- Integration LightBDD xUnit2
- Integration LightBDD xUnit3
- Integration LightBDD TUnit
- Integration ReqNRoll xUnit2
- Integration ReqNRoll xUnit3
- Integration ReqNRoll TUnit
- Integration Playwright
Uninstrumentable / polyglot backends
- Integration ProxyTap Extension
- Integration TcpTap Extension
- Integration Otlp Extension
- Exporting to OpenTelemetry
- Ingesting External Captures
- Ingesting from Jest
- Integration Cucumber Messages
- Capture-Time Redaction
Extensions
- Integration AtlasDataApi Extension
- Integration BigQuery Extension
- Integration Bigtable Extension
- Integration BlobStorage Extension
- Integration ClickHouse Extension
- Integration CloudStorage Extension
- Integration CosmosDB Extension
- Integration Dapper Extension
- Integration DynamoDB Extension
- Integration EF Core Relational Extension
- Integration Elasticsearch Extension
- Integration EventBridge Extension
- Integration EventHubs Extension
- Integration Grpc Extension
- Integration Kafka Extension
- Integration MassTransit Extension
- Integration MongoDB Extension
- Integration MySqlConnector Extension
- Integration Npgsql Extension
- Integration Oracle Extension
- Integration PubSub Extension
- Integration Redis Extension
- Integration S3 Extension
- Integration ServiceBus Extension
- Integration SNS Extension
- Integration Spanner Extension
- Integration SqlClient Extension
- Integration Sqlite Extension
- Integration SQS Extension
- Integration StorageQueues Extension
- Integration OpenTelemetry Extension
- Integration DispatchProxy Extension
- Integration MediatR Extension
- Integration PlantUML IKVM
Configuration
- Tracking Dependencies
- Tracking Custom Dependencies
- HTTP Tracking Setup
- Report Configuration
- Diagram Customisation
- Phase-Aware Tracking
- Content Formatting
- PlantUML Server Configuration
Features
- Generated Reports
- Report Themes
- Search and Filter Syntax
- Component Diagrams
- PlantUML Browser Rendering
- Inline SVG Rendering
- Internal Flow Tracking
- Tags and Attributes
- Excluding Requests
- Excluded Headers
- Multi-Host Test Architectures
- Event-Driven Architecture Testing
- Service Bus Tracking Patterns
- Background Thread Correlation
- Parallel-Safe Background Correlation
- Event & Message Tracking
- Assertion Tracking
- Step Tracking
- Tabular Attributes
- Large Response and Diagram Handling
- Querying Reports
- Service Card
- Cross-Run History
- Diagnostics and Debugging
- CI Summary Integration
- CI Artifact Upload
- Merging Parallel Reports
Reference