|
1 | 1 | # Changelog
|
2 | 2 |
|
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) |
61 | 23 |
|
62 | 24 | ## 2.0.4
|
63 | 25 |
|
|
0 commit comments