Skip to content

Prepare release v1.14.1 #778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
## [1.14.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.14.0) - 2017-06-09
## [1.14.1](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.14.1) - 2017-06-12

### Fixed
- (#777) `Invoke-Formatter`
- Make the cmdlet parameters positional.
- Updated documentation so that `Get-Help Invoke-Formatter -Syntax` returns a valid syntax.

## [1.14.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.14.0) - 2017-06-09

### Added
- (#772) [`Invoke-Formatter`](https://github.com/PowerShell/PSScriptAnalyzer/blob/4f47ef95edd045029628ba9a4079b1dda19f080f/docs/markdown/Invoke-Formatter.md) cmdlet to format PowerShell scripts. The cmdlet takes a script string and a settings file and outputs formatted script string based on the provided settings. If no settings are provided, the formatter uses the default `CodeFormatting` settings, which can be found at `Settings/CodeFormatting.psd1`.
Expand Down
11 changes: 5 additions & 6 deletions Engine/PSScriptAnalyzer.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Author = 'Microsoft Corporation'
RootModule = 'PSScriptAnalyzer.psm1'

# Version number of this module.
ModuleVersion = '1.14.0'
ModuleVersion = '1.14.1'

# ID used to uniquely identify this module
GUID = 'd6245802-193d-4068-a631-8863a4342a18'
Expand Down Expand Up @@ -87,12 +87,10 @@ PrivateData = @{
ProjectUri = 'https://github.com/PowerShell/PSScriptAnalyzer'
IconUri = ''
ReleaseNotes = @'
### Added
- (#772) `Invoke-Formatter` cmdlet to format PowerShell scripts. The cmdlet takes a script string and a settings file and outputs formatted script string based on the provided settings. If no settings are provided, the formatter uses the default `CodeFormatting` settings, which can be found at `Settings/CodeFormatting.psd1`.

### Fixed
- (#770) `PSUseIdenticalMandatoryParametersForDSC` rule violation extent. The violation extent covers only the relevant function name, which prior the fix would mark the entire script. This prevented rule suppression from working when the suppression is declared inside `Get/Set/Test` functions.
- (#770) `PSUseIdenticalMandatoryParametersForDSC` behavior to look for mandatory parameters in `Get/Set/Test` functions in a script based resource only if they are declared with attributes, `Key` or `Required`, in the corresponding `mof` file.
- (#777) `Invoke-Formatter`
- Make the cmdlet parameters positional.
- Updated documentation so that `Get-Help Invoke-Formatter -Syntax` returns a valid syntax.
'@
}
}
Expand All @@ -114,3 +112,4 @@ PrivateData = @{




2 changes: 1 addition & 1 deletion Engine/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Microsoft.Windows.PowerShell.ScriptAnalyzer",
"version": "1.14.0",
"version": "1.14.1",
"dependencies": {
"System.Management.Automation": "6.0.0-alpha13"
},
Expand Down
4 changes: 2 additions & 2 deletions Rules/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules",
"version": "1.14.0",
"version": "1.14.1",
"dependencies": {
"System.Management.Automation": "6.0.0-alpha13",
"Engine": "1.14.0",
"Engine": "1.14.1",
"Newtonsoft.Json": "9.0.1"
},

Expand Down