Repository navigation
Release v10.5.0-rc.1
π 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 newMaxChainBeforeFallbackproperty is plumbed throughUpdateConfigurationβ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) fromHttpClientProvider. Version validation and status reporting already applied them, but file downloads did not. This caused tenant-scoped file downloads to fail when the server requiresX-Tenant-Id. -
IPC test isolation on Linux β
EncryptedFileIpcTestsandEncryptedFileProcessContractProviderTestsshared a single default IPC file path (/tmp/GeneralUpdate/ipc/process_info.enc). Cross-test filesystem interactions causedAsync_Api_Delegates_To_Syncto return null on Linux. Each test instance now creates its own isolated temp directory. -
SyncProgress<T> in OSS download tests β Replaced
Progress\<T\>withSyncProgress\<T\>inOssDownloadExecutorTeststo avoid flaky failures on Linux CI runners where async progress callbacks raced with test assertions. -
Skip flaky Bowl SimulatedCrash test on CI β
SimulatedCrashTestin Bowl is inherently non-deterministic in CI environments; marked to skip on CI runners. -
EventManager test thread safety β All
EventManagertests opted into theNonParallelxUnit collection to prevent thread-safety races between concurrent test runs. -
CI publish workflow fixes β Added
fetch-depth: 0to checkout for changelog generation; normalized version input to strip optionalvprefix before SemVer validation. -
Bowl β BowlBootstrap test updates β
d755b704renamedBowl.csβBowlBootstrap.csbut 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
923a7cd6restructuring moved projects one level up but left../../../imgs/relative paths in all 5 .csproj files.dotnet packfailed across the board because../../../imgs/resolved above the repo root. Fixed to../../imgs/.
β»οΈ Refactoring
-
Flatten directory structure β Move all projects from
src/c#/tosrc/for a cleaner, more conventional layout. Drop Firmware from the solution file. -
Bowl β BowlBootstrap rename β Rename
Bowl.cstoBowlBootstrap.cswith 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