The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

0.18 2025-04-06
- Moved CLI script from script/jq-lite to bin/jq-lite for MetaCPAN visibility
- Updated Makefile.PL to include EXE_FILES => ['bin/jq-lite']
0.17 2025-04-05
- Added --color option to jq-lite CLI script to enable colorized JSON output.
Keys are cyan, strings green, numbers yellow, and booleans/null magenta.
- Updated help and usage examples to reflect the new --color option.
- Improved CLI usability by simplifying option name (from --color-output to --color).
0.16 2025-04-05
- Added --version (-v) option to the jq-lite CLI script.
It displays the installed version of JQ::Lite.
0.14 2025-04-05
- Fixed: --raw-output (-r) now pretty-prints objects and arrays,
and outputs scalars as plain text, matching jq behavior.
- Improved: Output formatting now distinguishes between scalars and structures.
- Updated: Interactive mode preserves output consistency with command-line usage.
0.13 2025-04-05
- Added real-time interactive mode: users can now type queries character-by-character
and see results update immediately without pressing Enter.
- Retains previous valid results on incomplete or invalid query input.
- Displays full JSON on startup in interactive mode using '.' as default query.
- Automatically enters interactive mode when reading JSON from STDIN without a query.
- No non-core modules required: implemented raw terminal mode using 'stty'.
0.12 2025-04-05
[Enhancement]
- Added fallback behavior to show help message when jq-lite is executed with no arguments.
This prevents the script from hanging waiting on STDIN and improves user experience.
0.11 2025-04-05
- Added interactive mode to jq-lite command-line tool
* Launches when no query is given
* Accepts queries from /dev/tty
* Clears screen before printing each result
* Supports --raw-output (-r) in interactive mode
- Improved argument parsing to allow: jq-lite users.json
- Enhanced usability and documentation in README.md
0.10 2025-03-30
- Added match operator for regular expressions (e.g. match "Bob")
0.09 2025-03-30
- Added support for case-insensitive match (e.g. match "bob"i)
- Added limit(n) operator to restrict number of results
0.08 2025-03-29
- Added 'has' operator: select(.meta has "key")
- Added 'first' and 'last' operators for arrays
- Added 'reverse' operator to reverse array order
- JQ-compatible enhancements for improved filtering and data navigation
0.07 2025-03-29
- Removed use of eval in _evaluate_condition for better performance and stability.
- Refactored _traverse for readability and maintainability.
- Added support for multi-level array traversal (e.g., .users[].friends[].name).