- Graceful handling of paths that do not exist
- The repository store (PSResourceRepository.xml) is auto-generated if it does not already exist. It also automatically registers the PowerShellGallery with a default priority of 50 and a default trusted value of false.
- Better Linux support, including graceful exits when paths do not exist
- Better pipeline input support all cmdlets
- General wildcard support for all cmdlets
- WhatIf support for all cmdlets
- All cmdlets output concrete return types
- Better help documentation for all cmdlets
- Using an exact prerelease version with Find, Install, or Save no longer requires
-Prerelease
tag - Support for finding, installing, saving, and updating PowerShell resources from Azure Artifact feeds
- Publish-PSResource now properly dispays 'Tags' in nuspec
- Find-PSResource quickly cancels transactions with 'CTRL + C'
- Register-PSRepository now handles relative paths
- Find-PSResource and Save-PSResource deduplicates dependencies
- Install-PSResource no longer creates version folder with the prerelease tag
- Update-PSResource can now update all resources, and no longer requires name param
- Save-PSResource properly handles saving scripts
- Get-InstalledPSResource uses default PowerShell paths
In this release, all cmdlets have been reviewed and implementation code refactored as needed. Cmdlets have most of their functionality, but some parameters are not yet implemented and will be added in future releases. All tests have been reviewed and rewritten as needed.
Bug Fixes
- Bug fix for -ModuleName (used with -Version) in Find-PSResource returning incorrect resource type
- Make repositories unique by name
- Add tab completion for -Name parameter in Get-PSResource, Set-PSResource, and Unregister-PSResource
- Remove credential argument from Register-PSResourceRepository
- Change returned version type from 'NuGet.Version' to 'System.Version'
- Have Install output verbose message on successful installation (error for unsuccessful installation)
- Ensure that not passing credentials does not throw an error if searching through multiple repositories
- Remove attempt to remove loaded assemblies in psm1
New Features
- Add DSCResources
Bug Fixes
- Fix bug related to finding dependencies that do not have a specified version in Find-PSResource
- Fix bug related to parsing 'RequiredModules' in .psd1 in Publish-PSResource
- Improve error handling for when repository in Publish-PSResource does not exist
- Fix for unix paths in Get-PSResource, Install-PSResource, and Uninstall-PSResource
- Add debugging statements for Get-PSResource and Install-PSResource
- Fix bug related to paths in Uninstall-PSResource
New Features
- Add Type parameter to Install-PSResource
- Add 'sudo' check for admin privileges in Unix in Install-PSResource
Bug Fixes
- Fix bug with retrieving installed scripts in Get-PSResource
- Fix bug with AllUsers scope in Windows in Install-PSResource
- Fix bug with Uninstall-PSResource sometimes not fully uninstalling
- Change installed file paths to contain original version number instead of normalized version
New Features
- Completed functionality for Update-PSResource
- Input-Object parameter for Install-PSResource
Bug Fixes
- Improved experience when loading module for diffent frameworks
- Bug fix for assembly loading error in Publish-PSResource
- Allow for relative paths when registering psrepository
- Improved error handling for Install-PSResource and Update-PSResource
- Remove prerelease tag from module version directory
- Fix error getting thrown from paths with incorrectly formatted module versions
- Fix module installation paths on Linux and MacOS
New Feature
- Implement functionality for Publish-PSResource
- Note: 3.0.0-beta5 was skipped due to a packaging error
New Feature
- Implement -Repository '*' in Find-PSResource to search through all repositories instead of prioritized repository
Bug Fix
- Fix poor error handling for when repository is not accessible in Find-PSResource
New Features
- -RequiredResource parameter for Install-PSResource
- -RequiredResourceFile parameter for Install-PSResource
- -IncludeXML parameter in Save-PSResource
Bug Fixes
- Resolved paths in Install-PSRsource and Save-PSResource
- Resolved issues with capitalization (for unix systems) in Install-PSResource and Save-PSResource
New Features
- Progress bar and -Quiet parameter for Install-PSResource
- -TrustRepository parameter for Install-PSResource
- -NoClobber parameter for Install-PSResource
- -AcceptLicense for Install-PSResource
- -Force parameter for Install-PSResource
- -Reinstall parameter for Install-PSResource
- Improved error handling
BREAKING CHANGE
- Preview version of PowerShellGet. Many features are not fully implemented yet. Please see https://devblogs.microsoft.com/powershell/powershellget-3-0-preview1 for more details.