Skip to content

Commit

Permalink
Update Newtonsoft Json.Net to a non-vulnerable version (#110)
Browse files Browse the repository at this point in the history
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 10.0.1 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](JamesNK/Newtonsoft.Json@10.0.1...13.0.1)

Co-authored-by: Frédéric Delaporte <12201973+fredericdelaporte@users.noreply.github.com>
Co-authored-by: Alex Zaytsev <hazzik@gmail.com>
  • Loading branch information
3 people authored Sep 12, 2022
1 parent 86d3112 commit 84f4933
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="log4net" Version="2.0.10" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.9.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp2.0'">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../NHibernate.Caches.props" />
<PropertyGroup>
<Product>NHibernate.Caches.Util.JsonSerializer</Product>
Expand All @@ -9,7 +9,7 @@
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Task
* #86 Update SourceLink package to its release version</PackageReleaseNotes>
* #110 Update Newtonsoft Json.Net to a non-vulnerable version</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>
Expand All @@ -23,7 +23,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
<ItemGroup>
<Content Include="../../readme.md">
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ CoreDistributedCache now use a `Tuple<string, object>(keyAsString, value)` as th
- If you are using another serializer than the default binary serializer, you may have to adjust its configuration.
- Distinguishing different objects which keys have the same string representation and hashcode is no more supported.

NHibernate.Caches.Util.JsonSerializer now uses Newtonsoft.Json 13.0.1, up from 10.0.1.

* Improvement
* #106 - Unable to use DistributedCache with JsonCacheSerializer

* Task
* #110 - Update Newtonsoft Json.Net to a non-vulnerable version
* #109 - Automatically generate async code on pull request
* #108 - Fix AppVeyor build
* #89 - Fix iconUrl warning
Expand Down

0 comments on commit 84f4933

Please sign in to comment.