Repository navigation
Releases
Releases · mrhamidrezam/patchloom
v0.1.0 — Initial Release
⚡ patchloom v0.1.0
Initial public release of patchloom — a zero-dependency RFC 6902 JSON Patch, RFC 7396 Merge Patch, reversible structural diff, and three-way merge engine for Python 3.12+.
Highlights
- RFC 6901 JSON Pointer: Immutable pointer arithmetic, URI fragments, strict ~0/~1\ unescaping, and *\ / **\ wildcard glob matching.
- RFC 6902 JSON Patch: All 6 operations (\�dd,
emove,
eplace, \move, \copy, \ est) with 100% transactional rollback on failure and strict boolean vs. numeric JSON equality. - LCS & Keyed Structural Diff: Longest Common Subsequence array alignment, \�rray_keys\ entity matching, automatic \move\ & \copy\ optimization, \ignore\ globs, \loat_epsilon, and \dataclass/\Enum\ normalization.
- Reversible Deltas (\ReversiblePatch): Paired forward & inverse patches with optimistic \ est\ preconditions for safe state rollback.
- RFC 7396 JSON Merge Patch: Minimal merge-patch generation and application.
- Three-Way Structural Merge (\merge3): Recursive object & keyed-array three-way merging with \ConflictPolicy\ (\RAISE, \OURS, \THEIRS, \BASE) and custom conflict resolvers.
- Built-in CLI: \patchloom diff, \�pply, \merge-patch, \�pply-merge, \merge3, and \get.