Releases: kellyjonbrazil/jc
JC version 1.16.1
- Fix issue with process substitution with the magic syntax
- Fix issue with globs not including filenames with spaces with magic syntax
- Fix
stat
parser to properly handle filenames with spaces on macOS/BSD
JC version 1.16.0
- Include CHANGELOG in source distribution
- Fix Man page location in source packages
- Add
sfdisk
command parser tested on linux - Update unit test files to change the timezone when needed (POSIX only)
- Binaries and DEB/RPM/MSI packages now include Python 3.9.5 interpreter
JC version 1.15.4
- JC is now available to install as an MSI package on Windows
- Update
ping
parser to support error responses in OSX and BSD - Update
ping
parser to be more resilient against parsing errors for unknown error types - Update
dig
parser to support+noall +answer
use case - Update
dig
parser compatibility to all platforms - Fix colors in Windows terminals (cmd.exe and PowerShell)
- Fix epoch calculations when UTC is referenced as "Coordinated Universal Time"
- Add Windows time format for
systeminfo
output - Add exceptions module to standardize parser exceptions
- JC no longer swallows exit codes when using the "Magic" syntax. See the Exit Codes section of the README and man page for details
Release Notes: https://blog.kellybrazil.com/2021/04/07/jc-version-1-15-0-released/
JC version 1.15.3
- Add
ufw status
command parser tested on linux - Add
ufw-appinfo
command parser tested on linux - Fix deb package name to conform to standard
- Add Caveats section to readme and manpage
Release Notes: https://blog.kellybrazil.com/2021/04/07/jc-version-1-15-0-released/
JC version 1.15.2
- Add systeminfo parser tested on Windows
- Update dig parser to fix an issue with IPv6 addresses in the server field
- Update dig parser to fix an issue when axfr entries contain a semicolon
- Update dig parser to add support for Additional Section and Opt Pseudosection
- Update dig parser to add query_size field
- Use dig parser as the main example in readme, documentation, and man page
- Standardize int, float, and boolean conversion rules with functions in jc.utils
Release Notes: https://blog.kellybrazil.com/2021/04/07/jc-version-1-15-0-released/
JC version 1.15.1
- New feature to show parser documentation interactively with -h --parser_name
for example: $ jc -h --arp - Add man page to pypi package for easier packaging in homebrew
- Update rpm-qi parser to add two calculated timestamp fields: install_date_epoch and install_date_epoch_utc
- Clean up documentation and autogenerate the Parser Information section from metadata
Release Notes: https://blog.kellybrazil.com/2021/04/07/jc-version-1-15-0-released/
JC version 1.15.0
- Add
acpi
command parser tested on linux - Add
upower
command parser tested on linux - Add
/usr/bin/time
command parser tested on linux and macOS - Add
dpkg -l
command parser tested on linux - Add
rpm -qi
command parser tested on linux - Add
finger
command parser tested on linux and macOS - Add
dir
command parser tested on Windows 10 - Update
date
parser: complete rewrite (v2.0) providing many enhancements:- Make weekday numbering ISO 8601 compliant
- Add a calculated naive timestamp field
- Add a calculated UTC timestamp field (only if date output is in UTC)
- Add several fields, including:
hour_24
,utc_offset
,day_of_year
,week_of_year
,iso
, andtimezone_aware
- Update
uptime
parser to adduptime_days
,uptime_hours
,uptime_minutes
,uptime_total_seconds
,time_hour
,time_minute
, andtime_second
fields - Update
last
parser to use new timestamp function - Update
stat
parser to addaccess_time_epoch
,access_time_epoch_utc
,modify_time_epoch
,modify_time_epoch_utc
,change_time_epoch
,change_time_epoch_utc
,birth_time_epoch
, andbirth_time_epoch_utc
fields - Update
timedatectl
parser to addepoch_utc
field - Update
who
parser to addepoch
field - Update
dig
parser to addwhen_epoch
andwhen_epoch_utc
fields - Update
ls
parser to addepoch
andepoch_utc
fields - Add
-h
option to display the help text. Piping errors no longer show the help text. - Add
-v
option to display version information. - Add contributing information to project root
- Make all external python library dependencies optional:
pygments
,ruamel.yaml
,xmltodict
- JSON output now supports unencoded unicode characters
- JSON output is now more compact unless the
-p
(pretty) option is used - Developer scripts added and enhanced to automate documentation and man page creation
- Enhanced man page
Release Notes are available at: https://blog.kellybrazil.com/2021/04/07/jc-version-1-15-0-released/
JC version 1.14.4
Fixes since Release 1.14.1:
1.14.4
- Packaging fix only for binaries, DEBs, and RPMs hosted on https://github.com/kellyjonbrazil/jc-packaging. Packages from PyPi and OS repositories are not affected. This fixes an issue that kept the YAML parser from initializing.
1.14.3
- Add hciconfig parser tested on linux
- Update dig parser to simplify answer data logic
1.14.2
- Update dig parser to fix cases where there are spaces in the answer data (e.g. TXT records)
JC version 1.14.1
- Add
iw-scan
parser tested on linux (beta) - Update
date
parser for Ubuntu 20.04 support - Update
last
parser forlast -F
support - Update
last
parser to add convenience fields and augment data for easier parsing - Update man page
- Minor documentation updates
Release notes: https://blog.kellybrazil.com/2021/01/01/jc-version-1-14-0-released/
Schema Changes:
date
command parser
A new period
field has been added to the schema to represent AM
and PM
which may appear depending on locale configuration on the host. If the locale does not print AM
or PM
then the value will be null
.
{
"year": integer,
"month_num": integer,
"day": integer,
"hour": integer,
"minute": integer,
"second": integer,
"period": string,
"month": string,
"weekday": string,
"weekday_num": integer,
"timezone": string
}
last
command parser
The duration
field calculation has changed to be more easily parsed and will display as total HOURS:MINUTES
. Also, a few convenience calculated fields have been added and will display when the last -F
option is used: login_epoch
, logout_epoch
, and duration_seconds
.
[
{
"user": string,
"tty": string,
"hostname": string,
"login": string,
"logout": string,
"duration": string,
"login_epoch": integer, # available with last -F option
"logout_epoch": integer, # available with last -F option
"duration_seconds": integer # available with last -F option
}
]
JC version 1.14.0
- Add hashsum parser tested on linux, macos
- Add hash parser tested on linux, macos
- Add cksum parser tested on linux, macos
- Add wc parser tested on linux, macos
- Add printenv support under env parser
- Add vdir support under ls parser
- Add python 3.9 to github automation tests
Release notes: https://blog.kellybrazil.com/2021/01/01/jc-version-1-14-0-released/