Skip to content

Releases: PowerShell/PowerShell

v7.0.0-preview.5 Release of PowerShell Core

23 Oct 19:06

Choose a tag to compare

v7.0.0-preview.5 - 10/23/2019

Note: If there is an issue installing macOS package on Catalina please refer to this issue #10874

Breaking Changes

  • Make $PSCulture consistently reflect in-session culture changes (#10138) (Thanks @iSazonov!)

Engine Updates and Fixes

  • Move to .NET Core 3.1 preview 1 (#10798)
  • Refactor reparse tag checks in file system provider (#10431) (Thanks @iSazonov!)
  • Replace CR and new line with a 0x23CE character in script logging (#10616)
  • Fix a resource leak by unregistering the event handler from AppDomain.CurrentDomain.ProcessExit (#10626)

Experimental Features

  • Implement Get-Error cmdlet as Experimental Feature (#10727,#10800)
  • Add ConciseView for $ErrorView and update it to remove unnecessary text and not color entire line in red (#10641,#10724)
  • Support the pipeline chain operators && and || in PowerShell language (#9849,#10825,#10836)
  • Implement null coalescing (??) and null coalescing assignment (??=) operators (#10636)
  • Support notification on pwsh startup when a new release is available and update notification message (#10689,#10777)

General Cmdlet Updates and Fixes

  • Add -NoEmphasize parameter to colorize Select-String output (#8963) (Thanks @derek-xia!)
  • Add back Get-HotFix cmdlet (#10740)
  • Make Add-Type usable in applications that host PowerShell (#10587)
  • Use more effective evaluation order in LanguagePrimitives.IsNullLike() (#10781) (Thanks @vexx32!)
  • Improve handling of mixed-collection piped input and piped streams of input in Format-Hex (#8674) (Thanks @vexx32!)
  • Use type conversion in SSHConnection hashtables when value doesn't match expected type (#10720) (Thanks @SeeminglyScience!)
  • Fix Get-Content -ReadCount 0 behavior when -TotalCount is set (#10749) (Thanks @eugenesmlv!)
  • Reword access denied error message in Get-WinEvent (#10639) (Thanks @iSazonov!)
  • Enable tab completion for variable assignment that is enum or type constrained (#10646)
  • Remove unused SourceLength remoting property causing formatting issues (#10765)
  • Add -Delimiter parameter to ConvertFrom-StringData (#10665) (Thanks @steviecoaster!)
  • Add positional parameter for ScriptBlock when using Invoke-Command with SSH (#10721) (Thanks @machgo!)
  • Show line context information if multiple lines but no script name for ConciseView (#10746)
  • Add support for \\wsl$\ paths to file system provider (#10674)
  • Add the missing token text for TokenKind.QuestionMark in parser (#10706)
  • Set current working directory of each ForEach-Object -Parallel running script to the same location as the calling script. (#10672)
  • Replace api-ms-win-core-file-l1-2-2.dll with Kernell32.dll for FindFirstStreamW and FindNextStreamW APIs (#10680) (Thanks @iSazonov!)
  • Tweak help formatting script to be more StrictMode tolerant (#10563)
  • Add -SecurityDescriptorSDDL parameter to New-Service (#10483) (Thanks @kvprasoon!)
  • Remove informational output, consolidate ping usage in Test-Connection (#10478) (Thanks @vexx32!)
  • Read special reparse points without accessing them (#10662) (Thanks @iSazonov!)
  • Direct Clear-Host output to terminal (#10681) (Thanks @iSazonov!)
  • Add back newline for grouping with Format-Table and -Property (#10653)
  • Remove [ValidateNotNullOrEmpty] from -InputObject on Get-Random to allow empty string (#10644)
  • Make suggestion system string distance algorithm case-insensitive (#10549) (Thanks @iSazonov!)
  • Fix null reference exception in ForEach-Object -Parallel input processing (#10577)

Code Cleanup

  • Remove WorkflowJobSourceAdapter reference that is no longer used (#10326) (Thanks @KirkMunro!)
  • Cleanup COM interfaces in jump list code by fixing PreserveSig attributes (#9899) (Thanks @weltkante!)
  • Add a comment describing why -ia is not the alias for -InformationAction common parameter (#10703) (Thanks @KirkMunro!)
  • Rename InvokeCommandCmdlet.cs to InvokeExpressionCommand.cs (#10659) (Thanks @kilasuit!)
  • Add minor code cleanups related to update notifications (#10698)
  • Remove deprecated workflow logic from the remoting setup scripts (#10320) (Thanks @KirkMunro!)
  • Update help format to use proper case (#10678) (Thanks @tnieto88!)
  • Clean up CodeFactor style issues coming in commits for the last month (#10591) (Thanks @iSazonov!)
  • Fix typo in description of PSTernaryOperator experimental feature (#10586) (Thanks @bergmeister!)

Performance

  • Add minor performance improvements for runspace initialization (#10569) (Thanks @iSazonov!)

Tools

  • Make Install-PowerShellRemoting.ps1 handle empty string in PowerShellHome parameter (#10526) (Thanks @Orca88!)
  • Switch from /etc/lsb-release to /etc/os-release in install-powershell.sh (#10773) (Thanks @Himura2la!)
  • Check pwsh.exe and pwsh in daily version on Windows (#10738) (Thanks @centreboard!)
  • Remove unneeded tap in installpsh-osx.sh (#10752)

Tests

  • Temporary skip the flaky test TestAppDomainProcessExitEvenHandlerNotLeaking (#10827)
  • Make the event handler leaking test stable (#10790)
  • Sync capitalization in CI YAML (#10767) (Thanks @RDIL!)
  • Add test for the event handler leaking fix (#10768)
  • Add Get-ChildItem test (#10507) (Thanks @iSazonov!)
  • Replace ambiguous language for tests from switch to parameter for accuracy (#10666) (Thanks @romero126!)

Build and Packaging Improvements

  • Update package reference for PowerShell SDK to preview.5 (Internal 10295)
  • Update ThirdPartyNotices.txt (#10834)
  • Bump Microsoft.PowerShell.Native to 7.0.0-preview.3 (#10826)
  • Bump Microsoft.ApplicationInsights from 2.10.0 to 2.11.0 (#10608)
  • Bump NJsonSchema from 10.0.24 to 10.0.27 (#10756)
  • Add MacPorts support to the build system (#10736) (Thanks @Lucius-Q-User!)
  • Bump PackageManagement from 1.4.4 to 1.4.5 (#10728)
  • Bump NJsonSchema from 10.0.23 to 10.0.24 (#10635)
  • Add environment variable to differentiate client/server telemetry in MSI (#10612)
  • Bump PSDesiredStateConfiguration from 2.0.3 to 2.0.4 (#10603)
  • Bump Microsoft.CodeAnalysis.CSharp from 3.2.1 to 3.3.1 (#10607)
  • Update to .Net Core 3.0 RTM (#10604) (Thanks @bergmeister!)
  • Update MSIX packaging so the version to Windows Store requirements (#10588)

Documentation and Help Content

  • Merge stable and servicing change logs (#10527)
  • Update used .NET version in build docs (#10775) (Thanks @Greg-Smulko!)
  • Replace links from MSDN to docs.microsoft.com in powershell-beginners-guide.md (#10778) (Thanks @iSazonov!)
  • Fix broken DSC overview link (#10702)
  • Update Support_Question.md to link to Stack Overflow as another community resource (#10638) (Thanks @mklement0!)
  • Add processor architecture to distribution request template (#10661)
  • Add new PowerShell MoL book to learning PowerShell docs (#10602)

SHA256 Hashes of the release artifacts

  • powershell-7.0.0-preview.5-linux-alpine-x64.tar.gz
    • 42E481CAD6A7F10EF806EB8C73B357EB99529CBE53B33321C78329CABCBC7B11
  • powershell-7.0.0-preview.5-linux-arm32.tar.gz
    • 456542654740F44E2BCEB34296E80AA9D2DF27508D08650D9B541540F78FBDD1
  • powershell-7.0.0-preview.5-linux-arm64.tar.gz
    • 3AA89533D295D8619D4BDD405831853F6741E0A9C3BB14F6200378F69898F353
  • powershell-7.0.0-preview.5-linux-x64.tar.gz
    • 0D667AAE3495C22551E7C81B54A56F67E79C4FE11C361B25630B6B6BFA7F04A8
  • powershell-7.0.0-preview.5-linux-x64-fxdependent.tar.gz
    • 94275BB35C76AD40E3F272B750A6D5FA17D6AE6665DF37B6BE712E3BF5C62096
  • powershell-7.0.0-preview.5-osx-x64.pkg
    • 338F5F36B0C7BEEBC301DEDA43C3A350D768F09AFADAABA714FF80272AB0DAC0
  • powershell-7.0.0-preview.5-osx-x64.tar.gz
    • DE196639CA34576B524EF443598EF5176D05E395D77231A1660C9E021A1EAB9E
  • PowerShell-7.0.0-preview.5-win-arm32.msix
    • 1E508B33DC895FFAC2837F7ACAFF5D6505C4679E7A9C06DEBE9FF831C562CCC7
  • PowerShell-7.0.0-preview.5-win-arm32.zip
    • 3ED98F8EDEC179119F9B8D8580B5BCDBF532D09331A0BACD43F3609D6874CB89
  • PowerShell-7.0.0-preview.5-win-arm64.msix
    • 44512F07239E22FE7EA1A866B3613F1A5E30236B4CC5B1ED550AF97BB56EC543
  • PowerShell-7.0.0-preview.5-win-arm64.zip
    • 75BBA733AA45F4739EBC22D740E6D81DBE007EB5922265D85C6A24E36304BB21
  • PowerShell-7.0.0-preview.5-win-fxdependent.zip
    • 513111991F68B9FF4C86049E209FC13907D3B9FA88C1D8C49D2E86E2259D3FB1
  • PowerShell-7.0.0-preview.5-win-fxdependentWinDesktop.zip
    • E35699AADBFFF04D528E8E42868A4EC8C6A4C7E0341A0930CC6500A07CAFCA9F
  • PowerShell-7.0.0-preview.5-win-x64.msi
    • 34DD3817C96EBAE7A29E16E36322A07C7EC170E943B3AFB141D9C1B4073EE9C6
  • PowerShell-7.0.0-preview.5-win-x64.msix
    • A77EFCAE9644EEEA1B9122F6779FCE623602C7333D2E70A4F664FB6EA181213B
  • PowerShell-7.0.0-preview.5-win-x64.zip
    • F344C8397FE3016CF764756E8ABE4ACE89898E6228F7142C176896A148B1381B
  • PowerShell-7.0.0-preview.5-win-x86.msi
    • 15859B51FF8C80A56F09DDD5B77599037C9091A602EFE83075F200E78074A71D
  • PowerShell-7.0.0-preview.5-win-x86.zip
    • 6CDAC42E223A9F183E7C2D0158AFA75320937B7B1ABB55FC58DCBA7FEA9662EE
  • powershell-preview_7.0.0-preview.5-1.debian.9_amd64.deb
    • 1D5B33EAD146088DFB9C0ADC2E40B38F064272D14C080470E36993F1FF33665E
  • powershell-preview_7.0.0-preview.5-1.ubuntu.16.04_amd64.deb
    • 67BE7548D6259AEC8B72E7DD42B8236705A6EB25233A34CD10A5C29631F7314C
  • powershell-preview_7.0.0-preview.5-1.ubuntu.18.04_amd64.deb
    • FAB403167A629080AE1F1F83823B81757BD32F3F327A8EA4B4BDAD58FAA4649F
  • powershell-preview-7.0.0_preview.5-1.rhel.7.x86_64.rpm
    • 59A43152734BB280B6749CFAAE5407EC9ADEC4E93E8CA1FB14D7A205BB4B80CA

v7.0.0-preview.4 Release of PowerShell Core

19 Sep 17:51

Choose a tag to compare

v7.0.0-preview.4 - 09/19/2019

Engine Updates and Fixes

  • Add support to ActionPreference.Break to break into debugger when Debug, Error, Information, Progress, Verbose or Warning messages are generated (#8205) (Thanks @KirkMunro!)
  • Enable starting control panel add-ins within PowerShell Core without specifying .CPL extension. (#9828)

Performance

  • Make ForEach-Object faster for its commonly used scenarios (#10454) and fix ForEach-Object -Parallel performance problem with many runspaces (#10455)

Experimental Features

  • Update PSDesiredStateConfiguration module version to 2.0.3 and bring new tests; enable compilation to MOF on non-Windows and use of Invoke-DSCResource without LCM (#10516)
  • Add APIs for breakpoint management in runspaces and enable attach to process without BreakAll for PowerShell Editor Services (#10338) (Thanks @KirkMunro!)
  • Support ternary operator in PowerShell language (#10367)

General Cmdlet Updates and Fixes

  • Add PowerShell Core group policy definitions (#10468)
  • Update console host to support XTPUSHSGR/XTPOPSGR VT control sequences that are used in composability scenarios. (#10208)
  • Add WorkingDirectory parameter to Start-Job (#10324) (Thanks @davinci26!)
  • Remove the event handler that was causing breakpoint changes to be erroneously replicated to the host runspace debugger (#10503) (Thanks @KirkMunro!)
  • Replace api-ms-win-core-job-12-1-0.dll with Kernell32.dll in Microsoft.PowerShell.Commands.NativeMethods P/Invoke API(#10417) (Thanks @iSazonov!)
  • Fix wrong output for New-Service in variable assignment and -OutVariable (#10444) (Thanks @kvprasoon!)
  • Fix global tool issues around exit code, command line parameters and path with spaces (#10461)
  • Fix recursion into OneDrive - change FindFirstFileEx() to use SafeFindHandle type (#10405)
  • Skip auto-loading PSReadLine on Windows if the NVDA screen reader is active (#10385)
  • Increase built-with-PowerShell module versions to 7.0.0.0 (#10356)
  • Add throwing an error in Add-Type if a type with the same name already exists (#9609) (Thanks @iSazonov!)

Code Cleanup

  • Convert ActionPreference.Suspend enumeration value into a non-supported, reserved state, and remove restriction on using ActionPreference.Ignore in preference variables (#10317) (Thanks @KirkMunro!)
  • Replace ArrayList with List<T> to get more readable and reliable code without changing functionality (#10333) (Thanks @iSazonov!)
  • Make code style fixes to TestConnectionCommand (#10439) (Thanks @vexx32!)
  • Cleanup AutomationEngine and remove extra SetSessionStateDrive method call (#10416) (Thanks @iSazonov!)
  • Rename default ParameterSetName back to Delimiter for ConvertTo-Csv and ConvertFrom-Csv (#10425)

Tools

  • Update install-powershell.ps1 to check for already installed daily build (#10489)

Tests

  • Add experimental check to ForEach-Object -Parallel tests (#10354) (Thanks @KirkMunro!)
  • Update tests for Alpine validation (#10428)

Build and Packaging Improvements

  • Bump PowerShellGet version from 2.2 to 2.2.1 (#10382)
  • Bump PackageManagement version from 1.4.3 to 1.4.4 (#10383)
  • Update README.md and metadata.json for 7.0.0-preview.4 (Internal 10011)
  • Upgrade .Net Core 3.0 version from Preview 9 to RC1 (#10552) (Thanks @bergmeister!)
  • Fix ExperimentalFeature list generation (Internal 9996)
  • Bump PSReadLine version from 2.0.0-beta4 to 2.0.0-beta5 (#10536)
  • Fix release build script to set release tag
  • Update version of Microsoft.PowerShell.Native to 7.0.0-preview.2 (#10519)
  • Upgrade to Netcoreapp3.0 preview9 (#10484) (Thanks @bergmeister!)
  • Make sure the daily coordinated build, knows it is a daily build (#10464)
  • Update the combined package build to release the daily builds (#10449)
  • Remove appveyor reference (#10445) (Thanks @RDIL!)
  • Bump NJsonSchema version from 10.0.22 to 10.0.23 (#10421)
  • Remove the deletion of linux-x64 build folder because some dependencies for Alpine need it (#10407)

Documentation and Help Content

  • Update README.md and metadata for v6.1.6 and v6.2.3 releases (#10523)
  • Fix a typo in README.md (#10465) (Thanks @vedhasp!)
  • Add a reference to PSKoans module to Learning Resources documentation (#10369) (Thanks @vexx32!)
  • Update README.md and metadata.json for 7.0.0-preview.3 (#10393)

SHA256 Hashes of the release artifacts

  • powershell-7.0.0-preview.4-linux-alpine-x64.tar.gz
    • B38516721167EF056790466C45C5158BC0A066C16323560C0779198731DF0B6D
  • powershell-7.0.0-preview.4-linux-arm32.tar.gz
    • DB04605DE0A9B9155C287B896286F2E31CA1E94C85EC7D44E1E3E6DDC862656C
  • powershell-7.0.0-preview.4-linux-arm64.tar.gz
    • 78ED278BA366D9A6E7B9AB8CB69FF48A00B37B655252056A9A769BEA58B25A84
  • powershell-7.0.0-preview.4-linux-x64.tar.gz
    • BAB658CDFDCB3162E6E5668BC7BE4553BB8BDF0B290CBBE00756174A928FC64B
  • powershell-7.0.0-preview.4-linux-x64-fxdependent.tar.gz
    • A73EAB8B5091406344FCB55AEAB86D60759BD85DD73142C2CB694F5C0DD3ACC8
  • powershell-7.0.0-preview.4-osx-x64.pkg
    • 876CDF8FBE7558F2878468D25BD19B832AF56E03F5C70FBC43D9430043CC2F2F
  • powershell-7.0.0-preview.4-osx-x64.tar.gz
    • 9317645F8A915241DCD32CCBB3E76D38DF7C687CA5896F8363419795515EC5DC
  • PowerShell-7.0.0-preview.4-win-arm32.msix
    • AF15CD3856AB961756491BCA6A564EE9155F04EFE3F590A963F02DE35BA392CF
  • PowerShell-7.0.0-preview.4-win-arm32.zip
    • 358D5BD1B4E06E5CFE4F81A0158FB178B960013A2E6376178D308A3EA55BA5AF
  • PowerShell-7.0.0-preview.4-win-arm64.msix
    • D10E1A4028B9FDF4D3946862AE4699A3251232764E26B5E7252E1284716894DA
  • PowerShell-7.0.0-preview.4-win-arm64.zip
    • 733331CCFECB7ACDC8D889270B4C3BEB0278396D2D0C923E68EA7A186FB6F77C
  • PowerShell-7.0.0-preview.4-win-fxdependent.zip
    • DD5A82B897FF68C6A97FA2C1E2731DA5539BF9AE442C04C4074144144AAFD9CB
  • PowerShell-7.0.0-preview.4-win-fxdependentWinDesktop.zip
    • E8925AED1785FF25CFEF21518703C1A90753D86B66F14C810E1F3759E2F0BCEE
  • PowerShell-7.0.0-preview.4-win-x64.msi
    • 9DBCE4D595E4C8C91E589B5794257E2AD1D59785D52845A0327995F1E71F53A5
  • PowerShell-7.0.0-preview.4-win-x64.msix
    • 1D1EAAEFC070C2AC2B5A7457DA54B2ED56A2BBF7553EFEA5B11007F52380FFEE
  • PowerShell-7.0.0-preview.4-win-x64.zip
    • BDAAF8E652AF49A24C30EE06941A162446552682E2AB1C7064A832218F84FB71
  • PowerShell-7.0.0-preview.4-win-x86.msi
    • C0FF30E528DD807C4CCEBDB987DE1A73DDD5E70A2ECD1C8FF52907EB9549A76F
  • PowerShell-7.0.0-preview.4-win-x86.zip
    • 40768D305AF4B8BEDC2409AC3D30CBAF39E1A8F16DAAF8ADBE443CD6D1F115A0
  • powershell-preview_7.0.0-preview.4-1.debian.9_amd64.deb
    • 147DCE891D0D05ECFC8930E049D9F560BCDA556D506AB0BA51DBB1C90FC1517F
  • powershell-preview_7.0.0-preview.4-1.ubuntu.16.04_amd64.deb
    • 50271452DB5C80E35D311127FA5132C346295A8390E452223BB613864359A11B
  • powershell-preview_7.0.0-preview.4-1.ubuntu.18.04_amd64.deb
    • FE7D23C4301F8E2FF890ECF1E9B3398F0F2EB063253D35E6C44F5FFC87D98D65
  • powershell-preview-7.0.0_preview.4-1.rhel.7.x86_64.rpm
    • DE09687FD6B4CDC1BC549A2FDC457FB8FF64E5C06E2C6C1F1E6ACC5453BB792C

v6.2.3 Release of PowerShell Core

12 Sep 21:22

Choose a tag to compare

v6.2.3 - 09/12/2019

Note: Known issue on Raspberry-Pi for ValueFromRemainingArguments. For more information have a look at: #10528

Engine Updates and Fixes

  • Fix debugger performance regression in system lock down mode (#10269)

Tests

  • Remove markdownlint tests due to security issues (#10163)

Build and Packaging Improvements

  • Update DotNet SDK and runtime framework version (Internal 9946)
  • Fix macOS build break (#10207)

SHA256 Hashes of the release artifacts

  • powershell_6.2.3-1.debian.9_amd64.deb
    • 6DC74F984B590A5A418B5E1D59762577A4FECF98D017241BED5ACB0C6D17108B
  • powershell_6.2.3-1.ubuntu.16.04_amd64.deb
    • 84CE0E275B09AF183F115219CA674BCF2670AC88281C154AED8A2EC80E75C9AF
  • powershell_6.2.3-1.ubuntu.18.04_amd64.deb
    • BCA7BEF3F3D184E5DF42C09D82079394A5DEBA5120817136EE965AFE46816BED
  • powershell-6.2.3-1.rhel.7.x86_64.rpm
    • 966B00143B9870D21B6296236B06CEE55D37D2A3AEF36BD78C95F4D6B3D5822F
  • powershell-6.2.3-linux-alpine-x64.tar.gz
    • A77832CC3B9909DC39A38A9643B7A1CED778EEA62E10BA9CDB1EE40085B64413
  • powershell-6.2.3-linux-arm32.tar.gz
    • 36E631760F66FD94397347F8B0B344F0E4253B62F316906DDBFF360D5A7BF6D1
  • powershell-6.2.3-linux-arm64.tar.gz
    • 3C5148FCA4EABE35C5CE42CC12732C940EA345187390A611D7DB0F49ACD53EC3
  • powershell-6.2.3-linux-x64.tar.gz
    • 48D7D33BD63F10D06ECD68F2EFC9C07B5ECA1AB1E492D08B586918C09A85105E
  • powershell-6.2.3-linux-x64-fxdependent.tar.gz
    • 7D0BAD9E83744EAEFB04A4717E4ED5AA36435F592E2BC4970DFCE039AAF6ECF5
  • powershell-6.2.3-osx-x64.pkg
    • 84A704FF4A0EE97193F4980D5F699C12FD14FB63D0FA4414F521CFCBC126981F
  • powershell-6.2.3-osx-x64.tar.gz
    • 3E5ABAEED6EADEEAAB7037FC4EBE2DDF93C1D18E736EA1E3798F1BAE0969261D
  • PowerShell-6.2.3-win-arm32.msix
    • 7A25D51608201F4C39743375BE841A083F7404E1662C76E3B05524A37D7EB2F8
  • PowerShell-6.2.3-win-arm32.zip
    • B570FB176FD39BBBB34C7D3B98A33D18584F32D184F2C0A4F1AEC6DFE9ABAFD5
  • PowerShell-6.2.3-win-arm64.msix
    • 3A1E33E6A9CDCB40C0C010F5F06F723B97A9BC408D1D0A4875C66F365A9261A7
  • PowerShell-6.2.3-win-arm64.zip
    • 4593E15B431439E82DD87ACB16F016935DFF0196C86B60A7F3A31A8587771C2F
  • PowerShell-6.2.3-win-fxdependent.zip
    • DDB9D412764E6F4D4ABE0C420BBDF801039A1B40CB0557A85F98AD94A1B43AB0
  • PowerShell-6.2.3-win-x64.msi
    • 874E01F9117A6983C05405A3274F16539FDE4F5A314C6ABB1E79CB6566054AE9
  • PowerShell-6.2.3-win-x64.msix
    • 660B909CF19B4322377896A1F6E899178DDF9F9DF9F0365A58C56F56BC72DD80
  • PowerShell-6.2.3-win-x64.zip
    • AF171ED197B167E2630044DBA6344AF8B291E8646F7276B63F1D84C166A41D33
  • PowerShell-6.2.3-win-x86.msi
    • 8D774A67A113E42C9CEA190D6FDC3A15FA526E5619ACBE878574BF57EE53A491
  • PowerShell-6.2.3-win-x86.zip
    • 6B9F1C54755AA51678E56A6059C2747801B3E0C72E678B800B15C8E084129C66

v6.1.6 Release of PowerShell Core

12 Sep 21:18

Choose a tag to compare

6.1.6 - 2019-09-12

Build and Packaging Improvements

  • Update DotNet SDK and runtime framework version (Internal 9945)

SHA256 Hashes of the release artifacts

  • powershell_6.1.6-1.debian.9_amd64.deb
    • ECC5C749B97AB19846BB52664C608E3FEE9D358152EDC780E7C476E5707440FD
  • powershell_6.1.6-1.ubuntu.14.04_amd64.deb
    • D16B2E29591EA929388F0FB9434383AC43BD86154ABD76FFA05696668BDB9556
  • powershell_6.1.6-1.ubuntu.16.04_amd64.deb
    • 41F890C400BE35104C741F917BE04DAE0CE8F8B961C8FF908D6EF71E082B3F9F
  • powershell_6.1.6-1.ubuntu.18.04_amd64.deb
    • 4F552E1E1F7DB8EF98B55C4C2C8B4F3790A38395B4AAB7D2D7199C2D0DD9956D
  • powershell-6.1.6-1.rhel.7.x86_64.rpm
    • 3A9A8D463D26C419A2A14AC1FB2728D1349E9F700C04B2FD932E7EBA275D76B2
  • powershell-6.1.6-linux-alpine-x64.tar.gz
    • C24681051446ECF869D4A4383F527ED048E1FF3B19CE73F31650CBB8396DEE6E
  • powershell-6.1.6-linux-arm32.tar.gz
    • 24ECAECC62AA80D11171BB48A156AC384FC813D38E46BBDA1847FDCB64CD4572
  • powershell-6.1.6-linux-x64.tar.gz
    • 94C765E52730F4B96E4AA691CDCFA665A448A752170C735DEE0EBC8D84F179E7
  • powershell-6.1.6-linux-x64-fxdependent.tar.gz
    • D22D875AE8E18EBBAB55E84D24BC69B4EC43B581D22B0C20DE70B2A56A0DC967
  • powershell-6.1.6-osx-x64.pkg
    • 632814D5995E9B677455ADBAC07712FE218626CA02C01D0AAB2E2AEC1F09FAED
  • powershell-6.1.6-osx-x64.tar.gz
    • 29AE608FB73511E1AE52085ACC727D1949FBB76AEAB5E1A2B9C4ED9B780E4256
  • PowerShell-6.1.6-win-arm32.zip
    • A7CD53362DE5838798DF24BC1809195FADEFEB8BB8BEC7A1BCA08F2F31D577EA
  • PowerShell-6.1.6-win-arm64.zip
    • E605E6EC4D6C98A5382F4AA2AAE79887115AF4B03616061884BF1F4DA10C42F4
  • PowerShell-6.1.6-win-fxdependent.zip
    • 41656735BE2F539019A9776586E066612A367D812B164C17C3FF654A3D3AAD82
  • PowerShell-6.1.6-win-x64.msi
    • 86F76E47E888042DAD42C94DBA5B82F4960FA96A7464B140E320EAC711094F55
  • PowerShell-6.1.6-win-x64.zip
    • 77A78ED2E24436FB403CAA644B3C1728A3D3417296468AF0A56BCB1DD2F3A8C1
  • PowerShell-6.1.6-win-x86.msi
    • 0E05522E2180CC5107D0F557152213EBBD208C1E9E1D3A75BA267DE2E4B2466C
  • PowerShell-6.1.6-win-x86.zip
    • 1DC690C9A1091D0ED5B71DE903AB3CD7B58BA9638ACDFEB9F9FE7031ABAF47E9

v7.0.0-preview.3 Release of PowerShell Core

20 Aug 22:35

Choose a tag to compare

v7.0.0-preview.3 - 08/20/2019

Breaking Changes

  • Remove kill alias for Stop-Process cmdlet on Unix (#10098) (Thanks @iSazonov!)
  • Support for starting PowerShell as a login shell (pwsh -Login / pwsh -l) support (#10050)

Engine Updates and Fixes

  • Additional Telemetry - implementation of RFC0036 (#10336)
  • Implement ForEach-Object -Parallel as an experimental feature (#10229)
  • Skip JumpList on NanoServer and IoT (#10164)
  • Make Get-DscResource work with class based resources (#10350)
  • Fix #requires -version for pwsh 7 to include 6.1 and 6.2 in PSCompatibleVersions (#9943) (Thanks @bgelens!)
  • Add dispose of _runspaceDebugCompleteEvent event object. (#10323)
  • Fix performance regression from disabling debugger in system lockdown mode (#10269)
  • Special case the posix locale in WildcardPattern (#10186)
  • Use Platform.IsWindowsDesktop instead of checking both NanoServer and IoT (#10205)

General Cmdlet Updates and Fixes

  • Enable Experimental Features by default on Preview builds (#10228)

  • Enable -sta and -mta switches for pwsh (-sta is required for GUIs) (#10061)

  • Make breakpoints display better over PowerShell remoting (#10339) (Thanks @KirkMunro!)

  • Add support for AppX reparse points (#10331)

  • Make module name matching for get-module -FullyQualifiedName case insensitive (#10329)

  • Expose PreRelease label in PSModuleInfo formatter (#10316)

  • Add -Raw switch to Select-String which allows returning only the string that was matched (#9901) (Thanks @Jawz84!)

  • Performance

  • Reduce allocations in MakePath() method (#10027) (Thanks @iSazonov!)

  • Remove extra check that the system dll exists (#10244) (Thanks @iSazonov!)

  • Avoid boxing when passing value type arguments to PSTraceSource.WriteLine (#10052) (Thanks @iSazonov!)

  • Reduce allocations in Escape() and Unescape() (#10041) (Thanks @iSazonov!)

Code Cleanup

  • Add the license header to nanoserver.tests.ps1 (#10171)
  • Mark -parallel and -throttlelimit reserved for foreach and switch statements (#10328) (Thanks @KirkMunro!)
  • Deprecate workflow debugging code (#10321) (Thanks @KirkMunro!)
  • Fix style issues in InternalCommands.cs (#10352) (Thanks @iSazonov!)
  • Deprecate internal HelpCategory.Workflow enumeration (#10319) (Thanks @KirkMunro!)
  • Update Microsoft.PowerShell.CoreCLR.Eventing to resolve conflict with System.Diagnostics.EventLog (#10305)
  • Don't collect process start time as it's not being used on consolehost startup (#10294)
  • .NET Core 3.0 now aborts the thread for us. Remove the ThreadAbortException code (#10230) (Thanks @iSazonov!)
  • Use nameof() in LocationGlobber and PathInfo (#10200) (Thanks @iSazonov!)

Tools

  • Fix Hungarian prefix my (#9976) (Thanks @RDIL!)
  • Fix spelling error in issue template (#10256)
  • Quote arguments in .vscode/tasks.json in case of spaces (#10204) (Thanks @msftrncs!)

Tests

  • Remove markdownlint tests due to security issues (#10163)
  • Add tests for WildcardPattern.Escape() and Unescape() (#10090) (Thanks @iSazonov!)
  • Cleanup Docker release testing (#10310) (Thanks @RDIL!)

Build and Packaging Improvements

  • Update Microsoft.Management.Infrastructure version to 2.0.0-preview.2 (#10366)
  • Move to .NET Core 3.0 preview.8 (#10351) (#10227) (Thanks @bergmeister!)
  • Bump NJsonSchema from 10.0.21 to 10.0.22 (#10364)
  • Add Microsoft.PowerShell.CoreCLR.Eventing.dll to exception list for build fix (#10337)
  • Bump Microsoft.CodeAnalysis.CSharp from 3.1.0 to 3.2.1 (#10273) (#10330)
  • Revert the temporary AzDevOps artifact workaround (#10260)
  • Fix macOS build break (#10207)

Documentation and Help Content

  • Update docs for 7.0.0-preview.2 release (#10160) (#10176)
  • PSSA also includes formatting (#10172)
  • Refactor security policy documentation so that they appear in the Security policy tab of GitHub (#9905) (Thanks @bergmeister!)
  • Add tooling section to PR template (#10144)
  • Update README.md and metadata.json for next releases (#10087)
  • Update DotNet Support links (#10145)
  • Update our language on our policy applying to security issues (#10304)
  • Update dead links from powershell.com (#10297)
  • Create Distribution_Request issue template (#10253)
  • Fix: Removed dependency file with Dependabot (#10212) (Thanks @RDIL!)

SHA256 Hashes of the release artifacts

  • powershell-7.0.0-preview.3-linux-alpine-x64.tar.gz
    • 685E6FB0AF09DB5A5351CD0DF4395665BBB3CDBD719CCCCCE14621BD409B1169
  • powershell-7.0.0-preview.3-linux-arm32.tar.gz
    • 7777892C714531C634C0C0679489BB1399A74825EC765EAFF1F26F8F65B672CE
  • powershell-7.0.0-preview.3-linux-arm64.tar.gz
    • CC898D15B6277B595717A53B833DC5B5BC66F6F6995B72FD50F4A42201FB5552
  • powershell-7.0.0-preview.3-linux-x64.tar.gz
    • 6FF8BC5B5F167B578D9182C13D5695D35D6BEC7462ADC17C96DC8D76F57A71E1
  • powershell-7.0.0-preview.3-linux-x64-fxdependent.tar.gz
    • 5CF3BB1F7C4656FD43D80EA02E08FB8C6C16594486ADE2AC75E685CC94352962
  • powershell-7.0.0-preview.3-osx-x64.pkg
    • DBE6E25BE5A74CD91A1236F88B335135BE952896E59E1C0D043BBF83B5A202DD
  • powershell-7.0.0-preview.3-osx-x64.tar.gz
    • 497AEA5CE2739534D285275782EEB25BA0168B3A00E2AFBC59139B1F0D0050DE
  • PowerShell-7.0.0-preview.3-win-arm32.msix
    • C2D28319A7EED4FD444C52BBF30420375CDE1403AC06D8756D47CC2DE032483E
  • PowerShell-7.0.0-preview.3-win-arm32.zip
    • EF65340AC67B19A8E7906727D960CEE200BE5AEC6403AAF14D81C5CE8F4CEAFE
  • PowerShell-7.0.0-preview.3-win-arm64.msix
    • 43EB40E47F988D7C8B24B5BBB515FF5B5324CF5585E6260EC5A83C2278834CBC
  • PowerShell-7.0.0-preview.3-win-arm64.zip
    • A3DBC5AADFA5C860248A503852014849BF2D4727EA90E40D5D2E7A9F6FAE7D47
  • PowerShell-7.0.0-preview.3-win-fxdependent.zip
    • C7CC0EC4025033B882996B5B0A52D3BF47959AE33DFB723A84EC0E7D4E3EAB46
  • PowerShell-7.0.0-preview.3-win-fxdependentWinDesktop.zip
    • D49E21EFCC9759657EDECF8BDD6D7CB20509E008763100588AE4C2E61E75AC66
  • PowerShell-7.0.0-preview.3-win-x64.msi
    • 69C4435C24D80447B6A1A8C1C8F4BC91F5D8E2B25616FD45C121CBE3CCD97B87
  • PowerShell-7.0.0-preview.3-win-x64.msix
    • A972F2A3CF4256E8CBC2AB3EB0481647D9C2721E61D4CA26E20EB1E62422835B
  • PowerShell-7.0.0-preview.3-win-x64.zip
    • 49C06E11743CFD19199D0CFB60FDBC442923A97DD8CDECA8C7C9CB392BAE78A5
  • PowerShell-7.0.0-preview.3-win-x86.msi
    • 2ABBBF0A834EA285919345E22224B0210F010107E0AD0081126780E5B0282E64
  • PowerShell-7.0.0-preview.3-win-x86.zip
    • 438DE410C548F7DA3FEAB501521FC1CEED930528D3C2C86751382B225BA835F2
  • powershell-preview_7.0.0-preview.3-1.debian.9_amd64.deb
    • 2C5E241680A8932D76C89D551A588B9AA64EF1248766AB7DC0D9E50BC52DA36F
  • powershell-preview_7.0.0-preview.3-1.ubuntu.16.04_amd64.deb
    • EA540FEBFF62DFA81A1B3C5C7D4AA6260B6675AED1BB45073D5EA1974E83C845
  • powershell-preview_7.0.0-preview.3-1.ubuntu.18.04_amd64.deb
    • 4BFE8E86BFD652774C2AE8A35D5B3937CB80E35671C215146C5DF7B6B3A24609
  • powershell-preview-7.0.0_preview.3-1.rhel.7.x86_64.rpm
    • F1567095B4FCE82D4F1927C42092D4DBA81F493BE29BB59F61DA0AE2171A9516

v7.0.0-preview.2 Release of PowerShell

17 Jul 20:53

Choose a tag to compare

Pre-release

v7.0.0-preview.2 - 07/17/2019

Breaking Changes

  • Cleanup workflow - remove PSProxyJob (#10083) (Thanks @iSazonov!)
  • Disable Enter-PSHostProcess cmdlet when system in lock down mode (Internal 9168)
  • Consider DBNull.Value and NullString.Value the same as $null when comparing with $null and casting to bool (#9794) (Thanks @vexx32!)

Engine Updates and Fixes

  • Allow methods to be named after keywords (#9812) (Thanks @vexx32!)
  • Create JumpList in STA thread as some COM APIs are strictly STA only to avoid sporadic CLR crashes (#9928) (#10057) (Thanks @bergmeister!)
  • Skip JumpList on NanoServer and IoT (#10164)
  • Display COM method signature with argument names (#9858) (Thanks @nbkalex!)
  • Use the original precision (prior-dotnet-core-3) for double/float-to-string conversion (#9893)
  • Import-DscResource should allow to overwrite DSC built-in resources. (#9879)
  • Add ability to pass InitialSessionState to the ConsoleShell.Start (#9802) (Thanks @asrosent!)
  • Have console host not enter command prompt mode when using Read-Host -Prompt (#9743)
  • Fix use of Start-Process http://bing.com (#9793)
  • Support negative numbers in -split operator (#8960) (Thanks @ece-jacob-scott!)

General Cmdlet Updates and Fixes

  • Support DSC compilation on Linux. (#9834)
  • Add alias for Service StartType (#9940) (Thanks @NeoBeum!)
  • Add -SecurityDescriptorSddl parameter to Set-Service (#8626) (Thanks @kvprasoon!)
  • Fix auto-download of files when enumerating files from a OneDrive folder (#9895)
  • Set request headers when request body is empty in Web Cmdlets (#10034) (Thanks @markekraus!)
  • Fix wrong comparison in CertificateProvider (#9987) (Thanks @iSazonov!)
  • Sync docs changes into the embedded help for pwsh (#9952)
  • Display Duration when displaying HistoryInfo (#9751) (Thanks @rkeithhill!)
  • Update console startup and help url for PowerShell docs (#9775)
  • Make UseAbbreviationExpansion and TempDrive official features (#9872)
  • Fix Get-ChildItem -Path with wildcard char (#9257) (Thanks @kwkam!)

Performance

  • Add another fast path to WildcardPattern.IsMatch for patterns that only have an asterisk in the end (#10054) (Thanks @iSazonov!)
  • Move some of the creations of WildcardPattern in outer loop to avoid unnecessary allocation (#10053) (Thanks @iSazonov!)
  • Make Foreach-Object 2 times faster by reducing unnecessary allocations and boxing (#10047)
  • Use a static cache for PSVersionInfo.PSVersion to avoid casting SemanticVersion to Version every time accessing that property (#10028)
  • Reduce allocations in NavigationCmdletProvider.NormalizePath() (#10038) (Thanks @iSazonov!)
  • Add fast path for wildcard patterns that contains no wildcard characters (#10020)
  • Avoid Assembly.GetName() in ClrFacade.GetAssemblies(string) to reduce allocations of CultureInfo objects (#10024) (Thanks @iSazonov!)
  • Avoid the int[] and int[,] allocation when tokenizing line comments and matching wildcard pattern (#10009)

Tools

  • Update change log generation tool to deal with private commits (#10096)
  • Update Start-PSBuild -Clean logic of git clean to ignore locked files from VS2019 (#10071) (Thanks @bergmeister!)
  • Indent fix in markdown-link.tests.ps1 (#10049) (Thanks @RDIL!)
  • Start-PSBuild -Clean does not remove all untracked files (#10022) (Thanks @vexx32!)
  • Add module to support Pester tests for automating debugger commands (stepInto, stepOut, etc.), along with basic tests (#9825) (Thanks @KirkMunro!)
  • Remove markdownlint tests due to security issues (#10163)

Code Cleanup

  • Cleanup CompiledScriptBlock.cs (#9735) (Thanks @vexx32!)
  • Cleanup workflow code (#9638) (Thanks @iSazonov!)
  • Use AddOrUpdate() instead of Remove then Add to register runspace (#10007) (Thanks @iSazonov!)
  • Suppress PossibleIncorrectUsageOfAssignmentOperator rule violation by adding extra parenthesis (#9460) (Thanks @xtqqczze!)
  • Use AddRange in GetModules() (#9975) (Thanks @iSazonov!)
  • Code cleanup: use IndexOf(char) overload (#9722) (Thanks @iSazonov!)
  • Move consts and methods to single CharExtensions class (#9992) (Thanks @iSazonov!)
  • Cleanup: Use EndsWith(char) and StartsWith(char) (#9994) (Thanks @iSazonov!)
  • Remove LCIDToLocaleName P/Invoke from GetComputerInfoCommand (#9716) (Thanks @iSazonov!)
  • Cleanup Parser tests (#9792) (Thanks @vexx32!)
  • Remove EtwActivity empty constructor and make minor style fixes (#9958) (Thanks @RDIL!)
  • Fix style issues from last commits (#9937) (Thanks @iSazonov!)
  • Remove dead code about IsTransparentProxy (#9966)
  • Fix minor typos in code comments (#9917) (Thanks @RDIL!)
  • Style fixes for CimAsyncOperations (#9945) (Thanks @RDIL!)
  • Fix minor CodeFactor style issues in ModuleCmdletBase (#9915) (Thanks @RDIL!)
  • Clean up the use of SetProfileRoot and StartProfile in ConsoleHost (#9931)
  • Fix minor style issues come from last commits (#9640) (Thanks @iSazonov!)
  • Improve whitespace for Parser tests (#9806) (Thanks @vexx32!)
  • Use new string.ConCat() in Process.cs (#9720) (Thanks @iSazonov!)
  • Code Cleanup: Tidy up scriptblock.cs (#9732) (Thanks @vexx32!)

Tests

  • Mark Set-Service tests with password as Pending (#10146)
  • Fix test password generation rule to meet Windows complexity requirements (#10143)
  • Add test for New-Item -Force (#9971) (Thanks @robdy!)
  • Fix gulp versions (#9916) (Thanks @RDIL!)
  • Indentation fixes in ci.psm1 (#9947) (Thanks @RDIL!)
  • Remove some Travis-CI references (#9919) (Thanks @RDIL!)
  • Improve release testing Docker images (#9942) (Thanks @RDIL!)
  • Use yarn to install global tools (#9904) (Thanks @RDIL!)
  • Attempt to work around the zip download issue in Azure DevOps Windows CI (#9911)
  • Update PowerShell SDK version for hosting tests (Internal 9185)

Build and Packaging Improvements

  • Update the target framework for reference assemblies to netcoreapp3.0 (#9747)
  • Pin version of netDumbster to 2.0.0.4 (#9748)
  • Fix daily CodeCoverageAndTest build by explicitly calling Start-PSBootStrap (#9724)
  • Split the fxdependent package on Windows into two packages (#10134)
  • Bump System.Data.SqlClient (#10109)
  • Bump System.Security.AccessControl (#10100)
  • Add performance tag to change log command (Internal)
  • Upgrade .Net Core 3 SDK from preview5 to preview6 and related out of band Nuget packages from 2.1 to 3.0-preview6 (#9888) (Thanks @bergmeister!)
  • Add to /etc/shells on macOS (#10066)
  • Bump Markdig.Signed from 0.17.0 to 0.17.1 (#10062)
  • Update copyright symbol for NuGet packages (#9936)
  • Download latest version (6.2.0) of PSDesiredStateConfiguration nuget package. (#9932)
  • Add automated RPM signing to release build (#10013)
  • Bump ThreadJob from 1.1.2 to 2.0.1 in /src/Modules (#10003)
  • Bump PowerShellGet from 2.1.4 to 2.2 in /src/Modules (#9933) (#10085)
  • Bump PackageManagement from 1.4 to 1.4.3 in /src/Modules (#9820) (#9918) (#10084)
  • Update to use TSAv2 (#9914)
  • Bump NJsonSchema from 9.14.1 to 10.0.21 (#9805) (#9843) (#9854) (#9862) (#9875) (#9885) (#9954) (#10017)
  • Bump System.Net.Http.WinHttpHandler from 4.5.3 to 4.5.4 (#9786)
  • Bump Microsoft.ApplicationInsights from 2.9.1 to 2.10.0 (#9757)
  • Increase timeout of NuGet job to workaround build timeout (#9772)

Documentation and Help Content

  • Change log 6.1.4 (#9759)
  • Change log for release 6.2.1 (#9760)
  • Add quick steps for adding docs to cmdlets (#9978)
  • Update readme gitter badge (#9920) (Thanks @RDIL!)
  • Update README and metadata.json for 7.0.0-preview.1 release (#9767)

SHA256 Hashes of the release artifacts

  • powershell-7.0.0-preview.2-linux-alpine-x64.tar.gz
    • 52AAD50F74A51BB36F601C9A0B8D3C2E8B4C76D6B364CB42777C404363D30FBB
  • powershell-7.0.0-preview.2-linux-arm32.tar.gz
    • DD3BF6F9D4092FD9C70120B26E83407CB18FCF6BB945F9D7E80A1CD29BD3131A
  • powershell-7.0.0-preview.2-linux-arm64.tar.gz
    • 12B5CE3BA0FEF1C9820785623FD20798E4B6FCC8ABE5322DA4DD15E6B3C09A49
  • powershell-7.0.0-preview.2-linux-x64.tar.gz
    • F12124BBD8C89754517F6C53D641059D5B24FA8964EEBE8D5063F6ED01D77700
  • powershell-7.0.0-preview.2-linux-x64-fxdependent.tar.gz
    • 4F9B682698FAE8B4C3DC64BD19B433299D34DB6268B3E999345AAC0881C1FA4F
  • powershell-7.0.0-preview.2-osx-x64.pkg
    • B9CA20B7121EC8443A8E3AA1E61D431E1F49D803CCFC1AA17168C98BD8AA0F12
  • powershell-7.0.0-preview.2-osx-x64.tar.gz
    • 7412B7E9BAC04D6495A829A390E6E5B73B5EB77E5E40680AB0E4F39F448E6AC6
  • PowerShell-7.0.0-preview.2-win-arm32.zip
    • B374AD20AFE352AF65970599832B0C8535DCB7B3F33F4356C440896110FFA8E3
  • PowerShell-7.0.0-preview.2-win-arm64.zip
    • 0D521BBD88BAA7EF7EE31D5E8FC8078D1AE138B86F7F02FC02446859DE4160F8
  • PowerShell-7.0.0-preview.2-win-fxdependent.zip
    • 8BEF26FF757F4531C3FCBA7465CDF998B27635846B768998B038123AD646AC3C
  • PowerShell-7.0.0-preview.2-win-fxdependentWinDesktop.zip
    • 04C8D286D22644BF8F47BF325A788A4DC5B1805974DADE964D97FC30F0749F16
  • PowerShell-7.0.0-preview.2-win-x64.msi
    • 123135D14758E84D60BB759D0C16684963194EB3847B8C3964DBE3A9648D2255
  • PowerShell-7.0.0-preview.2-win-x64.zip
    • CE068509141A24E086C9CC72936899104341C5BB766FE10FD84FEC2390166D66
  • PowerShell-7.0.0-preview.2-win-x86.msi
    • B2C6ECE5EE5A79C99240150E38DBE9098566B4E8DF145981711AEEB690281A0F
  • PowerShell-7.0.0-preview.2-win-x86.zip
    • 794350403185BCE9CB31F6432F13E0BD3C74AC44A0095C0A35F2346B7E2370EF
  • powershell-preview_7.0.0-preview.2-1.debian.9_amd64.deb
    • 478F715BA860C2ADD10E3F4B842E1E27AF9F6D6BE65F160C08DD859C09484646
  • powershell-preview_7.0.0-preview.2-1.ubuntu.16.04_amd64.deb
    • 469464EA3292645DA65B078599A2EE2774B20EAC78036EDC0485B68792B8C5D4
  • powershell-preview_7.0.0-preview.2-1.ubuntu.18.04_amd64.deb
    • AF5C54559942CE2FBBC200AAAD221F00B3F9EA772...
Read more

v6.2.2 Release of PowerShell Core

16 Jul 17:22

Choose a tag to compare

v6.2.2 - 07/16/2019

Breaking Changes

  • Disable Enter-PSHostProcess cmdlet when system in lock down mode (Internal 8969)

Engine Updates and Fixes

  • Create JumpList in STA thread as some COM APIs are strictly STA only to avoid sporadic CLR crashes (#10057, #9928) (Thanks @bergmeister!)

Build and Packaging Improvements

  • Update DotNet SDK and runtime framework version (Internal 9082, 9088, 9092)
  • Make Hashtable case insensitivity test use current culture rather than shell to set culture (Internal 8529)
  • Add automated RPM signing to release build (#10013)
  • Update copyright symbol for NuGet packages (#9936)
  • Bump Microsoft.ApplicationInsights from 2.9.1 to 2.10.0 (#9757)
  • Switch from BMP to PNG for graphical MSI installer assets (#9606)
  • Bump System.Net.Http.WinHttpHandler from 4.5.3 to 4.5.4 (#9789)
  • Enable building of MSIX package (#9289, #9715)

SHA256 Hashes of the release artifacts

  • powershell_6.2.2-1.debian.9_amd64.deb
    • 8A8CC383A363EFC014D304A11072DAA1B07A0B771EEA8E2C28286EDD8C3DA4CF
  • powershell_6.2.2-1.ubuntu.16.04_amd64.deb
    • DC8C42203817BB2B82968DA31C282EB480E498C2E4DEF1A5AD7B294DF2DF5AFB
  • powershell_6.2.2-1.ubuntu.18.04_amd64.deb
    • 2C9F82AD3F30B861BE60F178158B60210861C0BC80637022DF73090228122499
  • powershell-6.2.2-1.rhel.7.x86_64.rpm
    • E8BFF71ADAEDA36ECB95D2C7778990A9B4E76B669BED9B006B3216EC43375F86
  • powershell-6.2.2-linux-alpine-x64.tar.gz
    • 31C2E202A0AEEBAF7530111EFF34C3400AAB5502132015A4DEB8FF8698FE05EC
  • powershell-6.2.2-linux-arm32.tar.gz
    • AEF43DFBD7B68E5FC1548F9188CD3F7C2EA273B6D97BC88555686A5C1CDB8C41
  • powershell-6.2.2-linux-arm64.tar.gz
    • 85FCFF9AFF369F976140B7D3DC377CBE9A566EF2C29DD8E36C614DA6C6828570
  • powershell-6.2.2-linux-x64.tar.gz
    • 7C98B4471B13FE358A4DF51E7E9315746CFCAD9C557823D63772873796C192E5
  • powershell-6.2.2-linux-x64-fxdependent.tar.gz
    • 36A4E78AD3588E23D8679835566EC77481A1461D316D2F1962A63C9FEB0A7821
  • powershell-6.2.2-osx-x64.pkg
    • 1D4E6B21BB5FCE90F3D3B90640A978A90F2860672483FE2BC7C249F2E9AE58CD
  • powershell-6.2.2-osx-x64.tar.gz
    • 6C1F435F863088C7938033E0F97FB2878239E35135DBE17E6DE92BB234B187F5
  • PowerShell-6.2.2-win-arm32.zip
    • CDB7B45B9ED27D3E82DFF26C456B3FE5837F99C10BC695FBD19CA469D32CD713
  • PowerShell-6.2.2-win-arm64.zip
    • 8FE46CB51D04B3B5F5E512918643E27C570A780EDEF97E17C12196B49857EBF2
  • PowerShell-6.2.2-win-fxdependent.zip
    • C3DD2307E40F36C98EDFD04034BEAB209D109A297A24A375D36633AB841672CD
  • PowerShell-6.2.2-win-x64.msi
    • FBFAF00A72018D9C49A6C5A05C6D05F9EA4BC6A4F6952D9F3B4FCCA96274E963
  • PowerShell-6.2.2-win-x64.zip
    • 777E747DDA5B684E8B05D720330FB5EFDF3D4939F718D17446F33A0471BF6092
  • PowerShell-6.2.2-win-x86.msi
    • 016D39CA5A735AEDE369F803DDC91E65D113B65226F134E2B0AFFD589B126B48
  • PowerShell-6.2.2-win-x86.zip
    • CF492E43FD5A75EE5C542F6B45B6611382F80B362ACA46FD8BE6F95154791EA0

v6.1.5 Release of PowerShell Core

16 Jul 17:17

Choose a tag to compare

6.1.5 - 2019-07-16

Breaking changes

  • Disable Enter-PSHostProcess cmdlet when system in lock down mode (Internal 8968)

Build and Packaging Improvements

  • Update DotNet SDK and runtime framework version (Internal 9087)
  • Add automated RPM signing to release build (#10013)
  • Update copyright symbol for NuGet packages (#9936)
  • Bump System.Net.Http.WinHttpHandler from 4.5.3 to 4.5.4 (#9790)
  • Integrate building NuGet package in the coordinated build (#8947) (#9708)
  • Bump Newtonsoft.Json (#9662)

SHA256 Hashes of the release artifacts

  • powershell_6.1.5-1.debian.9_amd64.deb
    • 8942AE964664DD6BCBCF04B798B0D0B8D97CB5307CF43C4FCE493C960CBFEB23
  • powershell_6.1.5-1.ubuntu.14.04_amd64.deb
    • FE2AF860B80C53D510254E5F6E07AE9955BC1FFAA6081EDADD1EBEB63DFC429A
  • powershell_6.1.5-1.ubuntu.16.04_amd64.deb
    • 397361860F0C529176D1F39B2102D32A16A043E919DF90D3A192F42CC699B6DA
  • powershell_6.1.5-1.ubuntu.18.04_amd64.deb
    • 43A5C68F0F54BB434FAE5F293BA20AE4068C59D0AABE83DCEA3DF6BE090AEEE9
  • powershell-6.1.5-1.rhel.7.x86_64.rpm
    • 8F95AF2F115BBB27954634D34F76EE6B987A3279EB9DC57CAB5F6EC85F8714BA
  • powershell-6.1.5-linux-alpine-x64.tar.gz
    • 95876D3AA8F1B2E35D293B89CAE06DA98388EB929AA39B82F52B3BCACBEBA7EB
  • powershell-6.1.5-linux-arm32.tar.gz
    • 35FC74D4355C846A46E2D9DBE50D2548244AF0D8C041244DE298CFBA22692212
  • powershell-6.1.5-linux-x64.tar.gz
    • A50F8781AF02B962B967E3670B74377DEA7BC8B8B2D06E9045D81E2495D23B1A
  • powershell-6.1.5-linux-x64-fxdependent.tar.gz
    • 0610ECDBD64A4FE8C92EE504DCE6B6535694E15C0017639C2FDC5686021B5FF9
  • powershell-6.1.5-osx-x64.pkg
    • 35AD929A3B832D009D77CC08126EF01C5B9B7A16EE87BA1F03BFBF76DE109CFE
  • powershell-6.1.5-osx-x64.tar.gz
    • 9C0A5D2F3CA5B08F7480671F7BEDA0DF9F78F3E8936E7C84F2CE5E973B3E0577
  • PowerShell-6.1.5-win-arm32.zip
    • 14736DB354C806E090D624C15B2FE0AC2E47E9D27847C40AAC88B928DD421F6A
  • PowerShell-6.1.5-win-arm64.zip
    • D331713D471AD2EDF69355652DDC54D76A5131107D7D8C8B94DDDFE059E7AA3A
  • PowerShell-6.1.5-win-fxdependent.zip
    • 91211BDFC83F68CEB27B312244A292CED0C76ABC2474133C21526A4C7D7CDF65
  • PowerShell-6.1.5-win-x64.msi
    • 5B8227A95654E8BB8E6AAC67187923ED06F8D6F0E10C1041715C47306FCEBAC4
  • PowerShell-6.1.5-win-x64.zip
    • F5E230D50921A134D0383DF7DB4E40B274093D801559807D05CF6B93139690AF
  • PowerShell-6.1.5-win-x86.msi
    • C8E0B49D96A95755BDB09CB36DA8646C390DB879742BA949AFE0DF4F5E39ED45
  • PowerShell-6.1.5-win-x86.zip
    • 2A5DFC5B0B81D9E27BEFE76F7F232F3817A81E9680008EF3B5ECCAD6CBD3C57A

v7.0.0-preview.1 Release of PowerShell

30 May 21:28

Choose a tag to compare

Pre-release

v7.0.0-preview.1 - 05/30/2019

Breaking Changes

  • Disable the debugger when in system lock-down mode (#9645)
  • Fix Get-Module -FullyQualifiedName option to work with paths (#9101) (Thanks @pougetat!)
  • Fix -NoEnumerate behavior in Write-Output (#9069) (Thanks @vexx32!)
  • Make command searcher treat wildcard as literal if target exists for execution (#9202)

Engine Updates and Fixes

  • Port PowerShell to .NET Core 3.0 (#9597)
  • Make sure we always return an object in command searcher (#9623)
  • Support line continuance with pipe at the start of a line (#8938) (Thanks @KirkMunro!)
  • Add support for ValidateRangeKind to ParameterMetadata.GetProxyAttributeData (#9059) (Thanks @indented-automation!)
  • Allow passing just a dash as an argument to a file via pwsh (#9479)
  • Fix tab completion for functions (#9383)
  • Reduce string allocation in console output code (#6882) (Thanks @iSazonov!)
  • Fixing test run crash by not passing script block to the callback (#9298)
  • Add Binary Parsing Support & Refactor TryGetNumberValue & ScanNumberHelper (#7993) (Thanks @vexx32!)
  • Add PowerShell remoting enable/disable cmdlet warning messages (#9203)
  • Add xsd for cdxml (#9177)
  • Improve formatting performance by having better primitives on PSObject (#8785) (Thanks @powercode!)
  • Improve type inference of array literals and foreach statement variables (#8100) (Thanks @SeeminglyScience!)
  • Fix for FormatTable remote deserialization regression (#9116)
  • Get MethodInfo from .NET public type with explicit parameter types (#9029) (Thanks @iSazonov!)
  • Add retry logic to the operation that updates powershell.config.json (#8779) (Thanks @iSazonov!)
  • Update the task-based async APIs added to PowerShell to return a Task object directly (#9079)
  • Add 5 InvokeAsync overloads and StopAsync to the PowerShell type (#8056) (Thanks @KirkMunro!)
  • Remove unused cached types (#9015)

General Cmdlet Updates and Fixes

  • Fix use of unicode ellipsis in XML for truncating error messages (#9589)
  • Improve error message in FileSystemProvider when removing a folder containing hidden or read only files (#9551) (Thanks @iSazonov!)
  • Enable recursion into OneDrive by not treating placeholders as symlinks (#9509)
  • Change MatchType for EnumerationOptions to be Win32 making this consistent with Windows PowerShell (#9529)
  • Add Support for null Usernames in Web Cmdlet Basic Auth (#9536) (Thanks @markekraus!)
  • Fix null reference when Microsoft.PowerShell.Utility is loaded as a snapin in hosting scenarios (#9404)
  • Update width of DateTime to accommodate change in Japan DateTime format with new era starting 5/1/19 (#9503)
  • Fix Get-Runspace runspace object format Type column (#9438)
  • Return correct casing of filesystem path during normalization (#9250)
  • Move warning message to EndProcessing so it only shows up once (#9385)
  • Fix the platform check in CimDSCParser.cs (#9338)
  • New New-PSBreakpoint cmdlet & new -Breakpoint parameter for Debug-Runspace (#8923)
  • Fix help paging issues on macOS/Linux and with custom pager that takes arguments (#9033) (Thanks @rkeithhill!)
  • Add QuoteFields parameter to ConvertTo-Csv and Export-Csv (#9132) (Thanks @iSazonov!)
  • Fix progress for Get-ComputerInfo (#9236) (Thanks @powercode!)
  • Add ItemSeparator and AltItemSeparator properties in ProviderInfo (#8587) (Thanks @renehernandez!)
  • Add timestamp to pshost trace listener (#9230)
  • Implement Get-Random -Count without specifying an InputObject list (#9111) (Thanks @pougetat!)
  • Enable SecureString cmdlets for non-Windows (#9199)
  • Add Obsolete message to Send-MailMessage (#9178)
  • Fix Restart-Computer to work on localhost when WinRM is not present (#9160)
  • Make Start-Job throw terminating exception when -RunAs32 is specified in 64-bit pwsh (#9143)
  • Make Start-Job throw terminating error when PowerShell is being hosted (#9128)
  • Made -Subject parameter of Send-MailMessage command no longer mandatory. (#8961) (Thanks @ece-jacob-scott!)
  • Make New-ModuleManifest consistent with Update-ModuleManifest (#9104) (Thanks @pougetat!)
  • Add support for empty NoteProperty in Group-Object (#9109) (Thanks @iSazonov!)
  • Remove Hardlink from Mode property in default file system format (#8789) (Thanks @powercode!)
  • Fixing issue with help progress with Get-Help not calling Completed (#8788) (Thanks @powercode!)
  • Allow Test-ModuleManifest to work when RootModule has no file extension (#8687) (Thanks @pougetat!)
  • Add UseQuotes parameter to Export-Csv and ConvertTo-Csv cmdlets (#8951) (Thanks @iSazonov!)
  • Update version for PowerShell.Native and hosting tests (#8983)
  • Refactor shuffle in Get-Random to save a full iteration of the objects. (#8969) (Thanks @st0le!)
  • Suggest -Id pid for Get-Process pid (#8959) (Thanks @MohiTheFish!)

Code Cleanup

  • Attributes.cs - Style / Formatting Fixes (#9625) (Thanks @vexx32!)
  • Remove Workflow from PSSessionType (#9618) (Thanks @iSazonov!)
  • Update use of "PowerShell Core" to just "PowerShell" (#9513)
  • Use IPGlobalProperties on all platforms for getting host name (#9530) (Thanks @iSazonov!)
  • Remove IsSymLink() P/Invoke on Unix (#9534) (Thanks @iSazonov!)
  • Cleanup unused P/Invokes on Unix (#9531) (Thanks @iSazonov!)
  • Update use of Windows PowerShell to just PowerShell (#9508)
  • Cleanup: sort usings (#9490) (Thanks @iSazonov!)
  • Cleanup Export-Command from AssemblyInfo (#9455) (Thanks @iSazonov!)
  • Run CodeFormatter for System.Management.Automation (#9402) (Thanks @iSazonov!)
  • Run CodeFormatter with BraceNewLine,UsingLocation,FormatDocument,NewLineAbove rules (#9393) (Thanks @iSazonov!)
  • Run CodeFormatter for WSMan.Management (#9400) (Thanks @iSazonov!)
  • Run CodeFormatter for WSMan.Runtime (#9401) (Thanks @iSazonov!)
  • Run CodeFormatter for Security module (#9399) (Thanks @iSazonov!)
  • Run CodeFormatter for MarkdownRender (#9398) (Thanks @iSazonov!)
  • Run CodeFormatter for Eventing (#9394) (Thanks @iSazonov!)
  • Use Environment.NewLine for new lines in ConsoleHost code (#9392) (Thanks @iSazonov!)
  • Run CodeFormatter for Diagnostics module (#9378) (Thanks @iSazonov!)
  • Run CodeFormatter for Microsoft.PowerShell.Commands.Management (#9377) (Thanks @iSazonov!)
  • Run CodeFormatter for Utility module (#9376) (Thanks @iSazonov!)
  • Style: Match file name casings of C# source files for Utility commands (#9329) (Thanks @ThreeFive-O!)
  • Update repo for Ubuntu 14.04 EOL (#9324)
  • Cleanup: sort usings (#9283) (Thanks @iSazonov!)
  • Fix StyleCop Hungarian Notation (#9281) (Thanks @iSazonov!)
  • Style: Update StyleCop rules (#8500)
  • Enhance the P/Invoke code for LookupAccountSid in Process.cs (#9197) (Thanks @iSazonov!)
  • Fix coding style for NewModuleManifestCommand (#9134) (Thanks @pougetat!)
  • Remove unused method CredUIPromptForCredential from HostUtilities.cs (#9220) (Thanks @iSazonov!)
  • Remove non-existent paths from .csproj files (#9214) (Thanks @ThreeFive-O!)
  • Typo in new parameter set (#9205)
  • Minor FileSystemProvider cleanup (#9182) (Thanks @RDIL!)
  • Cleanup style issues in CoreAdapter and MshObject (#9190) (Thanks @iSazonov!)
  • Minor cleanups in Process.cs (#9195) (Thanks @iSazonov!)
  • Refactor ReadConsole P/Invoke in ConsoleHost (#9165) (Thanks @iSazonov!)
  • Clean up Get-Random cmdlet (#9133) (Thanks @pougetat!)
  • Fix to not pass StringBuilder by reference (out or ref) in P/Invoke (#9066) (Thanks @iSazonov!)
  • Update AppVeyor comments in Implicit.Remoting.Tests.ps1 (#9020) (Thanks @RDIL!)
  • Remove AppImage from tools (#9100) (Thanks @Geweldig!)
  • Using supported syntax for restoring warnings - Visual Studio 2019 complains about enable. (#9107) (Thanks @powercode!)
  • Use Type.EmptyTypes and Array.Empty<T>() to replace our custom code of the same functionality (#9042) (Thanks @iSazonov!)
  • Rename private methods in MshCommandRuntime.cs (#9074) (Thanks @vexx32!)
  • Cleanup & update ErrorRecord class code style (#9021) (Thanks @vexx32!)
  • Remove unused cached types from CachedReflectionInfo (#9019) (Thanks @iSazonov!)
  • Fix CodeFactor brace style issues in FileSystemProvider (#8992) (Thanks @RDIL!)
  • Use List.AddRange to optimize -Split (#9001) (Thanks @iSazonov!)
  • Remove Arch Linux Dockerfile (#8990) (Thanks @RDIL!)
  • Cleanup dllimport (#8847) (Thanks @iSazonov!)

Tools

  • Convert custom attribute ValidatePathNotInSettings to function (#9406)
  • Create DependaBot config.yml (#9368)
  • Add more users to failures detection and fix alias for static analysis (#9292)
  • Make install-powershell.ps1 work on Windows Server 2012 R2 (#9271)
  • Enable PoshChan for getting and automatic retrieval of test failures for a PR (#9232)
  • Fix capitalization cases for PoshChan (#9188) (Thanks @RDIL!)
  • Update to new format for PoshChan settings and allow all users access to reminders (#9198)
  • Fix settings to use dashes instead of underscore (#9167)
  • Fix AzDevOps context names and add all PowerShell team members (#9164)
  • Add settings for PoshChan (#9162)
  • Adding CmdletsToExport and AliasesToExport to test module manifests. (#9108) (Thanks @powercode!)
  • Delete Docker manifest creation script (#9076) (Thanks @RDIL!)
  • Make install scripts more consistent over different operating systems (#9071) (Thanks @Geweldig!)
  • Comment cleanup in releaseTools.psm1 (#9064) (Thanks @RDIL!)
  • Fix duplicate recommendation of Azure DevOps extension for Visual Studio Code (#9032) (Thanks @ThreeFive-O!)
  • Code coverage artifacts (#8993)

Tests

  • Update version tests to use NextReleaseVersion from metadata.json (#9646)
  • Convert Windows CI to stages (#9607)
  • Multiple test fixes and improved logging for fragile tests (#9569)
  • Add unit and feature tests for `Send-Mai...
Read more

v6.2.1 Release of PowerShell Core

21 May 17:58

Choose a tag to compare

v6.2.1 - 05/21/2019

Engine Updates and Fixes

  • Re-enable tab completion for functions (#9383)
  • Disable debugger in System Lock down mode (Internal 8428)

Code Cleanup

  • Update repo for Ubuntu 14.04 EOL (#9324)

Tests

  • Fix skipping of tests in RemoteSession.Basic.Tests.ps1 (#9304)
  • Update tests to account for when $PSHOME is read only (#9279)
  • Mark tests in macOS CI which use applescript as pending/inconclusive (#9352)
  • Make sure non-Windows CI fails when a test fails (#9303)

Build and Packaging Improvements

  • Partially revert "Fix the failed test and update Publish-TestResults to make AzDO fail the task when any tests failed (#9457)"
  • Bump Markdig.Signed from 0.16.0 to 0.17.0 (#9595)
  • Bump Microsoft.PowerShell.Archive from 1.2.2.0 to 1.2.3.0 in /src/Modules (#9594)
  • Enable building on Kali Linux (#9471)
  • Fix the failed test and update Publish-TestResults to make AzDO fail the task when any tests failed (#9457)
  • Add Preview assets for msix (#9375)
  • Create code coverage and test packages for non-windows (#9373)
  • Fix publishing daily nupkg to MyGet (#9269)
  • Bump PackageManagement from 1.3.1 to 1.3.2 in /src/Modules (#9568)
  • Bump NJsonSchema from 9.13.27 to 9.13.37 (#9524)
  • Bump gulp from 4.0.0 to 4.0.2 in /test/common/markdown (#9443)
  • Bump Newtonsoft.Json from 12.0.1 to 12.0.2 (#9433)
  • Bump System.Net.Http.WinHttpHandler from 4.5.2 to 4.5.3 (#9367)
  • Add AccessToken variable to jobs that perform signing (#9351)
  • Create test package for macOS on release builds (#9344)
  • Add component detection to all jobs (#8964)
  • Move artifacts to artifact staging directory before uploading (#9273)

SHA256 Hashes of the release artifacts

  • powershell_6.2.1-1.debian.9_amd64.deb
    • 8F82DA9935196C420B82F5AAD731FC2992043668F49275E6955611440780C6F7
  • powershell_6.2.1-1.ubuntu.16.04_amd64.deb
    • D2AF5AC877098ED4A2F86987C5F4D74DC2CFECF9E75805ECD04521EE2E4B25D0
  • powershell_6.2.1-1.ubuntu.18.04_amd64.deb
    • B3FE1E5E03B566DE81EDB3C1B767BCBA76715D6FF9CA37BF3692B1711F076306
  • powershell-6.2.1-1.rhel.7.x86_64.rpm
    • 1CDF5E804A2FC84E91999E46231B00B8A8635D3595218E9709ADAA8208D02C4D
  • powershell-6.2.1-linux-alpine-x64.tar.gz
    • F1AB8E64706858190355AA41C5E481E0074A8E485DB4687E5BA5D1F1595726D9
  • powershell-6.2.1-linux-arm32.tar.gz
    • 1C1ED1C764980C98092FAF8DABAA4C635AD9ED9BA43F5D1872DC27C47C7FD923
  • powershell-6.2.1-linux-arm64.tar.gz
    • 7605F347F543880A90C1F67305C802562384A4DCDA9E797D501E7BBF674645AC
  • powershell-6.2.1-linux-x64.tar.gz
    • E8287687C99162BF70FEFCC2E492F3B54F80BE880D86B9A0EC92C71B05C40013
  • powershell-6.2.1-linux-x64-fxdependent.tar.gz
    • 36F70A4D79094FEEA7BA21527531C0A4C3F2691EFA554AEA012E73285C2E9841
  • powershell-6.2.1-osx-x64.pkg
    • F490DC74E47467BD171E0F6B0496900F094467B34F85498DE043D15572D6B35B
  • powershell-6.2.1-osx-x64.tar.gz
    • 264AF97471D42795F61DAAE52746FF08AB701892EC58B34669DD15B11FC1041E
  • PowerShell-6.2.1-win-arm32.zip
    • 7BC3852DF425571C6C33AF96CA3418360C5EBD798E52E0471552260331A525AE
  • PowerShell-6.2.1-win-arm64.zip
    • E0ABA4E85ADAA1325B4BCD3037C4C1916F6CD1FA1E439DEC134BCE46424D1BD2
  • PowerShell-6.2.1-win-fxdependent.zip
    • 541008A6F968AE13727428F939089F3B0430E47C2772272F58621874002ADB2B
  • PowerShell-6.2.1-win-x64.msi
    • C24406CA8F65440FA0381E417B05A16161227276EB3B77091FDB9D174B7F3144
  • PowerShell-6.2.1-win-x64.zip
    • 6BCC0F80CA549A8ADB317B2EC1294F103C4BF75CC29EFA8AC03A27F9A860B1F4
  • PowerShell-6.2.1-win-x86.msi
    • 0FE4EA7B87A948C4C42551AB68E22FCD12BFF593954DD4483CFFDF541C23A5E4
  • PowerShell-6.2.1-win-x86.zip
    • F8A713A2614603267683F463B75CE9A81756107F0C927F198BBDD747ACB10AC0