Skip to content

Release v10.5.0-rc.1

Choose a tag to compare

@github-actions github-actions released this 25 Jun 06:25
· 103 commits to master since this release

πŸš€ Features

  • Chain-count fallback threshold (#531) β€” Replace the single 80%-of-full-size heuristic with a two-condition strategy: (1) chain count exceeds MaxChainBeforeFallback (default 8) β†’ full package, (2) combined chain size β‰₯ full size β†’ full package. The new MaxChainBeforeFallback property is plumbed through UpdateConfiguration β†’ DownloadPlanBuilder β†’ ClientStrategy. This prevents unnecessary switch-to-full when the chain total is only marginally below the full size, since the runtime fallback (FallbackFull) already handles chain application failures.

πŸ› Bug Fixes

  • HttpDownloadExecutor missing auth headers (#533) β€” Download requests were missing the global auth provider and ExtraHeaders (e.g. X-Tenant-Id) from HttpClientProvider. Version validation and status reporting already applied them, but file downloads did not. This caused tenant-scoped file downloads to fail when the server requires X-Tenant-Id.

  • IPC test isolation on Linux β€” EncryptedFileIpcTests and EncryptedFileProcessContractProviderTests shared a single default IPC file path (/tmp/GeneralUpdate/ipc/process_info.enc). Cross-test filesystem interactions caused Async_Api_Delegates_To_Sync to return null on Linux. Each test instance now creates its own isolated temp directory.

  • SyncProgress<T> in OSS download tests β€” Replaced Progress\<T\> with SyncProgress\<T\> in OssDownloadExecutorTests to avoid flaky failures on Linux CI runners where async progress callbacks raced with test assertions.

  • Skip flaky Bowl SimulatedCrash test on CI β€” SimulatedCrashTest in Bowl is inherently non-deterministic in CI environments; marked to skip on CI runners.

  • EventManager test thread safety β€” All EventManager tests opted into the NonParallel xUnit collection to prevent thread-safety races between concurrent test runs.

  • CI publish workflow fixes β€” Added fetch-depth: 0 to checkout for changelog generation; normalized version input to strip optional v prefix before SemVer validation.

  • Bowl β†’ BowlBootstrap test updates β€” d755b704 renamed Bowl.cs β†’ BowlBootstrap.cs but missed updating 3 test files (BowlTests.cs, BowlCrashPipelineTests.cs, BowlAsyncTests.cs). Fixed references in all affected tests.

  • Package icon/README paths after src/c#/ β†’ src/ refactor β€” The 923a7cd6 restructuring moved projects one level up but left ../../../imgs/ relative paths in all 5 .csproj files. dotnet pack failed across the board because ../../../imgs/ resolved above the repo root. Fixed to ../../imgs/.

♻️ Refactoring

  • Flatten directory structure β€” Move all projects from src/c#/ to src/ for a cleaner, more conventional layout. Drop Firmware from the solution file.

  • Bowl β†’ BowlBootstrap rename β€” Rename Bowl.cs to BowlBootstrap.cs with corresponding class name change to clarify the bootstrap role.

  • Remove GeneralUpdate.Firmware β€” Deprecated OTA firmware update project removed entirely (~1,700 lines: GeneralFirmwareBootstrap, FirmwareConfig, FirmwareInfo, OTA decoders, etc.).


NuGet packages: GeneralUpdate.Core Β· GeneralUpdate.Differential Β· GeneralUpdate.Bowl Β· GeneralUpdate.Extension Β· GeneralUpdate.Drivelution