|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.1.3 (2026-02-19) |
| 4 | + |
| 5 | +### Features |
| 6 | + |
| 7 | +- add source line tracking for log parsing and validation |
| 8 | +- add unified filter module with expression-based log filtering |
| 9 | +- enhance comparison output with table formatting and JSON shorthand support |
| 10 | +- introduce CLI enhancements and output improvements |
| 11 | +- add support for config file via `--config` flag in CLI |
| 12 | +- improve filtering logic |
| 13 | +- add `generate-config` command with embedded templates for profile generation |
| 14 | +- ensure unique/unpaired entries are included in JSON and text diff outputs |
| 15 | + |
| 16 | +#### Improve CLI usability with new global flags: |
| 17 | + |
| 18 | +- Added `-j, --json` as shorthand for `-F json -c` for compact machine-readable output. |
| 19 | +- Added `-f, --filter` for unified filter expressions (for example: `c:core l:ERROR !t:timeout`). |
| 20 | +- `-f, --filter` can also be set with `LOG_ANALYZER_FILTER`. |
| 21 | +- `--json` conflicts with explicit `-F, --format` to avoid ambiguous output settings. |
| 22 | + |
| 23 | +#### Add configurable profiles and starter templates for custom log formats: |
| 24 | + |
| 25 | +- Added runtime profile loading via `--config <path>` or `LOG_ANALYZER_CONFIG`. |
| 26 | +- Parser markers, pairing markers, and correlation keys are now configurable through profiles. |
| 27 | +- Added profile-aware `info` insights for unknown components, commands, requests, and session prefixes. |
| 28 | +- Added reusable templates: `base`, `custom-start`, `service-api`, and `event-pipeline`. |
| 29 | + |
| 30 | +#### Improve `diff` output readability and diagnostics: |
| 31 | + |
| 32 | +- Differences are now classified as added, removed, or modified (`+`, `-`, `~`). |
| 33 | +- Summary output now includes counts of additions, removals, and modifications. |
| 34 | +- Diff entries now include source line numbers for faster navigation to original logs. |
| 35 | +- JSON diff output now includes `change_type`, and text diffs are split into `text1`/`text2`. |
| 36 | + |
| 37 | +#### Add profile generation command and built-in template support: |
| 38 | + |
| 39 | +- Added `generate-config` (`gen-config`) to create a TOML profile from a log file. |
| 40 | +- Generated profiles include discovered components, commands, requests, and session prefix hints. |
| 41 | +- Supports `--profile-name`, `--template`, and `-o, --output`. |
| 42 | +- `--template` now accepts either a file path or built-in template name (`base`, `custom-start`, `service-api`, `event-pipeline`). |
| 43 | +- Embedded built-in templates into the binary and use embedded `base` as default for better portability. |
| 44 | + |
| 45 | +#### Add unified filter expression syntax: |
| 46 | + |
| 47 | +- Added expression-based filtering via `-f, --filter`. |
| 48 | +- Supports `component`, `level`, `text`, and `direction` terms (with short aliases like `c:`, `l:`, `t:`, `d:`). |
| 49 | +- Supports exclusions with `!` (for example: `!l:DEBUG`). |
| 50 | +- Multiple terms are combined with AND semantics. |
| 51 | +- Matching for `level` and `direction` values is case-insensitive. |
| 52 | +- Unknown filter values now produce warnings to catch typos. |
| 53 | + |
| 54 | +### Fixes |
| 55 | + |
| 56 | +#### Fix regressions in compare/diff filtering and output: |
| 57 | + |
| 58 | +- Repeated shared keys are now paired one-to-one; unmatched occurrences are kept as unique entries. |
| 59 | +- `--sort-by time/component/level/type` now sorts correctly. |
| 60 | +- `--full` now prints full payload JSON in comparison output. |
| 61 | +- `-o, --output` now writes the correct output for `compare`, `diff`, `llm-diff`, `process`, and `perf` (text and JSON). |
| 62 | +- Filter logic is now consistent: different filter types are AND-ed, multiple values of the same type are OR-ed. |
| 63 | +- `diff` output now includes unpaired unique entries in both text and JSON modes. |
| 64 | +- Parser no longer panics when profile config has empty `command_payload_markers`. |
| 65 | + |
| 66 | +#### Improve output formatting for summaries: |
| 67 | + |
| 68 | +- Summary statistics now render as styled, width-aware tables. |
| 69 | +- Table formatting is applied consistently across console and file output. |
| 70 | +- Improves readability of command output for large result sets. |
| 71 | + |
3 | 72 | ## 0.1.2 (2026-01-22) |
4 | 73 |
|
5 | 74 | ### Features |
|
0 commit comments