KEMBAR78
Add RestSource and tests for Manifest v1.12 by dkbennett · Pull Request #5695 · microsoft/winget-cli · GitHub
Skip to content

Conversation

dkbennett
Copy link
Member

Closes #5694

Updates the RestSource and interface to support v1.12 Manifest schema.

  • Added Manifest 1.12 Schema to the Rest source and support for the new installer type.
  • Added tests for v1.12 rest source.
  • Added unit tests for WinGetUtilInterop for the v1.12 merged manifest and validating the new installertype.

Tested:

  • WinGetUtilInterop Unit tests passed, verified in debugger that the new v1.12 manifest and manifest properties were being tested and validated.
  • AppInstallerCLITests for [RestSource] and the new [Interface_1_12] both pass.

(This is part of schema update for 1.12 so nothing new to add to release notes.)


@dkbennett dkbennett requested review from a team, JohnMcPMS, florelis and yao-msft August 27, 2025 19:46
@dkbennett dkbennett marked this pull request as ready for review August 27, 2025 21:26
const Utility::Version Version_1_7_0{ "1.7.0" };
const Utility::Version Version_1_9_0{ "1.9.0" };
const Utility::Version Version_1_10_0{ "1.10.0" };
const Utility::Version Version_1_12_0{ "1.12.0" };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose I never realized how many unnecessary allocating statics we had laying around. <grumbles about C# devs>

@dkbennett dkbennett requested a review from JohnMcPMS August 27, 2025 22:33
@dkbennett dkbennett merged commit ddb86d4 into microsoft:master Aug 28, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Rest Source and WinGet Util for v1.12 Manifest Schema

2 participants