Skip to content

Releases: PowerShell/PowerShell

v6.0.3 Release of PowerShell Core

20 Jul 17:42
Compare
Choose a tag to compare

v6.0.3 - 2018-07-19

Build and Packaging Improvements

  • Remove PackageManagement installed by PowerShellGet and pin PackageManagement to 1.1.7.0 to maintain the ability to patch
  • Pin PowerShellGet to 1.6.0 to maintain the ability to patch MSI installs
  • Update NuGet package references to the latest and get fix for CVE-2018-8356
  • Enable NuGet Package Registration for compliance (#7053)
    • Restore when building test projects
  • Update to DotNet Runtime Framework 2.0.8
  • Specify the runtime when running 'dotnet restore' in 'Start-PSBuild' (#6345)
  • Update version of fpm to resolve issues installing
  • MSI: Update path with proper value (#6441)
  • MSI: Remove the version from the product name (#6415)
  • Migrate the macOS official binary build to VSTS mac hosted preview (#6363)

Test

  • Get newer xUnit Skippable Fact Package

SHA256 Hashes of the release artifacts

  • powershell_6.0.3-1.debian.8_amd64.deb
    • 5890E6C82D6B80609AEC444158B3A55C207FB5C1DC07F749A64EDB55A29E20DF
  • powershell_6.0.3-1.debian.9_amd64.deb
    • 0504F0A1C8A937C8FA1E2841F9018B26897B9A65B2851698C4CCC580502B8463
  • powershell_6.0.3-1.ubuntu.14.04_amd64.deb
    • 8B9AA7A97BF170B8B8A62CBF1672DB39313FD9F4D22EA0759B3AAECAB89B7776
  • powershell_6.0.3-1.ubuntu.16.04_amd64.deb
    • CC15A9F4592A183CF181E1F10A1F2F0A15D6DC65626339743F6247B542FCAC2E
  • powershell-6.0.3-1.rhel.7.x86_64.rpm
    • 9F21442EF90C58D1C292CDAC464BCA67CBF1AAE305987E622D4D675090E256FA
  • powershell-6.0.3-linux-arm32.tar.gz
    • 07FD83309F8F20C7AAAF20B8145A10A264F0DA7B5B265F66EA19D77B7C593198
  • powershell-6.0.3-linux-x64.tar.gz
    • A43D3056688FABC442BFBE0FD7A096F7E28036759EFF9D6EBE8CB9155C9D9AAB
  • powershell-6.0.3-osx-x64.tar.gz
    • 9161416723031CA9C5422A707376660EF2F5D6D64D3B8A94B107EB1AABF3D2F0
  • powershell-6.0.3-osx.10.12-x64.pkg
    • 4764E8F09D52AF77EAEE01650F9B09ED36A181010B84463E4DD67DD2B72ADBA9
  • PowerShell-6.0.3-win-arm32.zip
    • 28E05E2F21D5C269F0486C73406B23EC758C7A1634089B4339C2F287AE43B264
  • PowerShell-6.0.3-win-arm64.zip
    • 80756F7594A1B85432FFBF434457B19054A5A87354C957774FB14EB0B4DF4EA9
  • PowerShell-6.0.3-win-x64.wixpdb
    • E1907C30533DC4386BCDF3B9223784438A5D351903486A640D680B82670AFBF3
  • PowerShell-6.0.3-win-x64.zip
    • DFFBB84E3E474E00100F6E51F36F7CC1146C70E68CAB72F94AA91AB35CB24AC7
  • PowerShell-6.0.3-win-x86.wixpdb
    • B7A72975804A76ED6E538BB4817F135B9B771D61A00D30DCB6E57A638CEFD6AA
  • PowerShell-6.0.3-win-x86.zip
    • 51A3FB4AF86C72E300B3C9AAD93BE1665CE67E1077CF109B72CC57F4F8AC539C
  • PowerShell-6.0.3-win-x64.msi
    • 55E52CE55D734CAE391E904123604C24D4D3AA1C7B93DDCF34D938665F39AA08
  • PowerShell-6.0.3-win-x86.msi
    • 6F40D0897653FBE3DDE7E5402A3671E069FBEE1609A6E561EB5D93191BA16115

The following unsigned files were previously uploaded in error:

  • PowerShell-6.0.3-win-x86.msi
    • 216D8E278EC07B0077459A99A70D01DD1154595C25D5946102A13916D1D65751
  • PowerShell-6.0.3-win-x64.msi
    • FF3352B8F4C0E67B49F033C10311A90C075A17B03C00489557149BBBB0906391

v6.1.0-preview.3 Release of PowerShell Core

20 Jul 17:38
Compare
Choose a tag to compare

v6.1.0-preview.3 - 2018-06-13

Breaking Changes

  • Clean up uses of CommandTypes.Workflow and WorkflowInfo (#6708)
  • Disallow Basic Auth over HTTP in PowerShell Remoting on Unix (#6787)
  • Change packaging to differentiate only between major versions and previews (#6968)
  • Enhance and refactor Add-Type cmdlet (#6141) (Thanks @iSazonov!)
    • A few error strings were removed and thus the corresponding fully qualified error ids are no longer in use.

Engine Updates and Fixes

  • Fix crash when terminal is reset (#6777)
  • Fix a module-loading regression that caused an infinite loop (#6843)
  • Further improve PSMethod to Delegate conversion (#6851)
  • Blacklist System.Windows.Forms from loading to prevent a crash (#6822)
  • Fix Format-Table where rows were being trimmed unnecessarily if there's only one row of headers (#6772)
  • Fix SetDate function in libpsl-native to avoid corrupting memory during P/Invoke (#6881)
  • Fix tab completions for hash table (#6839) (Thanks @iSazonov!)
  • Fix parser to continue parsing key-value pairs after an If-Statement value in a HashExpression (#7002)
  • Add error handling for #requires in an interactive session (#6469)

General Cmdlet Updates and Fixes

  • Improve parameter validation in ExportCsvHelper (#6816) (Thanks @sethvs!)
  • Quote Multipart form-data field names (#6782) (Thanks @markekraus!)
  • Fix Web Cmdlets for .NET Core 2.1 (#6806) (Thanks @markekraus!)
  • Fix Set-Location DriveName: to restore current working directory in the drive (#6774) (Thanks @mcbobke!)
  • Add the alias -lp for -LiteralPath parameters #6732 (#6770) (Thanks @kvprasoon!)
  • Remove more function and move the $env:PAGER capability into the help function (#6059) (Thanks @iSazonov!)
  • Add line break to the error message for Set-ExecutionPolicy (#6803) (Thanks @wesholton84!)

Code Cleanup

Test

  • Add tests for PowerShell hosting API to verify MyGet packages (#6737)
  • Remove Web Cmdlets tests using proxy environment variables (#6808) (Thanks @iSazonov!)
  • Enable Web Cmdlets tests for greater platform support (#6836) (Thanks @markekraus!)
  • Convert ShouldBeErrorId to Should -Throw -ErrorId in PowerShell tests (#6682)
  • Fix CIM cmdlets tests (#6755) (Thanks @sethvs!)
  • Add tests for PowerShell classes inheriting from abstract .NET classes (#6752)
  • Fix Select-Object.Tests.ps1 which previously failed intermittently on Unix platforms. (#6747)
  • Update docker package tests to fix error on OpenSUSE 42 (#6783)
  • Fix test and infrastructure that block code coverage runs (#6790)
  • Update Tests Isfile to correct response for "/" (#6754) (Thanks @Patochun!)
  • Improve code coverage in Export-Csv.Tests.ps1 (#6795) (Thanks @sethvs!)
  • Change -Quiet parameter of Invoke-Pester to -Show None in OpenCover.psm1 (#6798) (Thanks @sethvs!)
  • Replace Dbg.Assert with if () throw in CSVCommands.cs (#6910) (Thanks @sethvs!)
  • Fix xUnit test GetTempFileName (#6943) (Thanks @iSazonov!)

Build and Packaging Improvements

  • Add Windows Compatibility Pack 2.0.0 to PowerShell Core and adopt the official .NET Core 2.1 (#6958)
  • Add Jumplist 'Run as Administrator' to Taskbar on Windows (#6913, #6985) (Thanks @bergmeister!)
  • Use AppVeyor matrix for faster Pull Request builds (#6945) (Thanks @bergmeister!)
  • Fix build.psm1 to not add tool path to $PATH twice (#6834)
  • Add script to create a container manifest (#6735)
  • Fix docker manifest creation script to work with more complex tags and with repeated use (#6852)
  • Add functions to merge Pester and xUnit logs (#6854)
  • Enable generating full symbols for the Windows debug build (#6853)
  • Add functions into build.psm1 to save and restore PSOptions between different sessions. (#6884)
  • Update signing XML based on new signing guidelines (#6893)
  • Update the release docker files to allow specifying the version of to-be-installed PowerShell and the version of image to use (#6835)
  • Updates docker files for Fedora 27 and Kali Linux (#6819)
  • Change packaging to support Ubuntu 17.10 and 18.04 (#6769)
  • Update Get-ChangeLog to make it more accurate (#6764)
  • Fix comparison to see if sudo test is needed in install-*.sh (#6771) (Thanks @bjh7242!)
  • Packaging: Add registry keys to support library folder background for explorer context menu (#6784) (Thanks @bergmeister!)
  • Skip dotnet-cli initialization and stop caching the dotnet folder for Travis CI (#7007)
  • Skip compiling the non-supported cmdlets on Unix in System.Management.Automation.dll to fix the crash in Unix debug build (#6939)
  • Use PSReadLine 2.0.0-beta2 from PSGallery (#6998)
  • Update PSRP Linux NuGet package version to 1.4.2-* (#6711)
  • Add path cleanup utility Reset-PWSHSystemPath.ps1 (#6892) (Thanks @DarwinJS!)
  • Add logic to create signing XML for NuGet packages (#6921)
  • Add and config the Settings.StyleCop file (#6930, #6986) (Thanks @iSazonov!)
  • Fix the double curly bracket typo in a docker file (#6960) (Thanks @adelton!)
  • Remove dependencies on libcurl and libunwind in packaging to match the .NET Core behavior (#6964) (Thanks @qmfrederik!)
  • Make the docker build fail when the curl operation fails. (#6961) (Thanks @adelton!)

Documentation and Help Content

  • Update installation doc about Raspbian (#6859)
  • Add code coverage report generation instructions (#6515)
  • Migrate docs from PowerShell repository to Docs repository (#6899)
  • Fix broken links due to migrating GitHub docs on Installation, Known Issues and Breaking Changes to docs.microsoft.com (#6981) (Thanks @bergmeister!)
  • Update documentation on how to write tests verifying errors conditions (#6687)
  • Fix preview download links in README.md (#6762)

SHA256 Hashes of the release artifacts

  • powershell-6.1.0-preview.3-linux-arm32.tar.gz
    • 632CB6D985ADBA9A0AEFBF3D4E76A99577F7C1B1CD24A8917D9526E0B15E1062
  • powershell-6.1.0-preview.3-linux-x64.tar.gz
    • 3197D5A45AA72C32A81B9807548A5F08ACEFE4A1E1ED6AD923688802783396A7
  • powershell-6.1.0-preview.3-osx-x64.pkg
    • 95EFA9D091DE87746F877814AEE56D2AB8F25FDDF596ABA2653B1782DD2BA362
  • powershell-6.1.0-preview.3-osx-x64.tar.gz
    • 608109F2E8EFA12ADB3AA3F3BAEA91E622FB44CB5EB594F0FFCED8528F2D3180
  • PowerShell-6.1.0-preview.3-win-arm32.zip
    • 13F7AD13DEC1DBB5D2526B16EB1167C2BC8E55B04F5F878C0A65E8554102CA27
  • PowerShell-6.1.0-preview.3-win-arm64.zip
    • 18ADD1851ADB910013ACBF85C26E860B406812FA62BA26B285EC62DB8213B983
  • PowerShell-6.1.0-preview.3-win-x64.msi
    • A68C4AF35E36701CE02B0E0D79B0D8EF5E6D978A496A8B025CFA9F6BF08BC177
  • PowerShell-6.1.0-preview.3-win-x64.zip
    • 55C849547A03F19E8275BED5221FADB54F97759D6F540243A935D8477EE2C159
  • PowerShell-6.1.0-preview.3-win-x86.msi
    • 5A6D894329C5B2E8FF358FEC746AA1B56A7144DE98B2DEC5A9589C9EB2189427
  • PowerShell-6.1.0-preview.3-win-x86.zip
    • A95C6BA5698ED1530A27A26AB1E24B76F88CBE05FF06C8F493903A23A0B56919
  • powershell-preview_6.1.0-preview.3-1.debian.8_amd64.deb
    • 866CC959A0CDE5C7A20FEBA31CD8963E61D068C071C72B0731C091926C526757
  • powershell-preview_6.1.0-preview.3-1.debian.9_amd64.deb
    • 9D52C8D3474DB2116744D346A542EF89B21BF1AD7C07C00030043421F6CF0D99
  • powershell-preview_6.1.0-preview.3-1.ubuntu.14.04_amd64.deb
    • ED9A1A32F350009B5296C7B6106DD55E917A5EA826423968C1F42B16ADCAA882
  • powershell-preview_6.1.0-preview.3-1.ubuntu.16.04_amd64.deb
    • 681321927892DA94C5800BE912057388816DEF718E27412CB922D8205F0622AB
  • powershell-preview_6.1.0-preview.3-1.ubuntu.17.10_amd64.deb
    • 22B1B39221681EBEEAA30C033A402C78B658A27E4465B36C55A6E05EB2239782
  • powershell-preview_6.1.0-preview.3-1.ubuntu.18.04_amd64.deb
    • BFC2C34F5076A1A13375478F1E2D20118E86575D0084A42303D4F46208EF2F3A
  • powershell-preview-6.1.0-preview.3-1.rhel.7.x86_64.rpm
    • 4CFA056D4C5E6DCA4C8E7A28F3C5C1F25EB63D50E97C103727AB2486D15E53ED

v6.1.0-preview.2 Release of PowerShell Core

27 Apr 20:28
Compare
Choose a tag to compare

v6.1.0-preview.2 - 2018-04-27

Known Issue

pwsh crashes on Win10 IoT arm32 - #6750

Breaking Changes

  • Remove support for file to opt-out of telemetry, only support environment variable (#6601)
  • Simplify the installation paths the MSI uses (#6442)

Engine Updates and Fixes

  • Fix running pwsh produced from dotnet build (#6549)
  • Remove the FullCLR-only symbol-info related code from EventManager.cs (#6563)
  • Improve PSMethod-to-Delegate conversion (#6570)
  • Fix PsUtils.GetManModule() to avoid infinite loop when there was no main module (#6358)
  • Fix error in windows environment provider when the environment variable has duplicates that differ only by case (#6489) (Thanks @mklement0!)
  • Make sure that the width of the header is at least the size of the label (or property name) (#6487)
  • Enable [Environment]::OSVersion to return current OS rather than compatible version (#6457)
  • Change the SaveError method in Parser to use nameof for error ids (#6498)
  • Fix error when Format-Wide -AutoSize | Out-String is called (#6491) (Thanks @stknohg!)
  • Make LanguagePrimitive.GetEnumerable treat DataTable as Enumerable (#6511)
  • Fix formatting of tables where headers span multiple rows (#6504)
  • Improve performance of parsing RegexOption for -split by using if branches (#6605) (Thanks @iSazonov!)
  • Enable specifying sshd subsystem to use via -Subsystem (#6603)
  • Add some optimizations in formatting subsystem (#6678) (Thanks @iSazonov!)
  • Throw better parsing error when statements should be put in named block (#6434)
  • Use Unregister-Event to remove an event subscriber when removing PSEdit function (#6449)
  • Make the PSISERemoteSessionOpenFile a support event (#6582)
  • Add -WorkingDirectory parameter to pwsh (#6612)
  • Support importing module paths that end in trailing directory separator (#6602)
  • Formatting: Use cache for dash padding strings for tables (#6625) (Thanks @iSazonov!)
  • Port Windows PowerShell AppLocker and DeviceGuard UMCI application white listing support (#6133)
  • Reduce allocations in TableWriter (#6648) (Thanks @iSazonov!)

General Cmdlet Updates and Fixes

  • Add -Resume Feature to WebCmdlets (#6447) (Thanks @markekraus!)
  • Support user@host:port syntax for SSH transport (#6558)
  • Add ported Test-Connection cmdlet (#5328) (Thanks @iSazonov!)
  • Added line break to Access-Denied error message (#6607)
  • Some fixes in Get-Date -UFormat (#6542) (Thanks @iSazonov!)
  • Added check for existence of Location HTTP header before using it (#6560) (Thanks @ffeldhaus!)
  • Enable Update-Help to save help content in user scope by default (#6352)
  • Update Enable-PSRemoting to create PowerShell.6 endpoint and version specific endpoint (#6519, #6630)
  • Update error message that Disconnect-PSSession is only supported with WSMan (#6689)
  • Make Export-FormatData print pretty XML output (#6691) (Thanks @iSazonov!)
  • Add -AsArray parameter to ConvertoTo-Json command (#6438)
  • Add Test-Json cmdlet (NJsonSchema) (#5229) (Thanks @iSazonov!)
  • Correct a typo in comment for Invoke-WebRequest (#6700) (Thanks @gabrielsroka!)
  • Re-order UFormat options in Get-Date (#6627) (Thanks @iSazonov!)
  • Add the parameter -Not to Where-Object (#6464) (Thanks @SimonWahlin!)

Code Cleanup

  • Engine: Fix several code cleanup issues (#6552, #6609)
  • Clean up workflow logic in the module loading component (#6523)
  • Engine: Clean up unneeded GetTypeInfo() calls (#6613, #6636, #6633, #6635, #6634)

Test

Build and Packaging Improvements

  • Use C# latest language in .csproj files (#6559) (Thanks @iSazonov!)
  • Update installpsh-<distrofamily>.sh installers to handle "preview" in version number (#6573) (Thanks @DarwinJS!)
  • Enable PowerShell.sln to work in VisualStudio (#6546)
  • Remove duplicate Restore-PSPackage (#6544)
  • Use -WorkingDirectory parameter to handle context menu when path contains single quotes (#6660) (Thanks @bergmeister!)
  • Make -CI not depend on -PSModuleRestore in Start-PSBuild (#6450)
  • Restore for official Linux arm builds (#6455)
  • Fix error about setting readonly variable in install-powershell.sh (#6617)
  • Make release macOS build work better (#6619, #6610)
  • MSI: add function to generate a MSP package (#6445)

Documentation and Help Content

  • Doc: Update Ubuntu source creation commands to use curl -o (#6510) (Thanks @M-D-M!)
  • Update stale bot message (#6462) (Thanks @iSazonov!)
  • Remove extraneous SSH and install docs from the 'demos' folder (#6628)

SHA256 Hashes of the release artifacts

  • powershell-6.1.0-preview.2-linux-arm32.tar.gz
    • CD5EF3073B2C2E97A440AC9ACC115B778CE415B16D0D47037A46E166FC771542
  • powershell-6.1.0-preview.2-linux-x64.tar.gz
    • 7373392DE1F319D6289299B4CA59651D3123593C7705810BC3400193E1AADD17
  • powershell-6.1.0-preview.2-1.rhel.7.x86_64.rpm
    • 04BD512418ABBE5C346226963664AB7E6D5196AAEAF9BB52AFCA450DA8FDBB71
  • powershell_6.1.0-preview.2-1.debian.8_amd64.deb
    • F8E2B3D5A4D9A5A2517CE775F6F1BC4E62E831B9CCB97B2DF3105B73C173F9DF
  • powershell_6.1.0-preview.2-1.debian.9_amd64.deb
    • 77BC4480F33377C6054189CB75190D0A04C0702161F3A6D32BF6AC5250CB8B90
  • powershell_6.1.0-preview.2-1.ubuntu.14.04_amd64.deb
    • B4FD5F105169CBDE2D7CF7DAB5B60AB20DE166DB6AA163FDF4D1EAF3FCEA93BF
  • powershell_6.1.0-preview.2-1.ubuntu.16.04_amd64.deb
    • FF4216CF2BAC06AB1A7A0200488ED4323F16F89217A3131DFB0CDF3362130D1E
  • powershell_6.1.0-preview.2-1.ubuntu.17.04_amd64.deb
    • DA3D259982EC860E05380A2D5C6F31B9852A0FD10C21C7F62F05FA994C82F400
  • PowerShell-6.1.0-preview.2-win-arm32.zip
    • C9C22198E5DAAAB3303C89C921D8AEC91D7137313B7E851506EE571664C05E6E
  • PowerShell-6.1.0-preview.2-win-arm64.zip
    • FD3CC8C25129B3368C2505971158800D14E2B810720E44B4BABAEC3A2E1C91E8
  • PowerShell-6.1.0-preview.2-win-x64.msi
    • 67817D6E381934B0DE6894CD6E62217EA1E8A21067F52002D2886A1C279DFC8B
  • PowerShell-6.1.0-preview.2-win-x64.zip
    • 1D86504C3241EB65771B3D96547C054AD8852AD06506AE47C82483ED72C20941
  • PowerShell-6.1.0-preview.2-win-x86.msi
    • AC8663B96BD91143B7C0CE76D7C4165427A25AC8713303218FFCF654ED0BBFF2
  • PowerShell-6.1.0-preview.2-win-x86.zip
    • 2172237F4146C4B3BA0BFBDD1B3CDAC71FA8D3C2008FA3C35465186FBDD9802C
  • powershell-6.1.0-preview.2-osx-x64.tar.gz
    • 208BE7A74077B6C6A512C3992F3F0500CA09AAE2CE325BDAEDAFBE954D2B2508
  • powershell-6.1.0-preview.2-osx.10.12-x64.pkg
    • CB1E6662043744DF5B1C48C7CFFB27137CC3765072946BBAE144CAD22E408B9D

v6.1.0-preview.1 Release of PowerShell Core

24 Mar 01:21
9bc81ad
Compare
Choose a tag to compare

v6.1.0-preview.1 - 2018-03-23

Known Issue

$PSVersionTable.PSVersion throw error - #6482

Breaking Changes

  • Throw terminating error in New-TemporaryFile and make it not rely on the presence of the TEMP environment variable (#6182) (Thanks @bergmeister!)
  • Remove the unnecessary AddTypeCommandBase class from Add-Type (#5407) (Thanks @iSazonov!)
  • Remove unsupported members from the enum Language in Add-Type (#5829) (Thanks @iSazonov!)
  • Fix range operator to work better with character ranges (#5732) (Thanks @iSazonov!)

Engine Updates and Fixes

  • Fix ValidateSet with generator in a module (#5702)
  • Update SAL annotation and fix warnings (#5617)
  • Add ForEach and Where methods to PSCustomobject (#5756) (Thanks @iSazonov!)
  • Add Count and Length properties to PSCustomobject (#5745) (Thanks @iSazonov!)
  • Make minor fixes in compiler to properly handle void type expression (#5764)
  • Logging: Fix the escaped characters when generating .resx file from PowerShell ETW manifest. (#5892)
  • Remove PSv2 only code from Types_Ps1Xml.cs and HostUtilities.cs (#5907) (Thanks @iSazonov!)
  • Enable passing arrays to pwsh -EncodedArguments on debug builds. (#5836)
  • Logging: Handle path that contains spaces in RegisterManifest.ps1 (#5859) (Thanks @tandasat!)
  • Add -settingsfile to pwsh to support loading a custom powershell config file. (#5920)
  • Return better error for pwsh -WindowStyle on unsupported platforms. (#5975) (Thanks @thezim!)
  • Enable conversions from PSMethod to Delegate (#5287) (Thanks @powercode!)
  • Minor code clean-up changes in tab completion code (#5737) (Thanks @kwkam!)
  • Add lambda support to -replace operator (#6029) (Thanks @IISResetMe!)
  • Fix retrieval of environment variables on Windows in cases where variable names differ only by case. (#6320)
  • Fix the NullRefException when using -PipelineVariable with DynamicParam block (#6433)
  • Add NullReference checks to two code paths related to PseudoParameterBinder (#5738) (Thanks @kwkam!)
  • Fix PropertyOnlyAdapter to allow calling base methods (#6394)
  • Improve table view for Certs and Signatures by adding EnhancedKeyUsageList and StatusMessage (#6123)
  • Fix the filtering of analytic events on Unix platforms. (#6086)
  • Update copyright and license headers (#6134)
  • Set pipeline thread stack size to 10MB (#6224) (Thanks @iSazonov!)

General Cmdlet Updates and Fixes

  • Fix the NullRefException in Enter-PSHostProcess (#5995)
  • Merge and Sort BasicHtmlWebResponseObject and ContentHelper in Web Cmdlets (#5720) (Thanks @markekraus!)
  • Encoding for New-ModuleManifest on all platforms should be UTF-8 NoBOM (#5923)
  • Make Set-Location use path with wildcard characters as literal if it exists (#5839)
  • Combine Web Cmdlets partial class files (#5612) (Thanks @markekraus!)
  • Change Microsoft.PowerShell.Commands.SetDateCommand.SystemTime to struct. (#6006) (Thanks @stknohg!)
  • Add Simplified multipart/form-data support to Web Cmdlets through -Form parameter (#5972) (Thanks @markekraus!)
  • Make a relative redirect URI absolute when Authorization header present (#6325) (Thanks @markekraus!)
  • Make relation-link handling in Web Cmdlets case-insensitive (#6338)
  • Make Get-ChildItem -LiteralPath accept Include or Exclude filter (#5462)
  • Stop ConvertTo-Json when Ctrl+c is hit (#6392)
  • Make Resolve-Path -Relative return useful path when $PWD and -Path is on different drive (#5740) (Thanks @kwkam!)
  • Correct the %c, %l, %k, %s and %j formats in Get-Date -UFormat (#4805) (Thanks @iSazonov!)
  • Add standard deviation implementation on Measure-Object (#6238) (Thanks @CloudyDino!)
  • Make Get-ChildItem <PATH>/* -file include <Path> as search directory (#5431)
  • Enable setting PSSession Name when using SSHTransport and add Transport property (#5954)
  • Add Path alias to -FilePath parameters and others for several commands (#5817) (Thanks @KevinMarquette!)
  • Add the parameter -Password to Get-PfxCertificate (#6113) (Thanks @maybe-hello-world!)
  • Don't add trailing spaces to last column when using Format-Table (#5568)
  • Fix table alignment and padding. (#6230)
  • Add -SkipHeaderValidation Support to ContentType on Web Cmdlets (#6018) (Thanks @markekraus!)
  • Add common aliases for all write-* commands default message parameter (#5816) (Thanks @KevinMarquette!)
  • Make UTF-8 the default encoding for application/json (#6109) (Thanks @markekraus!)
  • Enable $env:PAGER to work correctly if arguments are used (#6144)

Test

  • Convert Web Cmdlets test to one-true-brace-style formatting (#5716) (Thanks @markekraus!)
  • Add a test for IValidateSetValuesGenerator in a module (#5830) (Thanks @iSazonov!)
  • Fix function to test for docker OS due to change to use linuxkit for macOS (#5843)
  • Replace HttpListener tests with WebListener (#5806, #5840, #5872) (Thanks @markekraus!)
  • Stop HttpListener from running in Web Cmdlets tests (#5921) (Thanks @markekraus!)
  • Fix PSVersion in PSSessionConfiguration tests (#5554) (Thanks @iSazonov!)
  • Update test framework to support Pester v4 (#6064)
  • Update tests to use Pester v4 Syntax. (#6294, #6257, #6306, #6304, #6298)
  • Add negative tests for Copy-Item over remote sessions (#6231)
  • Markdown test: Use strict in JavaScript (#6328)
  • Add tests for Get-Process about the -Module and -FileVersion parameters (#6272)
  • Add test for the OsLocalDateTime property of Get-ComputerInfo. (#6253)
  • Change Get-FileHash tests to use raw bytes (#6430)
  • Remove runas.exe from tests as we have tags to control this behavior (#6432)
  • Refactor the Get-Content tests to use -TestCases. (#6082)
  • Use RequireAdminOnWindows tag in Set-Date tests (#6034) (Thanks @stknohg!)
  • Remove -TimeOutSec from non timeout related tests (#6055) (Thanks @markekraus!)
  • Add verbosity and more accurate timeout implementation for Start-WebListener (#6013) (Thanks @markekraus!)
  • Skip tests that use ExecutionPolicy cmdlets on Unix (#6021)
  • Change Web Cmdlet tests to use 127.0.0.1 instead of Localhost (#6069) (Thanks @markekraus!)
  • Fix Start-PSPester to include or exclude RequireSudoOnUnix tag smartly on Unix (#6241)
  • Fix the terse output on Windows for test runs without admin privilege (#6252)
  • Add RequireSudoOnUnix tag for Get-Help tests. (#6223)
  • Add tests for *-Item Cmdlets in function provider (#6172)
  • Support running tests in root privilege on Linux. (#6145)

Build and Packaging Improvements

  • Add option to add explorer shell context menu in Windows installer (#5774) (Thanks @bergmeister!)
  • Make the explorer shell context menu registry entries platform specific to allow side by side of x86 and x64. (#5824) (Thanks @bergmeister!)
  • Fix start menu folder clash of shortcut when x86 and x64 are both installed by appending (x86) for x86 installation. (#5826) (Thanks @bergmeister!)
  • Reduce image file sizes using lossless compression with imgbot (#5808) (Thanks @bergmeister!)
  • Windows installer: Allow Launch PowerShell checkbox to be toggled using the space bar. (#5792) (Thanks @bergmeister!)
  • Fix release packaging build (#6459)
  • Fail AppVeyor Build if MSI does not build (#5755) (Thanks @bergmeister!)
  • Cleanup temporarily created WiX files after compilation to be able to have a clean re-build (#5757) (Thanks @bergmeister!)
  • Fix install-powershell.ps1 for running during window setup (#5727)
  • Start using Travis-CI cache (#6003)
  • Fix build, packaging and installation scripts for SLES (#5918) (Thanks @tomconte!)
  • Update recommended WiX toolset link to be generic to WiX 3.x but mention that latest version of 3.11 has to be taken (#5926) (Thanks @bergmeister!)
  • Add service point manager call in Install-PowerShell.ps1 to force TLS1.2. (#6310) (Thanks @DarqueWarrior!)
  • Add -Restore when build win-arm and win-arm64 (#6353)
  • Make sure package verification failure fails the AppVeyor build (#6337)
  • Specify the runtime when running dotnet restore in Start-PSBuild (#6345)
  • Rename log and logerror to Write-Log [$message] [-error] (#6333)
  • Make Linux packages use correct version scheme for preview releases (#6318)
  • Add support for Debian in installpsh-debian.sh (#6314) (Thanks @pawamoy!)
  • MSI: Make preview builds to install Side by side with release builds (#6301)
  • Add TLS1.2 workaround for code coverage script (#6299)
  • Cleanup after Powershell install for CentOS and Fedora Docker images (#6264) (Thanks @strawgate!)
  • MSI: Update the environment variable PATH with proper value (#6441)
  • MSI: Remove the version from the product name (#6415)
  • Support non-GitHub commits in the change log generation script (#6389)
  • Fix secret and JavaScript compliance issues (#6408)
  • Remove AppVeyor specific cmdlet from Start-NativeExecution (#6263)
  • Restore modules from the NuGet package cache by using dotnet restore (#6111)
  • CI Build: Use TRAVIS_PULL_REQUEST_SHA to accurately get the commit message (#6024)
  • Use TLS1.2 on Windows during Start-PSBootstrap (#6235) (Thanks @CallmeJoeBob!)
  • Use TLS1.2 in Start-PSBootStrap without breaking HTTPS (#6236) (Thanks @markekraus!)
  • Add options to enable PSRemoting and register Windows Event Logging Manifest to MSI installer (#5999) (Thanks @bergmeister!)

Documentation and Help Content

  • Separate macOS from Linux install instructions. (#5823) (Thanks @thezim!)
  • Show usage (short) help if command line parameter is wrong (#5780) (Thanks @iSazonov!)
  • Add the breaking changes doc for 6.0.0 release. (#5620) (Thanks @maertendMSFT!)
  • Remove DockerFile for Fedora 25 and add DockerFile for Fedora 27 (#5984) (Thanks @seemethere!)
  • Add a missing step to prepare the b...
Read more

v6.0.2 release of PowerShell Core

15 Mar 18:00
Compare
Choose a tag to compare

v6.0.2 - 2018-03-15

Engine updates and fixes

Build and Packaging Improvements

  • Add Ubuntu build without AppImage (#6380)
  • Add scripts to set and or update the release tag in VSTS (#6107)
  • Fix DSC Configuration compilation (#6225)
  • Fix errors in Start-PSBootStrap during release builds (#6159)
  • Fix spelling failures in CI (#6191)
  • Use PowerShell windowsservercore Docker image for release builds (#6226)
  • Use ADD instead of Invoke-WebRequest in nanoserver Docker file (#6255)
  • When doing daily/test build in a non-release branch use the branch name as the preview name (#6355)
  • Add Environment Variable override of telemetry (#6063) (Thanks, @diddledan!)
  • Build: Remove two unneeded lines from 'Invoke-AppveyorFinish' (#6344)
  • MSI: Refactor New-MsiPackage into packaging.psm1
    and various fixes to enable patching
    (#5871, #6221, #6254, #6303, #6356, #6208, #6334, #6379, #6094, #6192)
  • MSI: Use HKLM instead of HKCU registry keys since the current installation scope is perMachine. (#5915) (Thanks @bergmeister!)

SHA256 Hashes of the release artifacts

  • powershell_6.0.2-1.debian.8_amd64.deb
    • E19D71FDDABBAA34F7113B5F93D9E7A9560C629C151A0D3A2DDC1AB3DA608C04
  • powershell_6.0.2-1.debian.9_amd64.deb
    • 46C88AF987CC1A9709BDF59A170597D8F66A7C03725475EB65E4F511B75A16AC
  • powershell_6.0.2-1.ubuntu.14.04_amd64.deb
    • 6B25681E93B361811EB88042120D11B4A2F39B3846DF7123DBCE573B4AF9C5C3
  • powershell_6.0.2-1.ubuntu.16.04_amd64.deb
    • 9E16D366277BC51BF2AA3E610989CC69F9F41F0274DCE03D7BA4571B3FA895CF
  • powershell_6.0.2-1.ubuntu.17.04_amd64.deb
    • 032431DF1D5D7AFF1287F94C3D85C06FFB55949B3A0637F6DFBD47B8EC3F9CAC
  • powershell-6.0.2-1.rhel.7.x86_64.rpm
    • 9E1455B27886B377C5AC96B76ED47E5047EA5BA9A9073BF445EC7696EC5EABD5
  • powershell-6.0.2-linux-arm32.tar.gz
    • EFE610860DFB34A8F09C30204BC9A44BDA13E205F9BF7BF300FE0CBECC2E1790
  • powershell-6.0.2-linux-x64.tar.gz
    • 092F628A7F1672C8FB46EC0D7EC90590B8CD372188DE3243E2E18660C9EC6F29
  • powershell-6.0.2-osx-x64.tar.gz
    • F2311BDA90CA02251D9AD930BE2167B6B906B3EA6B62EF323CA79FA4B5AA3B31
  • powershell-6.0.2-osx.10.12-x64.pkg
    • C757808305076570CC0945FEAB8433A3488500A3558DEA4DD4BB8E5A770DEA99
  • PowerShell-6.0.2-win-arm32.zip
    • 3E04542FEE481B3A9AF9119B471A80BDCC80C9670E152BC3FA5C3198E9046669
  • PowerShell-6.0.2-win-arm64.zip
    • D9D5B311D710D34F825A4935F740AE57618F6F5E14976AFB5A8DA802011B2AC8
  • PowerShell-6.0.2-win-x64.msi
    • 48EB15306876ED800A8E510873ED7A60C74858454C66A31E565D28C1EF7EAF2F
  • PowerShell-6.0.2-win-x64.zip
    • 8CB153E540ED9D9A7FE00CB3D1FE94A0ED089B574FD02E816AB2BB066F4C4F89
  • PowerShell-6.0.2-win-x86.msi
    • A707FB93EEBF1C43BC09EECE29B26AF9E71A25AA9E7E81E9B78A735BFFD2F300
  • PowerShell-6.0.2-win-x86.zip
    • 87048B0A2DBD56AA8FE1F92DDB7D7BBF8E904F8D54EE2A62443C7B31AE9E55F8

v6.0.1 release of PowerShell Core

25 Jan 22:14
67c9ae4
Compare
Choose a tag to compare

v6.0.1 - 2018-01-25

Engine updates and fixes

Build and Packaging Improvements

  • Re-release of v6.0.0 as v6.0.1 due to issues upgrading from pre-release versions

Test

  • Update regular expression to validate GitCommitId in $PSVersionTable to not require a pre-release tag (#5893)

SHA256 Hashes of the release artifacts

  • powershell_6.0.1-1.debian.8_amd64.deb
    • 7BEC6CAB52B6799F7B9691BFF1312FD13506DBADACBDB2E4913FCCF8F484FEC3
  • powershell_6.0.1-1.debian.9_amd64.deb
    • 54169A8E9706022BD0F4B511C8461D3EE8C3AE1311E9D8D80E3BC5E7EEB219A0
  • powershell_6.0.1-1.ubuntu.14.04_amd64.deb
    • 084E584A2C3A998F34174C3B5FBF2ACAAE48311F2CCAD796066196E357FAEBD5
  • powershell_6.0.1-1.ubuntu.16.04_amd64.deb
    • 9AC42BC099249003B614997A211B67447C6A469BF3C373E9BDCD2286F0D0E7F5
  • powershell_6.0.1-1.ubuntu.17.04_amd64.deb
    • 5166FA07C99E6D37E799DA248D3CAC874923503DFCD854FDCA9A5A00E5050520
  • powershell-6.0.1-1.rhel.7.x86_64.rpm
    • 8746A7A00B100242D15F2649AE78317F3B6FCDECC8915D400ADF9E5CF23C2862
  • powershell-6.0.1-linux-arm32.tar.gz
    • 2618771F388729B79457CACA093346C25629C509CD9456E7B8C9B2F722B9A263
  • powershell-6.0.1-linux-x64.tar.gz
    • B906BC7F44D597271C115D0F77F49D453AAA2292D15B1974838653D4FB9E9CF9
  • powershell-6.0.1-osx-x64.tar.gz
    • 1A2455AEC8830805502ACC5EC3CCDD5193F7B5724C3F5C7560870EC8698FC951
  • powershell-6.0.1-osx.10.12-x64.pkg
    • CABED843A513666A658702A5E96DEEB6D02D895410DDCB81DA3481BDE8CA2093
  • PowerShell-6.0.1-win-arm32.zip
    • 88896BF23A79F1AC9D9794DFF6B92C270E74057F7D61639D91490D7F87C51F3A
  • PowerShell-6.0.1-win-arm64.zip
    • E0FB199800255E2D7A50BA0BF26F64D08B329083495C2A9D9C4EB688F2CD5B1B
  • PowerShell-6.0.1-win-x64.msi
    • 436A480459A5F38D4F07EBE195113D1B1698CDF5377015645ED710324A1900F7
  • PowerShell-6.0.1-win-x64.zip
    • EE2AA13D34ADFDB54FADE86995D3F54DBB1D40995C32E8DDCAC38327CA358083
  • PowerShell-6.0.1-win-x86.msi
    • 7C0886EA85F097DD3D435A0C725FB33DA6E807A3E1F5E7E3667C7405B6C68405
  • PowerShell-6.0.1-win-x86.zip
    • 4BAA8F90D49F9EB7F6FAFBC00336FD1D69233EB86C6E53A3F67DE964B1F18325
  • powershell-6.0.1-x86_64.AppImage
    • E4EA4A2C52ABB7722BBAD61ACD753FE3CEEE9E029B2E057E34E2813CFCF71B1D

v6.0.0 release of PowerShell Core

20 Jan 00:19
2f81861
Compare
Choose a tag to compare

Breaking changes

  • Remove sc alias which conflicts with sc.exe (#5827)
  • Separate group policy settings and enable policy controlled logging in PowerShell Core (#5791)

Engine updates and fixes

  • Handle DLLImport failure of libpsrpclient in PowerShell Remoting on Unix platforms (#5622)

Test

  • Replace lee.io Tests with WebListener (#5709) (Thanks @markekraus!)
  • Update the docker based release package tests due to the removal of Pester module and other issues (#5692)
  • Replace Remaining HttpBin.org Tests with WebListener (#5665) (Thanks @markekraus!)

Build and Packaging Improvements

  • Update x86 and x64 MSI packages to not overwrite each other (#5812) (Thanks @bergmeister!)
  • Update Restore-PSPester to include the fix for nested describe errors (#5771)
  • Automate the generation of release change log draft (#5712)

Documentation and Help Content

  • Updated help Uri to point to latest help content for Microsoft.PowerShell.Core module (#5820)
  • Update the installation doc for Raspberry-Pi about supported devices (#5773)
  • Fix a typo and a Markdown linting error in the Pull Request Template (#5807) (Thanks @markekraus!)
  • Update submodule documentation for pester removal (#5786) (Thanks @bergmeister!)
  • Change Github to GitHub in CONTRIBUTING.md (#5697) (Thanks @stuntguy3000!)
  • Fix incorrect release date on the changelog (#5698) (Thanks @SwarfegaGit!)
  • Add instructions to deploy win-arm build on Windows IoT (#5682)

SHA256 Hashes of the release artifacts

Note: powershell-6.0.0-osx.10.12-x64.pkg was previously uploaded with the following hash. We replaced it with the version listed with the rest of the hashed because the previous version was not signed. Previous Hash: 396BBB5907FD0EC0BDFBFE0BF01961B52B4F1F1CEDDC95467DD9ECD4FA5281DF

  • powershell_6.0.0-1.debian.8_amd64.deb
    • 4A805E7B276646ECD4CD7A33D9B701CA9893FCB3F502E9D87207E1A017CDD7AC
  • powershell_6.0.0-1.debian.9_amd64.deb
    • 14CD9082B827E987F63D1539FA5EB448DC9F5F55B927F51D331010B7C35CFD19
  • powershell_6.0.0-1.ubuntu.14.04_amd64.deb
    • 690DD94132C841C379A0456E89A7F494379C790E873B55FA3DB2C2E6108447D2
  • powershell_6.0.0-1.ubuntu.16.04_amd64.deb
    • A1C4981BB8059D7052DD723BA40F1FF4AD1F8ED3CB037A7D20699FB47AAE9CEE
  • powershell_6.0.0-1.ubuntu.17.04_amd64.deb
    • 5A316C60E1D8FB4673D1374BF641CF42D3EC8274D3B606A35AF937198C374F3F
  • powershell-6.0.0-1.rhel.7.x86_64.rpm
    • BA625BA77D6E75550E227BF408325BFF25CFFBA1911AC74A8DC11154AEB8314F
  • powershell-6.0.0-linux-arm32.tar.gz
    • 65831535A136FFE53077864D55D2F7E51E7DD1CB52CA38E9000032F09B244E86
  • powershell-6.0.0-linux-x64.tar.gz
    • 2CCC89CC6C99FF607FF5D82F2DBBEC05C60E0494C75DC500CD46F2EDCC7624FE
  • powershell-6.0.0-x86_64.AppImage
    • B1E1E435EC3BEC5BBC350F6E6B9110B4A98D56CC5DA203B234C386139B1477E5
  • PowerShell-6.0.0-win-arm32.zip
    • 05C3BD906ECBDD87B2799F720172FA9B5AB5BCF17127DA9DF44765BA76FF310B
  • PowerShell-6.0.0-win-arm64.zip
    • 2B308C2435270C1429146B3D309167C7B9BAF3524D3665DA9A703091171FDA2A
  • PowerShell-6.0.0-win-x64.msi
    • A1155D0F9D697B3EBF51C03D328886F9000709C1C4688DA42FF9C234AF02A63F
  • PowerShell-6.0.0-win-x64.zip
    • FE6C17E9829FFD0503917A1A4ACC3E75A203A80B28E2D9EFFDD7F0AB576F7D5D
  • PowerShell-6.0.0-win-x86.msi
    • 494DF01BFF5A007F98761A5088E6E4AA6754808DEE0CBF096FFF171D1233E8FC
  • PowerShell-6.0.0-win-x86.zip
    • 8E32785547FDD90412FA3A8FA4703D272933999F3D29CAE9FEDA19119B3A2D46
  • powershell-6.0.0-osx-x64.tar.gz
    • B23BDB6A89238C64D7C7A125EB28554693502D6203A9E8EFA84E583F63E44B11
  • powershell-6.0.0-osx.10.12-x64.pkg
    • 74C4D1BA68958DF7630327C3EA0C3B9C40181FD748B82738B54941A6863E3859

v6.0.0-rc.2 release of PowerShell Core

14 Dec 22:22
02cc3db
Compare
Choose a tag to compare

Breaking changes

  • Skip null-element check for collections with a value-type element type (#5432)
  • Make AllSigned execution policy require modules under $PSHome to be signed (#5511)

Engine updates and fixes

  • Update PowerShell to use 2.0.4 dotnet core runtime. (#5677)
  • Remove references to the old executable powershell or powershell.exe (#5408)

General cmdlet updates and fixes

  • Remove unnecessary check for Paths.count > 0, in the *-FileCatalog CmdLets (#5596)
  • Use explicit libpsl-native binary name for dllimport. (#5580)

Build and Packaging Improvements

  • Fix Get-EnvironmentInformation to properly check for CoreCLR (#5592) (Thanks @markekraus!)
  • Make Travis CI use libcurl+openssl+gssapi (#5629) (Thanks @markekraus!)
  • Disambiguate icon for daily builds on Windows (#5467) (Thanks @bergmeister!)
  • Fix Import-CliXml tests which still use powershell instead of pwsh and make sure it fails if it regresses (#5521) (Thanks @markekraus!)
  • Update port number used for WebCmdlets tests which broke due to a change in AppVeyor (#5520) (Thanks @markekraus!)
  • Clean up use of Runspaceconfiguration from comments and xUnit test code (#5569) (Thanks @Bhaal22!)
  • Replace HttpListener Response Tests with WebListener (#5540, #5605) (Thanks @markekraus!)
  • Fix the path to powershell_xxx.inc in Start-Build (#5538) (Thanks @iSazonov!)
  • Remove Pester as a module include with the PowerShell Packages.
    You should be able to add it by running Install-Module Pester. (#5623, #5631)
  • Refactor New-UnixPackaging into functions to make the large function more readable. (#5625)
  • Make the experience better when Start-PSPester doesn't find Pester (#5673)
  • Update packaging and release build scripts to produce zip packages for win-arm and win-arm64 (#5664)
  • Enable Install-Debian to work with VSTS Hosted Linux Preview (#5659)
  • Add linux-arm tarball package to release build (#5652, #5660)
  • Enable building for win-arm and win-arm64 (#5524)
  • Make macOS package require 10.12 or newer (#5649, #5654)
  • Update signing subjects to something meaningful (#5650)
  • Make New-UnixPackage more readable (#5625)
  • Update PowerShellGet tests to validate the new install location of AllUsers scope. (#5633)
  • Increase reliability of flaky test that fails intermittently in CI (#5641)
  • Exclude markdown files from Pester folder from the Markdown meta test (#5636)
  • Run tests for Windows installer only on Windows (#5619)
  • Suppress the expected errors from Select-Xml tests (#5591)
  • Add retry logic to prerequisite URL and output URL on failure so you can more easily troubleshoot (#5601, #5570)
  • Make sure submodule are initialized when running Mac release build (#5496)
  • Remove duplicate files in Windows packages in a folder called signed (#5527)
  • Add PowerShell VSCode style settings (#5529) (Thanks @bergmeister!)
  • Add Travis CI matrix for improved job tagging (#5547)
  • Remove community docker files from official docker image validation (#5508)

Documentation and Help Content

  • XML documentation fix for CompletionResult (#5550) (Thanks @bergmeister!)
  • Change synopsis of install-powershell.ps1 to reflect that it works cross-platform (#5465) (Thanks @bergmeister!)
  • Add more helpful message for AmbiguousParameterSet exception (#5537) (Thanks @kvprasoon!)
  • Update the contribution guideline to note that updating the changelog is required. (#5586)
  • Updated doc to build arm/arm64 versions of psrp.windows and PowerShell.Core.Instrumentation.dll libraries (#5668)
  • Update Contribution guidelines with work in progress guidance (#5655)
  • Update code coverage tests to get GitCommitId using the ProductVersion from Assembly (#5651)
  • Remove requirement to updating changelog update in PR (#5644, #5586)
  • Minor refactoring of the release build scripts (#5632)
  • Update PowerShell executable name in using-vscode.md (#5593)
  • Fix xUnit test for PS (#4780)
  • Update install link and instructions for R-Pi (#5495)

Compliance Work

Compliance work is required for Microsoft to continue to sign and release packages from the project as official Microsoft packages.

  • Remove PerformWSManPluginReportCompletion, which was not used, from pwrshplugin.dll (#5498) (Thanks @bergmeister!)
  • Remove exclusion for hang and add context exception for remaining instances (#5595)
  • Replace strlen with strnlen in native code (#5510)

SHA256 Hashes of the release artifacts

  • powershell-6.0.0-rc.2-linux-arm32.tar.gz
    • 4A5D1012FF1FEF82B29A6BDBC14B40B5481D94D63CA71F889F0BDF1E18066BED
  • powershell-6.0.0-rc.2-linux-x64.tar.gz
    • D5E9389A1FBB275AC2EDD98A28A3D57AC174EE36B211BD34442653E830AE53BE
  • powershell-6.0.0-rc.2-x86_64.AppImage
    • 819242BDD831D99BA4C722562E93534000CA4A06ADCE90B6C6A155FBE5235E06
  • powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm
    • D00326732F51957CD75164CA9EF244A675F8020A1CF7EA6CD065AA16E69B8A88
  • powershell_6.0.0-rc.2-1.debian.8_amd64.deb
    • F75DCC74B03CB5610E0E6104EC1D6ADE76E8D25DFCBEA424A5A78474CAFEF250
  • powershell_6.0.0-rc.2-1.debian.9_amd64.deb
    • C1006633F1FF103BE7DB345E76C69F5664FE233135CB2D25E4CD06024A8EDE5E
  • powershell_6.0.0-rc.2-1.ubuntu.14.04_amd64.deb
    • 5EAC9B532DEB0BD1EDF9DABE9213EB0A82A1B65E8300D01E36D6C9671DBDF02C
  • powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb
    • 6CD9B68266A95A9F1295109DB2BC8933E9B65C4931EF11D3D94DB9B209A299CE
  • powershell_6.0.0-rc.2-1.ubuntu.17.04_amd64.deb
    • 95D813A4D8CB159F5F68F5372F7876C7367C24E526DBB3929976671C5A3FCF2A
  • PowerShell-6.0.0-rc.2-win-arm32.zip
    • 2C7EEBD3EF3A33EB4F3D7849E82526541F10D273BB9F6DD81BCDAC3DA1739485
  • PowerShell-6.0.0-rc.2-win-arm64.zip
    • 6E922C9BBD0CDE2875061CFF241956FDFCE3E0987A5B41342AD4FCBCD3E826AF
  • PowerShell-6.0.0-rc.2-win-x64.msi
    • DACE51D011EC5C0F9AC2B0E773799B2E8E5FDEA85375A569E98CA7C9C4A44D96
  • PowerShell-6.0.0-rc.2-win-x64.zip
    • D225B274923E554E14E4B64EA63E470F44ACF11B050C8C12AFDFD7E54677C443
  • PowerShell-6.0.0-rc.2-win-x86.msi
    • E8A834D0785E0032E16E56351EF72CD1CDC4C3D9B2CA4DCAF86B070B72560A12
  • PowerShell-6.0.0-rc.2-win-x86.zip
    • D47FB1B7067FC720B9D44B17563FE2232CDC52F90F97B0E84DB1EB90A866AF19
  • powershell-6.0.0-rc.2-osx-x64.tar.gz
    • 1615D48FD665FBFD758F86A31CC078513736245F529A654B02353838EF06D505
  • powershell-6.0.0-rc.2-osx.10.12-x64.pkg
    • DD6C73C55CF34190CBA7E9F955D70FA383C616B9A8E3DB99A1E3167E5C646558

v6.0.0-rc release of PowerShell Core

18 Nov 00:08
Compare
Choose a tag to compare

Breaking changes

  • Fix -Verbose to not override $ErrorActionPreference. (#5113)
  • Fix Get-Item -LiteralPath a*b to return error if a*b doesn't actually exist. (#5197)
  • Remove AllScope from most default aliases to reduce overhead on creating new scopes. (#5268)
  • Change $OutputEncoding default to be UTF8 without BOM rather than ASCII. (#5369)
  • Add error on legacy credential over non-HTTPS for Web Cmdlets. (#5402) (Thanks @markekraus!)
  • Fix single value JSON null in Invoke-RestMethod. (#5338) (Thanks @markekraus!)
  • Add PSTypeName Support for Import-Csv and ConvertFrom-Csv. (#5389) (Thanks @markekraus!)

Engine updates and fixes

  • Add char range overload to the .. operator, so 'a'..'z' returns characters from 'a' to 'z'. (#5026) (Thanks @IISResetMe!)
  • Remove CommandFactory because it serves no real purpose. (#5266)
  • Change to not insert line breaks at console window width to output (except for tables). (#5193)
  • Use Ast for context in parameter binding and fix to glob the native command argument only when it's not quoted. (#5188)
  • Fix dynamic class assembly name. (#5292)
  • Update powershell to use 2.0.4-servicing dotnet core runtime. (#5295)
  • Fix ExecutionContext.LoadAssembly to load with name when file cannot be found. (#5161)
  • Speed up the check for suspicious content in script texts. (#5302)
  • Use native os_log APIs on macOS for PowerShell Core logging. (#5310)
  • Redirect ETW logging to Syslog on Linux. (#5144)
  • Improve how we pass the array literal to native commands. (#5301)
  • Make SemanticVersion compatible with SemVer 2.0. (#5037) (Thanks @iSazonov!)
  • Revert refactoring changes that broke remoting to Windows PowerShell 5.1. (#5321)
  • Port some fixes in Job for an issue that causes PowerShell to not respond. (#5258)
  • Multiple improvements by CodeRush static analysis. (#5132) (Thanks @Himura2la!)
  • Fix the Runspace cleanup issue that causes PowerShell to not respond on exit. (#5356)
  • Update PowerShell to depend on new version of psrp and libmi nuget packages on Unix platforms. (#5469)

General cmdlet updates and fixes

  • Add -AsHashtable to ConvertFrom-Json to return a Hashtable instead. (#5043) (Thanks @bergmeister!)
  • Fix Import-module to not report a loaded module was not found. (#5238)
  • Fix performance issues in Add-Type. (#5243) (Thanks @iSazonov!)
  • Fix PSUserAgent generation for Web Cmdlets on Windows 7. (#5256) (Thanks @markekraus!)
  • Remove DCOM support from *-Computer cmdlets. (#5277)
  • Add multiple link header support to Web Cmdlets. (#5265) (Thanks @markekraus!)
  • Use wider columns for process id and user. (#5303)
  • Add Remove-Alias Command. (#5143) (Thanks @PowershellNinja!)
  • Update installpsh-suse.sh to work with the tar.gz package. (#5309)
  • Add Jobject serialization support to ConvertTo-Json. (#5141)
  • Display full help with 'help' function. (#5195) (Thanks @rkeithhill!)
  • Fix help function to not pipe to more if objects are returned instead of help text. (#5395)
  • Fix Unblock-File to not write an error if the file is already unblocked. (#5362) (Thanks @iSazonov!)
  • Clean up FullCLR code from Web Cmdlets. (#5376) (Thanks @markekraus!)
  • Exclude cmdlets that are not supported on Unix platforms. (#5083)
  • Make Import-Csv support CR, LF and CRLF as line delimiters. (#5363) (Thanks @iSazonov!)
  • Fix spelling in Web Cmdlet errors. (#5427) (Thanks @markekraus!)
  • Add SslProtocol support to Web Cmdlets. (#5329) (Thanks @markekraus!)

Build and Packaging Improvements

  • Use RCEdit to embed icon and version information into pwsh.exe. (#5178)
  • Update Docker file for Nano Server 1709 release. (#5252)
  • Change VSCode build task to use pwsh. (#5255)
  • Refactor building and packaging scripts for signing in release build workflow. (#5300)
  • Always build with -CrossGen in CI to verify a fix in CrossGen tool. (#5315)
  • Separate Install-PowerShellRemoting.ps1 from psrp.windows nuget package. (#5330)
  • Include symbols folder an embedded zip when packaging symbols. (#5333)
  • Add Uniform Type Identifier conforming with Apple standards using a reverse DNS style prefix. (#5323)
  • Update Wix toolset download link to newer version 3.11 (#5339) (Thanks @bergmeister!)
  • Re-enable macOS launcher after fixing an issue that blocked macOS package generation. (#5291) (Thanks @thezim!)
  • Set expected binaries and variable name for folder for symbols build. (#5357)
  • Rename and update PowerShell ETW manifest to remove the Windows PowerShell dependency. (#5360)
  • Add ability to produce tar.gz package for Raspbian. (#5387)
  • Update Find-Dotnet to find dotnet with the compatible SDK. (#5341) (Thanks @rkeithhill!)
  • Add signing manifest and script to update it with production values. (#5397)
  • Add install-powershell.ps1 to install PowerShell Core on windows. (#5383)
  • Make -Name a dynamic parameter in Start-PSPackage. (#5415)
  • Support [package] tag in PR CI and fix nightly build on macOS. (#5410)
  • Enhance install-powershell.ps1 to work on Linux and macOS. (#5411)
  • Move the RCEdit step to the build phase rather than the packaging phase. (#5404)
  • Allow packaging from a zip package to allow for signing. (#5418)
  • Add automation to validate PowerShell Core packages using Docker containers. (#5401)
  • Fix the brew update issue in bootstrap script. (#5400)
  • Enable install-powershell.ps1 to update the current running PowerShell Core. (#5429)
  • Add standard set of VSCode workspace setting files. (#5457) (Thanks @rkeithhill!)
  • Add support for installing PowerShell Core on Amazon Linux via install-powershell.sh. (#5461) (Thanks @DarwinJS!)
  • Get PowerShellGet and PackageManagement from the PowerShell Gallery. (#5452)
  • Fix Start-PSBuild on WSL if repository was already built on Windows. (#5346) (Thanks @bergmeister!)
  • Fix build in VSCode and use an improved version of tasks.json from @rkeithhill. (#5453)
  • Add scripts for signing packages in the release build workflow. (#5463)

Documentation and Help Content

  • Fix the codebase to use the consistent copyright string. (#5210)
  • Add documentation about how to create libpsl and psrp.windows nuget packages. (#5278)
  • Add help strings in PowerShell banner. (#5275) (Thanks @iSazonov!)
  • Change all links in README.md to absolute as they are being used in other places outside of GitHub. (#5354)
  • Update instructions to build on VSCode based on pwsh. (#5368)
  • Update FAQ.md about how to use PowerShell Core nuget packages. (#5366)
  • Correct the Fedora documentation (#5384) (Thanks @offthewoll!)
  • Add instructions about how to create the PowerShell.Core.Instrumentation nuget package. (#5396)
  • Updated PowerShell to use the latest help package. (#5454)

Compliance Work

Compliance
work is required for Microsoft to continue to sign and release packages from the project as official Microsoft packages.

  • Replace the word hang with something more appropriate and add rules about other terms. (#5213, #5297, #5358)
  • Use simplified names for compliance folders (#5388)
  • Add compliance label description (#5355)
  • Set requestedExecutionLevel to asInvoker for pwsh.exe on Windows. (#5285)
  • Add HighEntropyVA to building pwsh. (#5455)

SHA256 Hashes of the release artifacts:

  • powershell_6.0.0-rc-1.debian.8_amd64.deb
    • 57B8F7ECCF6BF1CB1ED547952E389D6793D5E9FFD6884DF3E0F099566119FCB8
  • powershell_6.0.0-rc-1.debian.9_amd64.deb
    • 03AE7A5A9821C48FD31C7F2D07ED814B306F4943CF4CF58CA1B367FA2F7B5A70
  • powershell_6.0.0-rc-1.ubuntu.14.04_amd64.deb
    • 85F5B36163655CE509A21A0B8E70878F190DADB95730FA7FC76BC8A213A57271
  • powershell_6.0.0-rc-1.ubuntu.16.04_amd64.deb
    • 16027D471EAF0F5F3B6B6090A93B9B0689D7650826803F94BD851B47C8170B67
  • powershell_6.0.0-rc-1.ubuntu.17.04_amd64.deb
    • F4654B3997216DA9AE1C10E4C451414970D7053377D820E234E4A42D710979D7
  • powershell-6.0.0_rc-1.rhel.7.x86_64.rpm
    • 3BB8117EAA88F8406FFE5F9CC92908F6C1EED37E1541B97CF006D72B817B8193
  • powershell-6.0.0-rc-linux-arm32.tar.gz
    • 312A575F80B4E8CF0E7419A2460BF135A33143153D08821BA4600D97F32B5621
  • powershell-6.0.0-rc-linux-x64.tar.gz
    • 7F47F81494D880031D60357E1105EBD29732821BA278C87C15E6A3E103C6C4E1
  • powershell-6.0.0-rc-osx-x64.tar.gz
    • 2C5183776D3FD03C69950D5E86831F9513757E7D7D9A20EA82AD5C6980E9544C
  • powershell-6.0.0-rc-osx.10.12-x64.pkg
    • 187DC2772E06319A8E71C71197A8A8287CB12515C4A9E6A9546DEC717720609C
  • PowerShell-6.0.0-rc-win-x64.msi
    • 92B6FBB0784F7C0AD778BABB6A678A27CDDD6D49E585B6CC9770AC603C6A04F4
  • PowerShell-6.0.0-rc-win-x64.zip
    • 076BB3A71044CE68352E010F55C4319F6FFFD5B47E3CD0173F14A3FEE77B4CEE
  • PowerShell-6.0.0-rc-win-x86.msi
    • DAF927B5F51583E044FF70092DFB3B07310CCC8051BC7E48D105C4479B879F68
  • PowerShell-6.0.0-rc-win-x86.zip
    • B8028B07CD30D88CF374BC6655A3E08D89B99EAE8DBCE63100214B75044578CA
  • powershell-6.0.0-rc-x86_64.AppImage
    • 9F5E0D399FEACF81BF22FFBF29B557B3F7897DD7D2BB17923DA856B694FEED78

v6.0.0-beta.9 release of PowerShell Core

25 Oct 16:39
Compare
Choose a tag to compare

v6.0.0-beta.9 - 2017-10-24

Note: Starting from this release, the PowerShell Core executable is renamed to be pwsh (see the issue #4214 for the discussion details). We also start to provide PowerShell Core binary archive packages for Linux and macOS for advanced deployment.

Breaking changes

  • Fix ValueFromRemainingArguments to have consistent behavior between script and C# cmdlets. (#2038) (Thanks @dlwyatt)
  • Remove parameters -importsystemmodules and -psconsoleFile from powershell.exe. (#4995)
  • Removed code to show a GUI prompt for credentials as PowerShell Core prompts in console. (#4995)
  • Remove -ComputerName from Get/Set/Remove-Service. (#5094)
  • Rename the executable name from powershell to pwsh. (#5101)
  • Remove RunspaceConfiguration support. (#4942)
  • Remove -ComputerName support since .NET Core Process.GetProcesses(computer) returns local processes. (#4960)
  • Make -NoTypeInformation the default on Export-Csv and ConvertTo-Csv. (#5164) (Thanks @markekraus)
  • Unify cmdlets with parameter -Encoding to be of type System.Text.Encoding. (#5080)

Engine updates and fixes

  • Fix PowerShell to update the PATH environment variable only if PATH exists. (#5021)
  • Enable support of folders and files with colon in name on Unix. (#4959)
  • Fix detection of whether -LiteralPath was used to suppress wildcard expansion for navigation cmdlets. (#5038)
  • Enable using filesystem from a UNC location. (#4998)
  • Escape trailing backslash when dealing with native command arguments. (#4965)
  • Change location of ModuleAnalysisCache so it isn't shared with Windows PowerShell. (#5133)
  • Put command discovery before scripts for Unix. (#5116)

General cmdlet updates and fixes

  • Correct comma position in SecureStringCommands.resx. (#5033) (Thanks @markekraus)
  • User Agent of Web Cmdlets now reports the OS platform (#4937) (Thanks @LDSpits)
  • Add the positional parameter attribute to -InputObject for Set-Service. (#5017) (Thanks @travisty-)
  • Add ValidateNotNullOrEmpty attribute to -UFormat for Get-Date. (#5055) (Thanks @DDWR)
  • Add -NoNewLine switch for Out-String. (#5056) (Thanks @raghav710)
  • Improve progress messages written by Web Cmdlets. (#5078) (Thanks @markekraus)
  • Add verb descriptions and alias prefixes for Get-Verb. (#4746) (Thanks @Tadas)
  • Fix Get-Content -Raw to not miss the last line feed character. (#5076)
  • Add authentication parameters to Web Cmdlets. (#5052) (Thanks @markekraus)
    • Add -Authentication that provides three options: Basic, OAuth, and Bearer.
    • Add -Token to get the bearer token for OAuth and Bearer options.
    • Add -AllowUnencryptedAuthentication to bypass authentication that is provided for any transport scheme other than HTTPS.
  • Fix MatchInfoContext clone implementation (#5121) (Thanks @dee-see)
  • Exclude PSHostProcess cmdlets from Unix platforms. (#5105)
  • Fix Add-Member to fetch resource string correctly. (#5114)
  • Enable Import-Module to be case insensitive. (#5097)
  • Add exports for syslog APIs in libpsl-native. (#5149)
  • Fix Get-ChildItem to not ignore -Depth parameter when using with -Include or -Exclude. (#4985) (Thanks @Windos)
  • Added properties UserName, Description, DelayedAutoStart, BinaryPathName and StartupType to the ServiceController objects returned by Get-Service. (#4907) (Thanks @joandrsn)

Build and Packaging Improvements

  • Treat .rtf files as binary so EOL don't get changed. (#5020)
  • Improve the output of tools/installpsh-osx.sh and update Travis-CI to use Ruby 2.3.3. (#5065)
  • Improve Start-PSBootstrap to locate dotnet SDK before installing it. (#5059) (Thanks @PetSerAl)
  • Fix the prerequisite check of the MSI package. (#5070)
  • Support creating tar.gz package for Linux and macOS. (#5085)
  • Add release builds that produce symbols for compliance scans. (#5086)
  • Update existing Docker files for the Linux package changes. (#5102)
  • Add compiler switches and replace dangerous function with safer ones. (#5089)
  • Add macOS launcher. (#5138) (Thanks @thezim)
  • Replace httpbin.org/response-headers Tests with WebListener. (#5058) (Thanks @markekraus)
  • Update appimage.sh to reflect the new name pwsh. (#5172)
  • Update the man help file used in packaging. (#5173)
  • Update to use pwsh in macOS launcher. (#5174) (Thanks @thezim)
  • Add code to send web hook for Travis-CI daily build. (#5183)
  • Add global.json to pick correct SDK version. (#5118) (Thanks @rkeithhill)
  • Update packaging to only package PowerShell binaries when packaging symbols. (#5145)
  • Update Docker files and related due to the name change. (#5156)

Code Cleanup

  • Clean up Json cmdlets. (#5001) (Thanks @iSazonov)
  • Remove code guarded by RELATIONSHIP_SUPPORTED and SUPPORTS_IMULTIVALUEPROPERTYCMDLETPROVIDER, which has never been used. (#5066)
  • Remove PSMI code that has never been used. (#5075)
  • Remove unreachable code for Stop-Job. (#5091) (Thanks @travisty-)
  • Removed font and codepage handling code that is only applicable to Windows PowerShell. (#4995)

Test

  • Fix a race condition between WebListener and Web Cmdlets tests. (#5035) (Thanks @markekraus)
  • Add warning to Start-PSPester if Pester module is not found (#5069) (Thanks @DDWR)
  • Add tests for DSC configuration compilation on Windows. (#5011)
  • Test fixes and code coverage automation fixes. (#5046)

Documentation and Help Content

  • Update Pi demo instructions about installing libunwind8. (#4974)
  • Add links on best practice guidelines in coding guideline. (#4983) (Thanks @iSazonov)
  • Reformat command line help for powershell -help (#4989) (Thanks @iSazonov)
  • Change logo in readme to current black icon. (#5030)
  • Fix RPM package name in README.md. (#5044)
  • Update docs/building/linux.md to reflect the current status of powershell build. (#5068) (Thanks @dee-see)
  • Add black version of .icns file for macOS. (#5073) (Thanks @thezim)
  • Update Arch Linux installation instructions. (#5048) (Thanks @kylesferrazza)
  • Add submodule reminder to testing-guidelines.md. (#5061) (Thanks @DDWR)
  • Update instructions in docs/building/internals.md for building from source. (#5072) (Thanks @kylesferrazza)
  • Add UserVoice link to Issue Template. (#5100) (Thanks @markekraus)
  • Add Get-WebListenerUrl Based Examples to WebListener README.md. (#4981) (Thanks @markekraus)
  • Add document about how to create cmdlet with dotnet CLI. (#5117) (Thanks @rkeithhill)
  • Update the help text for PowerShell executable with the new name pwsh. (#5182)
  • Add new forward links for PowerShell 6.0.0 help content. (#4978)
  • Fix VSCode launch.json to point to pwsh. (#5189)
  • Add example of how to create .NET Core cmdlet with Visual Studio. (#5096)

SHA256 Hashes of the release artifacts

  • powershell-6.0.0-beta.9-linux-x64.tar.gz
    • 4B49C9C5AA40002234954A38B91661D817CBAEDBF80DD0BB3DCC5920ADA323C2
  • PowerShell-6.0.0-beta.9-win-x64.msi
    • D8A194C8944C4680F27406AC5B341971C546C04279A47C927FAB10D6F5CBFF2A
  • PowerShell-6.0.0-beta.9-win-x64.zip
    • B04AEE06A825FED28DA0642C6F8F4AE4F176BAFF5486CC9427EBBECC4DE35849
  • PowerShell-6.0.0-beta.9-win-x86.msi
    • 9457D98ABF6821D0DDA5BB27CE1B3C0083AB7344B45E6F2345E0BDA7B2BE5DD6
  • PowerShell-6.0.0-beta.9-win-x86.zip
    • 213541C57510A1F45F274D8DA78899F3F075CA4EDA2BECCEBF40449A8DEBE666
  • powershell-6.0.0-beta.9-x86_64.AppImage
    • 227E0199F4693209E7BBEB6ED5877A5A8C27B74C04570E6CA2627F97D67210D5
  • powershell-6.0.0_beta.9-1.rhel.7.x86_64.rpm
    • 3F85F238019EC8362AF0046C2D1F1E157ACECACD595488374CCE6F211C2BB7FE
  • powershell_6.0.0-beta.9-1.debian.8_amd64.deb
    • 9ABBAB5A1C85D74B94D1D13BEE462714CFA6618ACB62608AC72C7ED43E5C99DF
  • powershell_6.0.0-beta.9-1.debian.9_amd64.deb
    • D533A2A604D215374A48BB1A55738F0D9649463DE38D315CE32D4EB361932C02
  • powershell_6.0.0-beta.9-1.ubuntu.14.04_amd64.deb
    • CF5D35C786FF197B36C56FAC3B06672191E4EDBAEA67694543FC402345F640F3
  • powershell_6.0.0-beta.9-1.ubuntu.16.04_amd64.deb
    • 5A1B7D199C1966909C1EF6F4C5003526CD59B9C7D2EFB31D52FB17637ACEBF15
  • powershell_6.0.0-beta.9-1.ubuntu.17.04_amd64.deb
    • 7FCD0E8FAB1A1717461C39597265D9372B084652693E463852D814151EA9C006
  • powershell-6.0.0-beta.9-osx.10.12-x64.pkg
    • C28B78D50426A2B6D4752D97B1C4655F5E43689AABC4110DDC3EB6ABCCD3E915
  • powershell-6.0.0-beta.9-osx-x64.tar.gz
    • 95A6612A07DAAE7D765DCF7A005947E3EBADA084C5E601F35B15E6435BD99344