You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Streaming output writers to avoid unbounded memory growth on large listings.
20
+
- Optional Git status integration into machine outputs when `-G` is used (no extra git work otherwise).
21
+
- Archive introspection (no extraction to disk):
22
+
- Automatic detection for `.zip`, `.tar`, `.tar.gz`, `.tgz` when a single archive file is passed as the path
23
+
- Lists archive contents as a virtual directory and integrates with existing views: default, long, table, grid, tree, recursive
24
+
- Works with filters, sorting, depth control, and machine outputs (`--json`, `--ndjson`, `--csv`)
25
+
- Symlink targets in tar archives are exposed as `custom_fields["symlink_target"]`
26
+
- Single-file listing:
27
+
- Passing a regular file path now lists that single file (instead of erroring with Not a directory)
28
+
- All formatters and machine outputs apply normally
29
+
- Long format quality-of-life flags:
30
+
-`--hide-group`: Hide the group column (great for single-user systems). Also configurable via `formatters.long.hide_group` in the config file.
31
+
-`--relative-dates`: Show relative modified times (e.g., "2h ago"). Also configurable via `formatters.long.relative_dates`.
32
+
- Relative dates are powered by `chrono-humanize` for accurate human-friendly phrasing.
33
+
34
+
### Changed
35
+
36
+
- CLI: Added mutually exclusive flags group for machine output (`--json`, `--ndjson`, `--csv`) and `--pretty`.
37
+
- Internal: Introduced `OutputMode` in CLI args to route to human vs machine formatters.
38
+
- Internal: Added a serializable adapter to normalize timestamps to ISO-8601 UTC and permissions to octal.
39
+
- Docs: Updated README with a new "Machine Output" section including schema and examples.
40
+
- Long format date column alignment is now consistent even when using relative dates.
41
+
- Grid formatter no longer appends an extra trailing blank newline; output ends without an extra empty line.
42
+
43
+
### Fixed
44
+
45
+
- Non-fatal metadata read failures are handled gracefully during machine output; entries still emit with nulls where needed and a warning on stderr, without corrupting stdout.
46
+
- Graceful handling when the provided path is a single file or an archive: no erroneous directory reads
47
+
- Relative date phrasing now correctly uses "X ago" for past times and "in X" for future times.
0 commit comments