Releases: kx0101/replayer
Releases · kx0101/replayer
v2.0.0
v1.1.0
v1.0.0
- Predictable Results - Same input + targets = same output, every time
- Stable Target & Header Ordering - No more random map iterations
- Consistent Diff Reporting - Body & status comparisons are repeatable, even with volatile field
- Deterministic Latency Buckets - Minor timing fluctuations won’t break your regression tests
- Request Fingerprinting - Track requests reliably across multiple environments
v0.5.0
Refactor CLI main logic to remove repetition and improve testability
- ExitCodes
- Introduced function variables (dryRun, convertNginxLogs, etc.) to enable easier testing and mocking
- Added handleError helper to standardize error output and exit codes
- Result output logic into outputResults and outputRulesJSON
- Improved readability of main execution paths (runReplayMode, runCapture, runDryRun, runParseNginx)
- Isolated baseline loading into loadBaseline helper
- No functional changes; behavior and exit codes preserved
v0.4.0
- Added regression rules via YAML configuration
- Supports status mismatch, body difference, and latency regression rules
- Allows endpoint-specific rules
- Configurable ignore fields in body comparisons (wildcards supported)
- Supports baseline comparisons for latency regression detection
- Integrated CI/CD-friendly exit codes for automated rule enforcement
v0.3.1
v0.3.0
v0.2.0
Live Capture Mode (--capture)
Act as a reverse proxy to capture all HTTP traffic between clients and an upstream server
- Records request and response data including
- Method, path, headers, and body
- Response status, headers, and body
- Latency in milliseconds
- Timestamp of each request
- Supports real-time streaming of captured entries to stdout via --stream.
- Saves captured traffic in JSON Lines format for easy replay, diffing, and analysis