Skip to content

Commit b046f06

Browse files
committed
v4.2.0
1 parent ea4baf5 commit b046f06

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
## 4.1.0
28

39
- Adds .NET 9 support

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,16 @@ This test deserializes a JSON patch document of 8 operations and applies the cha
6767

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

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)
7171
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
7373
[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
7575

7676
WarmupCount=2
7777

7878
| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
7979
|-------------------- |-----------:|-----------:|-----------:|-------:|-------:|----------:|
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 |

SystemTextJsonPatch.Benchmark/SystemTextJsonPatch.Benchmark.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<ItemGroup>
1313
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
1414
<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" />
1616
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1717
</ItemGroup>
1818

SystemTextJsonPatch.Tests/SystemTextJsonPatch.Tests.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
<ItemGroup>
1717
<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" />
2020
<!-- use latest NewtonSoft package, hides Microsoft.Net.Test.Sdk -> Microsoft.TestPlatform.TestHost refs NewtonSoft.Json >= 9.0 -->
2121
<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">
2323
<PrivateAssets>all</PrivateAssets>
2424
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2525
</PackageReference>

SystemTextJsonPatch/SystemTextJsonPatch.csproj

+2-2
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>12</LangVersion>
10-
<Version>4.1.0</Version>
10+
<Version>4.2.0</Version>
1111
<RepositoryUrl>https://github.com/Havunen/SystemTextJsonPatch.git</RepositoryUrl>
1212
<RepositoryType>git</RepositoryType>
1313
<AnalysisLevel>9.0-all</AnalysisLevel>
@@ -36,7 +36,7 @@
3636
</ItemGroup>
3737

3838
<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" />
4040
</ItemGroup>
4141

4242
<ItemGroup>

0 commit comments

Comments
 (0)