Releases: microsoft/winget-cli
Windows Package Manager 1.3.1391-preview
This is the third development build after the Windows Package Manager 1.2 build for Windows 10 (1809+) and Windows 11.
Experimental features are enabled in this release. The experimental support for portable applications now includes support for upgrade and uninstall (for portable packages).
Note: The Windows Package Manager Community Repository does not accept portable applications. They will not be accepted until after 1.3 is Generally Available and has been rolled out to the majority of Windows systems via the automatic upgrade from the Microsoft Store. Users may test with local manifests. You may need to manually clean up Windows Apps & Features if you install on the main OS rather than a Windows Sandbox.
What's Changed
- Treat manifest localization validation error as warning for non full validation(manifest reading) by @yao-msft in #2144
- Fixed builds on VS 2022 version 17.2. by @jedieaston in #2156
- Implementation for Portable Uninstall and Upgrade by @ryfu-msft in #2140
- Load index from validated msix for unpackaged context by @yao-msft in #2139
- Doc for ARP version mapping change by @yao-msft in #2162
- Fix list/upgrade table for packages with multiple ARP entries. by @jedieaston in #2137
Full Changelog: v1.3.1251-preview...v1.3.1391-preview
Windows Package Manager 1.3.1251-preview
This is the second development build after the Windows Package Manager 1.2 build for Windows 10 (1809+) and Windows 11.
Experimental features are enabled in this release. This build will be released to Windows Insider Dev builds, and Windows Package Manager Insiders. We're going to get another preview build at GitHub to include upgrade and uninstall for portable packages.
Features
- Setting for always using verbose logs
- winget --info should print the system architecture
- An even better progress bar
The most notable new experimental feature is support for installing portable applications.
Note: The upgrade and uninstall behaviors have not been implemented. The community repository does not accept portable applications either. Users may test with local manifests but will need to manually clean up entries in Windows Apps & Features if this is used to install a portable application.
The COM API has also been extended to support for uninstall.
Note: This is part of the work that is a prerequisite to having native PowerShell support. The cmdlets will be able to leverage the COM API to get rich objects out.
We've started working on an "In-proc" COM NuGet package that will be leveraged by Intune and other MDM solutions to support remote system context execution. This will not be considered GA and supported until it reaches version 1.0.
Bugs
- Allow winget to install MS Store packages without account just like the MS Store
- --include-unknown not functioning as expected
What's Changed
- Setting for Logging Level by @Trenly in #1945
- Improve
--include-unknown
message by @felipecrs in #1946 - Added system architecture to
winget --info
. by @jedieaston in #1937 - Fix: Only include unknown packages which exist in source by @Trenly in #1972
- Allow PackageFamilyName to be declared with non msix installers by @yao-msft in #1944
- Addition of initial 1.2 schema with 'Portable' installerType by @ryfu-msft in #1930
- Make build pipeline task fail on unit tests failure by @yao-msft in #1975
- Remove duplicated message about unknown versions by @felipecrs in #1982
- Expose simple applicable installer check in Com api by @yao-msft in #1974
- Fix pipeline build: ensure project target version matches the AppInstaller package by @yao-msft in #1990
- Add uninstall functionality to Com api by @yao-msft in #1909
- Remove duplicated message when no upgrades by @felipecrs in #1986
- Anonymize Com caller value by @yao-msft in #1998
- Fixed issues preventing compilation on VS 2022 17.1. by @jedieaston in #2000
- Rename source auto update group policy by @lechacon in #1995
- Function that will accept source agreement by @Jeff-Jerousek in #2020
- Portable apps specification by @denelon in #2012
- Add policy definition for ms-appinstaller to ADMX by @lechacon in #2038
- Change to official DNS by @JohnMcPMS in #2026
- Make upgrade help inform of list ability by @Trenly in #2034
- Mitigate crash occuring in CompositeSource by @JohnMcPMS in #2043
- Use AppsAndFeatures name and publisher by @JohnMcPMS in #2042
- Apply latest loc patch by @lechacon in #2045
- Add support for InProc Com invocation by @yao-msft in #2035
- Display fine-grained blocks in progress bars by @chausner in #2046
- Support for 1.2 Schema Additions by @ryfu-msft in #2028
- Update portable spec with symlink solution design by @ryfu-msft in #2075
- Add nuget publish pipeline for in-proc Com binaries by @yao-msft in #2077
- Add support for in-proc Com state separation by @yao-msft in #2068
- Add heuristics for matching packages to ARP after installing by @lechacon in #2044
- Optimize images by @Trenly in #2082
- Add a system for testing correlation E2E by @JohnMcPMS in #2071
- Make In-proc Com nuget package better support .net framework 4.* by @yao-msft in #2083
- Build pipeline updates and improvements by @yao-msft in #2085
- Fix issue with correlation chaining from the SQLite index by @JohnMcPMS in #2087
- Fix exceptions breaking out of the multi-package install loop by @JohnMcPMS in #2089
- Update README by @denelon in #2113
- fix passing null parameters to Find-WinGetPackage by @bftblomster in #2092
- Allow winget to install MS Store packages without account by @zachcwillson in #2095
- Require selection argument on install/show/search/uninstall by @JohnMcPMS in #2125
- Remove ARP matching for single ARP change, and consider publisher+name for matching by @lechacon in #2119
- Implementation for Portable install flow by @ryfu-msft in #2078
- Fix packageId and sourceId match check for portable install by @ryfu-msft in #2138
- Act on elevation requirements in majority cases by @JohnMcPMS in #2126
New Contributors
- @felipecrs made their first contribution in #1946
- @Jeff-Jerousek made their first contribution in #2020
- @bftblomster made their first contribution in #2092
- @zachcwillson made their first contribution in #2095
Full Changelog: v1.3.431...v1.3.1251-preview
Windows Package Manager 1.3.431-preview
This release is the first development build after the Windows Package Manager 1.2 release candidate build for Windows 10 (1809+) and Windows 11.
Experimental features have been enabled in this release. This build will be released to Windows Insider Dev builds, and Windows Package Manager Insiders.
What's Changed
- Add Package Dependencies to index. by @hackean-msft in #1667
- Update windows-package-manager-release-roadmap.md by @opsetech in #1770
- Bug fix: PackageTrackingCatalog and SQLiteIndexUpdate by @hackean-msft in #1780
- Update TSG with more information about a known issue by @ashpatil-msft in #1785
- Added argument to control whether to upgrade packages if they have "unknown" versions by @jedieaston in #1765
- First drafted client cmdlets from Hackathon 221 by @denelon in #1760
- Fix some build warnings by @lechacon in #1794
- Fix Typo in upgrade.md by @floh96 in #1822
- Add support for UnsupportedOSArchitectures manifest element by @lechacon in #1807
- Added check for maximum size of downloaded file names by @jedieaston in #1842
- Fix DLL load error in WinGetUtil by @lechacon in #1844
- Update localization strings by @JohnMcPMS in #1845
- Add comments for localization by @lechacon in #1847
- Moved "Installing Dependencies" message to only print if there are dependencies to install. by @jedieaston in #1851
- Adds experiment to know if PATH is common issue. by @Lewiscowles1986 in #1841
- Check FS feature flags instead of checking for NTFS by @sredna in #1859
- Add titles to 1.1 schema for ExpectedReturnCode and UnsupportedOSArchitecture by @ryfu-msft in #1862
- Split pipeline build job into x86 and x64 by @lechacon in #1852
- Allow upgrades in packages that register a different installer type by @lechacon in #1796
- Add a default user agent to REST source calls by @JohnMcPMS in #1839
- Add upgrade functionality in Com api by @yao-msft in #1853
- Print the upgrade table during
upgrade --all
by @jedieaston in #1866 - Add support for markets by @lechacon in #1806
- [ImgBot] Optimize images by @vedantmgoyal2009 in #1871
- Fix crash that can occur when failure pointers are null by @JohnMcPMS in #1880
- Added extra check for valid arguments in
upgrade
. by @jedieaston in #1874 - Add InstallerErrorCode to COM interface by @JohnMcPMS in #1926
- Update gif animation for winget install wingetcreate by @ryfu-msft in #1931
- Bump version to 1.3 by @JohnMcPMS in #1933
New Contributors
- @opsetech made their first contribution in #1770
- @floh96 made their first contribution in #1822
- @Lewiscowles1986 made their first contribution in #1841
- @sredna made their first contribution in #1859
Full Changelog: v1.0.12576...v1.3.431
Windows Package Manager 1.2.10271
This release represents our Windows Package Manager 1.2 release candidate build for Windows 10 (1809+), and Windows 11.
Experimental features have been disabled in this release. We will follow this release with another Pre-release "developer" build at GitHub so users can continue with experimental features available.
What's Changed
- Support for x64 on ARM64 by @JohnMcPMS in #1441
- Add colons after agreement labels by @lechacon in #1440
- Spelling by @JohnMcPMS in #1447
- Update spelling.yml by @JohnMcPMS in #1448
- Update winget trouble shooting steps by @ashpatil-msft in #1454
- Show source identifier with
source list
by @lechacon in #1455 - Fix crash when resource.pri is not present by @msftrubengu in #1443
- Disable local manifest by default by @yao-msft in #1453
- Update localization files by @JohnMcPMS in #1462
- doc/Settings.md: Add missing "a" by @me-and in #1467
- Add expected installer return codes by @lechacon in #1421
- Remove cancel optimization for packageQuery caller by @sreadingMSFT in #1472
- Update Docs by @vedantmgoyal2009 in #1471
- Update Docs [suggestions] by @vedantmgoyal2009 in #1479
- Minor tweaks to spelling to fix issues by @denelon in #1480
- Fix Roadmap and Documentation by @vedantmgoyal2009 in #1468
- Fix Installer return code max value in schema by bad merge by @yao-msft in #1482
- Source resilience by @JohnMcPMS in #1470
- Make list show correlated source even when no upgrade is available by @JohnMcPMS in #1481
- Handle single unknown version from REST source by @JohnMcPMS in #1483
- Fix debug build failure by @yao-msft in #1485
- Fix logging of large REST response by @JohnMcPMS in #1489
- Create machinery for disabling experimental features by @JohnMcPMS in #1490
- Remove motw before calling IAttachmentExecute::Save by @yao-msft in #1491
- Fix correlation issue by @JohnMcPMS in #1492
- Add sample project for calling COM interface by @lechacon in #1449
- Minor bug fixes by @JohnMcPMS in #1494
- Update troubleshooting doc with recent error and findings by @ashpatil-msft in #1495
- Localize the product name per recommendation by @JohnMcPMS in #1498
- Update localization files by @JohnMcPMS in #1499
- Make rename retry more frequently for longer, then try making a hardlink by @JohnMcPMS in #1497
- Disable test hooks fixes by @JohnMcPMS in #1501
- Exit the locale choice loop if the default localization is good enough by @JohnMcPMS in #1500
- Ensure available packages match with a single installed package by @lechacon in #1473
- Updating Readme by @denelon in #1507
- Add option to check fields requiring verified publisher in manifest p… by @yao-msft in #1487
- Use correct Subexecution id when working on multiple packages by @ashpatil-msft in #1504
- Changes for sample COM caller project by @lechacon in #1514
- Fixed bug where the package name wouldn't be written during upgrade. by @jedieaston in #1517
- Fix nuget release pipeline by @yao-msft in #1522
- Fix test task overrides by @lechacon in #1526
- Fix unit tests in pipeline by @JohnMcPMS in #1529
- Add missing resource string by @JohnMcPMS in #1532
- Change format to long for installer success codes by @ryfu-msft in #1533
- Settings streams exchange semantics by @JohnMcPMS in #1534
- Added vsconfig file to automatically install required workloads. by @jedieaston in #1551
- Color contamination fix by @hackean-msft in #1527
- Added validation of count argument for search/list. by @jedieaston in #1564
- closes #1569 by @exxmen in #1580
- Split COM install command into download and install stages by @lechacon in #1528
- Check enablement state for all output write operations by @hackean-msft in #1581
- Move Issue Templates to Forms by @Trenly in #1596
- The source column is no longer shown in the table if a source was specified (list/upgrade). by @jedieaston in #1598
- Add projected winrt wrapper for server com interface and add tests by @sreadingMSFT in #1373
- Add link to new discussion for questions by @Trenly in #1617
- Package type dependency graph specs by @fzanollo in #1340
- Rearrange choices for ARP changes by @JohnMcPMS in #1630
- Introduce Managed Interop and merged manifest classes to WingetUtil nuget by @jamespik in #1621
- Update doc with Machine-wide install information by @ashpatil-msft in #1642
- Added progress indication to InstallMultiplePackages. by @jedieaston in #1613
- Installed package tracking by @JohnMcPMS in #1614
- Package type Dependency graph by @fzanollo in #1341
- Refactor Source Interface to be more object oriented by @yao-msft in #1631
- CurrentLocalization is now populated for dependency manifests. by @jedieaston in #1655
- Fix yaml manifest schema and parsing for ExpectedReturnCodes by @yao-msft in #1646
- Fix incorrect processing of PackageMatchFields in rest client by @yao-msft in #1659
- Fix interface casting in client dll. by @sreadingMSFT in #1673
- Prevent duplicate installations in winget upgrade all by @yao-msft in #1652
- Use package tracking data to correlate in CompositeSource by @JohnMcPMS in #1671
- Add product code and PFN to enable existing searches by @JohnMcPMS in #1677
- Added an option to select architecture to install. by @jedieaston in #1666
- Add preview concept to allow build time determination by @JohnMcPMS in #1679
- Print message when install technology is different in upgrade scenarios by @msftrubengu in #1649
- Prevent circular dependency in global telemetry logger creation by @yao-msft in #1674
- Made all installer types lowercase during
show
. by @jedieaston in #1689 - Use SFINAE to stop paths from logging without using u8string by @JohnMcPMS in #1697
- Made the Installation Disclaimer for the Microsoft Store bold. by @jedieaston in #1698
- remove plain by @MagnetarRocket in #1700
- Make VT enablement/disablement work properly by @JohnMcPMS in #1699
- Create shared DLL for winget.exe and COM server by @JohnMcPMS in #1687
- Implement parallel downloads for COM scenarios by @lechacon in #1588
- Updated Valijson to version 0.6. by @jedieaston in #1721
- Change download file name to match the installer URL by @JohnMcPMS in #1722
- Updated solution to build under Visual Studio 2022 by @jedieaston in #1720
- Update component governance manifest wi...
Windows Package Manager 1.2.3411-preview
This release represents the 1.2 candidate functionality with experimental features enabled for Windows 10 (1809+), and Windows 11.
We've been busy adding functionality, fixing bugs and documentation.
Notable Features
- Revisit the logic in Architecture.cpp for X64 emulation of ARM64 devices.
- Require administrator to enable local manifest files.
- Expected return codes
- Installed package tracking
- Added an option to select architecture to install.
- Specify installer architecture
- Change download file name to match the installer URL
- Added settings to select preferred/required architecture.
Notable Bug Fix
What's Changed
- Support for x64 on ARM64 by @JohnMcPMS in #1441
- Add colons after agreement labels by @lechacon in #1440
- Spelling by @JohnMcPMS in #1447
- Update spelling.yml by @JohnMcPMS in #1448
- Update winget trouble shooting steps by @ashpatil-msft in #1454
- Show source identifier with
source list
by @lechacon in #1455 - Fix crash when resource.pri is not present by @msftrubengu in #1443
- Disable local manifest by default by @yao-msft in #1453
- Update localization files by @JohnMcPMS in #1462
- doc/Settings.md: Add missing "a" by @me-and in #1467
- Add expected installer return codes by @lechacon in #1421
- Remove cancel optimization for packageQuery caller by @sreadingMSFT in #1472
- Update Docs by @vedantmgoyal2009 in #1471
- Update Docs [suggestions] by @vedantmgoyal2009 in #1479
- Minor tweaks to spelling to fix issues by @denelon in #1480
- Fix Roadmap and Documentation by @vedantmgoyal2009 in #1468
- Fix Installer return code max value in schema by bad merge by @yao-msft in #1482
- Source resilience by @JohnMcPMS in #1470
- Make list show correlated source even when no upgrade is available by @JohnMcPMS in #1481
- Handle single unknown version from REST source by @JohnMcPMS in #1483
- Fix debug build failure by @yao-msft in #1485
- Fix logging of large REST response by @JohnMcPMS in #1489
- Create machinery for disabling experimental features by @JohnMcPMS in #1490
- Remove motw before calling IAttachmentExecute::Save by @yao-msft in #1491
- Fix correlation issue by @JohnMcPMS in #1492
- Add sample project for calling COM interface by @lechacon in #1449
- Minor bug fixes by @JohnMcPMS in #1494
- Update troubleshooting doc with recent error and findings by @ashpatil-msft in #1495
- Localize the product name per recommendation by @JohnMcPMS in #1498
- Update localization files by @JohnMcPMS in #1499
- Make rename retry more frequently for longer, then try making a hardlink by @JohnMcPMS in #1497
- Disable test hooks fixes by @JohnMcPMS in #1501
- Exit the locale choice loop if the default localization is good enough by @JohnMcPMS in #1500
- Ensure available packages match with a single installed package by @lechacon in #1473
- Updating Readme by @denelon in #1507
- Add option to check fields requiring verified publisher in manifest p… by @yao-msft in #1487
- Use correct Subexecution id when working on multiple packages by @ashpatil-msft in #1504
- Changes for sample COM caller project by @lechacon in #1514
- Fixed bug where the package name wouldn't be written during upgrade. by @jedieaston in #1517
- Fix nuget release pipeline by @yao-msft in #1522
- Fix test task overrides by @lechacon in #1526
- Fix unit tests in pipeline by @JohnMcPMS in #1529
- Add missing resource string by @JohnMcPMS in #1532
- Change format to long for installer success codes by @ryfu-msft in #1533
- Settings streams exchange semantics by @JohnMcPMS in #1534
- Added vsconfig file to automatically install required workloads. by @jedieaston in #1551
- Color contamination fix by @hackean-msft in #1527
- Added validation of count argument for search/list. by @jedieaston in #1564
- closes #1569 by @exxmen in #1580
- Split COM install command into download and install stages by @lechacon in #1528
- Check enablement state for all output write operations by @hackean-msft in #1581
- Move Issue Templates to Forms by @Trenly in #1596
- The source column is no longer shown in the table if a source was specified (list/upgrade). by @jedieaston in #1598
- Add projected winrt wrapper for server com interface and add tests by @sreadingMSFT in #1373
- Add link to new discussion for questions by @Trenly in #1617
- Package type dependency graph specs by @fzanollo in #1340
- Rearrange choices for ARP changes by @JohnMcPMS in #1630
- Introduce Managed Interop and merged manifest classes to WingetUtil nuget by @jamespik in #1621
- Update doc with Machine-wide install information by @ashpatil-msft in #1642
- Added progress indication to InstallMultiplePackages. by @jedieaston in #1613
- Installed package tracking by @JohnMcPMS in #1614
- Package type Dependency graph by @fzanollo in #1341
- Refactor Source Interface to be more object oriented by @yao-msft in #1631
- CurrentLocalization is now populated for dependency manifests. by @jedieaston in #1655
- Fix yaml manifest schema and parsing for ExpectedReturnCodes by @yao-msft in #1646
- Fix incorrect processing of PackageMatchFields in rest client by @yao-msft in #1659
- Fix interface casting in client dll. by @sreadingMSFT in #1673
- Prevent duplicate installations in winget upgrade all by @yao-msft in #1652
- Use package tracking data to correlate in CompositeSource by @JohnMcPMS in #1671
- Add product code and PFN to enable existing searches by @JohnMcPMS in #1677
- Added an option to select architecture to install. by @jedieaston in #1666
- Add preview concept to allow build time determination by @JohnMcPMS in #1679
- Print message when install technology is different in upgrade scenarios by @msftrubengu in #1649
- Prevent circular dependency in global telemetry logger creation by @yao-msft in #1674
- Made all installer types lowercase during
show
. by @jedieaston in #1689 - Use SFINAE to stop paths from logging without using u8string by @JohnMcPMS in #1697
- Made the Installation Disclaimer for the Microsoft Store bold. by @jedieaston in htt...
Windows Package Manager v1.1.12701
This release is the first development build after the Windows Package Manager 1.1 release candidate build for Windows 10 (1809+).
Experimental features have been enabled in this release. This build will be released to Windows Insider Dev builds, and Windows Package Manager Insiders.
Windows Package Manager v1.1.12653
This release represents our Windows Package Manager 1.1 release candidate build for Windows 10 (1809+).
Experimental features have been disabled in this release. We will follow this release with another Pre-release "developer" build at GitHub so users can continue with experimental features available.
Bugs
#797 Silent install of "winget install git.git" is not working
#1497 Make rename retry more frequently for longer, then try making a hardlink
Blog
https://devblogs.microsoft.com/commandline/windows-package-manager-1-1/
Windows Package Manager v1.0.12576
This release includes several new features related to the experimental Microsoft Store source. The REST API now has support for source level agreements, and an HTTP header pass through. Packages can also have agreements a user must accept before downloading and installing a package. We have also made improvements for handling silent installation with MSI UAC issues, and deferred registration for MSIX packages. A new experimental feature will show dependencies listed in a package manifest. The COM API is now considered a stable feature, and has been removed from experimental features. We have also started the work to begin supporting the new v1.1 schema #1243. The implementation for these new keys will follow in subsequent releases.
Thanks to @ChungZH for making some UX improvements to show how many upgrades are available, and displaying the version number during install.
Features
#200 Require EULA/TOS acceptance before download starts.
#893 Add support for an arbitrary HTTP header value in REST API
#967 Max Installer nodes 1024
#1012 Experimental Show dependencies
#1174 Added "doProgressTimeoutInSeconds" Setting
#1216 Add Microsoft Store REST Source as default option and fix telemetry gaps
#1337 Show the version number during install.
#1354 winget upgrade: Display count of available upgrades
#1396 Add support for rest api 1.1 interface
#1397 Add deferred registration for MSIX
#1398 Use MSI API to allow UAC prompts on MSI silent installs
#1400 Client verbose logging does not log sufficient information to diagnose issues interacting with rest sources.
#1419 Remove the packagedAPI experimental feature flag
Bugs
#1406 InstallerSuccessCodes in manifest schema does not provide any numerical limits
#1416 winget source add doesn't warn you when adding an unsupported source.
Windows Package Manager v1.0.11692
This release fixes a few bugs. The first one is related to users and installers executing [Ctrl]+[c]. The next is a fallback when Delivery Optimization encounters failures. The last one addresses permissions inherited from the directory installers are saved to, and may also help with some installers due to long path names.
Bugs
#189 Discord does not install
#1060 Fails to update program, error 0x801901a0
#1076 winget install results in 0x80d03002 : unknown error
Notes
Over the coming weeks we will be making changes to version numbers for the App Installer shipped in the Microsoft Store. We will be making some space for servicing agility so we can continue to iterate quickly with our preview releases. This version will be published to all Windows Insider channels and the Windows Package Manager Insiders.
Going forward, development releases will be published to Windows Insider Dev channel and Windows Package Manager Insiders. We will leverage Windows Insider Beta channel for servicing issues, and the Windows Insider Release Preview channel for future release candidates.
If you want the latest preview releases, there will be three choices.
- Join the Windows Package Manager Insider program.
- Run a Windows Insider Dev channel build.
- Download the preview releases from GitHub.
Any users on released versions of Windows who have downloaded releases from this GitHub repository should ensure they download and install this release to ensure continuity of access to the Windows Package Manager. With this release we are discontinuing support for versions of Windows 10 prior to version 1809.
Windows Package Manager v1.0.11451
Windows Package Manager v1.0
This release includes all of the features and bug fixes from the v1.0 milestone.
The following commands are available:
install Installs the given package
show Shows information about a package
source Manage sources of packages
search Find and show basic info of packages
list Display installed packages
upgrade Upgrades the given package
uninstall Uninstalls the given package
hash Helper to hash installer files
validate Validates a manifest file
settings Open settings
features Shows the status of experimental features
export Exports a list of the installed packages
import Installs all the packages in a file
Note
Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.