NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #911 most downloaded on Packagist
JSON diff/rearrange/patch/pointer library for PHP
Latest stable
v3.12.1
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 12 months
Some releases are documented
notes for 22 of 43 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
43 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Add PHP 8.4 support by @cedric-anne in https://github.com/swaggest/json-diff/pull/69
Full Changelog: https://github.com/swaggest/json-diff/compare/v3.12.0...v3.12.1
workflows: Update actions/cache to v4 by @reedy in https://github.com/swaggest/json-diff/pull/72
Full Changelog: https://github.com/swaggest/json-diff/compare/v3.11.0...v3.12.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add operation index to PathException for detailed error reporting by @MuhammadJaziraly in https://github.com/swaggest/json-diff/pull/68
PathException for detailed error reporting by @MuhammadJaziraly in https://github.com/swaggest/json-diff/pull/68Full Changelog: https://github.com/swaggest/json-diff/compare/v3.10.5...v3.11.0
Fix JsonPointer::remove() not handling sequential arrays correctly by @outdooracorn in https://github.com/swaggest/json-diff/pull/67
JsonPointer::remove() not handling sequential arrays correctly by @outdooracorn in https://github.com/swaggest/json-diff/pull/67Full Changelog: https://github.com/swaggest/json-diff/compare/v3.10.4...v3.10.5
Handling of non-string op values, #63.
op values, #63.### Added - Option to skip paths, #39.
### Added - Exceptions improved, #60.
Exception type hints improved, #59.
More specific exception types added for failed test operation, #57.
Specific exception type PatchTestOperationFailedException for failed test operation.
PatchTestOperationFailedException for failed test operation.Redundant operations in array patches that strip first element.
PHP 8.1 Deprecation notices with missing returns.
Rearrangement of equal array items is corrupting data by redundant replaces.
Rearrangement of equal items for non-homogeneous arrays with JsonDiff::REARRANGE_ARRAYS option.
JsonDiff::REARRANGE_ARRAYS option.Accidental array to associative array conversion (#31).
PHP version check for empty property name support.
Merge patch was not replacing partially different arrays.
Few irrelevant files not mentioned in .gitattributes.
.gitattributes.Unstable array rearrange order.
getModifiedDiff() and COLLECT_MODIFIED_DIFF option to return paths with original and new values.
getModifiedDiff() and COLLECT_MODIFIED_DIFF option to return paths with original and new values.JsonDiff, JsonPatch, JsonPointer now have a TOLERATE_ASSOCIATIVE_ARRAYS flag that enables support for associative arrays instead of \stdClass at cost
JsonDiff, JsonPatch, JsonPointer now have a TOLERATE_ASSOCIATIVE_ARRAYS flag that enables support for associative arrays instead of \stdClass at cost of some compatibility and performance. Generally it is not recommended to this flag, but rather stick to \stdClass.
TOLERATE_ASSOCIATIVE_ARRAYS that mimic JSON objects.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Tests from https://github.com/json-patch/json-patch-tests
Tests from https://github.com/json-patch/json-patch-tests
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.