Skip to content

Commit 38d455a

Browse files
committed
v3.0.0
1 parent 933ba44 commit 38d455a

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 3.0.0
2+
- Library runtime performance is improved by using throw helpers for throwing exceptions https://github.com/Havunen/SystemTextJsonPatch/issues/21
3+
- **Possibly breaking change**: `JsonPatchTestOperationException` type is now thrown for `test` -operation failures https://github.com/Havunen/SystemTextJsonPatch/issues/22
4+
5+
16
## 2.0.2
27
- Fixes an issue where dynamic JsonPatchDocument did not follow `JsonNamingPolicy` option for property names. https://github.com/Havunen/SystemTextJsonPatch/issues/19
38
- Small performance improvements https://github.com/Havunen/SystemTextJsonPatch/commit/da51501d668cddcda000b08e06d28cff75e7a0ce

README.md

+11-9
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,18 @@ This test deserializes a JSON patch document of 8 operations and applies the cha
6060

6161
See [SystemTextJsonPatch.Benchmark](https://github.com/Havunen/SystemTextJsonPatch/tree/main/SystemTextJsonPatch.Benchmark) for more details.
6262

63-
BenchmarkDotNet=v0.13.5, OS=Windows 11 (10.0.22621.1848/22H2/2022Update/SunValley2)
63+
(SystemTextJsonPatch , )
64+
65+
BenchmarkDotNet v0.13.7, Windows 11 (10.0.22621.2134/22H2/2022Update/SunValley2)
6466
AMD Ryzen 9 5950X, 1 CPU, 32 logical and 16 physical cores
65-
.NET SDK=7.0.400-preview.23274.1
66-
[Host] : .NET 7.0.5 (7.0.523.17405), X64 RyuJIT AVX2
67-
Job-AQRBNE : .NET 7.0.5 (7.0.523.17405), X64 RyuJIT AVX2
67+
.NET SDK 8.0.100-preview.7.23376.3
68+
[Host] : .NET 7.0.9 (7.0.923.32018), X64 RyuJIT AVX2
69+
Job-TMETTY : .NET 7.0.9 (7.0.923.32018), X64 RyuJIT AVX2
6870

6971
WarmupCount=2
7072

71-
| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
72-
|-------------------- |-----------:|----------:|----------:|-------:|-------:|----------:|
73-
| SystemTextJsonPatch | 5.317 us | 0.0488 us | 0.0456 us | 0.2899 | - | 4.83 KB |
74-
| MarvinJsonPatch | 907.204 us | 9.5807 us | 8.9618 us | 5.8594 | 3.9063 | 95.85 KB |
75-
| AspNetCoreJsonPatch | 24.340 us | 0.3453 us | 0.3230 us | 2.6550 | 0.0610 | 43.61 KB |
73+
| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
74+
|-------------------- |-----------:|-----------:|-----------:|-------:|-------:|----------:|
75+
| SystemTextJsonPatch (v3.0.0) | 4.953 us | 0.0277 us | 0.0259 us | 0.2899 | - | 4.83 KB |
76+
| MarvinJsonPatch (v2.2.1) | 909.176 us | 17.4292 us | 18.6490 us | 5.8594 | 3.9063 | 96.14 KB |
77+
| AspNetCoreJsonPatch (v7.0.10) | 24.742 us | 0.3156 us | 0.2952 us | 2.6550 | 0.0610 | 43.61 KB |

SystemTextJsonPatch/SystemTextJsonPatch.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<PackageTags>aspnetcore;json;jsonpatch;system.text.json;rfc6902;</PackageTags>
99
<LangVersion>11</LangVersion>
10-
<Version>2.0.2</Version>
10+
<Version>3.0.0</Version>
1111
<RepositoryUrl>https://github.com/Havunen/SystemTextJsonPatch.git</RepositoryUrl>
1212
<RepositoryType>git</RepositoryType>
1313
<AnalysisLevel>6.0-all</AnalysisLevel>

0 commit comments

Comments
 (0)