|
| 1 | +# LogScope v0.4.1 Release Notes |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +LogScope v0.4.1 introduces the **`--min-level` threshold filter**, expanded CI testing across Python versions, improved timestamp parsing, and new development tooling. This release enhances log analysis flexibility with better level filtering and broader platform support. |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## New Features |
| 10 | + |
| 11 | +### 📊 Minimum Level Threshold Filter (`--min-level`, `-m`) |
| 12 | + |
| 13 | +Filter logs to show only entries at or above a specified severity level. |
| 14 | + |
| 15 | +**Usage:** |
| 16 | +```bash |
| 17 | +# Show WARN and above (WARN, ERROR, CRITICAL, ALERT, FATAL) |
| 18 | +logscope app.log --min-level WARN |
| 19 | + |
| 20 | +# Combined with other filters |
| 21 | +logscope production.log --min-level ERROR --search "database" |
| 22 | + |
| 23 | +# Dashboard mode with threshold |
| 24 | +logscope app.log --dashboard --follow --min-level ERROR |
| 25 | +``` |
| 26 | + |
| 27 | +**Level hierarchy:** TRACE < DEBUG < INFO < NOTICE < WARN < ERROR < CRITICAL < ALERT < FATAL |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## CLI Changes |
| 32 | + |
| 33 | +### New Options |
| 34 | + |
| 35 | +| Option | Short | Default | Description | |
| 36 | +|--------|-------|---------|-------------| |
| 37 | +| `--min-level` | `-m` | `None` | Show logs at or above this level threshold | |
| 38 | + |
| 39 | +### Updated Commands |
| 40 | + |
| 41 | +The min-level filter works in both standard and dashboard modes: |
| 42 | + |
| 43 | +```bash |
| 44 | +# Standard streaming output |
| 45 | +logscope app.log --min-level WARN |
| 46 | + |
| 47 | +# Dashboard mode |
| 48 | +logscope app.log --dashboard --follow --min-level ERROR |
| 49 | +``` |
| 50 | + |
| 51 | +--- |
| 52 | + |
| 53 | +## Improved Timestamp Parsing |
| 54 | + |
| 55 | +LogScope now recognizes additional timestamp formats: |
| 56 | + |
| 57 | +- **ISO 8601**: `2026-03-21T10:00:00Z`, `2026-03-21T10:00:00.123+02:00` |
| 58 | +- **Common Log Format**: `21/Mar/2026:10:00:00 +0000` |
| 59 | +- **Syslog-style**: `Mar 21 10:00:00` |
| 60 | +- **Unix timestamp**: `1711054800` |
| 61 | + |
| 62 | +--- |
| 63 | + |
| 64 | +## CI/CD Improvements |
| 65 | + |
| 66 | +### Python Version Matrix |
| 67 | + |
| 68 | +Tests now run across Python 3.9, 3.10, 3.11, and 3.12: |
| 69 | + |
| 70 | +```yaml |
| 71 | +python-version: ['3.9', '3.10', '3.11', '3.12'] |
| 72 | +``` |
| 73 | +
|
| 74 | +### Development Tooling |
| 75 | +
|
| 76 | +- Added coverage threshold (`fail_under = 70`) to prevent regression |
| 77 | +- Added ruff-format pre-commit hook for consistent code style |
| 78 | + |
| 79 | +--- |
| 80 | + |
| 81 | +## Bug Fixes / Documentation |
| 82 | + |
| 83 | +### Documentation Fixes |
| 84 | + |
| 85 | +- Removed references to non-existent `--pulse` flag from: |
| 86 | + - `docs/architecture-review.md` |
| 87 | + - `CONTRIBUTING.md` |
| 88 | + - Issue templates |
| 89 | + |
| 90 | +--- |
| 91 | + |
| 92 | +## Version Information |
| 93 | + |
| 94 | +- **Version:** 0.4.1 |
| 95 | +- **Previous Version:** 0.3.1 |
| 96 | +- **Release Date:** 2026-04-05 |
0 commit comments