Merge release-v6.2.0-preview.1
Release v6.2.0 preview.1
This commit is contained in:
commit
64c1ca8926
|
@ -727,6 +727,7 @@ v6.0.0
|
|||
v6.0.1
|
||||
v6.0.2
|
||||
v6.1.0
|
||||
v6.2.0
|
||||
validatenotnullorempty
|
||||
versioned
|
||||
versioning
|
||||
|
|
139
CHANGELOG.md
139
CHANGELOG.md
|
@ -1,5 +1,144 @@
|
|||
# Changelog
|
||||
|
||||
## v6.2.0-preview.1 - 2018-10-18
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Do not add `PATHEXT` environment variable on Unix (#7697) (Thanks @iSazonov!)
|
||||
|
||||
### Known Issues
|
||||
|
||||
- Remoting on Windows IOT ARM platforms has an issue loading modules. See [#8053](https://github.com/PowerShell/PowerShell/issues/8053)
|
||||
|
||||
### Engine Updates and Fixes
|
||||
|
||||
- Add C# style type accelerators and suffixes for `ushort`, `uint`, `ulong`, and `short` literals (#7813) (Thanks @vexx32!)
|
||||
- Create inferred types for `Select-Object`, `Group-Object`, `PSObject` and `Hashtable` (#7231) (Thanks @powercode!)
|
||||
- Fix .NET adapter to be able to get members from `System.IntPtr` (#7808)
|
||||
- Fix .NET adapter to not throw when fails to create a `PSMethod` due to `ByRef-like` type (#7788)
|
||||
- Support calling method with `ByRef-like` type parameters (#7721)
|
||||
- Fix perf issue in provider by using `Refresh()` to update the status rather than instantiating `ServiceController` which has a significant perf degradation from .NET Framework (#7680)
|
||||
- Update PowerShell to handle the case where the Windows PowerShell module path is already in the environment's `PSModulePath` (#7727)
|
||||
- Ensure the `SSHClientSessionTransportManager` stream writer and reader fields are cleared after dispose. (#7746)
|
||||
- Add unified attribute for completion for `Encoding` parameter. (#7732) (Thanks @ThreeFive-O!)
|
||||
- Add support for Byte Literals (#7901) (Thanks @vexx32!)
|
||||
- Fix Property and `ScriptBlock` expressions in `EntrySelectedBy` tags within custom controls (#7913) (Thanks @SeeminglyScience!)
|
||||
- Fix `BeginInvoke`/`EndInvoke` to return results when `Stop` or `BeginStop`/`EndStop` was called previously (#7917)
|
||||
- Allow root node of `format.ps1xml` to have attributes that are ignored (#7987)
|
||||
- Use non-virtual call to invoke 'family or assembly' methods on base class from PowerShell class (#7622) (#7624) (Thanks @yurko7!)
|
||||
- Enable indexing operations on `System.Tuple` and `System.ValueTuple` (#7633) (Thanks @SeeminglyScience!)
|
||||
- Enable indexing operations on objects that implement `ITuple` (#7633) (Thanks @SeeminglyScience!)
|
||||
- Make the parameter to `ImportPSModule` use `params` so that it is easier to call (#7933) (Thanks @iSazonov!)
|
||||
|
||||
### General Cmdlet Updates and Fixes
|
||||
|
||||
- Add `EscapeHandling` parameter in `ConvertTo-Json` cmdlet (#7775) (Thanks @iSazonov!)
|
||||
- Make `Add-Type` open source files with `FileAccess.Read` and `FileShare.Read` explicitly (#7915) (Thanks @IISResetMe!)
|
||||
- No longer skips a column without name if double quote delimiter is used in `Import-Csv` (#7899) (Thanks @Topping!)
|
||||
- Add support for `cd +` (#7206) (Thanks @bergmeister!)
|
||||
- Allow numeric Ids and name of registered code pages in `-Encoding` parameters (#7636) (Thanks @iSazonov!)
|
||||
- Remove extra space in `LastWriteTime` format (#7810) (Thanks @iSazonov!)
|
||||
- Fix `Enter-PSSession -ContainerId` for the latest Windows (#7883)
|
||||
- `Get/Add-Content` throws improved error when targeting a container (#7823) (Thanks @kvprasoon!)
|
||||
- Ensure `NestedModules` property gets populated by `Test-ModuleManifest` (#7859)
|
||||
- Add `%F` case to `Get-Date -UFormat` (#7630) (Thanks @britishben!)
|
||||
- Fix file blocking issue with web cmdlets (#7676) (Thanks @Claustn!)
|
||||
- Improve error message on non-Windows when importing `clixml` with `securestring` (#7997)
|
||||
- Add prompt to the use of less in the function 'help' to instruct user how to quit (#7998)
|
||||
- Fix `Set-Service -Status Stopped` to stop services with dependencies (#5525) (Thanks @zhenggu!)
|
||||
|
||||
### Code Cleanup
|
||||
|
||||
- Use `nameof()` in bound `parameters.contains key()` (#7908) (Thanks @iSazonov!)
|
||||
- Cleanup all native code from repository (#7892)
|
||||
- Add `XSDs` for Format and `Types.ps1xml` files (#7832) (Thanks @felixfbecker!)
|
||||
- Remove unused commented out code (#7935) (Thanks @vpondala!)
|
||||
- Add `.editorconfig` (#7357) (Thanks @iSazonov!)
|
||||
- Remove unused stopwatch (#7878)
|
||||
- Clean up `MshObject.cs` and `MshMemberInfo.cs` (#7446)
|
||||
- Add `TimeToLive` and `Hops` aliases to `MaxHops` parameter of `Test-Connection` cmdlet. (#7850) (Thanks @sethvs!)
|
||||
- Fix a typo in `Credential.cs` (#7696) (Thanks @sethvs!)
|
||||
- Remove workaround on VSTS that is no longer needed (#7666)
|
||||
- Improve code style of `Send-MailMessage` cmdlet (#7723) (Thanks @ThreeFive-O!)
|
||||
- Cleanup `FileSystemProvider` from runtime checks (#7655) (Thanks @iSazonov!)
|
||||
- Remove extra spaces in error messages in `Modules.resx` (#7662) (Thanks @sethvs!)
|
||||
- Remove empty XML comment lines (missed in #7401) (#7641) (Thanks @kvprasoon!)
|
||||
- Remove `Suspend-Job` and `Resume-Job` cmdlets from compilation (#7650)
|
||||
|
||||
### Tools
|
||||
|
||||
- Fix syntax error in `installpwsh-amazonlinux.sh` (#7905) (Thanks @DarwinJS!)
|
||||
- Add tools for PowerShell perf analysis (#7595) (Thanks @lzybkr!)
|
||||
- Started using [Dependabot](https://dependabot.com) to create PRs to update package and module versions
|
||||
|
||||
### Tests
|
||||
|
||||
- Add test for `$error[0]` tab completion (#7924) (Thanks @iSazonov!)
|
||||
- Replace test certificates with self-signed certificate generating command (#7875)
|
||||
- Standardize Pester syntax in `ReplaceOperator.Tests.ps1` (#7963) (Thanks @sethvs!)
|
||||
- Updating `ModulePath.Tests` for `fxdependent` package (#7772)
|
||||
- Add tests for `Import-Module -Force` (#7491)
|
||||
- Updates to Docker package tests (#7667)
|
||||
- Updating test gallery URL in `PackageManagement` tests (#7879)
|
||||
- Add version checking tests for `Import-Module` (#7499)
|
||||
- Update Markdown tests (#7838)
|
||||
- Change locale of `mdspell` to `en-US` (#7671)
|
||||
- Test changes needed for running in a container (#7869)
|
||||
- Add daily build non-windows platforms (#7683)
|
||||
- Remove workaround on VSTS that is no longer needed (#7666)
|
||||
- Fix module specification `hashtable` in `ModuleSpecification.Tests.ps1` (#7663) (Thanks @sethvs!)
|
||||
- Use `dotnet test` since the `dotnet xunit` test runner has been deprecated (#7980) (Thanks @bergmeister!)
|
||||
- Fix pipeline test where `SmtpServer` key was set wrong in pipeline object (#7745) (Thanks @ThreeFive-O!)
|
||||
- Change API to get host name to match cmdlet which is more reliable in Azure DevOps Pipelines `Hosted Windows VS2017` (#8003)
|
||||
- Disable `travis-ci` (#7766)
|
||||
- Make artifact upload only occur for non-PR builds (#7657)
|
||||
- Change logic for downloading zip files based on job id (#7653)
|
||||
- Add missing dependency for hosting xUnit tests
|
||||
|
||||
### Build and Packaging Improvements
|
||||
|
||||
- Change default of `Start-PSBuild` to include `-PSModuleRestore` (#7881)
|
||||
- Specify verb, `pwsh`, for shell context menu to avoid overriding the default verb (#7932) (Thanks @bergmeister!)
|
||||
- Converting aliases to cmdlets in `build.psm1` (#7964) (Thanks @kvprasoon!)
|
||||
- Add dependencies for SUSE (#7938) (Thanks @Jellyfrog!)
|
||||
- Wait for package manager not to be locked (#7817)
|
||||
- Make `Start-PSPackage` give better message about how to fix `files.wxs` (#7841)
|
||||
- Bump to .NET Core `2.1.5` with SDK `2.1.403` and latest packages (#7646, #7834, #7922, #7936) (Thanks @iSazonov!)
|
||||
- Bump `Markdig.Signed` NuGet package from `0.15.3` to `0.15.4` (#7960) (Thanks @bergmeister!)
|
||||
- Bump `Microsoft.ApplicationInsights` from `2.7.2` to `2.8.0` (#8002)
|
||||
- Bump `Microsoft.PowerShell.Native` from `6.1.0-rc.1` to `6.1.0` (#7861)
|
||||
- Bump `NJsonSchema` from `9.10.71` to `9.11.1` (#7705, #7764, #7990)
|
||||
- Bump `PackageManagement` from `1.1.7.2` to `1.2.2` in /src/Modules (#8014, #8029)
|
||||
- Bump `Pester` to use latest version (#8015)
|
||||
- Bump `PowerShellGet` to `2.0.0` (#7831)
|
||||
- Bump `PSReadLine` to `2.0.0-beta3` (#7711)
|
||||
- Bump `Xunit.SkippableFact` from `1.3.6` to `1.3.12` (#7972)
|
||||
- Make Windows MSI uninstallation shortcut remove work when more than one version is installed (#7701) (Thanks @bergmeister!)
|
||||
- Update Docker files to use MCR (#7726)
|
||||
- Update `metadata.json` in preparation for `6.1` release (#7741)
|
||||
- Build and package framework dependent package (#7729)
|
||||
- Make sure MSI build works when not preview (#7752)
|
||||
- Remove `PDBs` from `fxdependent` package (#8006)
|
||||
- Improve debugging of NuGet package generation and add type to filtering
|
||||
|
||||
### Documentation and Help Content
|
||||
|
||||
- Replace ambiguous `hang` term (#7902, #7931) (Thanks @iSazonov!)
|
||||
- Updating incorrect example of `PowerShell.Create()` (#7926) (Thanks @1RedOne!)
|
||||
- Update `governance.md` (#7927) (Thanks @tommymaynard!)
|
||||
- Add `cURL` to the Bash users list in `README.md` (#7948) (Thanks @vmsilvamolina!)
|
||||
- Optimize image assets used in documentation (#7874) (Thanks @RDIL!)
|
||||
- Update build badges (#7792)
|
||||
- Remove packaging, building and installation scripts for Ubuntu 17.10 (#7773)
|
||||
- Remove badges for master build as it reflects last PR which is not actionable from the `README` file (#7816)
|
||||
- Improve Markdown formatting of beginners guide (#7684) (Thanks @fbehrens!)
|
||||
- Fix the `Basic cookbooks` link (#7934) (Thanks @vmsilvamolina!)
|
||||
- Update version for PowerShell release `6.1.0` (#7751)
|
||||
- Add VSTS CI build badges for master branch to `README.md` (#7691) (Thanks @bergmeister!)
|
||||
- Add a paragraph on `files.wxs` updating (#7695) (Thanks @iSazonov!)
|
||||
- Update `CONTRIBUTION.md` about adding an empty line after the copyright header (#7706) (Thanks @iSazonov!)
|
||||
- Update docs about .NET Core version `2.0` to be about version `2.x` (#7467) (Thanks @bergmeister!)
|
||||
|
||||
## v6.1.0 - 2018-09-13
|
||||
|
||||
### Engine Updates and Fixes
|
||||
|
|
32
README.md
32
README.md
|
@ -77,22 +77,22 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu
|
|||
[rl-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell-6.1.0-linux-arm32.tar.gz
|
||||
[rl-snap]: https://snapcraft.io/powershell
|
||||
|
||||
[pv-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/PowerShell-6.1.0-win-x64.msi
|
||||
[pv-windows-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/PowerShell-6.1.0-win-x86.msi
|
||||
[pv-ubuntu18]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell_6.1.0-1.ubuntu.18.04_amd64.deb
|
||||
[pv-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell_6.1.0-1.ubuntu.16.04_amd64.deb
|
||||
[pv-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell_6.1.0-1.ubuntu.14.04_amd64.deb
|
||||
[pv-debian8]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell_6.1.0-1.debian.8_amd64.deb
|
||||
[pv-debian9]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell_6.1.0-1.debian.9_amd64.deb
|
||||
[pv-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell-6.1.0-1.rhel.7.x86_64.rpm
|
||||
[pv-macos]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell-6.1.0-osx-x64.pkg
|
||||
[pv-winarm]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/PowerShell-6.1.0-win-arm32.zip
|
||||
[pv-winarm64]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/PowerShell-6.1.0-win-arm64.zip
|
||||
[pv-winx86-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/PowerShell-6.1.0-win-x86.zip
|
||||
[pv-winx64-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/PowerShell-6.1.0-win-x64.zip
|
||||
[pv-macos-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell-6.1.0-osx-x64.tar.gz
|
||||
[pv-linux-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell-6.1.0-linux-x64.tar.gz
|
||||
[pv-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell-6.1.0-linux-arm32.tar.gz
|
||||
[pv-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/PowerShell-6.2.0-preview.1-win-x64.msi
|
||||
[pv-windows-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/PowerShell-6.2.0-preview.1-win-x86.msi
|
||||
[pv-ubuntu18]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/powershell_6.2.0-preview.1-1.ubuntu.18.04_amd64.deb
|
||||
[pv-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/powershell_6.2.0-preview.1-1.ubuntu.16.04_amd64.deb
|
||||
[pv-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/powershell_6.2.0-preview.1-1.ubuntu.14.04_amd64.deb
|
||||
[pv-debian8]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/powershell_6.2.0-preview.1-1.debian.8_amd64.deb
|
||||
[pv-debian9]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/powershell_6.2.0-preview.1-1.debian.9_amd64.deb
|
||||
[pv-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/powershell-6.2.0-preview.1-1.rhel.7.x86_64.rpm
|
||||
[pv-macos]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/powershell-6.2.0-preview.1-osx-x64.pkg
|
||||
[pv-winarm]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/PowerShell-6.2.0-preview.1-win-arm32.zip
|
||||
[pv-winarm64]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/PowerShell-6.2.0-preview.1-win-arm64.zip
|
||||
[pv-winx86-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/PowerShell-6.2.0-preview.1-win-x86.zip
|
||||
[pv-winx64-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/PowerShell-6.2.0-preview.1-win-x64.zip
|
||||
[pv-macos-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/powershell-6.2.0-preview.1-osx-x64.tar.gz
|
||||
[pv-linux-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/powershell-6.2.0-preview.1-linux-x64.tar.gz
|
||||
[pv-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.1/powershell-6.2.0-preview.1-linux-arm32.tar.gz
|
||||
[pv-snap]: https://snapcraft.io/powershell-preview
|
||||
|
||||
[in-windows]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-windows?view=powershell-6
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.0" />
|
||||
<!-- the following package(s) are from the powershell org -->
|
||||
<PackageReference Include="Microsoft.Management.Infrastructure" Version="1.0.0" />
|
||||
<PackageReference Include="Microsoft.PowerShell.Native" Version="6.1.0" />
|
||||
<PackageReference Include="Microsoft.PowerShell.Native" Version="6.2.0-preview.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
||||
|
||||
<Import Project="../Test.Common.props"/>
|
||||
|
||||
|
@ -18,8 +18,9 @@
|
|||
<PackageReference Include="xunit" Version="2.4.0" />
|
||||
<PackageReference Include="XunitXml.TestLogger" Version="2.0.0" />
|
||||
<!-- The version of Microsoft.PowerShell.SDK should be the version we are releasing, so the tests use the correct SDK before publishing to NuGet.org -->
|
||||
<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.1.0" />
|
||||
<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.2.0-preview.1" />
|
||||
<PackageReference Include="Xunit.SkippableFact" Version="1.3.6" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"StableReleaseTag": "v6.1.0",
|
||||
"PreviewReleaseTag": "v6.1.0-rc.1",
|
||||
"PreviewReleaseTag": "v6.2.0-preview.1",
|
||||
"ServicingReleaseTag": "v6.0.4",
|
||||
"ReleaseTag": "v6.1.0",
|
||||
"NextReleaseTag": "v6.1.0-rc.1"
|
||||
"NextReleaseTag": "v6.2.0-preview.1"
|
||||
}
|
||||
|
|
|
@ -1858,16 +1858,17 @@ function New-ReferenceAssembly
|
|||
#region Cleanup SMA.cs
|
||||
|
||||
$patternsToRemove = @(
|
||||
'[System.Management.Automation.ArgumentToEncodingTransformationAttribute]',
|
||||
'typeof(System.Security.AccessControl.FileSecurity)',
|
||||
'[System.Management.Automation.ArgumentTypeConverterAttribute',
|
||||
'[System.Runtime.CompilerServices.IteratorStateMachineAttribute',
|
||||
'[Microsoft.PowerShell.Commands.ArgumentToModuleTransformationAttribute]',
|
||||
'[Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToVersionTransformationAttribute]',
|
||||
'[Microsoft.PowerShell.Commands.SetStrictModeCommand.ValidateVersionAttribute]',
|
||||
'[System.Management.Automation.OutputTypeAttribute(typeof(System.Management.Automation.PSRemotingJob))]',
|
||||
'typeof(System.Management.Automation.LanguagePrimitives.EnumMultipleTypeConverter)',
|
||||
'[System.Management.Automation.ArgumentToEncodingTransformationAttribute]'
|
||||
'typeof(System.Security.AccessControl.FileSecurity)'
|
||||
'[System.Management.Automation.ArgumentTypeConverterAttribute'
|
||||
'[System.Runtime.CompilerServices.IteratorStateMachineAttribute'
|
||||
'[Microsoft.PowerShell.Commands.ArgumentToModuleTransformationAttribute]'
|
||||
'[Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToVersionTransformationAttribute]'
|
||||
'[Microsoft.PowerShell.Commands.SetStrictModeCommand.ValidateVersionAttribute]'
|
||||
'[System.Management.Automation.OutputTypeAttribute(typeof(System.Management.Automation.PSRemotingJob))]'
|
||||
'typeof(System.Management.Automation.LanguagePrimitives.EnumMultipleTypeConverter)'
|
||||
'[System.Management.Automation.Internal.CommonParameters.ValidateVariableName]'
|
||||
'[System.Management.Automation.ArgumentEncodingCompletionsAttribute]'
|
||||
)
|
||||
|
||||
$reader = [System.IO.File]::OpenText($smaCs)
|
||||
|
@ -1911,9 +1912,12 @@ function New-ReferenceAssembly
|
|||
|
||||
$csProj | Out-File -FilePath "$smaProjectFolder/System.Management.Automation.csproj" -Force
|
||||
|
||||
Write-Host "##vso[artifact.upload containerfolder=artifact;artifactname=artifact]$smaProjectFolder/System.Management.Automation.csproj"
|
||||
Write-Host "##vso[artifact.upload containerfolder=artifact;artifactname=artifact]$smaCs"
|
||||
|
||||
$packagingStrings.NugetConfigFile | Out-File -FilePath "$genAPIFolder/Nuget.config" -Force
|
||||
|
||||
Start-NativeExecution { dotnet build -c Release } > $null
|
||||
Start-NativeExecution { dotnet build -c Release }
|
||||
|
||||
$refBinPath = Join-Path $smaProjectFolder 'bin/Release/netstandard2.0/System.Management.Automation.dll'
|
||||
|
||||
|
|
Loading…
Reference in a new issue