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

Commit b9fba01

Browse files
authored
Update version and changelog (#430)
1 parent 6926ad4 commit b9fba01

File tree

2 files changed

+42
-59
lines changed

2 files changed

+42
-59
lines changed

CHANGELOG.md

Lines changed: 20 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,25 @@
11
# Changelog
22

3-
## Unreleased
4-
5-
- Made the list entries in the CHANGELOG.md to use dash `-` throughout to
6-
be consequent (before there was a mix of dashes and asterisk).
7-
- Update the AppVeyor CI test pipeline with a new job to run tests for
8-
the DSC resources.
9-
The new job uses the test framework used for the DSC Resource Kit,
10-
the [DscResource.Tests](https://github.com/PowerShell/DscResource.Tests) repository.
11-
- Update .gitignore to ignore the [DscResource.Tests](https://github.com/PowerShell/DscResource.Tests)
12-
test framework. When running unit test locally it is cloned into the
13-
local repository folder.
14-
- Added module PowerShellGet.LocalizationHelper containing localization
15-
helper functions for DSC resources, and unit tests for the helper
16-
functions.
17-
- Moved helper functions for the DSC resource `PSModule` to the module
18-
PowerShellGet.ResourceHelper. Added improved localization support, and
19-
code formatting against workspace VS Code settings.
20-
- Cleaned up the code against the [DscResources style guideline](https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md).
21-
- Renamed helper functions in the PowerShellGet.ResourceHelper module
22-
to use Verb-Noun.
23-
- Refactored the error handling logic to use the localization helper
24-
functions, and also so that the error handling could be tested.
25-
- Changes to PSModule.
26-
- Added improved localization support.
27-
- Changed type on the parameters that had `[Switch]` to correctly use
28-
`Systen.Boolean` to match the schema.mof.
29-
- Code formatting against workspace VS Code settings.
30-
- Added unit tests.
31-
- Added integration tests
32-
- It is now possible to install a module and passing in `AllowClobber`
33-
when the modules package source is trusted (it already worked in
34-
other scenarios).
35-
- Rephrased some of the localization strings.
36-
- Cleaned up the code against the [DscResources style guideline](https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md).
37-
Suppressed some of the Script Analyzer rules that are not complaint
38-
with the the Visual Studio Code workspace settings in this repository.
39-
- Refactored the error handling logic to use the localization helper
40-
functions, and also so that the error handling could be tested.
41-
- Refactored the Get-TargetResource to return the correct hash table
42-
when the current state is absent.
43-
- Added new examples.
44-
- Changed the AppVeyor CI build pipeline so it adds the DSC resources
45-
and dependent helper modules (the `Modules` folder) to the AppVeyor
46-
artifact.
47-
- Added the `.MetaTestOptIn.json` file to opt-in for a lot of common test
48-
in the DscResource.Tests test framework that tests the DSC resources.
49-
- The examples under the folder `DSC/Examples` will be [published to PowerShell Gallery](https://github.com/PowerShell/DscResource.Tests#publish-examples-to-powershell-gallery)
50-
so that they show up in the gallery part of Azure State Configuration.
51-
The examples are published under the account 'dscresourcekit' which is
52-
owned by the PowerShell DSC Team (DSC Resource Kit).
53-
- In the folder `DSC/Examples` a `.gitattributes` was added to make sure
54-
the examples is always checkout out using CRLF. There is an issue
55-
using `Test-ScriptFileInfo` when files is checkout out using only LF
56-
which is the default in AppVeyor.
57-
- In the file `appveyor.yml` the PowerShell Gallery API key was added
58-
for the account 'dscresourcekit', which can only be decrypted using
59-
the PowerShell AppVeyor account.
60-
- Added DSC resource PSRepository.
3+
## 2.1.0
4+
5+
Breaking Change
6+
7+
- 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.
8+
For PowerShell version 6.0.0 and above, the default installation scope is always CurrentUser. (#421)
9+
10+
Bug Fixes
11+
12+
- Update-ModuleManifest no longer clears FunctionsToExport, AliasesToExport, nor NestModules (#415 & #425) (Thanks @pougetat and @tnieto88!)
13+
- Update-Module no longer changes repository URL (#407)
14+
- Update-ModuleManifest no longer preprends 'PSGet_' to module name (#403) (Thanks @ThePoShWolf)
15+
- Update-ModuleManifest now throws error and fails to update when provided invalid entries (#398) (Thanks @pougetat!)
16+
- Ignore files no longer being included when uploading modules (#396)
17+
18+
New Features
19+
20+
- New DSC resource, PSRepository (#426) (Thanks @johlju!)
21+
- Piping of PS respositories (#420)
22+
- utf8 support for .nuspec (#419)
6123

6224
## 2.0.4
6325

src/PowerShellGet/PowerShellGet.psd1

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@{
22
RootModule = 'PSModule.psm1'
3-
ModuleVersion = '2.0.4'
3+
ModuleVersion = '2.1.0'
44
GUID = '1d73a601-4a6c-43c5-ba3f-619b18bbb404'
55
Author = 'Microsoft Corporation'
66
CompanyName = 'Microsoft Corporation'
@@ -54,6 +54,27 @@ PrivateData = @{
5454
ProjectUri = 'https://go.microsoft.com/fwlink/?LinkId=828955'
5555
LicenseUri = 'https://go.microsoft.com/fwlink/?LinkId=829061'
5656
ReleaseNotes = @'
57+
## 2.1.0
58+
59+
Breaking Change
60+
61+
- 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.
62+
For PowerShell version 6.0.0 and above, the default installation scope is always CurrentUser. (#421)
63+
64+
Bug Fixes
65+
66+
- Update-ModuleManifest no longer clears FunctionsToExport, AliasesToExport, nor NestModules (#415 & #425) (Thanks @pougetat and @tnieto88!)
67+
- Update-Module no longer changes repository URL (#407)
68+
- Update-ModuleManifest no longer preprends 'PSGet_' to module name (#403) (Thanks @ThePoShWolf)
69+
- Update-ModuleManifest now throws error and fails to update when provided invalid entries (#398) (Thanks @pougetat!)
70+
- Ignore files no longer being included when uploading modules (#396)
71+
72+
New Features
73+
74+
- New DSC resource, PSRepository (#426) (Thanks @johlju!)
75+
- Piping of PS respositories (#420)
76+
- utf8 support for .nuspec (#419)
77+
5778
## 2.0.4
5879
5980
Bug Fix

0 commit comments

Comments
 (0)