Changelogs » Jc

PyUp Safety actively tracks 267,561 Python packages for vulnerabilities and notifies you when to upgrade.

Jc

1.13.4

- Update crontab and crontab-u parsers to tighten up variable detection
  - Update ping parser to tighten linux/bsd detection

1.13.3

- Update ping parser for Raspberry Pi compatibility

1.13.2

- Add key/value file parser (wrapper for ini parser)
  - Add date command parser
  - Update traceroute parser to more gracefully handle missing header row
  - Update traceroute parser to handle annotations
  - Update traceroute parser to only return successful probes

1.13.1

- Add route -6 tests

1.13.0

- Add ping and ping6 command parser tested on linux, macos, and freebsd
  - Add traceroute and traceroute6 command parser tested on linux, macos, and freebsd
  - Add tracepath command parser tested on linux
  - Update ini parser to support files only containing key/value pairs
  - Update uname parser exception with a hint to use "uname -a"
  - Update route parser to support IPv6 tables

1.12.1

- Fix tests when using older version of pygments library

1.12.0

- Add sysctl command parser tested on linux, macOS, and freebsd
  - Update the cli code to allow older versions of the pygments library (2.3.0) for debian packaging
  - Code cleanup on the cli
  - Add tests for the cli
  - Vendorize cgitb as tracebackplus for verbose debug messages

1.11.8

- Add verbose debug option using -dd argument

1.11.7

- Fix iptables parser issue which would not output the last chain

1.11.6

- Improve and standardize empty data check for all parsers

1.11.5

- Update airport_s parser to fix error on parsing empty data
  - Update arp parser to fix error on parsing empty data
  - Update blkid parser to fix error on parsing empty data
  - Update crontab parser to fix error on parsing empty data
  - Update crontab_u parser to fix error on parsing empty data
  - Update df parser to fix error on parsing empty data
  - Update free parser to fix error on parsing empty data
  - Update lsblk parser to fix error on parsing empty data
  - Update lsmod parser to fix error on parsing empty data
  - Update mount parser to fix error on parsing empty data
  - Update netstat parser to fix error on parsing empty data
  - Update ntpq parser to fix error on parsing empty data
  - Update ps parser to fix error on parsing empty data
  - Update route parser to fix error on parsing empty data
  - Update systemctl parser to fix error on parsing empty data
  - Update systemctl_lj parser to fix error on parsing empty data
  - Update systemctl_ls parser to fix error on parsing empty data
  - Update systemctl_luf parser to fix error on parsing empty data
  - Update uptime parser to fix error on parsing empty data
  - Update w parser to fix error on parsing empty data
  - Update xml parser to fix error on parsing empty data
  - Add tests to all parsers for no data condition
  - Update ss parser to fix integer fields

1.11.4

- Update ls parser to fix error on parsing an empty directory

1.11.3

- Add local parser plugin feature (contributed by Dean Serenevy)

1.11.2

- Update netstat parser to add freebsd support
  - Update netstat parser to add route_flags_pretty field
  - Update netstat parser to change osx_inode field name to unix_inode
  - Update netstat parser to change osx_flags field name to unix_flags
  - Update netstat parser to strip whitespace from state field
  - Update route parser to add flags_pretty field
  - Update arp parser to add permanent field (freebsd and osx)
  - Update arp parser to add expires field (freebsd)
  - Update w parser to strip whitespace from what field
  - Update last parser to fix FreeBSD issues
  - Update stat parser to change osx_flags field name to unix_flags
  - Update stat parser to add unix_device field for freebsd and osx
  - Fix freebsd compatibility message for df, fstab, mount, ntpq, stat, and uname parsers
  - Fix compatibility message for platforms that include the version number at the end (e.g. freebsd12)

1.11.1

- Update stat command parser to change osx_flags field to string

1.11.0

- Add dmidecode command parser
  - Update stat command parser to add OSX support
  - Update netstat command parser to add OSX support
  - Update netstat command parser to add -r (route) functionality for linux and OSX
  - Update netstat command parser to add -i (interface) functionality for linux and OSX

1.10.12

- Remove shebang from jc/cli.py for Fedora packaging

1.10.11

- Change file permissions for Fedora packaging

1.10.10

- Fix ls parser issue where the first file was skipped for ls -R on some platforms
  - Update last parser to handle 'gone - no logout' condition
  - Update netstat parser to handle bluetooth section (ignore gracefully for now)

1.10.9

- Add license info to vendorized ifconfig-parser class

1.10.8

- Add license file to dist for Fedora RPM packaging requirements
  - Remove tests from package to keep from polluting the global site-packages

1.10.7

- Requirements modifications for Fedora RPM packaging requirements

1.10.6

