Releases: davidhoo/jsonpath
Releases · davidhoo/jsonpath
v2.0.1
v2.0.0
jsonpath v2.0.0
Major release with significant improvements and changes:
Major Changes
- Complete rewrite of the JSONPath implementation
- Full compliance with JSONPath specification (RFC 9535)
- Improved error handling and reporting
- Enhanced performance and reliability
- Better support for various JSONPath expressions
Breaking Changes
- API changes to align with the RFC specification
- Updated function signatures for better usability
- Modified error types for more detailed error reporting
Documentation
- Updated documentation to reflect RFC compliance
- Added more examples and use cases
- Improved API documentation
For more details, please refer to the documentation and examples in the repository.
v1.0.4
v1.0.3
What's New
- Enhanced filter expressions
- Full support for logical operators (
&&,||,!) - Proper handling of complex filter conditions
- Support for De Morgan's Law in negated expressions
- Improved numeric and string comparisons
- Better error messages
- Full support for logical operators (
- Improved API design
- New simplified
Queryfunction for easier usage - Deprecated
Compile/Executein favor ofQuery - Better error handling and reporting
- New simplified
- Updated examples
- New examples demonstrating logical operators
- Updated code to use new
Queryfunction - Fixed UTF-8 encoding issues in examples
v1.0.2
v1.0.2 Release Notes
What's New
- Enhanced colorized output
- Beautiful syntax highlighting for JSON
- Colorful command-line interface
- Improved readability for nested structures
- Better UTF-8 support
- Fixed CJK character display
- Proper handling of multi-byte characters
- Improved filter expressions
- Fixed numeric comparisons
- Better error messages
- Support for direct value comparisons
Installation
Homebrew (Recommended)
v1.0.1
JSONPath v1.0.1
This release includes several improvements:
Features
- Support outputting entire JSON document when -p is not provided
- Enhanced color output with better distinction between keys and values
- Improved command-line interface
Installation
Homebrew
brew tap davidhoo/tap
brew install jsonpathManual Installation
Download the appropriate binary for your platform from the releases page.
Usage
# Output entire JSON
jp -f data.json
# Query specific path
jp -f data.json -p '$.store.book[*].author'For more examples and documentation, see the README.
JSONPath v1.0.0
JSONPath v1.0.0
First release of the JSONPath implementation, fully compliant with RFC 9535.
Features
- Complete RFC 9535 compliance
- Command line tool (
jp) - Go library
- Cross-platform support (macOS and Linux, both AMD64 and ARM64)
Installation
Homebrew
brew tap davidhoo/tap
brew install jsonpathManual Installation
Download the appropriate binary for your platform from the releases page.
Usage
jp -p '$.store.book[*].author' -f data.jsonFor more examples and documentation, see the README.