From 42009a7f91c0d2740b9869262952b294af545cea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 11 Oct 2026 22:44:49 +0000 Subject: [PATCH 1/3] Bump the nuget group with 4 updates Bumps Discord.Net from 3.20.1 to 3.20.2 Bumps SixLabors.ImageSharp from 3.1.12 to 3.2.0 Bumps SixLabors.ImageSharp.Drawing from 2.1.7 to 2.2.0 Bumps xunit.runner.visualstudio from 4.0.0 to 4.0.1 --- updated-dependencies: - dependency-name: Discord.Net dependency-version: 3.20.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget - dependency-name: SixLabors.ImageSharp dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget - dependency-name: SixLabors.ImageSharp.Drawing dependency-version: 2.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget - dependency-name: xunit.runner.visualstudio dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget ... Signed-off-by: dependabot[bot] --- Directory.Packages.props | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 116f6e08..b58c6e77 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,7 +4,7 @@ - + @@ -22,8 +22,8 @@ - - + + - - - - - - - + + + + + + + From 4fca6cb9a8959bb8d7a9d9f2305e9404679d523c Mon Sep 17 00:00:00 2001 From: Valentin Clergue Date: Wed, 14 Oct 2026 20:44:54 +0200 Subject: [PATCH 3/3] refactor(map): render with SkiaSharp and drop ImageSharp ImageSharp 3.2.0 / ImageSharp.Drawing 2.2.0 now fail Release builds without a Six Labors license key, and every earlier 3.x is flagged by GHSA-gwg2-r3hj-4w44, GHSA-j3p4-wp97-rph4, GHSA-j9gm-c75j-xc9q, GHSA-jjfr-hcj7-qf5w and GHSA-wmxv-xphr-5c9g. SkiaSharp was already a dependency (monument SVG rasterization), so the renderer, icon sources, MapParity tool and tests move onto it and both SixLabors packages go. Placement and style types now carry SKColor/SKPoint. Rendering matches the previous output (side-by-side checked): same layer order, pixel- snapped icon blits, dashed fading trails, rig rings and player crosses. The dependabot ignore for the ImageSharp majors is no longer needed. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/dependabot.yml | 8 - Directory.Packages.props | 2 - .../Assets/MapIcons.cs | 39 ++- .../Assets/MarkerIconComposer.cs | 47 ++- .../Assets/MonumentIconSource.cs | 31 +- .../Composing/MapComposer.cs | 8 +- .../Rendering/MapRenderStyle.cs | 14 +- .../Rendering/MapRenderer.cs | 290 +++++++++--------- .../Rendering/MarkerPlacement.cs | 4 +- .../Rendering/PlayerPalette.cs | 22 +- .../Rendering/PlayerPlacement.cs | 2 +- .../Rendering/Raster.cs | 43 +++ .../RustPlusBot.Features.Map.csproj | 2 - .../Hosting/MapRefreshTests.cs | 10 +- .../MapComposerTests.cs | 14 +- .../MapRendererTests.cs | 45 +-- .../MarkerIconComposerTests.cs | 12 +- .../MonumentIconSourceTests.cs | 8 +- .../TestImages.cs | 30 ++ tools/RustPlusBot.MapParity/Program.cs | 26 +- .../RustPlusBot.MapParity.csproj | 4 +- 21 files changed, 356 insertions(+), 305 deletions(-) create mode 100644 src/RustPlusBot.Features.Map/Rendering/Raster.cs create mode 100644 tests/RustPlusBot.Features.Map.Tests/TestImages.cs diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 72f0e1e0..9c3f1d97 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -14,14 +14,6 @@ updates: nuget: patterns: - "*" - ignore: - # SixLabors moved ImageSharp v4 / ImageSharp.Drawing v3 to the commercial - # "Six Labors Split License", which hard-fails the build without a paid - # license key. Stay on the Apache-2.0 3.1.x / 2.1.x line. See PR #21. - - dependency-name: "SixLabors.ImageSharp" - update-types: ["version-update:semver-major"] - - dependency-name: "SixLabors.ImageSharp.Drawing" - update-types: ["version-update:semver-major"] - package-ecosystem: "github-actions" directory: "/" diff --git a/Directory.Packages.props b/Directory.Packages.props index 8070d3c5..db0dfaea 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -22,8 +22,6 @@ - -