20261128 v1.26.3
- Enhance CLI startup time. Commands now start about 33 ms (43%) faster, and
magic syntax commands (e.g.jc ls -l) about 130 ms (74%) faster, since the
CLI no longer imports every parser to find the one for a magic command, and
loads the debug and color output modules only when they are used - Enhance
icsparser to add calculated epoch timestamp fields for dates and
times, includingTZIDtimes resolved with the file'sVTIMEZONEcomponent - Enhance CLI and streaming parser error messages to show only the first line
of a parser error message, cut to 500 characters. Use-dor-ddfor the
full message - Enhance CLI to report unrecognized long options (e.g. a misspelled
--slurp) as an error instead of ignoring them - Add
ansible-list-tagscommand parser - Add
brew-searchcommand parser forbrew searchoutput - Add
php-fpmcommand parser forphp-fpm -ttoutput - Add
proc-net-wirelessparser for/proc/net/wireless(also used by
jc --proc) - Add
prometheusparser for Prometheus and OpenMetrics text format metrics - Add
systemextensionsctlcommand parser forsystemextensionsctl list
output on macOS - Fix CLI on Windows to read STDIN redirected from a file (e.g.
jc --kv < file.txt), which gave empty output - Fix
cksumparser to keep leading whitespace in file names - Fix
crontabandcrontab-uparsers to not crash on a shortcut line (e.g.
@reboot) that was cut short before its user or command - Fix
dateparser to raise a parse error instead of crashing on input it
cannot parse - Fix
dateparser and the timestamp utility so a time of exactly the Unix
epoch (1970-01-01 00:00:00 UTC) gets an epoch value of0instead of
null - Fix
dfparser to not crash on a row that is shorter than the header - Fix
duparser to keep whitespace in file names - Fix
freeparser to not crash on output with more than one sample (e.g.
free -s 1), which has a blank line and the header repeated between samples - Fix
hostparser to skip a truncated SOA record instead of crashing - Fix
idparser to not crash on an SELinux context with fewer than four
fields (e.g. no level) - Fix
lsblkparser to not crash on output without aNAMEcolumn (e.g.
lsblk -o SIZE,TYPE,MOUNTPOINTS), and to raise a parse error on output
that is missing its header line - Fix
netstatparser to not crash on Windowsnetstatoutput that was cut
short - Fix
netstatparser to keep counters in the right fields on macOS
netstat -ibrows that have no address - Fix number conversion utilities (
jc.utils.convert_to_float(),
convert_to_int(), andconvert_to_bool()) to keep the exponent of
numbers in scientific notation (e.g.1.5e+3was converted to1.53) - Fix
pathparser to remove CRLF line endings from Windows paths - Fix
procparser to identify/procfiles that have CRLF line endings - Fix
ssparser to not crash when theNetidcolumn is missing (e.g.
ss -torss -u) - Fix
swaponparser to not crash on sizes that are not whole numbers (e.g.
7.7G) - Fix
systemctlparser to not read theLegendfooter or the
N loaded units listedline as units (e.g.systemctl --failedwith no
failed units now returns an empty list) - Fix
systeminfo,top, andtop-sparsers to not crash on output that was
cut short (e.g. no network cards, time zone, or process table) - Fix
typesetparser to decode$'...'values correctly, including
non-ASCII text,\Eescapes, and the zsh and ksh escapes (e.g.\C-xand
\u[e9]) - Fix
typesetparser to remove the backslash escapes in double-quoted values
(e.g.\"and\$), and to keep quotes that are part of a value - Fix
urlparser to not crash on an invalid port on Python 3.16 - Fix
wparser to raise a parse error when the header line is missing and
to not crash on blank rows or rows that were cut short - Fix
wcparser to keep leading whitespace in file names - Fix
wg-showparser to not crash on a hexfwmarkvalue (e.g.0xca6c)