Release Notes: JC version 1.13.1 #81
kellyjonbrazil
started this conversation in
General
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m happy to announce the release of
jc
version 1.13.1 available on github and pypi.jc
now supports over 55 commands and file-types, including the newping
,sysctl
,traceroute
, andtracepath
command parsers. The INI file parser has been enhanced to support simple key/value text files and theroute
command parser now supports IPv6 tables.Custom local parser plugins are now supported. This allows overriding existing parsers and rapid development of new parsers.
Other updates include verbose debugging, more consistent handling of empty data, and many parser fixes for FreeBSD.
jc
can be installed viapip
or through several new official OS package repositories, including Fedora, openSUSE, Arch Linux, NixOS Linux, Guix System Linux, FreeBSD, and macOS. For more information on how to getjc
, click here.To upgrade with pip:
New Features
jc
is now available on the official Fedora repository (dnf install jc
)jc
is now available on the official Arch Linux repository (pacman -S jc
)jc
is now available on the official NixOS repository (nix-env -iA nixpkgs.jc
)jc
is now available on the official Guix System Linux repository (guix install jc
)jc
is now available on the official FreeBSD ports repository (portsnap fetch update && cd /usr/ports/textproc/py-jc && make install clean
)jc
is in process (Intent To Package) for Debian packaging.-dd
command argument.pygments
library (>=2.3.0) are now supported (for Debian packaging)New Parsers
jc
now supports 55 parsers. New parsers includeping
,sysctl
,tracepath
, andtraceroute
.Documentation and schemas for all parsers can be found here.
ping
command parserLinux, macOS, and FreeBSD support for the
ping
command:sysctl
command parserLinux, macOS, and FreeBSD support for the
sysctl -a
command:tracepath
command parserLinux support for the
tracepath
command:traceroute
command parserLinux, macOS, and FreeBSD support for the
traceroute
command:Updated Parsers
There have been many parser updates since v1.11.0. The INI file parser has been enhanced to support files and output that contains simple key/value pairs. The
route
command parser has been enhanced to add support for IPv6 routing tables. Theuname
parser provides more intuitive debug messages and an issue in theiptables
command parser was fixed, allowing it to convert the last row of a table. Many other parser enhancements including the consistent handling of blank input, FreeBSD support, and minor field additions and fixes are included.Key/Value Pair Files with the INI File Parser
The INI file parser has been enhanced to now support files containing simple key/value pairs. Files can include comments prepended with
#
or;
and keys and values can be delimited by=
or:
with or without spaces. Quotation marks are stripped from quoted values, though they can be kept with the-r
(raw output)jc
argument.These types of files can be found in many places, including configuration files in
/etc
. (e.g./etc/sysconfig/network-scripts
).route
Command ParserThe
route
command parser has been enhanced to support IPv6 tables.Schema Changes
There are no schema changes in this release.
Full Parser List
Beta Was this translation helpful? Give feedback.
All reactions