Skip to content

Update YamlDotNet to Latest - #5191

Merged
yao-msft merged 1 commit into
microsoft:masterfrom
Trenly:YamlDotNet
Feb 13, 2025
Merged

Update YamlDotNet to Latest#5191
yao-msft merged 1 commit into
microsoft:masterfrom
Trenly:YamlDotNet

Conversation

@Trenly

@Trenly Kaleb Luedtke (Trenly) commented Feb 7, 2025

Copy link
Copy Markdown
Contributor

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
Kaleb Luedtke (Trenly) requested a review from a team as a code owner February 7, 2025 20:01
@yao-msft

yao-msft commented Feb 8, 2025

Copy link
Copy Markdown
Contributor

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

yao-msft commented Feb 8, 2025

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@Trenly

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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
@Trenly
Kaleb Luedtke (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