PowerShellGet 3.0 Preview 21
We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery!
How to Install PowerShellGet 3.0 Preview 21
Please ensure that you have the latest (non-prerelease) version of PowerShellGet and PackageManagement installed. To check the version you currently have installed run the command
Get-InstalledModule PowerShellGet, PackageManagement
The latest version of PowerShellGet is 2.2.5, and the latest version of PackageManagement is 1.4.7. To install the latest versions of these modules run the following:
Install-Module PowerShellGet -Force -AllowClobber
Installing the Preview
To install this preview release side-by-side with your existing PowerShellGet version, open any PowerShell console and run:
Install-Module PowerShellGet -Force -AllowPrerelease
What to expect in this update
This update moves local repositories off of the NuGet APIs, this change was made to enable future improvements such as parallelization. This update also includes a number of bug fixes.
In this update we also made the decision to hold off on merging PowerShellGet previews into PowerShell 7.4 previews until June. This decision was made because we want to be really intentional about our decision making process with merging, or not merging, the compatibility module into PowerShellGet. At this point in time we are exploring a number of different options regarding module compatilibity to participate in this converation please refer to this issue.
Features of this release
- Move off of NuGet client APIs for local repositories
- Update properties on PSResourceInfo object to Remove PackageMangementProvider property and make PowerShellGetFormatVersion property private
- Rename cmdlets
- Get-PSResource -> Get-InstalledPSResource
- New-PSScriptFileInfob -> New-PSScriptFile
- Test-PSScriptFileInfo -> Test-PSScriptFile
- Fix ValueFromPipelineByPropertyName on Save, Install
- add Help message for mandatory params across cmdlets
- Fix version range bug for Update-PSResource
- Fix attribute bugfixes for Find and Install params
- Correct Unexpected spelling of Unexpected
- Resolve bug with Find-PSResource -Type Module not returning module
Features to Expect in Coming Preview Releases
This module is feature complete but we are continuing to make bug fixes. For the full list of issues for our next preview release please refer to our GitHub project.
How to Track the Development of this Module
GitHub is the best place to track the bugs/feature requests related to this module. We have used a combination of projects and labels on our GitHub repo to track issues for this upcoming release. We are using the label
Resolved-3.0 to label issues that we plan to release at some point before we release the module as GA (generally available).
Expect to see preview releases as bug fixes are made. User feedback will help us determine when we can have a Release Candidate version of the module which will be supported to be used in production. Based on user feedback, if we believe the 3.0 release is complete, then we will publish a 3.0 version of the module as Generally Available. Since these milestones are driven by quality, rather than date, we can not offer an exact timeline at this point.
How to Give feedback and Get Support
We cannot overstate how critical user feedback is at this stage in the development of the module. Feedback from preview releases help inform design decisions without incurring a breaking change once generally available and used in production.
In order to help us to make key decisions around the behavior of the module please give us feedback by opening issues in our GitHub repository.