Skip to content

Upgrade .NET and packages, and optimized some logic - #388

Open
CuteCat233 wants to merge 11 commits into
Floogen:developmentfrom
CuteCat233:Upgrade
Open

CuteCat233 wants to merge 11 commits into
Floogen:developmentfrom
CuteCat233:Upgrade

Conversation

@CuteCat233

@CuteCat233 CuteCat233 commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Packages

Upgrade

Packages/Framework Original version New Version
.NET 8.0 10.0
Avalonia 0.10.22 12.1.6
Avalonia.Desktop 0.10.22 12.1.6
Avalonia.Markup.Xaml.Loader 0.10.22 12.1.6
Avalonia.Controls.DataGrid 0.10.22 12.1.2
Json.More.Net 2.0.1 3.0.1
semver 2.3.0 3.0.0
SharpCompress 0.48.1 0.50.8

C# version must be C# 14 or above

Change

Original Package New Package Description
Avalonia.Diagnostics 0.10.22 AvaloniaUI.DiagnosticsSupport 2.2.3 Avalonia 12 has removed the old debugging package, using successor package instead
Avalonia.ReactiveUI 0.10.22 ReactiveUI.Avalonia.Reactive 12.1.6 Old integration package is deprecated, using the migrated new package.
CommandLineParser 2.9.1 System.CommandLine 3.0.0 CommandLineParser is archived and in maintenance mode, using Microsoft's official maintained System.CommandLine instead
Projektanker.Icons.Avalonia 5.13.0 Optris.Icons.Avalonia 12.0.7 Old Package did not support Avalonia 12, using community maintenance edition instaed
Projektanker.Icons.Avalonia.MaterialDesign 5.13.0 Optris.Icons.Avalonia.MaterialDesign 12.0.7 Old Package did not support Avalonia 12, using community maintenance edition instaed

Add

New Package Description
Avalonia.Themes.Fluent Avalonia 12 splits Fluent themes into separate packages that require explicit referencing
Avalonia.Controls.ItemsRepeater Avalonia 12 removes the ItemRepeater control from the main package and requires a separate reference (Already archived)
DynamicData ReactiveUI need

Remove

Remove Package Description
Microsoft.Win32.Registry PackageReference Microsoft.Win32.Registry will not be trimmed. This package is automatically available without explicit reference. Remove the PackageReference item.

Fix

Vulnerabilities

Package Level CVE GHSA Affected Versions Old Version New Version
Tmds.DBus High Severity CVE-2026-39959 GHSA-xrw6-gwf8-vvr9 <0.92.0 0.9.0 0.94.1
System.Drawing.Common Critical Severity CVE-2021-24112 GHSA-rxg9-xrhp-64gj >= 4.0.0, < 4.7.2; >= 5.0.0, < 5.0.3 4.5.0 Removed
SkiaSharp High Severity CVE-2023-4863 GHSA-j7hp-h8jx-5ppr >= 2.0.0, < 2.88.6 2.88.1-preview.108 3.119.4

Optimizations

  • Most UI translations now switch promptly.
  • Themes are no longer all loaded at startup, so startup is no longer slowed down.
  • Opening Settings no longer loads all themes, so opening Settings is no longer slowed down.
  • Fixed the width of the "Mods" column to prevent some columns from being pushed outside the window when scrolling.
  • Added some code for DEBUG mode; in DEBUG mode, some content can now be displayed even without being logged in to Nexus.
  • Translation keys written as "ui_" have now been corrected to "ui."
  • Compilation no longer produces a large number of warnings.
  • When there are fewer than three context menu items, there is no longer blank space below.
  • Logs now output the reason why connecting to GitHub failed.
  • When SMAPI update checking cannot connect to GitHub, it now shows "Unable to connect to GitHub" instead of "SMAPI is up to date."
  • When Link.json only contain [], program will now delete the file and return directly.

*Update to 1.11.0 ver.

  • The table header is now centered (26 -> 32)
  • The version of SMAPI on the main view should be updated in a timely manner now
  • There will be no other .pdb files included when building release
  • Specify the .csproj file when publishing a release

@Floogen Floogen added the being looked at Currently being investigated label Nov 9, 2026
@CuteCat233 CuteCat233 closed this Nov 9, 2026
Upgrade to .NET 10, Upgrade packages, Fix Bugs
Rewrite loading logic to accelerate software startup. Set mods column widths, add TextTrimming to mod name to prevent overflow.
Fix the Nexus server selection in the settings window by updating the ComboBox when the language changes and ensuring the preferred server is saved correctly.
@CuteCat233 CuteCat233 reopened this Nov 9, 2026
CuteCat233 and others added 7 commits November 11, 2026 08:45
Added translation for "Has Config" tooltip. Added translation for Nexus daily connection counter.
Update the following packages to their latest versions:
- Avalonia: 12.1.5 -> 12.1.6
- Avalonia.Desktop: 12.1.5 -> 12.1.6
- Avalonia.Markup.Xaml.Loader: 12.1.5 -> 12.1.6
- Avalonia.Themes.Fluent: 12.1.5 -> 12.1.6
- SharpCompress: 0.50.7 -> 0.50.8
- System.CommandLine: 2.0.14 -> 3.0.0

When Link.json only contains an empty list, it will delete the file and return.
Specify the .csproj file when publishing a release.

Change `runs-on` from `ubuntu-latest` to `windows-latest` for the Windows build.
@CuteCat233 CuteCat233 changed the title Upgrade .NET and Packages Upgrade .NET and packages, and optimized some logic Nov 17, 2026
@CuteCat233
CuteCat233 marked this pull request as ready for review November 17, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

being looked at Currently being investigated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants