Releases: kellyjonbrazil/jc
Releases · kellyjonbrazil/jc
JC version 1.25.4
- Add
ipconfig
command parser (ipconfig
for Windows) - Add
pacman
command parser - Add
wg show
command parser - Enhance
ethtool
parser to supportlink_partner_advertised_link_modes
- Enhance
ifconfig
parser to supportutun
interfaces with assigned IPv4 addresses on macOS - Enhance
nsd-control
parser with additional state fields - Enhance
ping-s
streaming parser to support error replies - Fix
bluetoothctl
parser when extra attributes likemanufacturer
andversion
exist - Fix
df
parser to correctly output binary vs. decimal size outputs - Fix
ip-address
parser for Python 3.13 changes to IPv4 mapped IPv6 addresses - Fix
iw-scan
parser to output more fields (still beta quality) - Fix
mount
parser for cases where there are spaces in the filesystem name - Fix
netstat
parser for cases where there are spaces in the program name - Fix
pkg-index-deb
,apt-cache-show
, andrpm-qi
parsers to correctly convert contiguous packages with the same name - Fix
traceroute
parser to support extreme IPv6 cases - Fix
uptime
parser for data that containsuser
instead ofusers
- Fix
yaml
parser to support values that start with an equal sign - Enhance
jc.utils.convert_size_to_int()
to addposix_mode
anddecimal_bias
parameters - Enhance cli to coerce any non-JSON-serializable objects to a string
JC version 1.25.3
- Enhance
bluetoothctl
parser with addedbattery_percentage
field - Enhance
git-log
standard and streaming parsers with addedlines_changed
field underfile_stats
- Fix
pci-ids
parser to correctly handle multiple subdevices - Fix
pip-show
parser to handle multi-line fields with a beginning blank line - Fix
ss
parser to correctly handle theRecv-Q
field being too close to theStatus
field - Fix
top
parsers to quiet uptime info parsing - Fix
traceroute
parser to correctly handle hops with multiple IPs - Fix
zpool-status
parser for config items lacking data values - Optimize some tests by removing timezone settings and using
quiet=True
- Documentation updates
JC version 1.25.2
- Add
apt-cache-show
command parser - Add
apt-get-sqq
command parser - Add
ethtool
command parser - Add
needrestart
command parser - Enhance
df
parser to add human readable output support. Note: thesize
field has been changed to an integer and all size values have been normalized
to bytes. - Enhance
free
parser to add human readable output support. All size values
have been normalizd to bytes. - Enhance
iptables
parser to handle -x output - Enhance
/proc/pid/stat
parser to support "Idle" state - Enhance
rpm_qi
andpkg_index_deb
parsers to split list fields into arrays - Fix
iwconfig
parser to handle more special characters in the SSID name - Fix
xrandr
parser to ignore extra horizontal and vertical stats lines - Add aarch64 binaries to Releases for macOS and Linux
- Documentation and doc build updates
JC version 1.25.1
- Fix for crash when optional libraries are not installed (e.g. xmltodict)
- Fix for
ini
parser crashing with some keys with no values - Fix
xrandr
parser to extract more EDID data - Enhance
uptime
parser to support output with no user information - Enhance
--quiet
CLI option to cover more warning messages - Add tests for missing optional libraries
- Documentation updates
JC version 1.25.0
- Add
--slurp
functionality to wrap output from multiple lines into a single array.
Note, this only works with single-line input parsers. (e.g.date
,ip-address
,url
, etc.)
Streaming parsers are not supported. Usejc -hhh
to find parsers compatible with the slurp option. - Enhance
/proc
file magic syntax to allow slurping when multiple files are selected
and to include the_file
metadata field in the data - Enhance
--meta-out
functionality to include a list of the input data when using--slurp
or/proc
file magic syntax. For slurpable parsers, this is a list of string inputs in order.
For/proc
file magic syntax, this is a list of/proc
filenames in order. This can help with
identifying which input matches to which output when using--slurp
or when converting multiple
files via/proc
file magic syntax. - Add
curl-head
command parser forcurl --head
orcurl -I
with verbose support - Add
efibootmgr
command parser - Add
http-headers
parser for plain HTTP header output - Add
kv-dup
parser for Key/Value files with duplicate keys - Add
path
string parser to parse posix path - Add
path-list
string parser to parse path list strings found in env variables - Add source link to online parser documentation
- Add snap package build scripts
- Add
remove_quotes
function toutils.py
- Add
normalize_key
function toutils.py
- Add
line_slice
function toutils.py
- Add
get_parser
function tolib.py
- Enhance
nsd-control
parser to support more zone information - Enhance
ping
andping-s
parsers to support the-I
command option - Enhance
proc-net-tcp
parser to add opposite endian support for architectures
like the s390x - Enhance
url
parser to addparent
,filename
,stem
, andextension
fields - Fix
ini
andini-dup
parsers to consistently handle null values as empty strings - Fix line slicer to not skip blank lines
- Refactor parser aliases for
kv
,pkg_index_deb
,lsb_release
, andos-release
- Update copyright date
JC version 1.24.0
- Add
debconf-show
command parser - Add
iftop
command parser - Add
pkg-index-apk
parser for Alpine Linux Package Index files - Add
pkg-index-deb
parser for Debian/Ubuntu Package Index files - Add
proc-cmdline
parser for/proc/cmdline
file - Add
swapon
command parser - Add
tune2fs
command parser - Remove
iso-datetime
parser deprecated since v1.22.1. (usedatetime-iso
instead) - Update timezone change in Github Actions for node v16 requirement
- Add Python 3.12 tests to Github Actions
- Refactor
acpi
command parser for code cleanup - Refactor vendored libraries to remove Python 2 support
- Fix
iptables
parser for cases where thetarget
field is blank in a rule - Fix
vmstat
parsers for some cases where wide output is used - Fix
mount
parser for cases with spaces in the mount point name - Fix
xrandr
parser for infinite loop issues
JC version 1.23.6
- Fix XML parser for xmltodict library versions < 0.13.0
- Fix
who
command parser for cases when the from field contains spaces
JC version 1.23.5
- Add
host
command parser - Add
nsd-control
command parser - Add
lsb_release
command parser - Add
/etc/os-release
file parser - Enhance
env
command parser to support multi-line values - Enhance
ping
andping-s
parsers to add error and corrupted support - Enhance
xml
parser to include comments in the JSON output - Fix
pidstat
command parser when using-T ALL
- Fix
x509-cert
parser to allow negative serial numbers - Fix
x509-cert
parser for cases when bitstrings are larger than standard - Fix
xrandr
command parser for associated device issues - Fix error when pygments library is not installed
JC version 1.23.4
- Add
/etc/resolve.conf
file parser - Add
/proc/net/tcp
and/proc/net/tcp6
file parser - Add
find
command parser - Add
ip route
command parser - Fix
certbot
command parser to be more robust with different line endings
JC version 1.23.3
- Add
lsattr
command parser - Add
srt
file parser - Add
veracrypt
command parser - Add X509 Certificate Request file parser
- Enhance X509 Certificate parser to allow non-compliant email addresses with a warning
- Enhance
dig
command parser to support the+nsid
option - Enhance
last
andlastb
command parser to support the-x
option - Enhance
route
command parser to add Windows support - Enhnace
netstat
command parser to add Windows support - Enhance
ss
command parser to support extended options - Enhance the compatibility warning message
- Fix
bluetoothctl
command parser for some mouse devices - Fix
ping
command parsers for output with missing hostname - Fix
stat
command parser for older versions that may not contain all fields - Fix deprecated option in
setup.cfg