Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Commit 34de033

Browse files
authored
Update PowerShellGet.psd1
1 parent 804fb07 commit 34de033

File tree

1 file changed

+80
-152
lines changed

1 file changed

+80
-152
lines changed

src/PowerShellGet/PowerShellGet.psd1

Lines changed: 80 additions & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -1,208 +1,159 @@
11
@{
2-
RootModule = 'PSModule.psm1'
3-
ModuleVersion = '2.2.5.1'
4-
GUID = '1d73a601-4a6c-43c5-ba3f-619b18bbb404'
5-
Author = 'Microsoft Corporation'
6-
CompanyName = 'Microsoft Corporation'
7-
Copyright = '(c) Microsoft Corporation. All rights reserved.'
8-
Description = 'PowerShell module with commands for discovering, installing, updating and publishing the PowerShell artifacts like Modules, DSC Resources, Role Capabilities and Scripts.'
9-
PowerShellVersion = '3.0'
10-
FormatsToProcess = 'PSGet.Format.ps1xml'
11-
FunctionsToExport = @(
12-
'Find-Command',
13-
'Find-DSCResource',
14-
'Find-Module',
15-
'Find-RoleCapability',
16-
'Find-Script',
17-
'Get-CredsFromCredentialProvider',
18-
'Get-InstalledModule',
19-
'Get-InstalledScript',
20-
'Get-PSRepository',
21-
'Install-Module',
22-
'Install-Script',
23-
'New-ScriptFileInfo',
24-
'Publish-Module',
25-
'Publish-Script',
26-
'Register-PSRepository',
27-
'Save-Module',
28-
'Save-Script',
29-
'Set-PSRepository',
30-
'Test-ScriptFileInfo',
31-
'Uninstall-Module',
32-
'Uninstall-Script',
33-
'Unregister-PSRepository',
34-
'Update-Module',
35-
'Update-ModuleManifest',
36-
'Update-Script',
37-
'Update-ScriptFileInfo')
38-
39-
VariablesToExport = 'PSGetPath'
40-
AliasesToExport = @('inmo', 'fimo', 'upmo', 'pumo')
41-
FileList = @('PSModule.psm1',
42-
'PSGet.Format.ps1xml',
43-
'PSGet.Resource.psd1')
44-
RequiredModules = @(@{ModuleName = 'PackageManagement'; ModuleVersion = '1.4.4' })
45-
PrivateData = @{
46-
"PackageManagementProviders" = 'PSModule.psm1'
47-
"SupportedPowerShellGetFormatVersions" = @('1.x', '2.x')
48-
PSData = @{
49-
Tags = @('Packagemanagement',
50-
'Provider',
51-
'PSEdition_Desktop',
52-
'PSEdition_Core',
53-
'Linux',
54-
'Mac')
55-
ProjectUri = 'https://go.microsoft.com/fwlink/?LinkId=828955'
56-
LicenseUri = 'https://go.microsoft.com/fwlink/?LinkId=829061'
57-
ReleaseNotes = @'
2+
RootModule = 'PSModule.psm1'
3+
ModuleVersion = '2.2.5.1'
4+
GUID = '1d73a601-4a6c-43c5-ba3f-619b18bbb404'
5+
Author = 'Microsoft Corporation'
6+
CompanyName = 'Microsoft Corporation'
7+
Copyright = '(c) Microsoft Corporation. All rights reserved.'
8+
Description = 'PowerShell module with commands for discovering, installing, updating and publishing the PowerShell artifacts like Modules, DSC Resources, Role Capabilities and Scripts.'
9+
PowerShellVersion = '3.0'
10+
FormatsToProcess = 'PSGet.Format.ps1xml'
11+
FunctionsToExport = @(
12+
'Find-Command',
13+
'Find-DSCResource',
14+
'Find-Module',
15+
'Find-RoleCapability',
16+
'Find-Script',
17+
'Get-CredsFromCredentialProvider',
18+
'Get-InstalledModule',
19+
'Get-InstalledScript',
20+
'Get-PSRepository',
21+
'Install-Module',
22+
'Install-Script',
23+
'New-ScriptFileInfo',
24+
'Publish-Module',
25+
'Publish-Script',
26+
'Register-PSRepository',
27+
'Save-Module',
28+
'Save-Script',
29+
'Set-PSRepository',
30+
'Test-ScriptFileInfo',
31+
'Uninstall-Module',
32+
'Uninstall-Script',
33+
'Unregister-PSRepository',
34+
'Update-Module',
35+
'Update-ModuleManifest',
36+
'Update-Script',
37+
'Update-ScriptFileInfo')
38+
39+
VariablesToExport = 'PSGetPath'
40+
AliasesToExport = @('inmo', 'fimo', 'upmo', 'pumo')
41+
FileList = @('PSModule.psm1',
42+
'PSGet.Format.ps1xml',
43+
'PSGet.Resource.psd1')
44+
RequiredModules = @(@{ModuleName = 'PackageManagement'; ModuleVersion = '1.4.4' })
45+
PrivateData = @{
46+
"PackageManagementProviders" = 'PSModule.psm1'
47+
"SupportedPowerShellGetFormatVersions" = @('1.x', '2.x')
48+
PSData = @{
49+
Tags = @('Packagemanagement',
50+
'Provider',
51+
'PSEdition_Desktop',
52+
'PSEdition_Core',
53+
'Linux',
54+
'Mac')
55+
ProjectUri = 'https://go.microsoft.com/fwlink/?LinkId=828955'
56+
LicenseUri = 'https://go.microsoft.com/fwlink/?LinkId=829061'
57+
ReleaseNotes = @'
5858
### 2.2.5
5959
- Security patch for code injection bug
60-
6160
### 2.2.4.1
6261
- Remove catalog file
63-
6462
### 2.2.3
6563
- Update `HelpInfoUri` to point to the latest content (#560)
6664
- Improve discovery of usable nuget.exe binary (Thanks bwright86!) (#558)
67-
6865
### 2.2.2
6966
Bug Fix
70-
7167
- Update casing of DscResources output
72-
7368
### 2.2.1
7469
Bug Fix
75-
7670
- Allow DscResources to work on case sensitive platforms (#521)
7771
- Fix for failure to return credential provider when using private feeds (#521)
78-
7972
## 2.2
8073
Bug Fix
81-
8274
- Fix for prompting for credentials when passing in -Credential parameter when using Register-PSRepository
83-
8475
## 2.1.5
8576
New Features
86-
8777
- Add and remove nuget based repositories as a nuget source when nuget client tool is installed (#498)
88-
8978
Bug Fix
90-
9179
- Fix for 'Failed to publish module' error thrown when publishing modules (#497)
92-
9380
## 2.1.4
9481
- Fixed hang while publishing some packages (#478)
95-
9682
## 2.1.3
9783
New Features
98-
9984
- Added -Scope parameter to Update-Module (Thanks @lwajswaj!) (#471)
10085
- Added -Exclude parameter to Publish-Module (Thanks @Benny1007!) (#191)
10186
- Added -SkipAutomaticTags parameter to Publish-Module (Thanks @awickham10!) (#452)
102-
10387
Bug Fix
104-
10588
- Fixed issue with finding modules using macOS and .NET Core 3.0
106-
10789
## 2.1.2
108-
10990
New Feature
110-
11191
- Added support for registering repositories with special characters
112-
11392
## 2.1.1
114-
11593
- Fix DSC resource folder structure
116-
11794
## 2.1.0
118-
11995
Breaking Change
120-
12196
- Default installation scope for Update-Module and Update-Script has changed to match Install-Module and Install-Script. For Windows PowerShell (version 5.1 or below), the default scope is AllUsers when running in an elevated session, and CurrentUser at all other times.
122-
For PowerShell version 6.0.0 and above, the default installation scope is always CurrentUser. (#421)
123-
97+
For PowerShell version 6.0.0 and above, the default installation scope is always CurrentUser. (#421)
12498
Bug Fixes
125-
12699
- Update-ModuleManifest no longer clears FunctionsToExport, AliasesToExport, nor NestModules (#415 & #425) (Thanks @pougetat and @tnieto88!)
127100
- Update-Module no longer changes repository URL (#407)
128101
- Update-ModuleManifest no longer preprends 'PSGet_' to module name (#403) (Thanks @ThePoShWolf)
129102
- Update-ModuleManifest now throws error and fails to update when provided invalid entries (#398) (Thanks @pougetat!)
130103
- Ignore files no longer being included when uploading modules (#396)
131-
132104
New Features
133-
134105
- New DSC resource, PSRepository (#426) (Thanks @johlju!)
135106
- Piping of PS respositories (#420)
136107
- utf8 support for .nuspec (#419)
137-
138108
## 2.0.4
139-
140109
Bug Fix
141110
* Remove PSGallery availability checks (#374)
142-
143111
## 2.0.3
144-
145112
Bug fixes and Improvements
146113
* Fix CommandAlreadyAvailable error for PackageManagement module (#333)
147114
* Remove trailing whitespace when value is not provided for Get-PSScriptInfoString (#337) (Thanks @thomasrayner)
148115
* Expanded aliases for improved readability (#338) (Thanks @lazywinadmin)
149116
* Improvements for Catalog tests (#343)
150117
* Fix Update-ScriptInfoFile to preserve PrivateData (#346) (Thanks @tnieto88)
151118
* Import modules with many commands faster (#351)
152-
153119
New Features
154120
* Tab completion for -Repository parameter (#339) and for Publish-Module -Name (#359) (Thanks @matt9ucci)
155-
156121
## 2.0.1
157-
158122
Bug fixes
159123
- Resolved Publish-Module doesn't report error but fails to publish module (#316)
160124
- Resolved CommandAlreadyAvailable error while installing the latest version of PackageManagement module (#333)
161-
162125
## 2.0.0
163-
164126
Breaking Change
165127
- Default installation scope for Install-Module, Install-Script, and Install-Package has changed. For Windows PowerShell (version 5.1 or below), the default scope is AllUsers when running in an elevated session, and CurrentUser at all other times.
166-
For PowerShell version 6.0.0 and above, the default installation scope is always CurrentUser.
167-
128+
For PowerShell version 6.0.0 and above, the default installation scope is always CurrentUser.
168129
## 1.6.7
169-
170130
Bug fixes
171131
- Resolved Install/Save-Module error in PSCore 6.1.0-preview.4 on Ubuntu 18.04 OS (WSL/Azure) (#313)
172132
- Updated error message in Save-Module cmdlet when the specified path is not accessible (#313)
173133
- Added few additional verbose messages (#313)
174-
175134
## 1.6.6
176-
177135
Dependency Updates
178136
* Add dependency on version 4.1.0 or newer of NuGet.exe
179137
* Update NuGet.exe bootstrap URL to https://aka.ms/psget-nugetexe
180-
181138
Build and Code Cleanup Improvements
182139
* Improved error handling in network connectivity tests.
183-
184140
Bug fixes
185141
- Change Update-ModuleManifest so that prefix is not added to CmdletsToExport.
186142
- Change Update-ModuleManifest so that parameters will not reset to default values.
187143
- Specify AllowPrereleseVersions provider option only when AllowPrerelease is specified on the PowerShellGet cmdlets.
188-
189144
## 1.6.5
190-
191145
New features
192146
* Allow Pester/PSReadline installation when signed by non-Microsoft certificate (#258)
193-
- Whitelist installation of non-Microsoft signed Pester and PSReadline over Microsoft signed Pester and PSReadline.
194-
147+
- Whitelist installation of non-Microsoft signed Pester and PSReadline over Microsoft signed Pester and PSReadline.
195148
Build and Code Cleanup Improvements
196149
* Splitting of functions (#229) (Thanks @Benny1007)
197-
- Moves private functions into respective private folder.
198-
- Moves public functions as defined in PSModule.psd1 into respective public folder.
199-
- Removes all functions from PSModule.psm1 file.
200-
- Dot sources the functions from PSModule.psm1 file.
201-
- Uses Export-ModuleMember to export the public functions from PSModule.psm1 file.
202-
150+
- Moves private functions into respective private folder.
151+
- Moves public functions as defined in PSModule.psd1 into respective public folder.
152+
- Removes all functions from PSModule.psm1 file.
153+
- Dot sources the functions from PSModule.psm1 file.
154+
- Uses Export-ModuleMember to export the public functions from PSModule.psm1 file.
203155
* Add build step to construct a single .psm1 file (#242) (Thanks @Benny1007)
204-
- Merged public and private functions into one .psm1 file to increase load time performance.
205-
156+
- Merged public and private functions into one .psm1 file to increase load time performance.
206157
Bug fixes
207158
- Fix null parameter error caused by MinimumVersion in Publish-PackageUtility (#201)
208159
- Change .ExternalHelp link from PSGet.psm1-help.xml to PSModule-help.xml in PSModule.psm1 file (#215)
@@ -211,77 +162,54 @@ Bug fixes
211162
- Add positional path to Save-Module and Save-Script (#264, #266)
212163
- Ensure that Get-AuthenticodePublisher verifies publisher and that installing or updating a module checks for approprite catalog signature (#272)
213164
- Update HelpInfoURI to 'http://go.microsoft.com/fwlink/?linkid=855963' (#274)
214-
215-
216165
## 1.6.0
217-
218166
New features
219167
* Prerelease Version Support (#185)
220-
- Implemented prerelease versions functionality in PowerShellGet cmdlets.
221-
- Enables publishing, discovering, and installing the prerelease versions of modules and scripts from the PowerShell Gallery.
222-
- [Documentation](https://docs.microsoft.com/en-us/powershell/gallery/psget/module/PrereleaseModule)
223-
168+
- Implemented prerelease versions functionality in PowerShellGet cmdlets.
169+
- Enables publishing, discovering, and installing the prerelease versions of modules and scripts from the PowerShell Gallery.
170+
- [Documentation](https://docs.microsoft.com/en-us/powershell/gallery/psget/module/PrereleaseModule)
224171
* Enabled publish cmdlets on PWSH and Nano Server (#196)
225-
- Dotnet command version 2.0.0 or newer should be installed by the user prior to using the publish cmdlets on PWSH and Windows Nano Server.
226-
- Users can install the dotnet command by following the instructions specified at https://aka.ms/dotnet-install-script.
227-
- On Windows, users can install the dotnet command by running *Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -OutFile '.\dotnet-install.ps1'; & '.\dotnet-install.ps1' -Channel Current -Version '2.0.0'*
228-
- Publish cmdlets on Windows PowerShell supports using the dotnet command for publishing operations.
229-
172+
- Dotnet command version 2.0.0 or newer should be installed by the user prior to using the publish cmdlets on PWSH and Windows Nano Server.
173+
- Users can install the dotnet command by following the instructions specified at https://aka.ms/dotnet-install-script.
174+
- On Windows, users can install the dotnet command by running *Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -OutFile '.\dotnet-install.ps1'; & '.\dotnet-install.ps1' -Channel Current -Version '2.0.0'*
175+
- Publish cmdlets on Windows PowerShell supports using the dotnet command for publishing operations.
230176
Breaking Change
231177
- PWSH: Changed the installation location of AllUsers scope to the parent of $PSHOME instead of $PSHOME. It is the SHARED_MODULES folder on PWSH.
232-
233178
Bug fixes
234179
- Update HelpInfoURI to 'https://go.microsoft.com/fwlink/?linkid=855963' (#195)
235180
- Ensure MyDocumentsPSPath path is correct (#179) (Thanks @lwsrbrts)
236-
237-
238181
## 1.5.0.0
239-
240182
New features
241183
* Added support for modules requiring license acceptance (#150)
242-
- [Documentation](https://docs.microsoft.com/en-us/powershell/gallery/psget/module/RequireLicenseAcceptance)
243-
184+
- [Documentation](https://docs.microsoft.com/en-us/powershell/gallery/psget/module/RequireLicenseAcceptance)
244185
* Added version for REQUIREDSCRIPTS (#162)
245-
- Enabled following scenarios for REQUIREDSCRIPTS
246-
- [1.0] - RequiredVersion
247-
- [1.0,2.0] - Min and Max Version
248-
- (,1.0] - Max Version
249-
- 1.0 - Min Version
250-
186+
- Enabled following scenarios for REQUIREDSCRIPTS
187+
- [1.0] - RequiredVersion
188+
- [1.0,2.0] - Min and Max Version
189+
- (,1.0] - Max Version
190+
- 1.0 - Min Version
251191
Bug fixes
252192
* Fixed empty version value in nuspec (#157)
253-
254-
255193
## 1.1.3.2
256194
* Disabled PowerShellGet Telemetry on PS Core as PowerShell Telemetry APIs got removed in PowerShell Core beta builds. (#153)
257195
* Fixed for DateTime format serialization issue. (#141)
258196
* Update-ModuleManifest should add ExternalModuleDependencies value as a collection. (#129)
259-
260197
## 1.1.3.1
261-
262198
New features
263199
* Added `PrivateData` field to ScriptFileInfo. (#119)
264-
265200
Bug fixes
266-
267201
## 1.1.2.0
268-
269202
Bug fixes
270-
271203
## 1.1.1.0
272-
273204
Bug fixes
274-
275205
## 1.1.0.0
276-
277206
* Initial release from GitHub.
278207
* PowerShellCore support.
279-
280208
## For full history of release notes see changelog:
281209
https://github.com/PowerShell/PowerShellGet/blob/master/CHANGELOG.md
282210
'@
211+
}
283212
}
284-
}
285213

286-
HelpInfoURI = 'http://go.microsoft.com/fwlink/?linkid=2113539'
214+
HelpInfoURI = 'http://go.microsoft.com/fwlink/?linkid=2113539'
287215
}

0 commit comments

Comments
 (0)