swaggest/json-diff
JSON diff/rearrange/patch/pointer library for PHP
v3.12.1
25M downloads/mo
#820 most downloaded on Packagist
swaggest/json-diff
What this package is like to depend on
Last release 1 years ago
10 Mar 2025
Release timing varies
gaps range from 8 days to 12 months
Some releases are documented
notes for 21 of 43 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
43 releases · first in 2017
0 releases in the last 12 months
see the full history below
Release timeline
43 releases · Sep 2017 to Mar 2025Releases
latest 43-
v3.12.110 Mar 2025Release notes
Open source → -
v3.12.003 Mar 2025Release notes
Open source →What's Changed
- workflows: Update actions/cache to v4 by @reedy in #72
- Update .gitattributes by @reedy in #64
- Add SKIP_TEST_OPS option to skip test operations when creating a JSON patch by @sgehrig in #73
New Contributors
Full Changelog: v3.11.0...v3.12.0
-
v3.11.002 Jul 2024Release notes
Open source →What's Changed
- Add operation index to
PathExceptionfor detailed error reporting by @MuhammadJaziraly in #68
New Contributors
- @MuhammadJaziraly made their first contribution in #68
Full Changelog: v3.10.5...v3.11.0
- Add operation index to
-
v3.10.517 Nov 2023Release notes
Open source →What's Changed
- Fix
JsonPointer::remove()not handling sequential arrays correctly by @outdooracorn in #67
Full Changelog: v3.10.4...v3.10.5
- Fix
-
v3.10.409 Nov 2022 -
v3.10.308 Nov 2022 -
v3.10.208 Nov 2022 -
v3.10.124 Oct 2022 -
v3.10.021 Oct 2022Release notes
Open source →Added
- More specific exception types added for failed test operation, #57.
-
v3.9.029 Aug 2022Release notes
Open source →Added
- Specific exception type
PatchTestOperationFailedExceptionfor failed test operation.
- Specific exception type
-
v3.8.325 Sep 2021Release notes
Open source →Fixed
- Redundant operations in array patches that strip first element.
- XOR hash collision for properties having equal parts.
Added
- Rearrange indexing by non-scalar properties that contain object, using XOR hash.
-
v3.8.217 Sep 2021 -
v3.8.125 Sep 2020Release notes
Open source →Fixed
- Rearrangement of equal array items is corrupting data by redundant replaces.
-
v3.8.024 Sep 2020Release notes
Open source →Added
- Rearrangement of equal items for non-homogeneous arrays with
JsonDiff::REARRANGE_ARRAYSoption.
- Rearrangement of equal items for non-homogeneous arrays with
-
v3.7.526 May 2020 -
v3.7.426 Jan 2020 -
v3.7.324 Jan 2020 -
v3.7.223 Oct 2019Release notes
Open source →Added
- Change log.
Fixed
- Few irrelevant files not mentioned in
.gitattributes.
-
v3.7.126 Sep 2019 -
v3.7.025 Apr 2019Release notes
Open source →Added
getModifiedDiff()andCOLLECT_MODIFIED_DIFFoption to return paths with original and new values.
-
v3.6.024 Apr 2019Release notes
Open source →Added
- Compatibility option to
TOLERATE_ASSOCIATIVE_ARRAYSthat mimic JSON objects.
- Compatibility option to
-
v3.5.119 Apr 2019Nothing published for this version
-
v3.5.020 Sep 2018Nothing published for this version
-
v3.4.228 Apr 2018Nothing published for this version
-
v3.4.123 Mar 2018Nothing published for this version
-
v3.4.020 Mar 2018Nothing published for this version
-
v3.3.119 Mar 2018Nothing published for this version
-
v3.3.019 Mar 2018Nothing published for this version
-
v3.2.115 Mar 2018Nothing published for this version
-
v3.2.015 Mar 2018Nothing published for this version
-
v3.1.113 Mar 2018Nothing published for this version
-
v3.1.012 Mar 2018Nothing published for this version
-
v3.0.018 Feb 2018Nothing published for this version
-
v2.0.209 Feb 2018Nothing published for this version
-
v2.0.129 Jan 2018Nothing published for this version
-
v2.0.028 Jan 2018Nothing published for this version
-
v1.1.516 Jan 2018Nothing published for this version
-
v1.1.429 Nov 2017Nothing published for this version
-
v1.1.310 Oct 2017Nothing published for this version
-
v1.1.229 Sep 2017Nothing published for this version
-
v1.1.129 Sep 2017Nothing published for this version
-
v1.1.029 Sep 2017Nothing published for this version
-
v1.0.028 Sep 2017Nothing published for this version