-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Comparing changes
Open a pull request
base repository: microsoft/winget-cli
base: v1.11.400
head repository: microsoft/winget-cli
compare: v1.12.100-preview
- 17 commits
- 93 files changed
- 5 contributors
Commits on Jun 17, 2025
-
Update the other TDBuild task (#5534)
I didn't remember that localization is so nice we do it twice See #5533 ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5534)
Configuration menu - View commit details
-
Copy full SHA for e7d9c20 - Browse repository at this point
Copy the full SHA e7d9c20View commit details -
Use windows-latest agents in localization pipeline (#5538)
The loc pipeline uses windows-2019 agents that are being deprecated. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5538)
Configuration menu - View commit details
-
Copy full SHA for 14e8917 - Browse repository at this point
Copy the full SHA 14e8917View commit details -
###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5532)
Configuration menu - View commit details
-
Copy full SHA for c981750 - Browse repository at this point
Copy the full SHA c981750View commit details
Commits on Jun 19, 2025
-
Allow set foreground from PS (#5541)
## Change Call `CoAllowSetForegroundWindow` from the PS module to prevent/reduce instances of the UAC prompt being launched but not foreground.
Configuration menu - View commit details
-
Copy full SHA for 94b4348 - Browse repository at this point
Copy the full SHA 94b4348View commit details
Commits on Jun 24, 2025
-
Move to proper signal for dev/not-dev (#5552)
## Change Use `UseProdCLSIDs` rather than `WingetDisableTestHooks` to drive the dev/not-dev decision in DSC v3 resources. This only matters to the internal local builds; everywhere else they are the same value.
Configuration menu - View commit details
-
Copy full SHA for 26e5eca - Browse repository at this point
Copy the full SHA 26e5ecaView commit details
Commits on Jul 3, 2025
-
Use SDK 26100 in CommonCore project (#5570)
The last couple of builds have failed due to a missing SDK version 10.0.22621.0, presumably due to the agent images being updated to remove this. The only project where we use this version is CommonCore, everywhere else we use 26100 already. This PR updates CommonCore to use the same SDK version as all the other projects. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5570)
Configuration menu - View commit details
-
Copy full SHA for eb03885 - Browse repository at this point
Copy the full SHA eb03885View commit details
Commits on Jul 4, 2025
-
Repair Repair-WinGetPackageManager (#5568)
`Repair-WinGetPackageManager` is failing to install winget in some Win10 systems. The issue seems come from #5517 and be caused because in some cases we fail to mark any one architecture as the right one to use for dependencies. This PR is a partial revert of #5517 to add the previous logic as a fallback. May fix #5559 (but I haven't set up an environment to test it...) ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5568)
Configuration menu - View commit details
-
Copy full SHA for f1f9ac3 - Browse repository at this point
Copy the full SHA f1f9ac3View commit details -
Use cpprestsdk v2.10.18 (#5567)
We are seeing a crash coming from cpprestsdk, which happened after moving to use vcpkg dependencies and updating to v2.10.19. This reverts to the version we knew to be good, but it may be that the actual issue is not from cpprestsdk but from one of the patches from vcpkg. We consume cpprestsdk from a local port overlay that we use to be able to patch it with support for certificate pinning, so the main change is to the script that creates the port overlay. The script makes a copy of the port from the official registry; and this PR updates it so that it can fetch a version from an older commit and not just the latest. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5567)
Configuration menu - View commit details
-
Copy full SHA for 8115f41 - Browse repository at this point
Copy the full SHA 8115f41View commit details
Commits on Jul 11, 2025
-
Undefined-behaviour fix: safely call std::isspace in CompletionData (#…
…5564) ### What was fixed [CompletionData.cpp](cci:7://file:///c:/Users/T2430514/Downloads/winget-cli/src/AppInstallerCLICore/CompletionData.cpp:0:0-0:0) passed a potentially negative `char` to `std::isspace`, invoking undefined behaviour on non-ASCII input (signed `char` platforms). This occasionally caused crashes or incorrect cursor repositioning when autocompleting commands containing UTF-8 characters. ### How it was fixed The character is now explicitly cast to `unsigned char` before the `std::isspace` check: ```cpp !std::isspace(static_cast<unsigned char>(commandLine[cursor - 1])) ``` This aligns with standard C++ guidance and makes the completion logic robust across all locales. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5564) Co-authored-by: Odio Marcelino <odiomarcelino@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for da80018 - Browse repository at this point
Copy the full SHA da80018View commit details
Commits on Jul 14, 2025
-
Add missing compilation flags for vcpkg ports (#5587)
#5567 didn't actually fix the crash we were seeing. The actual cause of the crash seems to be that I missed adding some compilation flags that we had added to the `.vcxproj` for cpprestsdk when I moved the dependencies to vcpkg (which does not use the `.vcxproj`). Specifically, I didn't set a flag to compile it without async support, so the library used async but winget wasn't prepared for that. This PR adds the missing compilation flags for all ports, taken from the project files before the migration to vcpkg. I added the flags to the triplet files (conditionally) so that it applies the same regardless of whether a port comes from the official registry or a local overlay. I noticed that for `libyaml` and `jsoncpp` I missed the flags to prepare for fuzzing, so I added a new triplet for those. This PR also updates the pipeline to publish the compilation logs from vcpkg for easier debugging in the future. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5587)
Configuration menu - View commit details
-
Copy full SHA for 9681989 - Browse repository at this point
Copy the full SHA 9681989View commit details
Commits on Jul 17, 2025
-
Add more missing flags for vcpkg (#5592)
Yet another attempt to fix that crash we are seeing 🙃 See #5587 In the past we had added `_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR` globally to fix a similar crash using `Directory.Build.props`, but that does not flow from MSBuild to vcpkg. This change adds it to all the ports we use. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5592)
Configuration menu - View commit details
-
Copy full SHA for c61fde9 - Browse repository at this point
Copy the full SHA c61fde9View commit details
Commits on Jul 21, 2025
-
Swallow provisioned package errors (#5595)
## Change Catch errors coming from `FindProvisionedPackages` and ignore them. This is most likely to happen when the caller is not elevated.
Configuration menu - View commit details
-
Copy full SHA for c84f06c - Browse repository at this point
Copy the full SHA c84f06cView commit details -
Update detours vcpkg to use prior version (#5601)
## Change Starting with the time that the UndockedRegFreeWinRT change was introduced and working backward through commits, I found the equivalent one (only whitespace changes are present, probably due to auto-formatting). This change uses the existing overlay infrastructure to update the detours port to that commit.
Configuration menu - View commit details
-
Copy full SHA for 41fc5c8 - Browse repository at this point
Copy the full SHA 41fc5c8View commit details
Commits on Jul 22, 2025
-
## Change The reason for this configuration and build step have been lost. If this builds just fine, I think we are safe to remove it.
Configuration menu - View commit details
-
Copy full SHA for 1d8b9f5 - Browse repository at this point
Copy the full SHA 1d8b9f5View commit details
Commits on Jul 26, 2025
-
Configuration menu - View commit details
-
Copy full SHA for b50a974 - Browse repository at this point
Copy the full SHA b50a974View commit details -
Initial MCP Server implementation (#5610)
Discussion on further MCP work: #5609 ## Change This change adds an MCP server that provides two tools: - Find packages - Searches for packages based on a single input value, returning information about each one found. - Install package - Installs a package given a single input value, which is expected to be an identifier, name or moniker (same rules as `winget` CLI) The package response looks like: ```JSON { "identifier":"Microsoft.VisualStudioCode", "name":"Microsoft Visual Studio Code", "catalog":"winget", "isInstalled":true, "installedVersion":"1.102.1", "installedLocation":"%LOCALAPPDATA%\\Programs\\Microsoft VS Code\\", <- Is actually real path, not tokenized "isUpdateAvailable":false } ``` Also includes: - A group policy that determines whether the MCP server is allowed to operate - An `mcp` command that helps with manually configuring an MCP client - A change to the default COM caller behavior that makes it only use the file name - Also changes to not use the package family name if it is the same as the current process (so we can better differentiate our own callers) - A `Version` property on the `PackageManager` COM object that returns the version string as `1.2.3` or `1.2.3-preview`. - Start preferentially using this in the PowerShell module to get the version rather than running the CLI
Configuration menu - View commit details
-
Copy full SHA for eaab1bf - Browse repository at this point
Copy the full SHA eaab1bfView commit details
Commits on Jul 28, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 19071fe - Browse repository at this point
Copy the full SHA 19071feView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.11.400...v1.12.100-preview