- Remove homebrew shim references from du osx tests

1.10.5

- Minor change of using sys.exit(0) instead of exit()

1.10.4

- Add color customization via JC_COLORS env variable

1.10.3

- Fix break on pipe error

1.10.2

- Change colors to ansi and match jello colors

1.10.1

- Code cleanup

1.10.0

- Add color output by default when not piping data to another program
  - Add -m option for monochrome output

1.9.3

- Add axfr support for dig command parser

1.9.2

- Updated arp parser to fix OSX detection for some edge cases

1.9.1

- Updated file command parser to make filename splitting more robust

1.9.0

- Added ntpq command parser
  - Added timedatectl status command parser
  - Added airport -I and airport -s command parser
  - Added file command parser
  - Optimized history command parser by https://github.com/philippeitis
  - Magic syntax fix for certain edge cases

1.8.1

- CLI optimizations by https://github.com/philippeitis
  - Refactored magic syntax function and added tests (https://github.com/philippeitis)
  - Github actions for CI testing on multiple platforms by https://github.com/philippeitis
  - Updated ls parser to fix parsing error in OSX with -lR when there are empty folders

1.8.0

- Added blkid command parser
  - Added last and lastb command parser
  - Added who command parser
  - Added CSV file parser
  - Added /etc/passwd file parser
  - Added /etc/shadow file parser
  - Added /etc/group file parser
  - Added /etc/gshadow file parser

1.7.5

- Updated ls parser to support filenames with newline characters

1.7.4

- Updated ls parser to support multiple directories, globbing, and -R (recursive)

1.7.3

- Add alternative 'magic' syntax: e.g. `jc ls -al`
  - Options can now be condensed (e.g. -prq is equivalant to -p -r -q)

1.7.2

- Include test fixtures in wheel and sdist

1.7.1

- Add YAML file parser
  - Add INI file parser
  - Add XML file parser
  - Add id parser (tested on linux and OSX)
  - Add crontab file parser with user support (tested on linux)
  - Add __version__ variable to parser modules
  - Add exit code on error
  - Updated history parser to output "line" as an integer
  - Updated compatibility list for some parsers
  - Bugfix in crontab file parser: header insertion was clobbering first row
  - Just-in-time loading of parser modules instead of loading all at start

1.6.1

- Add du parser (tested on linux and OSX)
  - Add crontab parser (tested on linux and OSX)
  - Add pip list parser (tested on linux and OSX)
  - Add pip show parser (tested on linux and OSX)
  - Add OSX support for the ifconfig, arp, df, mount, and uname parsers
  - Add tests for ls, dig, ps, w, uptime on OSX
  - Add about option
  - Add universal parsers to refactor repetitive code
  - Updated ifconfig parser to output 'state' as an array

1.5.1

- Add ss parser
  - Add stat parser
  - Add /etc/hosts parser
  - Add /etc/fstab parser
  - Add systemctl parser (includes list-jobs, list-sockets, and list-unit-files)
  - Add -r and raw=True options. By default, jc will now convert numbers and boolean, if possible, and add other semantic information, while the raw output will keep all values as text and provide a more literal JSON output
  - Add -q and quiet=True options to suppress warnings to stderr
  - Add -d option to debug parsing issues
  - Add compatibility warnings to stderr
  - Add documentation
  - Updated iptables parser to allow --line-numbers option
  - Updated lsblk parser to allow parsing of added columns
  - Updated mount parser: changed 'access' field name to 'options'
  - Updated netstat parser to allow parsing of unix sockets and raw network connections
  - Updated w parser to fix unaligned data where blanks are possible
  - Clean up code and reorganize package

1.1.1

- Add arp parser
  - Add dig parser
  - Add unit tests
  - fix netstat parser (remove side effects due to global variable)

1.0.1

- Add w parser
  - Add uptime parser
  - Add history parser
  - Flatten env parser output
  - Remove problematic characters from key names in: df, free, history, lsblk, lsof, and w
  - Where possible, lowercase all keys (except cases like env where the key is the variable name)
  - Remove integer values
  - Handle CTRL-C gracefully

0.9.1

- Add jobs parser
  - Add lsof parser
  - Add lsmod parser
  - No blocking if no piped data
  - Better help text
  - Clean up iptables parser code

0.8.1

- Add env parser
  - Add df parser
  - Add free parser
  - Add lsblk parser
  - Add mount parser
  - Add uname parser
  - Add iptables parser

0.6.4

- Flatten netstat parser output
  - Clean up argument parsing
  - Fix command help

0.5.5

- Fix netstat -p parsing for Ubuntu
  - Add ps parser
  - Add route parser
  - ls parser fixes

0.2.0

- ifconfig, ls, and netstat support