Repository navigation
Bump the nuget-patch-and-minor group with 1 update - #4563
Conversation
Bumps Velopack from 1.2.0 to 1.2.158 --- updated-dependencies: - dependency-name: Velopack dependency-version: 1.2.158 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-patch-and-minor ... Signed-off-by: dependabot[bot] <support@github.com>
erikdarlingdata
left a comment
There was a problem hiding this comment.
Review summary
Dependabot bump of Velopack from 1.2.0 → 1.2.158 in the nuget-patch-and-minor group. Directory.Packages.props + three packages.lock.json files (Darling.Viewer, Lite, deprecated/Dashboard). No source-code changes.
What the diff actually does
Directory.Packages.props:33:Velopack1.2.0 → 1.2.158.- Three lockfiles: refreshed
Velopackentry, plus transitive cleanup — Velopack 1.2.158 no longer drags inSystem.Security.Cryptography.ProtectedData(removed from CentralTransitive in all three) and no longer drags inSystem.Diagnostics.EventLog(removed from Lite and deprecated/Dashboard).Darling.Serviceisn't touched here, and it's the only project that usesEventLog(Darling/PerformanceMonitor.Darling.Service/Program.cs:413,416,418,DarlingFileLoggerProvider.cs:224) — its own lockfile keeps EventLog through its direct<PackageReference Include="System.Security.Cryptography.ProtectedData" />and its Logging.EventLog dep, so runtime EventLog on the Darling service is unaffected.
Repo standing orders vs this PR
- Base is
dev✓. - No PlanAnalyzer changes — no
Dashboard/Services/PlanAnalyzer.cs↔Lite/Services/PlanAnalyzer.cssync concern. - No SQL install/upgrade scripts touched.
- No Lite-first ordering concern (no feature added).
.github/workflows/build.ymlis NOT in the diff — but see the blocker below, it should be.
Blocker — vpk tool pin desync
See the inline on Directory.Packages.props:33. build.yml:629 and nightly.yml:278 still install vpk --version 1.2.0, and both the workflow comment (build.yml:627) and the Viewer csproj (Darling/PerformanceMonitor.Darling.Viewer/PerformanceMonitor.Darling.Viewer.csproj:39) state as an invariant that the vpk tool pin tracks the library. This PR breaks that invariant; both workflow pins need to move to 1.2.158 in the same commit.
Other risks worth eyes-on before merging
- Delta-update chain (bsdiff → zstd). Velopack 1.2.158 removed the bsdiff fallback ("Remove bsdiff fallback; zstd is the only delta patch format", velopack/velopack#1010). Releases packed with the new vpk will emit zstd deltas; clients that shipped with the 1.2.0 library and don't yet know zstd may fail the delta path and fall back to full download. Worth verifying a self-update from a currently-published
-lite/-darlingviewerbuild against a locally-packed 1.2.158 release before cutting a real release. - MSI flag renames (
--msiTopBanner,--msiDialogBackground). Neitherbuild.yml:635norbuild.yml:641nornightly.yml:280uses those flags, so no immediatevpk packbreakage — noted for future MSI work. - DPAPI resolution for the Viewer.
Darling/PerformanceMonitor.Darling.ViewerusesProtectedData.Protect/UnprotectinViewerServerSecret.cs:47,67andViewerSettings.cs:357but its csproj has no directPackageReferencetoSystem.Security.Cryptography.ProtectedData; it relied on the Velopack transitive being dropped by this PR. After the drop, ProtectedData still reaches Viewer transitively throughPerformanceMonitor.PlanAnalysisandPerformanceMonitor.Darling.Analysis(bothPackageReferenceit directly, atVersionOverride="10.0.11"), so a Windows build should still restore fine — but this is now a load-bearing project-ref path with no comment explaining it. Consider adding an explicit<PackageReference Include="System.Security.Cryptography.ProtectedData" />toPerformanceMonitor.Darling.Viewer.csprojso DPAPI stays declared where it's used. - Central-vs-override version mismatch persists.
Directory.Packages.props:32pinsProtectedDatato10.0.12;PerformanceMonitor.PlanAnalysis.csproj:25andPerformanceMonitor.Darling.Analysis.csproj:29VersionOverrideto10.0.11. This is out of scope for a Dependabot bump but the lockfile cleanup here makes the seam more visible — a follow-up PR to align (probably by dropping the overrides) would be worth having. - Size of the jump. 158 patch versions across roughly three years of Velopack. Core APIs the app uses (
VelopackApp.Build().Run()inLite/Program.cs:19andDarling/PerformanceMonitor.Darling.Viewer/Program.cs:27,new Velopack.UpdateManager(new Velopack.Sources.GithubSource(...))inLite/MainWindow.xaml.cs:408andDarling/PerformanceMonitor.Darling.Viewer/AboutWindow.xaml.cs:60) look stable, but the installer / uninstaller / Setup.exe behavior has moved considerably (progress dialog on uninstall, atomic rename on macOS, channel-override tag readers, EstimatedSize as REG_DWORD, portable/MSI launcher renamed after update). Smoke-test an install → self-update → uninstall on a Windows VM before tagging a release, not ondev.
Recommendation
Hold merge until the vpk tool pin in build.yml and nightly.yml is bumped to 1.2.158 (either as an amendment to this PR or as a fast follow-up committed before this lands).
Generated by Claude Code
…lease packer to vpk 1.2.158
Bumps Velopack from 1.2.0 to 1.2.158 (release notes). Velopack is the installer and self-updater for Lite and the Darling Viewer.
What changes
Directory.Packages.props:Velopack1.2.0 → 1.2.158.dotnet restore PerformanceMonitor.sln --force-evaluate:Lite,Lite.Tests,Darling/PerformanceMonitor.Darling.Viewer,Darling/Darling.Tests,deprecated/Dashboardanddeprecated/Dashboard.Tests. The dependency update patched only three of them, so locked-mode restore failed withNU1004. Thedeprecated/changes are the mechanical lock regeneration only.dotnet tool install -g vpk --version 1.2.158in.github/workflows/build.ymland.github/workflows/nightly.yml(was 1.2.0).Test plan
Lite.TestsandDarling.Testsbuild with 0 warnings.CHANGELOG
SECTION: Changed
ENTRY: - Dependencies: Velopack to 1.2.158, with the release packer moved to match ([#4563]) - The Lite and Darling Viewer installers and self-updater move from Velopack 1.2.0 to 1.2.158, the
vpktool that packs each release moves with it, and every lock file the bump reaches is regenerated.REF: [#4563]: #4563