-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Area
Dependency Management
Motivation
The GenAIDBExplorer.Console project currently uses System.CommandLine version 2.0.0-beta4.22272.1, which is outdated and lacks the latest improvements and bug fixes. The new 2.0.0-beta5.25306.1 version provides:
- 32% smaller library size
- 20% smaller NativeAOT app size
- 12% startup time improvement
- 40% faster parsing compared to beta4
- Improved API consistency and coherence with .NET Framework design guidelines
Task Description
Update the PackageReference in src/GenAIDBExplorer/GenAIDBExplorer.Console/GenAIDBExplorer.Console.csproj
from version 2.0.0-beta4.22272.1 to 2.0.0-beta5.25306.1.
This is the first step in the comprehensive System.CommandLine upgrade process and enables the subsequent code migration work.
Specific Changes:
- Locate the System.CommandLine PackageReference in GenAIDBExplorer.Console.csproj
- Update version from
2.0.0-beta4.22272.1
to2.0.0-beta5.25306.1
- Verify the project can restore packages successfully
Acceptance Criteria
- PackageReference updated to System.CommandLine 2.0.0-beta5.25306.1
- Project builds successfully with
dotnet build
(compilation errors expected and acceptable at this stage) - Package restore works without errors with
dotnet restore
- No security vulnerabilities introduced by the new package version
Impact / Risk
- Expected Impact: This change will introduce compilation errors across all command handlers due to breaking API changes in System.CommandLine 2.0.0-beta5
- Risk Level: Low - This is only a package reference update; the compilation errors will be addressed in subsequent issues
- Dependencies: This change blocks all other System.CommandLine upgrade tasks
- Breaking Changes: Yes, requires follow-up issues to migrate code to new API patterns
Related Issues: This is part of the larger System.CommandLine upgrade effort as outlined in plan-upgrade-system-commandline-beta5.md
Copilot