Skip to content

Commit

Permalink
Merge pull request #603 from NetSparkleUpdater/feature/remove-json-de…
Browse files Browse the repository at this point in the history
…pendency

Don't include System.Text.Json all the time
  • Loading branch information
Deadpikle authored Jul 27, 2024
2 parents 8276f56 + fc168e6 commit dfe7a46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* The built-in Avalonia UI now runs on version 11 of Avalonia (6a9a6426324e357daf0f9991d7a981b19a009b93, a0a7314317e9fc712270f75f31c6442a2d454da3, 46de3e9c9525cac4026a7959e44764752cdf36ee, `avalonia-preview` branch)
* Bumped minimum version of .NET Framework from 4.5.2 to 4.6.2 (57fa9ad2597ec6615894464b8f2ccef881dda52b) as 4.5.2 is EOL per https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-framework
* Removed `Newtonsoft.Json` dependency for .NET Framework build and use `System.Text.Json` (57fa9ad2597ec6615894464b8f2ccef881dda52b)
* `System.Text.Json` is only explicitly included for `netstandard2.0` and `net462` as otherwise the framework already includes it (#601)
* .NET Framework `ReleaseNotesGrabber` uses an `HttpClient` instead of a `WebClient` for downloading (31523e95b50f00fab3fb3e043dea7d32227d5862)
* `WebClientFileDownloader` renamed to `WebFileDownloader` to better reflect functionality (e85235f512f4344c9a675e56e9a4d50434c33959)
* Changed `net6` to `net6.0` to be consistent with newer versions
Expand All @@ -34,6 +35,7 @@
* `RegistryConfiguration` has changed its default final path to `NetSparkleUpdater` instead of `AutoUpdate`. Please migrate saved configuration data yourself if you need to do so for your users (probably not necessary).
* `ShowUpdateNeededUI` no longer shows an update window if the number of update items is 0. (Arguably a bug fix, but technically a breaking change.)


**Changes/Fixes**

* Don't get download name if no need to (e63ebb054d62e26232b808189eb4619566952f3a) [**]
Expand Down
4 changes: 3 additions & 1 deletion src/NetSparkle/NetSparkle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Win32.Registry" Version="6.0.0-preview.5.21301.5" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net462'">
<PackageReference Include="System.Text.Json" Version="8.0.4" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AsmResolver.DotNet" Version="5.5.1" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
<PackageReference Include="NetSparkleUpdater.Chaos.NaCl" Version="0.9.1" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit dfe7a46

Please sign in to comment.