KEMBAR78
Update YamlDotNet to Latest by Trenly · Pull Request #5191 · microsoft/winget-cli · GitHub
Skip to content

Conversation

Trenly
Copy link
Contributor

@Trenly Trenly commented Feb 7, 2025

I know that NuGet packages are typically not updated unless there are CVEs, important bug fixes, or other specific need to. However, when reviewing the list of NuGet packages installed, I saw that YamlDotNet was several versions out of date. This package directly affects the parsing of manifests within WinGet and the associated utilities. Given that, I thought it best to update it, especially given the fact that 1.10 is preparing to go through the release cycle, which would give these changes enough time to be tested in the 1.11 previews and testing cycles.

This change only directly updates the top-level project - WinGetUtilInterop. I'm expecting that all the other projects which have this NuGet package as a transient dependency will pick up this new version, as all of them have a Project Dependency on WinGetUtilInterop.

The projects which consume this change -

Top-Level

  • WinGetUtilInterop

Transitive

  • AppInstallerCLIE2ETests
  • Tool\IndexCreationTool
  • Tool\LocalhostWebServer
  • WinGetSourceCreator
  • WinGetUtilInterop.UnitTests

Microsoft Reviewers: Open in CodeFlow

@Trenly Trenly requested a review from a team as a code owner February 7, 2025 20:01
@yao-msft
Copy link
Contributor

yao-msft commented Feb 8, 2025

8.1.2 is the explicit version used by internal wingetsvc (not sure why, maybe it's from some earlier security fix), which has a dependency on the UtilInterop. But I guess it's ok to update now since it's so many versions behind.

@yao-msft
Copy link
Contributor

yao-msft commented Feb 8, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Trenly
Copy link
Contributor Author

Trenly commented Feb 8, 2025

8.1.2 is the explicit version used by internal wingetsvc (not sure why, maybe it's from some earlier security fix), which has a dependency on the UtilInterop. But I guess it's ok to update now since it's so many versions behind.

Does this mean I need to update another place in the code also?

@JohnMcPMS
Copy link
Member

8.1.2 is the explicit version used by internal wingetsvc (not sure why, maybe it's from some earlier security fix), which has a dependency on the UtilInterop. But I guess it's ok to update now since it's so many versions behind.

Does this mean I need to update another place in the code also?

My guess is that it means we (the service maintainers) would need to update the version internally whenever this change gets integrated into the service code. That is probably more of a logistical annoyance than anything else.

@yao-msft yao-msft merged commit c81e2b6 into microsoft:master Feb 13, 2025
9 checks passed
@Trenly Trenly deleted the YamlDotNet branch February 13, 2025 01:49
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.

3 participants