|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [1.3.0] - 2026-03-24 |
| 4 | + |
| 5 | +### Added |
| 6 | + |
| 7 | +* **Educational logging mode (`mode="edu"`)** |
| 8 | + |
| 9 | + * Human-readable, step-by-step output for learning and algorithm tracing |
| 10 | + * Function calls rendered as: |
| 11 | + |
| 12 | + ``` |
| 13 | + Calling foo(1, b=2) |
| 14 | + ``` |
| 15 | + * Automatic argument formatting (args + kwargs) |
| 16 | + * Omits empty kwargs |
| 17 | +
|
| 18 | +* **Nested function call tracing** |
| 19 | +
|
| 20 | + * Logs calls inside functions (e.g. `outer.inner()`) |
| 21 | +
|
| 22 | +* **Context-aware logging** |
| 23 | +
|
| 24 | + * `log()` inside decorated functions now inherits: |
| 25 | +
|
| 26 | + * `mode` |
| 27 | + * `show_time` |
| 28 | + * `show_file` |
| 29 | + * `show_lineno` |
| 30 | +
|
| 31 | +### Improved |
| 32 | +
|
| 33 | +* **Output clarity in educational mode** |
| 34 | +
|
| 35 | + * Removed internal noise (`<func ...>`, debug artifacts) |
| 36 | + * Simplified function names (no test/module prefixes) |
| 37 | + * More natural mutation messages: |
| 38 | +
|
| 39 | + ``` |
| 40 | + Added 5 to arr -> [1, 2, 5] |
| 41 | + ``` |
| 42 | +
|
| 43 | +### Fixed |
| 44 | +
|
| 45 | +* Formatter crash (`UnboundLocalError: prefix`) |
| 46 | +* Incorrect call argument display (`{'args': ..., 'kwargs': ...}`) |
| 47 | +* Missing nested call events due to tracer scope issues |
| 48 | +
|
| 49 | +### Tests |
| 50 | +
|
| 51 | +* Added educational mode test coverage: |
| 52 | +
|
| 53 | + * Call formatting |
| 54 | + * Argument rendering |
| 55 | + * Nested function tracing |
| 56 | + * Inherited logging behavior |
| 57 | + * Human-readable mutations |
| 58 | + * Output cleanliness |
| 59 | +
|
3 | 60 | ## [1.2.0] - 2026-03-23 |
4 | 61 |
|
5 | 62 | ### Added |
| 63 | +
|
6 | 64 | - `@log(level=...)` for verbosity control (`call`, `state`, `full`) |
7 | 65 | - `@log(filter=[...])` to log only selected variables |
8 | 66 | - Per-function file logging via `@log(filepath=...)` |
9 | 67 | - Global file logging support |
10 | 68 | - Decorator-only logging mode toggle |
11 | 69 |
|
12 | 70 | ### Improved |
| 71 | +
|
13 | 72 | - Overall logging flexibility and usability |
14 | 73 | - Reduced noise in complex traces |
15 | 74 |
|
|
18 | 77 | ## [1.1.5] - 2026-03-23 |
19 | 78 |
|
20 | 79 | ### Changed |
| 80 | +
|
21 | 81 | - Updated README documentation |
22 | 82 |
|
23 | 83 | --- |
24 | 84 |
|
25 | 85 | ## [1.1.4] - 2026-03-23 |
26 | 86 |
|
27 | 87 | ### Fixed |
| 88 | +
|
28 | 89 | - Class wrapping issues |
29 | 90 |
|
30 | 91 | --- |
31 | 92 |
|
32 | 93 | ## [1.1.3] - 2026-03-23 |
33 | 94 |
|
34 | 95 | ### Fixed |
| 96 | +
|
35 | 97 | - Wrapped object representation |
36 | 98 |
|
37 | 99 | --- |
38 | 100 |
|
39 | 101 | ## [1.1.2] - 2026-03-23 |
40 | 102 |
|
41 | 103 | ### Fixed |
| 104 | +
|
42 | 105 | - Incorrect wrapping of callables |
43 | 106 |
|
44 | 107 | --- |
45 | 108 |
|
46 | 109 | ## [1.1.1] - 2026-03-23 |
47 | 110 |
|
48 | 111 | ### Fixed |
| 112 | +
|
49 | 113 | - Mutation tracking issues |
50 | 114 | - Nested path logging bugs |
51 | 115 | - Test failures |
|
55 | 119 | ## [1.1.0] - 2026-03-23 |
56 | 120 |
|
57 | 121 | ### Added |
| 122 | +
|
58 | 123 | - Mutation logging support for tracked objects |
59 | 124 |
|
60 | 125 | ### Improved |
| 126 | +
|
61 | 127 | - Core logging capabilities |
62 | 128 |
|
63 | 129 | --- |
64 | 130 |
|
65 | 131 | ## [1.0.0] - 2026-03-23 |
66 | 132 |
|
67 | 133 | ### Added |
| 134 | +
|
68 | 135 | - Initial release |
69 | 136 | - Variable logging with name inference |
70 | 137 | - Function tracing |
|
0 commit comments