First Release
Pre-release
Pre-release
Release Notes for python-json-patch-rules v0.2.0
We are thrilled to announce the inaugural release of python-json-patch-rules, a robust Python library designed for the application and management of JSON patch operations governed by customizable rule sets. This release marks the availability of a powerful tool for developers needing precise control over JSON data modifications, particularly where security and data integrity are paramount.
Key Features in v0.2.0
- Configurable Rule-Based Validation: Enforce granular rules that determine which modifications are permissible on your JSON objects.
- Support for Wildcards and Placeholders: Utilize dynamic placeholders and wildcards (
*,{*},[n], etc.) for flexible rule definitions that adapt to varying JSON structures. - Enhanced Data Integrity: Ensure that only authorized modifications are applied, safeguarding the structure and consistency of your data.
- Selective Path Replacement: Introduce special modifiers like
:unique:and:replace:to manage how lists and properties are updated, ensuring that changes are made without duplicating or improperly altering data.
Improvements
- Initial implementation of the core system allowing comprehensive path evaluations and rule enforcement for JSON patch operations.
- Optimization of pattern matching for increased efficiency in processing complex JSON structures.
Known Issues
- There are no critical issues at release, but we anticipate enhancements in the handling of nested arrays and complex object graphs in future updates.
Installation
To install the library, use pip:
pip install python-json-patch-rulesFuture Plans
Looking ahead, we aim to expand the library’s capabilities with:
- Improved error handling and diagnostic messaging for rule violations.
- Enhanced support for nested and complex JSON schemas.
- Additional customization options for rule definitions.
We appreciate the community’s feedback and contributions to help evolve this library further. Enjoy crafting secure and compliant JSON patch operations with python-json-patch-rules!