Releases: microsoft/winget-cli
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.
Windows Package Manager v0.4.11391 Preview
This release includes improvements for the correlation between manifests in the community repository and entries in Add / Remove Programs. We've also added a hash for the manifest itself to ensure the chain of trust with the PreIndexed package (default source). Several features have moved from experimental to released including "list", "upgrade", "uninstall", and "export".
New Features
#959 Ensure chain of trust with packaged index
#118 Repository REST API
#120 Upgrade an installed App
#220 Export/Import apps list
#121 Uninstall an Installed App
#119 List installed Apps
#151 Support Delivery Optimization
Bug Fixes
#723 commands not showing with white cmd background
#955 Name and Publisher Correlation in CompositeSource
#966 Fix a few polish Items
#973 Fix for a bug, DO timeout to 60 seconds, minor version bump
Note
Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.
Windows Package Manager v0.3.11201 Preview
This release includes VT-based progress reporting, a bug fix for upgrade, support for Delivery Optimization, and multiple locale support for manifest data.
New Features
#869 Provide Taskbar progress indicator in Windows Terminal
#909 Implement Delivery Optimization (Initial work on #151 Support Delivery Optimization)
#903 Multiple locale support for Windows Package Manager workflows
Bug Fixes
#904 Make correlation logic from available source to installed source look at all versions instead of just latest
Note
Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.
Windows Package Manager v0.3.11102 Preview
This release includes the first stable release for the import command.
The Group Policy .admx and .adml files are also included in this release.
New Features
#220 Export/Import apps list - Import is now a default feature
Note
Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.
Windows Package Manager v0.2.10971 Preview
This release includes the initial implementations for group policy, user vs. machine scope, and search against a REST source.
Group Policy will be implemented via ADMX Ingestion. The .admx and .adml files will be provided in the next release of the Windows Package Manager preview.
Some packages support one or more installation scopes. Settings and a command line argument have been added to specify either "User" or "Machine" for manifests with the proper values and configuration. Additional details available in the PR #819 Settings and command line argument for specifying scope.
Third party repositories will be enabled via a REST API. This release includes the second round of implementation work which includes the ability to search for packages against a REST based source. A reference implementation will be provided in a different open-source repository in the coming months.
New Features
#154 Support for Group Policy Management
#149 User vs. System installation (non MSIX)
#118 Added Experimental support for Repository REST API
Note
Binaries removed. We have discontinued support for versions of Windows 10 prior to version 1809.