Commit b046f06 1 parent ea4baf5 commit b046f06 Copy full SHA for b046f06
File tree 5 files changed +18
-12
lines changed
SystemTextJsonPatch.Benchmark
SystemTextJsonPatch.Tests
5 files changed +18
-12
lines changed Original file line number Diff line number Diff line change
1
+ ## 4.2.0
2
+
3
+ - Correctly handle key not found exception when applying patch document to dictionary https://github.com/Havunen/SystemTextJsonPatch/pull/40
4
+ - Respect STJ options PropertyNameCaseInsensitive setting https://github.com/Havunen/SystemTextJsonPatch/pull/42
5
+ - Internal dependencies updated
6
+
1
7
## 4.1.0
2
8
3
9
- Adds .NET 9 support
Original file line number Diff line number Diff line change @@ -67,16 +67,16 @@ This test deserializes a JSON patch document of 8 operations and applies the cha
67
67
68
68
See [ SystemTextJsonPatch.Benchmark] ( https://github.com/Havunen/SystemTextJsonPatch/tree/main/SystemTextJsonPatch.Benchmark ) for more details.
69
69
70
- BenchmarkDotNet v0.14.0, Windows 11 (10.0.22631.4460/23H2/2023Update/SunValley3 )
70
+ BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.2605 )
71
71
AMD Ryzen 9 5950X, 1 CPU, 32 logical and 16 physical cores
72
- .NET SDK 9.0.100
72
+ .NET SDK 9.0.200-preview.0.24575.35
73
73
[ Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
74
- Job-ZXROHW : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
74
+ Job-ZCWSQV : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
75
75
76
76
WarmupCount=2
77
77
78
78
| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
79
79
| -------------------- | -----------:| -----------:| -----------:| -------:| -------:| ----------:|
80
- | SystemTextJsonPatch | 3.641 us | 0.0168 us | 0.0149 us | 0.2747 | - | 4.63 KB |
81
- | MarvinJsonPatch | 701.319 us | 13.7540 us | 16.8912 us | 3.9063 | 1.9531 | 95.3 KB |
82
- | AspNetCoreJsonPatch | 14.871 us | 0.2871 us | 0.2820 us | 2.6245 | 0.0916 | 43.07 KB |
80
+ | SystemTextJsonPatch | 3.909 us | 0.0616 us | 0.0576 us | 0.2747 | - | 4.63 KB |
81
+ | MarvinJsonPatch | 741.280 us | 14.2699 us | 11.9160 us | 3.9063 | 1.9531 | 95.09 KB |
82
+ | AspNetCoreJsonPatch | 15.268 us | 0.2227 us | 0.2084 us | 2.6245 | 0.0916 | 43.07 KB |
Original file line number Diff line number Diff line change 12
12
<ItemGroup >
13
13
<PackageReference Include =" BenchmarkDotNet" Version =" 0.14.0" />
14
14
<PackageReference Include =" Marvin.JsonPatch" Version =" 2.2.1" />
15
- <PackageReference Include =" Microsoft.AspNetCore.JsonPatch" Version =" 9.0.0 " />
15
+ <PackageReference Include =" Microsoft.AspNetCore.JsonPatch" Version =" 9.0.1 " />
16
16
<PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
17
17
</ItemGroup >
18
18
Original file line number Diff line number Diff line change 15
15
16
16
<ItemGroup >
17
17
<PackageReference Include =" JUnitTestLogger" Version =" 1.1.0" />
18
- <PackageReference Include =" Microsoft.Net.Test.Sdk" Version =" 17.11.1 " />
19
- <PackageReference Include =" xunit" Version =" 2.9.2 " />
18
+ <PackageReference Include =" Microsoft.Net.Test.Sdk" Version =" 17.12.0 " />
19
+ <PackageReference Include =" xunit" Version =" 2.9.3 " />
20
20
<!-- use latest NewtonSoft package, hides Microsoft.Net.Test.Sdk -> Microsoft.TestPlatform.TestHost refs NewtonSoft.Json >= 9.0 -->
21
21
<PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
22
- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.8.2 " >
22
+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.0.1 " >
23
23
<PrivateAssets >all</PrivateAssets >
24
24
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
25
25
</PackageReference >
Original file line number Diff line number Diff line change 7
7
<GenerateDocumentationFile >true</GenerateDocumentationFile >
8
8
<PackageTags >aspnetcore;json;jsonpatch;system.text.json;rfc6902;</PackageTags >
9
9
<LangVersion >12</LangVersion >
10
- <Version >4.1 .0</Version >
10
+ <Version >4.2 .0</Version >
11
11
<RepositoryUrl >https://github.com/Havunen/SystemTextJsonPatch.git</RepositoryUrl >
12
12
<RepositoryType >git</RepositoryType >
13
13
<AnalysisLevel >9.0-all</AnalysisLevel >
36
36
</ItemGroup >
37
37
38
38
<ItemGroup Condition =" '$(targetframework)' == 'netstandard2.0'" >
39
- <PackageReference Include =" System.Text.Json" Version =" 9.0.0 " />
39
+ <PackageReference Include =" System.Text.Json" Version =" 9.0.1 " />
40
40
</ItemGroup >
41
41
42
42
<ItemGroup >
You can’t perform that action at this time.
0 commit comments