Windows Package Manager 1.9.25170
Pre-releaseThis release represents our second Windows Package Manager 1.9 release candidate build for Windows 10 (1809+), and Windows 11.
This release includes the ability to enable experimental features unless blocked by Group Policy Objects (GPO)
Sixel support is here to display icons and a new progress visualization. To try out this new feature, you must be using a terminal that supports sixels, such as the latest Windows Terminal Preview build. To enable this feature, include the following snipping in your settings file:
{
"$schema": "https://aka.ms/winget-settings.schema.json",
"visual": {
"enableSixels": true,
"progressBar": "sixel"
}
}
WinGet Configuration files with DSC Resources requiring elevation can now be handled more gracefully. The "Configure Self Elevation" experimental feature can be enabled with the following snippet in your settings file:
{
"$schema": "https://aka.ms/winget-settings.schema.json",
"experimentalFeatures": {
"configureSelfElevate": true
}
}
Use "securityContext: elevated" under "directives:" for any resources requiring administrator. WinGet will trigger a single User Account Control (UAC) prompt when the configuration is run under user context. Resources requiring elevation are run elevated, and the rest are run in user context. The following example shows how the .NET Tutorial - Hello World in 5 minutes will be updated to provide a better user experience.
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
properties:
resources:
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-dotnet8-SDK
directives:
description: Install .NET 8 SDK
securityContext: elevated
settings:
id: Microsoft.DotNet.SDK.8
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-vs-code
directives:
description: Install Visual Studio Code
settings:
id: Microsoft.VisualStudioCode
source: winget
- resource: Microsoft.VSCode.DSC/VSCodeExtension
id: install-csharp-dev-kit
dependsOn:
- install-vs-code
directives:
description: Install C# Dev Kit
allowPrerelease: true
settings:
name: ms-dotnettools.csdevkit
exist: true
configurationVersion: 0.2.0
What's Changed
- Increment version to 1.9 by @ryfu-msft in #4522
- Update localization pipeline to new auth type by @florelis in #4532
- Fix loc pipeline service connection by @florelis in #4533
- Enable Microsoft Entra Id auth for displaycatalog and use enterprise offline sku by @yao-msft in #4544
- Add tests for configure mixed elevation by @ryfu-msft in #4487
- Make v2 index EF enabled by default by @JohnMcPMS in #4553
- Trim Version When Parsing by @Trenly in #4554
- Add Tests for Parsing Versions with Whitespace by @Trenly in #4557
- Winget Repair - Eliminate installer type mapping for MSI/WIX and MSIX NonStore ,code refactoring & E2E Test Coverage by @Madhusudhan-MSFT in #4534
- Update Pipeline Component Versions by @Trenly in #4560
- Add support for extracting archives using tar.exe by @ryfu-msft in #4541
- Make SxS stable by @JohnMcPMS in #4563
- Use digest verification APIs for MSIX when available by @JohnMcPMS in #4564
- Improve Support for Versions with Preambles by @Trenly in #4558
- Launch COM server for elevated use via packaged path by @JohnMcPMS in #4567
- Fix export manifest with multiple locales by @yao-msft in #4569
- Configuration history support by @JohnMcPMS in #4552
- Make Store package download stable by @yao-msft in #4570
- Update expired certificate with incoming one by @JohnMcPMS in #4568
- Apply latest patch for localized strings by @ryfu-msft in #4578
- Update winget server com security by @yao-msft in #4577
- Component Governance fix: Update libyaml by @yao-msft in #4583
- Update valijson to v1.0.2 by @yao-msft in #4588
- Use atomic functions to ensure single initialization of tracking catalog by @JohnMcPMS in #4592
- Standardize line endings in expect.txt by @Trenly in #4595
- Fix service connection for ESRP codesigning for utils nuget package by @ryfu-msft in #4597
- Configuration apply queueing by @JohnMcPMS in #4590
- Ensure Agreements don't terminate in dependency flow by @Trenly in #4594
- Remove libyaml Dockerfile by @florelis in #4604
- Update README.md and Pull Request and Issue templates by @skanda890 in #4599
- Attempt to update dependencies when not registered by @JohnMcPMS in #4606
- Remove experimental from index v2 by @JohnMcPMS in #4607
- ARM64 build and test fixes by @JohnMcPMS in #4608
- Use shared manifest in COM server by @JohnMcPMS in #4605
- Add AnyCPU to .gitignore by @JohnMcPMS in #4621
- Fix for attempted use of capability API before it was introduced by @JohnMcPMS in #4620
- Fix Component Governance by @msftrubengu in #4629
- Update documentation errors by @Trenly in #4649
- Update Zlib library dependency for PureLib by @ryfu-msft in #4654
- update curl vcpkg version to 8.8.0 by @ryfu-msft in #4655
- Pull in latest SFSClient by @ryfu-msft in #4670
- Remove prerelease, update icon uri, and clean up for PowerShell modules by @ryfu-msft in #4672
- Use ContinueWith rather than finally for coroutine result types by @JohnMcPMS in #4669
- Store configuration status and enable remote watch events by @JohnMcPMS in #4647
- Update README.md by @skanda890 in #4687
- Update metadata collection tooling by @JohnMcPMS in #4688
- Skip uninstall attempt when installed package version is not present by @JohnMcPMS in #4685
- Upgrade to check-spelling v0.0.22 by @jsoref in #3896
- Fix downloader selection by @florelis in #4696
- Split testing into separate pipeline job by @JohnMcPMS in #4675
- Update NOTICE by @JohnMcPMS in #4699
- Delete CodeCoverage and WinGetUtil NuGet pipelines by @florelis in #4708
- WinRT activation shim for Microsoft.Management.Deployment by @JohnMcPMS in #4709
- Add missing solution dependency by @JohnMcPMS in #4717
- Fix the actual problem with the build... by @JohnMcPMS in #4719
- Send unit telemetry on success by @JohnMcPMS in #4720
- Pull in latest SFS client by @ryfu-msft in #4725
- PowerShell Help for Microsoft.WinGet.Client by @denelon in #4674
- Create public sample by @JohnMcPMS in #4734
- Generate Microsoft.WinGet.Client help docs in cmdlet output by @ryfu-msft in #4731
- Remove preference for "installed" installer type by @JohnMcPMS in #4740
- Update curl to 8.9.1 by @ryfu-msft in #4745
- Fix Reset-WinGetSource behavior by @ryfu-msft in #4732
- External HR error message support by @JohnMcPMS in #4746
- Generate test certificates in pipeline by @florelis in #4747
- [Spec] Windows Package Manager Repair functionality Design spec by @Madhusudhan-MSFT in #3943
- Update build status badge by @JohnMcPMS in #4758
- Run test tasks if succeededOrFailed by @JohnMcPMS in #4759
- Binskim error EnableCriticalCompilerWarnings by @ryfu-msft in #4764
- Run Unpackaged Unit Tests with winget-installed PsExec by @ryfu-msft in #4760
- Spelling by @JohnMcPMS in #4772
- Updates to PowerShell help docs by @mdanish-kh in #4781
- Repair-WinGetPackageManager improvements by @JohnMcPMS in #4774
- Allow for smaller configuration outputs by @JohnMcPMS in #4754
- Add diagnostics to dynamic factory by @JohnMcPMS in #4757
- PS Gallery tests are unreliable by @JohnMcPMS in #4791
- Add pwsh support for trust level and explicit by @ryfu-msft in #4750
- Updates to the PowerShell modules by @kilasuit in #4716
- Microsoft.WinGet.DSC improvements (and breaking change) by @JohnMcPMS in #4795
- Small build changes by @florelis in #4807
- Add initial 1.9 manifest by @ryfu-msft in #4811
- Fix Component Governance issues by @florelis in #4814
- Fix grammatical issues in Bug Report.yml, and Update dependencies by @skanda890 in #4788
- upgrading to similar-issues-ai by @denelon in #4819
- Update nuget for E2E test project by @ryfu-msft in #4821
- Fix PATH issue for archive containing nested portables with binary dependencies by @ryfu-msft in #4816
- Revert PowerShell modules to alpha by @JohnMcPMS in #4823
- Update fuzzing template area path by @ryfu-msft in #4824
- Add a few more command aliases by @Trenly in #4822
- Fix issue with unicode characters in symlink target path by @ryfu-msft in #4834
- Pull in latest localized strings by @ryfu-msft in #4840
- Sixel support by @JohnMcPMS in #4828
- More messages for common Store package download scenarios by @yao-msft in #4841
- WinGet COM API for Repair by @Madhusudhan-MSFT in #4736
- Improve configuration self elevation flow by @JohnMcPMS in #4844
- Pull in latest localized strings by @ryfu-msft in #4855
- Update curl by @florelis in #4856
- Add extended error codes to results without them by @JohnMcPMS in #4858
- Change enum value name by @JohnMcPMS in #4864
- Set WindowsSdkPackageVersion to older value by @JohnMcPMS in #4860
- Enable USE_PROD_CLSIDS switch in CommonCore by @JohnMcPMS in #4865
- Make dependency lookup case insensitive by @JohnMcPMS in #4866
- Documentation - added
Microsoft.Rest
as a supported source type by @bubbletroubles in #4873 - Add hash mismatch telemetry details by @JohnMcPMS in #4857
- Update package with CVEs by @florelis in #4881
- Add ADMX policies for security features in App Installer by @florelis in #4726
- Consume all input during extract sequence by @JohnMcPMS in #4882
- Fix for Source Argument Validation in SourceWorkflow for Default Source Type by @Madhusudhan-MSFT in #4891
- Add latest localized strings by @ryfu-msft in #4892
New Contributors
- @skanda890 made their first contribution in #4599
- @kilasuit made their first contribution in #4716
- @bubbletroubles made their first contribution in #4873
Full Changelog: v1.8.1911...v1.9.25170