Releases: blancks/fast-jsonpatch-php
Releases · blancks/fast-jsonpatch-php
2.1.0
This release provides the ability to customize the JSON Pointer parsing and validation behaviour with a custom class that implements \blancks\JsonPatch\json\pointer\JsonPointerHandlerInterface
.
This should help using the package for other specifications that are built on top of RFC-6902, such as RFC-7644 which requires JSON Pointer tokens to use a dot as separator.
2.0.0
- The package has been fully redesigned on the core concepts of the previous version
- Each of the class components can be extended or replaced with custom patch operations or with a custom json parser
- Class public API has been changed for simplicity thanks to a more clear naming scheme
- Documents that consists of scalar value only are now supported
getContextDocument
method has been dropped from FastJsonPatchException for performance reasons
Full Changelog: v1.2.3...v2.0.0
1.2.3
JSON Patch operations are now atomic!
Full Changelog: v1.1.3...v1.2.3
1.1.3
1.1.2
- All class Exceptions are now thrown as FastJsonPatchException instance
- FastJsonPatchException got two new methods:
getContextPointer
which returns the faulty JSON pointer as context for the error if availablegetContextDocument
which returns the JSON string of the target portion of the document
Full Changelog: v1.0.2...v1.1.2