From ea6cacafd7399b80e776f1798d99fe5523f8d41c Mon Sep 17 00:00:00 2001 From: Mike Richmond Date: Thu, 3 Nov 2016 14:23:05 -0700 Subject: [PATCH] Change log and 6.0.0-alpha.12 version number updates (#2593) --- CHANGELOG.md | 22 +++++++++++++--- README.md | 12 ++++----- appveyor.yml | 2 +- demos/Azure/README.md | 2 +- docker/release/centos7/Dockerfile | 4 +-- docker/release/ubuntu14.04/Dockerfile | 4 +-- docker/release/ubuntu16.04/Dockerfile | 4 +-- docs/FAQ.md | 2 +- docs/installation/linux.md | 26 +++++++++---------- .../powershell-beginners-guide.md | 2 +- docs/maintainers/releasing.md | 2 +- tools/download.sh | 10 +++---- 12 files changed, 53 insertions(+), 39 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33f45e02cc..b9e3d08df7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,26 @@ Changelog Unreleased ---------- -v6.0.0-alpha.12 - 2016-10-31 +v6.0.0-alpha.12 - 2016-11-03 ---------------------------- -- Add support in Get-WinEvent -FilterHashtable +- Fix `Get-ChildItem -Recurse -ErrorAction Ignore` to ignore additional errors +- Don't block pipeline when running Windows exes +- Fix for PowerShell SSH remoting with recent Win32-OpenSSH change. +- `Select-Object` with `-ExcludeProperty` now implies `-Property *` if -Property is not specified. +- Adding ValidateNotNullOrEmpty to `-Name` parameter of `Get-Alias` +- Enable Implicit remoting commands in PowerShell Core +- Fix GetParentProcess() to replace an expensive WMI query with Win32 API calls +- Fix `Set-Content` failure to create a file in PSDrive under certain conditions. +- Adding ValidateNotNullOrEmpty to `-Name` parameter of `Get-Service` +- Adding support in `Get-WinEvent -FilterHashtable` +- Adding WindowsVersion to `Get-ComputerInfo` +- Remove the unnecessary use of lock in PseudoParameterBinder to avoid deadlock +- Refactor `Get-WinEvent` to use StringBuilder for XPath query construction +- Clean up and fix error handling of libpsl-native +- Exclude Registry and Certificate providers from UNIX PS +- Update PowerShell Core to consume .Net Core preview1-24530-04 - -v6.0.0-alpha.11 - 2016-10-17 +v6.0.0-alpha.12 - 2016-10-17 ---------------------------- - Add '-Title' to 'Get-Credential' and unify the prompt experience - Update dependency list for PowerShell Core on Linux and OS X diff --git a/README.md b/README.md index 0578b488a7..c144f02770 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,12 @@ You can download and install a PowerShell package for any of the following platf | macOS 10.11 | [.pkg][rl-macos] | [Instructions][in-macos] | | Docker | | [Instructions][in-docker] | -[rl-windows10]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.11/PowerShell_6.0.0.11-alpha.11-win10-x64.msi -[rl-windows81]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.11/PowerShell_6.0.0.11-alpha.11-win81-x64.msi -[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.11/powershell_6.0.0-alpha.11-1ubuntu1.16.04.1_amd64.deb -[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.11/powershell_6.0.0-alpha.11-1ubuntu1.14.04.1_amd64.deb -[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.11/powershell-6.0.0_alpha.11-1.el7.centos.x86_64.rpm -[rl-macOS]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.11/powershell-6.0.0-alpha.11.pkg +[rl-windows10]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.12/PowerShell_6.0.0.12-alpha.12-win10-x64.msi +[rl-windows81]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.12/PowerShell_6.0.0.12-alpha.12-win81-x64.msi +[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.12/powershell_6.0.0-alpha.12-1ubuntu1.16.04.1_amd64.deb +[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.12/powershell_6.0.0-alpha.12-1ubuntu1.14.04.1_amd64.deb +[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.12/powershell-6.0.0_alpha.12-1.el7.centos.x86_64.rpm +[rl-macOS]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.12/powershell-6.0.0-alpha.12.pkg [installation]: docs/installation [in-windows]: docs/installation/windows.md#msi diff --git a/appveyor.yml b/appveyor.yml index 5897e2be4a..7771a53acd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 6.0.0-alpha.11-{build} +version: 6.0.0-alpha.12-{build} image: Visual Studio 2015 diff --git a/demos/Azure/README.md b/demos/Azure/README.md index 6e2c5a849e..9f45b27493 100644 --- a/demos/Azure/README.md +++ b/demos/Azure/README.md @@ -3,7 +3,7 @@ This demo (Azure-Demo.ps1) shows management of Azure Compute resource using Azure Resource Management (ARM) cmdlets. ## Prerequisites ## -- Install PowerShell 6.0.0-alpha.11 +- Install PowerShell 6.0.0-alpha.12 - Install AzureRM.NetCore.Preview, AzureRM.Profile.NetCore.Preview and AzureRM.Resources.NetCore.Preview modules to a local directory. - The instructions for downloading these modules are in Azure-Demo.ps1 file. - You have to use the command "Install-Package -Name AzureRM.NetCore.Preview -Source https://www.powershellgallery.com/api/v2 -ProviderName NuGet -ExcludeVersion -Destination " diff --git a/docker/release/centos7/Dockerfile b/docker/release/centos7/Dockerfile index c43870637d..ba4e34e9ab 100644 --- a/docker/release/centos7/Dockerfile +++ b/docker/release/centos7/Dockerfile @@ -1,8 +1,8 @@ FROM centos:7 MAINTAINER Andrew Schwartzmeyer -ARG POWERSHELL_RELEASE=v6.0.0-alpha.11 -ARG POWERSHELL_PACKAGE=powershell-6.0.0_alpha.11-1.el7.centos.x86_64.rpm +ARG POWERSHELL_RELEASE=v6.0.0-alpha.12 +ARG POWERSHELL_PACKAGE=powershell-6.0.0_alpha.12-1.el7.centos.x86_64.rpm # Setup the locale ENV LANG en_US.UTF-8 diff --git a/docker/release/ubuntu14.04/Dockerfile b/docker/release/ubuntu14.04/Dockerfile index af3ff2cfa9..a19f45277e 100644 --- a/docker/release/ubuntu14.04/Dockerfile +++ b/docker/release/ubuntu14.04/Dockerfile @@ -1,8 +1,8 @@ FROM ubuntu:trusty MAINTAINER Andrew Schwartzmeyer -ARG POWERSHELL_RELEASE=v6.0.0-alpha.11 -ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.11-1ubuntu1.14.04.1_amd64.deb +ARG POWERSHELL_RELEASE=v6.0.0-alpha.12 +ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.12-1ubuntu1.14.04.1_amd64.deb # Setup the locale ENV LANG en_US.UTF-8 diff --git a/docker/release/ubuntu16.04/Dockerfile b/docker/release/ubuntu16.04/Dockerfile index ad70c8c07b..786712aedd 100644 --- a/docker/release/ubuntu16.04/Dockerfile +++ b/docker/release/ubuntu16.04/Dockerfile @@ -1,8 +1,8 @@ FROM ubuntu:xenial MAINTAINER Andrew Schwartzmeyer -ARG POWERSHELL_RELEASE=v6.0.0-alpha.11 -ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.11-1ubuntu1.16.04.1_amd64.deb +ARG POWERSHELL_RELEASE=v6.0.0-alpha.12 +ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.12-1ubuntu1.16.04.1_amd64.deb # Setup the locale ENV LANG en_US.UTF-8 diff --git a/docs/FAQ.md b/docs/FAQ.md index 422ff09d3a..d68038ff8e 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -55,7 +55,7 @@ To use the `Microsoft.PowerShell.SDK` NuGet package, declare the `frameworks` se "netstandard1.6": { "imports": [ "dnxcore50", "portable-net45+win8" ], "dependencies": { - "Microsoft.PowerShell.SDK": "1.0.0-alpha11" + "Microsoft.PowerShell.SDK": "1.0.0-alpha12" } } } diff --git a/docs/installation/linux.md b/docs/installation/linux.md index d23915a6d8..1a8a3682f8 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -11,7 +11,7 @@ You should *never* run a script without reading it first! Please **read the [download][] script first**, and then if you want to run it, use: ```sh -bash <(curl -fsSL https://raw.githubusercontent.com/PowerShell/PowerShell/v6.0.0-alpha.11/tools/download.sh) +bash <(curl -fsSL https://raw.githubusercontent.com/PowerShell/PowerShell/v6.0.0-alpha.12/tools/download.sh) ``` Once the package is installed, run `powershell` from a terminal. @@ -20,19 +20,19 @@ Once the package is installed, run `powershell` from a terminal. [u16]: #ubuntu-1604 [cos]: #centos-7 [osx]: #os-x-1011 -[download]: https://github.com/PowerShell/PowerShell/blob/v6.0.0-alpha.11/tools/download.sh +[download]: https://github.com/PowerShell/PowerShell/blob/v6.0.0-alpha.12/tools/download.sh Ubuntu 14.04 ============ Using [Ubuntu 14.04][], download the Debian package -`powershell_6.0.0-alpha.11-1ubuntu1.14.04.1_amd64.deb` +`powershell_6.0.0-alpha.12-1ubuntu1.14.04.1_amd64.deb` from the [releases][] page onto the Ubuntu machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-alpha.11-1ubuntu1.14.04.1_amd64.deb +sudo dpkg -i powershell_6.0.0-alpha.12-1ubuntu1.14.04.1_amd64.deb sudo apt-get install -f ``` @@ -52,13 +52,13 @@ Ubuntu 16.04 ============ Using [Ubuntu 16.04][], download the Debian package -`powershell_6.0.0-alpha.11-1ubuntu1.16.04.1_amd64.deb` +`powershell_6.0.0-alpha.12-1ubuntu1.16.04.1_amd64.deb` from the [releases][] page onto the Ubuntu machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-alpha.11-1ubuntu1.16.04.1_amd64.deb +sudo dpkg -i powershell_6.0.0-alpha.12-1ubuntu1.16.04.1_amd64.deb sudo apt-get install -f ``` @@ -80,19 +80,19 @@ CentOS 7 ======== Using [CentOS 7][], download the RPM package -`powershell-6.0.0_alpha.11-1.el7.centos.x86_64.rpm` +`powershell-6.0.0_alpha.12-1.el7.centos.x86_64.rpm` from the [releases][] page onto the CentOS machine. Then execute the following in the terminal: ```sh -sudo yum install ./powershell-6.0.0_alpha.11-1.el7.centos.x86_64.rpm +sudo yum install ./powershell-6.0.0_alpha.12-1.el7.centos.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: ```sh -sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.11/powershell-6.0.0_alpha.11-1.el7.centos.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.12/powershell-6.0.0_alpha.12-1.el7.centos.x86_64.rpm ``` > This package works on Oracle Linux 7. It should work on Red Hat Enterprise Linux 7 too. @@ -109,14 +109,14 @@ macOS 10.11 =========== Using macOS 10.11, download the PKG package -`powershell-6.0.0-alpha.11.pkg` +`powershell-6.0.0-alpha.12.pkg` from the [releases][] page onto the macOS machine. Either double-click the file and follow the prompts, or install it from the terminal: ```sh -sudo installer -pkg powershell-6.0.0-alpha.11.pkg -target / +sudo installer -pkg powershell-6.0.0-alpha.12.pkg -target / ``` **Uninstallation** @@ -184,7 +184,7 @@ You *can* run this command manually if you're having trouble with .NET Core's cr Paths ===== -* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-alpha.11/` +* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-alpha.12/` * User profiles will be read from `~/.config/powershell/profile.ps1` * Default profiles will be read from `$PSHOME/profile.ps1` * User modules will be read from `~/.local/share/powershell/Modules` @@ -200,7 +200,7 @@ On Linux and macOS, the [XDG Base Directory Specification][xdg-bds] is respected Note that because macOS is a derivation of BSD, instead of `/opt`, the prefix used is `/usr/local`. -Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-alpha.11/`, +Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-alpha.12/`, and the symlink is placed at `/usr/local/bin/powershell`. [releases]: https://github.com/PowerShell/PowerShell/releases/latest diff --git a/docs/learning-powershell/powershell-beginners-guide.md b/docs/learning-powershell/powershell-beginners-guide.md index 614bf8daf1..4301eec7e1 100644 --- a/docs/learning-powershell/powershell-beginners-guide.md +++ b/docs/learning-powershell/powershell-beginners-guide.md @@ -189,7 +189,7 @@ PSVersion 6.0.0-alpha PSEdition Core PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 3.0.0.0 -GitCommitId v6.0.0-alpha.11 +GitCommitId v6.0.0-alpha.12 CLRVersion WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 diff --git a/docs/maintainers/releasing.md b/docs/maintainers/releasing.md index 5788ec6f27..6da7643469 100644 --- a/docs/maintainers/releasing.md +++ b/docs/maintainers/releasing.md @@ -140,7 +140,7 @@ The output of `Start-PSBuild` includes a `powershell.exe` executable which can s To create release packages, create a new branch at the release tag. For example: ``` powershell -git checkout -b local-alpha-11-release-branch v.6.0.0-alpha.11 +git checkout -b local-release-branch v.6.0.0-alpha.12 ``` #### Windows 10 and Server 2016 diff --git a/tools/download.sh b/tools/download.sh index 1a08f30fc0..40371afe76 100755 --- a/tools/download.sh +++ b/tools/download.sh @@ -8,7 +8,7 @@ trap ' ' INT get_url() { - release=v6.0.0-alpha.11 + release=v6.0.0-alpha.12 echo "https://github.com/PowerShell/PowerShell/releases/download/$release/$1" } @@ -24,7 +24,7 @@ case "$OSTYPE" in sudo yum install -y curl fi - package=powershell-6.0.0_alpha.11-1.el7.centos.x86_64.rpm + package=powershell-6.0.0_alpha.12-1.el7.centos.x86_64.rpm ;; ubuntu) if ! hash curl 2>/dev/null; then @@ -34,10 +34,10 @@ case "$OSTYPE" in case "$VERSION_ID" in 14.04) - package=powershell_6.0.0-alpha.11-1ubuntu1.14.04.1_amd64.deb + package=powershell_6.0.0-alpha.12-1ubuntu1.14.04.1_amd64.deb ;; 16.04) - package=powershell_6.0.0-alpha.11-1ubuntu1.16.04.1_amd64.deb + package=powershell_6.0.0-alpha.12-1ubuntu1.16.04.1_amd64.deb ;; *) echo "Ubuntu $VERSION_ID is not supported!" >&2 @@ -51,7 +51,7 @@ case "$OSTYPE" in ;; darwin*) # We don't check for curl as macOS should have a system version - package=powershell-6.0.0-alpha.11.pkg + package=powershell-6.0.0-alpha.12.pkg ;; *) echo "$OSTYPE is not supported!" >&2