From 680bca2e278fba9b264a14a2aa1194faa54857da Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 23 Aug 2017 10:56:32 -0700 Subject: [PATCH 1/8] Beta.6 Change log draft --- CHANGELOG.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59be5f179e4..30a63aaa03a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,53 @@ # Changelog +## v6.0.0-beta.6 - 2017-08-24 + +### Engine updates and fixes + +* Make resource loading to work with PowerShell SxS installation (#4139) +* Add missing assemblies to TPA list to make Pwrshplughin.dll work (#4502) +* Make sure running `powershell` starts instance of the current version of PowerShell. (#4481) + +### General cmdlet updates and fixes + +* Fix Web CmdLets `-SkipHeaderValidation` to work with non-standard User-Agent headers. (#4479 & #4512) (Thanks @markekraus) +* Use supported API to set Central Access Policy ID (CAPID) in SACL. (#4496) +* Make `Start-Trace` support paths that require escaping in the underlying APIs (#3863) +* Ignore case when binding PSReadline keyhandler functions (#4300) (Thanks @oising) +* Removing `#if CORECLR` enabled, `Enable-PSRemoting` and `Disable-PSRemoting` (#4538) +* Enable WSManCredSSP cmdlets and add tests. (#4336) +* Use .NET Cores implementation for shell execution. (#4523) +* Fix `Unblock-File` for the case of a read-only file. (#4395) (Thanks @iSazonov) +* Fix SSH Remoting handling of KeyFileParameter when the path must be quoted. (#4529) + +### Build/test and code cleanup + +* Add Amazon Linux Docker image and enable related tests. (#4393) (Thanks @DarwinJs) +* Make sure `install-powershell.sh` installs latest powershell on macOS, even if an old version is cached in brew. (#4509) (Thanks @richardszalay for reporting.) +* Many stability improvements to our nightly code coverage automation. (#4313 & #4550) +* Remove hash validation from nanoserver-insider docker file, due to frequent changes. (#4498) +* Add tests for `New-WinEvent`. (#4384) +* Update to make Travis-CI daily build badge more reliable. (#4522) +* Remove unused build files. (#4532) +* Add additonal acceptance tests for PowerShellGet. (#4531) +* Only publish a NuGet of the full PowerShell core package on daily builds and not merge. (#4517) +* Update nanoserver-insider docker due to breaking changes in the base image. (#4555) +* Cleanup engine tests (#4551) +* Fix intermittent failures in filesystem tests (#4566) +* Add more tab completion tests (#4560) + +### Documentation + +* Added Ilya (@iSazonov) as a Maintainer. ($4365) +* Grammar fix to the Pull Request Guide. (#4322) +* Add homebrew for macOS to install documentation. (#3838) + +### Cleanup `#if CORECLR` code + +PowerShell 6.0 will be exclusively built on top of CoreCLR, +so we are removing a large amount of code that's built only for FullCLR. +To read more about this, check out [this blog post](https://blogs.msdn.microsoft.com/powershell/2017/07/14/powershell-6-0-roadmap-coreclr-backwards-compatibility-and-more/). + ## v6.0.0-beta.5 - 2017-08-02 ### Breaking changes From 0d27d2d56fb063f2ee792c3d293db4dc3c29ae87 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 23 Aug 2017 19:42:19 -0700 Subject: [PATCH 2/8] Address PR feedback --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30a63aaa03a..8bf4efb4225 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,10 @@ * Fix Web CmdLets `-SkipHeaderValidation` to work with non-standard User-Agent headers. (#4479 & #4512) (Thanks @markekraus) * Use supported API to set Central Access Policy ID (CAPID) in SACL. (#4496) * Make `Start-Trace` support paths that require escaping in the underlying APIs (#3863) -* Ignore case when binding PSReadline keyhandler functions (#4300) (Thanks @oising) -* Removing `#if CORECLR` enabled, `Enable-PSRemoting` and `Disable-PSRemoting` (#4538) +* Ignore casing when binding PSReadline keyhandler functions (#4300) (Thanks @oising) +* Removing `#if CORECLR` enabled, `Enable-PSRemoting` and `Disable-PSRemoting` (#2671) * Enable WSManCredSSP cmdlets and add tests. (#4336) -* Use .NET Cores implementation for shell execution. (#4523) +* Use .NET Cores implementation for ShellExecute. (#4523) * Fix `Unblock-File` for the case of a read-only file. (#4395) (Thanks @iSazonov) * Fix SSH Remoting handling of KeyFileParameter when the path must be quoted. (#4529) @@ -38,7 +38,7 @@ ### Documentation -* Added Ilya (@iSazonov) as a Maintainer. ($4365) +* Added Ilya (@iSazonov) as a Maintainer. (#4365) * Grammar fix to the Pull Request Guide. (#4322) * Add homebrew for macOS to install documentation. (#3838) From 6976643a2e37ee8f73ad62dc53090c712d36bb63 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 23 Aug 2017 20:38:45 -0700 Subject: [PATCH 3/8] Add commits found to be missing. --- CHANGELOG.md | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bf4efb4225..2d8458fc092 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,45 +2,69 @@ ## v6.0.0-beta.6 - 2017-08-24 +### Breaking change + +* Make invalid argument handling to -File and -Command consitent and make exit codes consistent with Unix standards (#4573) + + ### Engine updates and fixes * Make resource loading to work with PowerShell SxS installation (#4139) * Add missing assemblies to TPA list to make Pwrshplughin.dll work (#4502) * Make sure running `powershell` starts instance of the current version of PowerShell. (#4481) +* Make sure we only use Unicode output by default on Nano and IoT systems (#4074) +* Enable `-WindowStyle` to work. (#4573) +* Enable enumeration of COM collections. (#4553) ### General cmdlet updates and fixes * Fix Web CmdLets `-SkipHeaderValidation` to work with non-standard User-Agent headers. (#4479 & #4512) (Thanks @markekraus) +* Add Certificate authentication support for Web CmdLets. (#4646) (Thanks @markekraus) +* Add support for content headers to Web CmdLets. (#4494 & #4640) (Thanks @markekraus) +* Add support for converting enums to string (#4318) (Thanks @KirkMunro) +* Ignore casing when binding PSReadline keyhandler functions (#4300) (Thanks @oising) +* Fix `Unblock-File` for the case of a read-only file. (#4395) (Thanks @iSazonov) * Use supported API to set Central Access Policy ID (CAPID) in SACL. (#4496) * Make `Start-Trace` support paths that require escaping in the underlying APIs (#3863) -* Ignore casing when binding PSReadline keyhandler functions (#4300) (Thanks @oising) * Removing `#if CORECLR` enabled, `Enable-PSRemoting` and `Disable-PSRemoting` (#2671) * Enable WSManCredSSP cmdlets and add tests. (#4336) * Use .NET Cores implementation for ShellExecute. (#4523) -* Fix `Unblock-File` for the case of a read-only file. (#4395) (Thanks @iSazonov) * Fix SSH Remoting handling of KeyFileParameter when the path must be quoted. (#4529) +* Make Web CmdLets use HTML meta charset attribute value, if present (#4338) +* Move to .NET Core 2.0 (#4603) + ### Build/test and code cleanup * Add Amazon Linux Docker image and enable related tests. (#4393) (Thanks @DarwinJs) +* Make MSI verify pre-requisites are installed. (#4602) (Thank @bergmeister) +* Fixed formatting issues in build files. (#4630) (Thanks @iSazonov) * Make sure `install-powershell.sh` installs latest powershell on macOS, even if an old version is cached in brew. (#4509) (Thanks @richardszalay for reporting.) +* Fixes install scripts issue for macOS. (#4631) (Thanks @DarwinJS) * Many stability improvements to our nightly code coverage automation. (#4313 & #4550) * Remove hash validation from nanoserver-insider docker file, due to frequent changes. (#4498) -* Add tests for `New-WinEvent`. (#4384) * Update to make Travis-CI daily build badge more reliable. (#4522) -* Remove unused build files. (#4532) +* Remove unused build files, build code, and product code. (#4532, #4580, #4590, #4589, #4588, #4587, #4586, #4583, #4582, #4581) * Add additonal acceptance tests for PowerShellGet. (#4531) * Only publish a NuGet of the full PowerShell core package on daily builds and not merge. (#4517) * Update nanoserver-insider docker due to breaking changes in the base image. (#4555) * Cleanup engine tests (#4551) * Fix intermittent failures in filesystem tests (#4566) -* Add more tab completion tests (#4560) +* Add tests for + * `New-WinEvent`. (#4384) + * tab completion. (#4560) + * various types. (#4503) + * CDXML CmdLets. (#4537) +* Only allow packaging of powershell, if it was build from a repo at the root of the file system named powershell. (#4569 & #4600) +* Update `Format-Hex` test cases to use -TestCase instead of foreach loops. (#3800) +* Added functionality to get code coverage for a single file locally. (#4556) ### Documentation * Added Ilya (@iSazonov) as a Maintainer. (#4365) * Grammar fix to the Pull Request Guide. (#4322) * Add homebrew for macOS to install documentation. (#3838) +* Added a CodeOwner file. (#4565 & #4597) ### Cleanup `#if CORECLR` code From ce1f4783e911016cbb0ee2d0055af10c1bd34b34 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 24 Aug 2017 09:05:56 -0700 Subject: [PATCH 4/8] Address PR feedback --- CHANGELOG.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d8458fc092..964308b4272 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,7 @@ ### Breaking change -* Make invalid argument handling to -File and -Command consitent and make exit codes consistent with Unix standards (#4573) - +* Make invalid argument error messages for -File and -Command consitent and make exit codes consistent with Unix standards (#4573) ### Engine updates and fixes @@ -13,7 +12,7 @@ * Add missing assemblies to TPA list to make Pwrshplughin.dll work (#4502) * Make sure running `powershell` starts instance of the current version of PowerShell. (#4481) * Make sure we only use Unicode output by default on Nano and IoT systems (#4074) -* Enable `-WindowStyle` to work. (#4573) +* Enable `powershell -WindowStyle` to work on Windows. (#4573) * Enable enumeration of COM collections. (#4553) ### General cmdlet updates and fixes @@ -31,8 +30,7 @@ * Use .NET Cores implementation for ShellExecute. (#4523) * Fix SSH Remoting handling of KeyFileParameter when the path must be quoted. (#4529) * Make Web CmdLets use HTML meta charset attribute value, if present (#4338) -* Move to .NET Core 2.0 (#4603) - +* Move to .NET Core 2.0 final (#4603) ### Build/test and code cleanup @@ -55,7 +53,7 @@ * tab completion. (#4560) * various types. (#4503) * CDXML CmdLets. (#4537) -* Only allow packaging of powershell, if it was build from a repo at the root of the file system named powershell. (#4569 & #4600) +* Only allow packaging of powershell, if it was built from a repo at the root of the file system named powershell. (#4569 & #4600) * Update `Format-Hex` test cases to use -TestCase instead of foreach loops. (#3800) * Added functionality to get code coverage for a single file locally. (#4556) From e4719f7e1913fdc07ba7f0f5765fdbd00e3105c3 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 24 Aug 2017 10:26:39 -0700 Subject: [PATCH 5/8] fix spelling issues in markdown --- CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 964308b4272..9974ba33085 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,31 +21,31 @@ * Add Certificate authentication support for Web CmdLets. (#4646) (Thanks @markekraus) * Add support for content headers to Web CmdLets. (#4494 & #4640) (Thanks @markekraus) * Add support for converting enums to string (#4318) (Thanks @KirkMunro) -* Ignore casing when binding PSReadline keyhandler functions (#4300) (Thanks @oising) +* Ignore casing when binding PSReadline KeyHandler functions (#4300) (Thanks @oising) * Fix `Unblock-File` for the case of a read-only file. (#4395) (Thanks @iSazonov) * Use supported API to set Central Access Policy ID (CAPID) in SACL. (#4496) * Make `Start-Trace` support paths that require escaping in the underlying APIs (#3863) * Removing `#if CORECLR` enabled, `Enable-PSRemoting` and `Disable-PSRemoting` (#2671) * Enable WSManCredSSP cmdlets and add tests. (#4336) -* Use .NET Cores implementation for ShellExecute. (#4523) +* Use .NET Core's implementation for ShellExecute. (#4523) * Fix SSH Remoting handling of KeyFileParameter when the path must be quoted. (#4529) * Make Web CmdLets use HTML meta charset attribute value, if present (#4338) * Move to .NET Core 2.0 final (#4603) ### Build/test and code cleanup -* Add Amazon Linux Docker image and enable related tests. (#4393) (Thanks @DarwinJs) +* Add Amazon Linux Docker image and enable related tests. (#4393) (Thanks @DarwinJS) * Make MSI verify pre-requisites are installed. (#4602) (Thank @bergmeister) * Fixed formatting issues in build files. (#4630) (Thanks @iSazonov) * Make sure `install-powershell.sh` installs latest powershell on macOS, even if an old version is cached in brew. (#4509) (Thanks @richardszalay for reporting.) * Fixes install scripts issue for macOS. (#4631) (Thanks @DarwinJS) * Many stability improvements to our nightly code coverage automation. (#4313 & #4550) -* Remove hash validation from nanoserver-insider docker file, due to frequent changes. (#4498) +* Remove hash validation from nanoserver-insider Docker file, due to frequent changes. (#4498) * Update to make Travis-CI daily build badge more reliable. (#4522) * Remove unused build files, build code, and product code. (#4532, #4580, #4590, #4589, #4588, #4587, #4586, #4583, #4582, #4581) * Add additonal acceptance tests for PowerShellGet. (#4531) * Only publish a NuGet of the full PowerShell core package on daily builds and not merge. (#4517) -* Update nanoserver-insider docker due to breaking changes in the base image. (#4555) +* Update nanoserver-insider Docker file due to breaking changes in the base image. (#4555) * Cleanup engine tests (#4551) * Fix intermittent failures in filesystem tests (#4566) * Add tests for From 017d42c3ed8fa925fa76e3da11ee6c4f76abba25 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 24 Aug 2017 10:27:42 -0700 Subject: [PATCH 6/8] sort, remove duplicates, and add new words for beta.6 --- .spelling | 46 ++++++++++++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/.spelling b/.spelling index 8fbd0529464..3930bf4ff50 100644 --- a/.spelling +++ b/.spelling @@ -804,10 +804,14 @@ shebang - CHANGELOG.md _ _Jobs +-Command -Exclude +-File -Include +-TestCase -Title 0xfeeddeadbeef +acceptance alpha.10 alpha.11 alpha.12 @@ -817,20 +821,31 @@ alpha.16 alpha.17 alpha.18 behavioral +bergmeister beta.1 beta.2 beta.3 beta.4 +beta.5 +beta.6 +binding bool +charset +cleanup +CodeOwner ContentType ConvertTo-Html CoreConsoleHost crossgen'ing +DarwinJS +dchristian3188 +deserialization deserialize EXE's ExecutionPolicy FileCatalog FilterHashtable +foreach GetParentProcess globbing honors @@ -841,16 +856,26 @@ IoT iSazonov IsCore IsCoreCLR +jeffbi JsonConfigFileAccessor +KeyFileParameter +KeyHandler +KirkMunro kittholland kwiknick Lee303 libpsl-native +markekraus +meta MiaRomero Microsoft.Management.Infrastructure.Native Microsoft.PowerShell.LocalAccounts mklement0 +mwrock +nanoserver-insider non-22 +non-CIM +non-R2 oising oneget.org PetSerAl @@ -860,10 +885,12 @@ preview1-24530-04 PSDrive PseudoParameterBinder PSReadLine +PSScriptAnalyzer PVS-Studio rc2-24027 rc3-24011 RelationLink +richardszalay rkeithhill shebang startup @@ -872,9 +899,11 @@ StringBuilder system.manage Tadas TheFlyingCorpse +TheFlyingCorpse TimCurwick timestamp TimeZone +TPA TTY's UserData UTF8NoBOM @@ -889,24 +918,9 @@ ValidateNotNullOrEmpty WebRequest win7-x86 WindowsVersion +WSManCredSSP XPath -alpha.18 -behavioral -MiaRomero -TheFlyingCorpse Youtube -beta.5 -non-R2 -mwrock -deserialization -non-CIM -DarwinJS -bergmeister -cleanup -KirkMunro -dchristian3188 -jeffbi -PSScriptAnalyzer - test/tools/CodeCoverageAutomation/README.md CodeCoverage.zip Coveralls.exe From 3e1295d4b60fef9f22bf53d2ca6c4ff6bc3037d5 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 24 Aug 2017 12:24:11 -0700 Subject: [PATCH 7/8] Additional spelling fixes in the markdown --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9974ba33085..b25fb690fa4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Breaking change -* Make invalid argument error messages for -File and -Command consitent and make exit codes consistent with Unix standards (#4573) +* Make invalid argument error messages for -File and -Command consistent and make exit codes consistent with Unix standards (#4573) ### Engine updates and fixes @@ -43,7 +43,7 @@ * Remove hash validation from nanoserver-insider Docker file, due to frequent changes. (#4498) * Update to make Travis-CI daily build badge more reliable. (#4522) * Remove unused build files, build code, and product code. (#4532, #4580, #4590, #4589, #4588, #4587, #4586, #4583, #4582, #4581) -* Add additonal acceptance tests for PowerShellGet. (#4531) +* Add additional acceptance tests for PowerShellGet. (#4531) * Only publish a NuGet of the full PowerShell core package on daily builds and not merge. (#4517) * Update nanoserver-insider Docker file due to breaking changes in the base image. (#4555) * Cleanup engine tests (#4551) From 9936debdf70ba4f1693599e3c7269a0ec91b7917 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 24 Aug 2017 12:24:25 -0700 Subject: [PATCH 8/8] changes and additional new words --- .spelling | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.spelling b/.spelling index 3930bf4ff50..1ebc755c1aa 100644 --- a/.spelling +++ b/.spelling @@ -808,7 +808,6 @@ _Jobs -Exclude -File -Include --TestCase -Title 0xfeeddeadbeef acceptance @@ -841,6 +840,7 @@ DarwinJS dchristian3188 deserialization deserialize +enums EXE's ExecutionPolicy FileCatalog @@ -887,18 +887,21 @@ PseudoParameterBinder PSReadLine PSScriptAnalyzer PVS-Studio +Pwrshplughin.dll rc2-24027 rc3-24011 RelationLink richardszalay rkeithhill shebang +ShellExecute startup stdin StringBuilder +SxS system.manage Tadas -TheFlyingCorpse +TestCase TheFlyingCorpse TimCurwick timestamp