Skip to content

Releases: kellyjonbrazil/jc

JC version 1.25.4

26 Nov 04:43
0c40e3a
Compare
Choose a tag to compare
  • Add ipconfig command parser (ipconfig for Windows)
  • Add pacman command parser
  • Add wg show command parser
  • Enhance ethtool parser to support link_partner_advertised_link_modes
  • Enhance ifconfig parser to support utun 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 like manufacturer and version 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, and rpm-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 contains user instead of users
  • Fix yaml parser to support values that start with an equal sign
  • Enhance jc.utils.convert_size_to_int() to add posix_mode and decimal_bias parameters
  • Enhance cli to coerce any non-JSON-serializable objects to a string

JC version 1.25.3

10 Jun 02:50
Compare
Choose a tag to compare
  • Enhance bluetoothctl parser with added battery_percentage field
  • Enhance git-log standard and streaming parsers with added lines_changed field under file_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 the Recv-Q field being too close to the Status 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

23 Mar 18:13
abda873
Compare
Choose a tag to compare
  • 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: the size
    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 and pkg_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

13 Feb 00:50
2cdbebb
Compare
Choose a tag to compare
  • 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

06 Feb 02:26
Compare
Choose a tag to compare
  • 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. Use jc -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 for curl --head or curl -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 to utils.py
  • Add normalize_key function to utils.py
  • Add line_slice function to utils.py
  • Add get_parser function to lib.py
  • Enhance nsd-control parser to support more zone information
  • Enhance ping and ping-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 add parent, filename, stem, and extension fields
  • Fix ini and ini-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, and os-release
  • Update copyright date

JC version 1.24.0

17 Dec 18:11
2bccd14
Compare
Choose a tag to compare
  • 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. (use datetime-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 the target 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

24 Oct 00:59
249d93f
Compare
Choose a tag to compare
  • 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

21 Oct 19:28
d298e10
Compare
Choose a tag to compare
  • 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 and ping-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

30 Jul 17:23
4cd721b
Compare
Choose a tag to compare
  • 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

21 Jun 22:50
5023e5b
Compare
Choose a tag to compare
  • 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 and lastb 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