Replace PowerShellGet v2 (2.2.5) with PowerShellGet v3 (3.0.23-beta23) - #27852
Open
alerickson wants to merge 3 commits into
Open
Replace PowerShellGet v2 (2.2.5) with PowerShellGet v3 (3.0.23-beta23)#27852alerickson wants to merge 3 commits into
alerickson wants to merge 3 commits into
Conversation
alerickson
requested review from
a team and
Justin Chung (jshigetomi)
as code owners
August 14, 2026 02:46
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the packaged PowerShell Gallery module set to use PowerShellGet v3 (3.0.23-beta23) instead of PowerShellGet v2 (2.2.5), and adds a Windows BOM definition file used for packaging/compliance classification.
Changes:
- Bump
PowerShellGetpackage reference to3.0.23-beta23inPSGalleryModules.csproj. - Add
tools/packaging/boms/windows.jsondefining file classification patterns for Windows packaging.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| tools/packaging/boms/windows.json | Adds Windows BOM pattern list for classifying packaged files as Product/NonProduct. |
| src/Modules/PSGalleryModules.csproj | Updates the PowerShellGet package version used when restoring/bundling PSGallery modules. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+163
to
+167
| "Pattern": "D3DCompiler_47_cor3.dll", | ||
| "FileType": "NonProduct", | ||
| "Architecture": [ | ||
| "x64, x86" | ||
| ] |
Collaborator
|
alerickson Is there any chance you & the PowerShellGet Maintainers can release a non-beta version of PowerShellGet v3 first as this will flag for many people & stop them from using in production. |
Member
Author
|
Ryan Yates (@kilasuit) we'll definitely get a stable version out before the GA release of 7.7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
Replace PowerShellGet v2 (2.2.5) with PowerShellGet v3 (3.0.23-beta23). This is effectively moving away from the "old" PowerShellGet onto the new shim compatibility later that translates PowerShellGet v2 commands for PSResourceGet to run.
PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header