Releases: Havunen/SystemTextJsonPatch
Releases · Havunen/SystemTextJsonPatch
v4.1.0
v4.0.0
4.0.0
BREAKING CHANGE: SystemTextJsonPatch now supports different property naming policies!
f.e. JsonNamingPolicy.SnakeCaseLower
. Fixes #36
- This means that the path and from of the system text json patch document needs to match the JSON serializer options property naming policy.
For example, if the JSON serializer options are set to use camelCase, the patch path should also be in camelCase.
BREAKING CHANGE: Exception types have been changed.
JsonPatchException
-base exception type now containsFailedOperation
andAffectedObject
properties.
These properties are populated with the failed operation when the operation is available.
This change is to provide more information about the failed operation and the affected object. Fixes: #26NotSupportedException
andInvalidOperationException
are not thrown anymore. Instead,JsonPatchException
is thrown with the appropriate message.JsonPatchTestOperationException
is now thrown only when the test operation fails. Fixes #22