Skip to content

Releases: Havunen/SystemTextJsonPatch

v4.1.0

15 Nov 16:06
a7434e9
Compare
Choose a tag to compare

4.1.0

  • Adds support for .NET 9

v4.0.0

18 Oct 20:23
Compare
Choose a tag to compare

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 contains FailedOperation and AffectedObject 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: #26
  • NotSupportedException and InvalidOperationException are not thrown anymore. Instead, JsonPatchException is thrown with the appropriate message.
  • JsonPatchTestOperationException is now thrown only when the test operation fails. Fixes #22

v3.3.0

05 Oct 15:05
Compare
Choose a tag to compare

3.3.0

  • Adds support for DenyPatch attribute to deny access to annotated property #34
  • Internal dependencies updated

v3.2.1

07 Aug 17:26
Compare
Choose a tag to compare

3.2.1

  • Fixes an issue where null and empty string test operation of JsonNode was incorrectly handled #31
  • Improved performance of JSON patch test operation

v3.2.0

30 May 12:57
Compare
Choose a tag to compare

3.2.0

  • Adds support for dictionary complex types #29
  • Internal dependencies updated

v3.1.0

14 Nov 18:18
Compare
Choose a tag to compare

3.1.0

  • Adds .NET 8 target framework

v3.0.1

21 Aug 18:32
Compare
Choose a tag to compare

v3.0.1

  • All invalid patch operations now correctly throw JsonPatchTestOperationException and malformed patch documents throw JsonPatchException

v3.0.0

14 Aug 18:39
Compare
Choose a tag to compare

3.0.0

  • Library runtime performance is improved by using throw helpers for throwing exceptions #21
  • Possibly breaking change: JsonPatchTestOperationException type is now thrown for test -operation failures #22

v2.0.2

16 Jul 10:28
Compare
Choose a tag to compare
  • Fixes an issue where dynamic JsonPatchDocument did not follow JsonNamingPolicy option for property names. #19
  • Small performance improvements da51501

v2.0.1

28 Mar 16:31
Compare
Choose a tag to compare
  • Fixes IndexOutOfRangeException in parse path routine