Skip to content

Releases: PowerShell/PowerShell

v7.3.0-preview.2 Release of PowerShell

24 Feb 23:30
Compare
Choose a tag to compare
Pre-release

7.3.0-preview.2 - 2022-02-24

Engine Updates and Fixes

  • Fix the clean block for generated proxy function (#16827)
  • Add support to allow invoking method with generic type arguments (#12412 and #16822) (Thanks @vexx32!)
  • Report error when PowerShell built-in modules are missing (#16628)

General Cmdlet Updates and Fixes

  • Prevent command completion if the word to complete is a single dash (#16781) (Thanks @ayousuf23!)
  • Use FindFirstFileW instead of FindFirstFileExW to correctly handle Unicode file names on FAT32 (#16840) (Thanks @iSazonov!)
  • Add completion for loop labels after Break/Continue (#16438) (Thanks @MartinGC94!)
  • Support OpenSSH options for PSRP over SSH commands (#12802) (Thanks @BrannenGH!)
  • Adds a .ResolvedTarget Property to File-System Items to Reflect a Symlink's Target as FileSystemInfo (#16490) (Thanks @hammy3502!)
  • Use NotifyEndApplication to re-enable VT mode (#16612)
  • Add new parameter to Start-Sleep: [-Duration] <timespan> (#16185) (Thanks @IISResetMe!)
  • Add lock and null check to remoting internals (#16542) (#16683) (Thanks @SergeyZalyadeev!)
  • Make Measure-Object ignore missing properties unless running in strict mode (#16589) (Thanks @KiwiThePoodle!)
  • Add -StrictMode to Invoke-Command to allow specifying strict mode when invoking command locally (#16545) (Thanks @Thomas-Yu!)
  • Fix $PSNativeCommandArgPassing = Windows to handle empty args correctly (#16639)
  • Reduce the amount of startup banner text (#16516) (Thanks @rkeithhill!)
  • Add exec cmdlet for bash compatibility (#16462)
  • Add AMSI method invocation logging as experimental feature (#16496)
  • Fix web cmdlets so that an empty Get does not include a content-length header (#16587)
  • Update HelpInfoUri for 7.3 release (#16646)
  • Fix parsing SemanticVersion build label from version string (#16608)
  • Fix ForEach-Object -Parallel when passing in script block variable (#16564)

Code Cleanup

We thank the following contributors!

@eltociear, @iSazonov, @xtqqczze

  • Fix typo in PowerShellExecutionHelper.cs (#16776) (Thanks @eltociear!)
  • Use more efficient platform detection API (#16760) (Thanks @iSazonov!)
  • Seal ClientRemotePowerShell (#15802) (Thanks @xtqqczze!)
  • Fix the DSC overview URL in a markdown file and some small cleanup changes (#16629)

Tools

  • Fix automation to update experimental JSON files in GitHub action (#16837)

Tests

  • Update markdownlint to the latest version (#16825)
  • Bump the package path-parse from 1.0.6 to 1.0.7 (#16820)
  • Remove assert that is incorrect and affecting our tests (#16588)

Build and Packaging Improvements

We thank the following contributors!

@dahlia

  • Update NuGet Testing to not re-install dotnet, when not needed and dynamically determine the DOTNET_ROOT (Internal 19268, 19269, 19272, 19273, and 19274)
  • Remove SkipExperimentalFeatureGeneration when building alpine (Internal 19248)
  • Revert .NET 7 changes, Update to the latest .NET 6 and Update WXS file due to blocking issue in .NET 7 Preview 1
  • Install and Find AzCopy
  • Use Start-PSBootStrap for installing .NET during nuget packaging
  • Fix pool syntax for deployments (Internal 19189)
  • Bump NJsonSchema from 10.5.2 to 10.6.9 (#16888)
  • Update projects and scripts to use .NET 7 preview 1 pre-release builds (#16856)
  • Add warning messages when package precheck fails (#16867)
  • Refactor Global Tool packaging to include SBOM generation (#16860)
  • Update to use windows-latest as the build agent image (#16831)
  • Ensure alpine and arm SKUs have powershell.config.json file with experimental features enabled (#16823)
  • Update experimental feature json files (#16838) (Thanks @github-actions[bot]!)
  • Remove WiX install (#16834)
  • Add experimental json update automation (#16833)
  • Update .NET SDK to 6.0.101 and fix Microsoft.PowerShell.GlobalTool.Shim.csproj (#16821)
  • Add SBOM manifest to nuget packages (#16711)
  • Improve logic for updating .NET in CI (#16808)
  • Add Linux package dependencies for packaging (#16807)
  • Switch to our custom images for build and release (#16801)
  • Remove all references to cmake for the builds in this repo (#16578)
  • Fix build for new InvokeCommand attributes (#16800)
  • Let macOS installer run without Rosetta on Apple Silicon (#16742) (Thanks @dahlia!)
  • Update the expect .NET SDK quality to GA for installing dotnet (#16784)
  • Change nuget release yaml to use UseDotNet task (#16701)
  • Bump Microsoft.ApplicationInsights from 2.19.0 to 2.20.0 (#16642)
  • Register NuGet source when generating CGManifest (#16570)
  • Update Images used for release (#16580)
  • Update SBOM generation (#16641)
  • Bring changes from 7.3.0-preview.1 (#16640)
  • Update the vmImage and PowerShell root directory for macOS builds (#16611)
  • Update macOS build image and root folder for build (#16609)
  • Disabled Yarn cache in markdown.yml (#16599)
  • Update cgmanifest (#16600)
  • Fix broken links in markdown (#16598)

Documentation and Help Content

  • Add newly joined members to their respective Working Groups (#16849)
  • Update Engine Working Group members (#16780)
  • Replace the broken link about pull request (#16771)
  • Update change log to remove a broken URL (#16735)
  • Updated README.md and metadata.json for v7.3.0-preview.1 release (#16627)
  • Updating changelog for 7.2.1 (#16616)
  • Updated README.md and metadata.json for 7.2.1 release (#16586)

SHA256 Hashes of the release artifacts

  • hashes.sha256
    • 9622CC0F25B9320E8AA0C4EC1A716174386C60788FF58EB20C52627CB732A69B
  • powershell-7.3.0-preview.2-linux-alpine-x64.tar.gz
    • A2AB96E383C4B6A5F689610AA3CFAF1428D5FBEFC88C4FEA1AED6C4061CE5672
  • powershell-7.3.0-preview.2-linux-arm32.tar.gz
    • 37C74FE1253A4DEE44BC06647726FCB74A882FD3C13B026C3E56C85A203E7133
  • powershell-7.3.0-preview.2-linux-arm64.tar.gz
    • 1D54441B686E52B209F317CC33875374E5E92D0E547B1BCC38F3240444801A98
  • powershell-7.3.0-preview.2-linux-x64.tar.gz
    • 03A97A27FA076A948C6E56A59B431ACBD04F4FF930A4027DD877C10EBDE11DA8
  • powershell-7.3.0-preview.2-linux-x64-fxdependent.tar.gz
    • 2371760BCEF5D4ED8F3C738FD3FBFCDD355ED74E89DE3D7B35CA646B9A550A73
  • powershell-7.3.0-preview.2-osx-arm64.pkg
    • F1DD9572CE7E696764D8192250E73ECD6A064C0A95174373C6232729458CD62D
  • powershell-7.3.0-preview.2-osx-arm64.tar.gz
    • 67B35C3643C7218645FA0A2BB4627FC1A3006E09C09EBEC85C99C78C1F9AEC46
  • powershell-7.3.0-preview.2-osx-x64.pkg
    • A582622CA7BBB818B712394EB060D4056D26AEB082831E27CD647FCED9A64C01
  • powershell-7.3.0-preview.2-osx-x64.tar.gz
    • 49F6DFBFC0F03A120B08106B311FDCCE5075E53482597CFD91DFC8106CEF91BA
  • PowerShell-7.3.0-preview.2-win-arm32.zip
    • 81B125397CCAB0D9FDECE7F92D26213B7C7D92ED14011B06BDB197CF158692EF
  • PowerShell-7.3.0-preview.2-win-arm64.zip
    • 5034CD1A84AA3365DC829468DB2A62B030AF738B40312499A2D1586F6206964A
  • PowerShell-7.3.0-preview.2-win-fxdependent.zip
    • 5F0956B7C1214DF73D23022BAB050D4B7F145B1DCF64EAF6E2CEF1FC95ED1CB5
  • PowerShell-7.3.0-preview.2-win-fxdependentWinDesktop.zip
    • 791D32319158C6DF96E5C4429C0B6245DF975C068A29E9DEAD0D4C36A0B1D90D
  • PowerShell-7.3.0-preview.2-win-x64.msi
    • 8C2392E4A7264AD7AC0655C46AB35545A7744110D192ACA8164767A9D3CD4CF8
  • PowerShell-7.3.0-preview.2-win-x64.zip
    • C62A26B8322330D27DCCEE007924A9429DA0F2B33B5EAD2656CBDF95FFBD2268
  • PowerShell-7.3.0-preview.2-win-x86.msi
    • E85C9E08CB9B7332002F3766BECC8062374EA7D32053F74A53898E00667F4E8C
  • PowerShell-7.3.0-preview.2-win-x86.zip
    • 754F93A62696A12BA49A6DF4F266BAEBE34E88C5BB305E54EA1C0019B0511156
  • powershell-preview_7.3.0-preview.2-1.deb_amd64.deb
    • 308CDD116AC1215321CB811254EBF682A228DA24B811538D4336F837A283A490
  • powershell-preview-7.3.0_preview.2-1.rh.x86_64.rpm
    • 2E07548A2757A7026EA8221C595E3AEB8576C12DDAE170BA816719A34212DB13

v7.3.0-preview.1 Release of PowerShell

16 Dec 19:51
Compare
Choose a tag to compare
Pre-release

[7.3.0-preview.1] - 2021-12-16

Note: Known issue about 7.3.0-preview.1 Alpine Linux packages are missing powershell.config.json causing experimental features disabled by default. For details see: #16636

Breaking Changes

  • Add clean block to script block as a peer to begin, process, and end to allow easy resource cleanup (#15177)
  • Change default for $PSStyle.OutputRendering to Ansi (Internal 18449)

Engine Updates and Fixes

  • Remove duplicate remote server mediator code (#16027)
  • Fix PSVersion parameter version checks and error messages for PowerShell 7 remoting (#16228)
  • Use the same temporary home directory when HOME env variable is not set (#16263)
  • Fix parser to generate error when array has more than 32 dimensions (#16276)

Performance

  • Avoid validation for built-in file extension and color VT sequences (#16320) (Thanks @iSazonov!)

General Cmdlet Updates and Fixes

  • Update README.md and metadata.json for next preview release (#16107)
  • Use PlainText when writing to a host that doesn't support VT (#16092)
  • Remove support for AppExeCLinks to retrieve target (#16044)
  • Move GetOuputString() and GetFormatStyleString() to PSHostUserInterface as public API (#16075)
  • Fix ConvertTo-SecureString with key regression due to .NET breaking change (#16068)
  • Fix regression in Move-Item to only fallback to copy and delete in specific cases (#16029)
  • Set $? correctly for command expression with redirections (#16046)
  • Use CurrentCulture when handling conversions to DateTime in Add-History (#16005) (Thanks @vexx32!)
  • Fix link header parsing to handle unquoted rel types (#15973) (Thanks @StevenLiekens!)
  • Fix a casting error when using $PSNativeCommandUsesErrorActionPreference (#15993)
  • Format-Wide: Fix NullReferenceException (#15990) (Thanks @DarylGraves!)
  • Make the native command error handling optionally honor ErrorActionPreference (#15897)
  • Remove declaration of experimental features in Utility module manifest as they are stable (#16460)
  • Fix race condition between DisconnectAsync and Dispose (#16536) (Thanks @i3arnon!)
  • Fix the Max_PATH condition check to handle long path correctly (#16487) (Thanks @Shriram0908!)
  • Update HelpInfoUri for 7.2 release (#16456)
  • Fix tab completion within the script block specified for the ValidateScriptAttribute. (#14550) (Thanks @MartinGC94!)
  • Update README.md to specify gathered telemetry (#16379)
  • Fix typo for "privacy" in MSI installer (#16407)
  • Remove unneeded call to File.ResolveLinkTarget from IsWindowsApplication (#16371) (Thanks @iSazonov!)
  • Add -HttpVersion parameter to web cmdlets (#15853) (Thanks @hayhay27!)
  • Add support to web cmdlets for open-ended input tags (#16193) (Thanks @farmerau!)
  • Add more tests to Tee-Object -Encoding (#14539) (Thanks @rpolley!)
  • Don't throw exception when trying to resolve a possible link path (#16310)
  • Fix ConvertTo-Json -Depth to allow 100 at maximum (#16197) (Thanks @KevRitchie!)
  • Fix for SSH remoting when banner is enabled on SSHD endpoint (#16205)
  • Disallow all COM for AppLocker system lock down (#16268)
  • Configure ApplicationInsights to not send cloud role name (#16246)
  • Disallow Add-Type in NoLanguage mode on a locked down machine (#16245)
  • Specify the executable path as TargetObect for non-zero exit code ErrorRecord (#16108) (Thanks @rkeithhill!)
  • Don't allow Move-Item with FileSystemProvider to move a directory into itself (#16198)
  • Make property names for the color VT sequences consistent with documentations (#16212)
  • Fix PipelineVariable to set variable in the right scope (#16199)
  • Invoke-Command: improve handling of variables with $using: expression (#16113) (Thanks @dwtaber!)
  • Change Target from a CodeProperty to be an AliasProperty that points to FileSystemInfo.LinkTarget (#16165)

Code Cleanup

We thank the following contributors!

@xtqqczze, @eltociear, @iSazonov

  • Improve CommandInvocationIntrinsics API documentation and style (#14369)
  • Use bool?.GetValueOrDefault() in FormatWideCommand (#15988) (Thanks @xtqqczze!)
  • Remove 4 assertions which cause debug build test runs to fail (#15963)
  • Fix typo in `Job.cs` (#16454) (Thanks @eltociear!)
  • Remove unnecessary call to `ToArray` (#16307) (Thanks @iSazonov!)
  • Remove the unused `FollowSymLink` function (#16231)
  • Fix typo in `TypeTable.cs` (#16220) (Thanks @eltociear!)
  • Fixes #16176 - replace snippet tag with code tag in comments (#16177)

Tools

  • Fix typo in build.psm1 (#16038) (Thanks @eltociear!)
  • Add .stylecop to filetypexml and format it (#16025)
  • Enable sending Teams notification when workflow fails (#15982)
  • Use Convert-Path for unknown drive in Build.psm1 (#16416) (Thanks @matt9ucci!)

Tests

  • Add benchmark to test compiler performance (#16083)
  • Enable two previously disabled Get-Process tests (#15845) (Thanks @iSazonov!)
  • Set clean state before testing UseMU in the MSI (#16543)
  • Fix global tool and SDK tests in release pipeline (#16342)
  • Remove the outdated test (#16269)
  • Removed old not-used-anymore docker-based tests for PS release packages (#16224)

Build and Packaging Improvements

We thank the following contributors!

@github-actions[bot], @kondratyev-nv

  • fix issue with hash file getting created before we have finished get-childitem (#16170)
  • Add sha256 hashes to release (#16147)
  • Change path for Component Governance for build to the path we actually use to build (#16137)
  • Update Microsoft.CodeAnalysis.CSharp version (#16138)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#16070)
  • Update .NET to 6.0.100-rc.1.21458.32 (#16066)
  • Update minimum required OS version for macOS (#16088)
  • Set locale correctly on Linux CI (#16073)
  • Ensure locale is set correctly on Ubuntu 20.04 in CI (#16067)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#16045)
  • Update .NET SDK version from `6.0.100-rc.1.21430.44` to `6.0.100-rc.1.21455.2` (#16041) (Thanks @github-actions[bot]!)
  • Fix the GitHub Action for updating .NET daily builds (#16042)
  • Bump Microsoft.CodeAnalysis.CSharp from 4.0.0-3.final to 4.0.0-4.21430.4 (#16036)
  • Bump .NET to `6.0.100-rc.1.21430.44` (#16028)
  • Move from PkgES hosted agents to 1ES hosted agents (#16023)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#16021)
  • Update Ubuntu images to use Ubuntu 20.04 (#15906)
  • Fix the mac build by updating the pool image name (#16010)
  • Use Alpine 3.12 for building PowerShell for alpine (#16008)
  • Update .NET SDK version from `6.0.100-preview.6.21355.2` to `6.0.100-rc.1.21426.1` (#15648) (Thanks @github-actions[bot]!)
  • Ignore error from Find-Package (#15999)
  • Find packages separately for each source in UpdateDotnetRuntime.ps1 script (#15998)
  • Update metadata to start using .NET 6 RC1 builds (#15981)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#15985)
  • Merge the v7.2.0-preview.9 release branch back to GitHub master (#15983)
  • Publish global tool package for stable releases (#15961)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers to newer version (#15962)
  • Disabled Yarn cache in markdown.yml (#16599)
  • Update cgmanifest (#16600)
  • Fix broken links in markdown (#16598)
  • Add explicit job name for approval tasks in Snap stage (#16579)
  • Bring back pwsh.exe for framework dependent packages to support Start-Job (#16535)
  • Fix NuGet package generation in release build (#16509)
  • Add `Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToPSVersionTransformationAttribute` to list of patterns to remove for generated ref assembly (#16489)
  • Bump Microsoft.CodeAnalysis.CSharp from `4.0.0-6.final` to `4.0.1` (#16423)
  • use different containers for different branches (#16434)
  • Add import so we can use common GitHub workflow function. (#16433)
  • Remove pre-release .NET 6 build sources (#16418)
  • Update release instructions with link to new build (#16419)
  • Bump Microsoft.ApplicationInsights from 2.18.0 to 2.19.0 (#16413)
  • Update metadata.json to make 7.2.0 the latest LTS (#16417)
  • Make static CI a matrix (#16397)
  • Update metadata.json in preparation on 7.3.0-preview.1 release (#16406)
  • Update cgmanifest (#16405)
  • Add diagnostics used to take corrective action when releasing `buildInfoJson` (#16404)
  • `vPack` release should use `buildInfoJson` new to 7.2 (#16402)
  • Update the usage of metadata.json for getting LTS information (#16381)
  • Add checkout to build json stage to get `ci.psm1` (#16399)
  • Update CgManifest.json for 6.0.0 .NET packages (#16398)
  • Add current folder to the beginning of the module import (#16353)
  • Increment RC MSI build number by 100 (#16354)
  • Bump XunitXml.TestLogger from 3.0.66 to 3.0.70 (#16356)
  • Move PR Quantifier config to subfolder (#16352)
  • Release build info json when it is preview (#16335)
  • Add an approval for releasing build-info json (#16351)
  • Generate manifest with latest public version of the packages (#16337)
  • Update to the latest notices file (#16339) (Thanks @github-actions[bot]!)
  • Use notice task to generate licens...
Read more

v7.2.1 Release of PowerShell

14 Dec 18:15
Compare
Choose a tag to compare

7.2.1 - 2021-12-14

General Cmdlet Updates and Fixes

  • Remove declaration of experimental features in Utility module manifest as they are stable (#16460)
  • Bring back pwsh.exe for framework dependent packages to support Start-Job (#16535)
  • Change default for $PSStyle.OutputRendering to Ansi (Internal 18394)
  • Update HelpInfoUri for 7.2 release (#16456)
  • Fix typo for "privacy" in MSI installer (#16407)

Tests

  • Set clean state before testing UseMU in the MSI (#16543)

Build and Packaging Improvements

  • Add explicit job name for approval tasks in Snap stage (#16579)
  • Fixing the build by removing duplicate TSAUpload entries (Internal 18399)
  • Port CGManifest fixes (Internal 18402)
  • Update CGManifest (Internal 18403)
  • Updated package dependencies for 7.2.1 (Internal 18388)
  • Use different containers for different branches (#16434)
  • Use notice task to generate license assuming CGManifest contains all components (#16340)
  • Create compliance build (#16286)
  • Update release instructions with link to new build (#16419)
  • Add diagnostics used to take corrective action when releasing buildInfoJson (#16404)
  • vPack release should use buildInfoJson new to 7.2 (#16402)
  • Add checkout to build json stage to get ci.psm1 (#16399)
  • Update the usage of metadata.json for getting LTS information (#16381)
  • Move mapping file into product repo and add Debian 11 (#16316)

SHA256 Hashes of the release artifacts

  • hashes.sha256
    • 7C6ABAF4BCB09959A7B908E25D05B8CFE0D55322C72765EB45CEB0650CFA2AD1
  • powershell_7.2.1-1.deb_amd64.deb
    • 11756A6265BDC1EBD14D678AB08A6999C03E24157B26B2C2E40640E44CB46ACD
  • powershell-7.2.1-1.rh.x86_64.rpm
    • 3A6516CE32B825038A207A2E2C4EE1B9BCE677EFE4BA220743CB46DE158BA421
  • powershell-7.2.1-linux-alpine-x64.tar.gz
    • 4E39219B05567F1EB12B762371031D139181D43445D97410457420DB0BEF248A
  • powershell-7.2.1-linux-arm32.tar.gz
    • D40CA2C8E05DD8B6169D7F35683432C671A3C58F35E46DEAF1D776D9A78B38FE
  • powershell-7.2.1-linux-arm64.tar.gz
    • F0D6C9C36D69E1466E5A9412085EF52CAFD10B73F862D29479B806279A2975F4
  • powershell-7.2.1-linux-x64.tar.gz
    • 337D9864799AD09B46D261071B9F835F69F078814409BC2681F4CC2857B6BDA5
  • powershell-7.2.1-linux-x64-fxdependent.tar.gz
    • EEE9CF3DA1506AFF9AD53C71968E744FD630A2148F682D50ADB45370FF43E1EA
  • powershell-7.2.1-osx-arm64.pkg
    • 034BDB6CA923036A4D4E2A065810F9CF96B07EA5781BC1C81330417433DD1EA6
  • powershell-7.2.1-osx-arm64.tar.gz
    • 7478D10FD251CF41950392C5C357AB06E6CE439BC85E1C556EF125750957EC7C
  • powershell-7.2.1-osx-x64.pkg
    • 23046DBADA76832E441B838170E3E36ADA54A69C4F3AE25E210BE554E659FCE4
  • powershell-7.2.1-osx-x64.tar.gz
    • 331307ECF7CC28E7ECC7AFA7D0BA4527677996FDDFC0C08B913BB4B8ADCD8C3D
  • PowerShell-7.2.1-win-arm32.zip
    • E49ADE364BB2D1818393C6D9D49036329FAD5061E2C7C9ACD6FC344575218D1B
  • PowerShell-7.2.1-win-arm64.zip
    • 22EB1737DB326CB51C1ACD208300E61C80933DD8CBE11E8708122948413BB034
  • PowerShell-7.2.1-win-fxdependent.zip
    • E9D21CEFEF18F336D949F136C1E8FEC16096D360CA4A1576203DC645C5CFEF53
  • PowerShell-7.2.1-win-fxdependentWinDesktop.zip
    • EBE1185800EF318442C3C581FC405B61FFF9D9ED1AE009D87C93720911983A03
  • PowerShell-7.2.1-win-x64.msi
    • 4BE52CDD6323E4BEBDABD39A1BF65CDFB78953F77FEDE957A8421C0F5F9B2676
  • PowerShell-7.2.1-win-x64.zip
    • D08AAE1CBF53CA3ECA6EFCCB03B00178960BED6DAC5D151E83BB67A187C7E097
  • PowerShell-7.2.1-win-x86.msi
    • 8E23111B45230E61EB489D9A6DB20154E66E4C73489E7F201C52E0C5738F6694
  • PowerShell-7.2.1-win-x86.zip
    • A8916E7C35D4675FB09ADE0AB7161A4436606838513DD68D3C80D73CC3F7F4B5
  • powershell-lts_7.2.1-1.deb_amd64.deb
    • C203B2A5770AEA2879E64D542DE87DC6A705988F8AAD5BAE6A759F03EAB6FE96
  • powershell-lts-7.2.1-1.rh.x86_64.rpm
    • 3218FD5ABEBCD6549696D87AC53E23B246FC4E1C4AA1EDDBEA592FEAA7020CFB
  • powershell-lts-7.2.1-osx-arm64.pkg
    • 22B2A11FF5344696B6E039BC88462C3E9F673F9AB8ECBFAB8636120FF4FF86C4
  • powershell-lts-7.2.1-osx-x64.pkg
    • 2FD219A31DA51E1178BCB9E460B9CF05FDE3D9FD91E4C3CC0D63AE4AD4ED09F5

v7.2.0 Release of PowerShell

08 Nov 16:10
Compare
Choose a tag to compare

7.2.0 - 2021-11-08

General Cmdlet Updates and Fixes

  • Handle exception when trying to resolve a possible link path (#16310)

Tests

  • Fix global tool and SDK tests in release pipeline (#16342)

Build and Packaging Improvements

We thank the following contributors!

@kondratyev-nv

  • Add an approval for releasing build-info json (#16351)
  • Release build info json when it is preview (#16335)
  • Update metadata.json for v7.2.0 release
  • Update to the latest notices file and update cgmanifest.json (#16339)(#16325)
  • Fix issues in release build by updating usage of powershell.exe with pwsh.exe (#16332)
  • Update feed and analyzer dependency (#16327)
  • Update to .NET 6 GA build 6.0.100-rtm.21527.11 (#16309)
  • Add a major-minor build info JSON file (#16301)
  • Fix Windows build ZIP packaging (#16299) (Thanks @kondratyev-nv!)
  • Clean up crossgen related build scripts also generate native symbols for R2R images (#16297)
  • Fix issues reported by code signing verification tool (#16291)

SHA256 Hashes of the release artifacts

  • hashes.sha256
    • 742214B9DD9805522F1ACF16BF7265BAC6CAC06BC669CBFC877B514279D3D88C
  • powershell_7.2.0-1.deb_amd64.deb
    • 9FCDE25BBD7F537213E8AE34A9803C1DED59CFE1D41701816C424F9B33FD2BB3
  • powershell-7.2.0-1.rh.x86_64.rpm
    • A1F78D1807A79C691256434E7E913F7044D32A535222F1305CB408E0EE0065F9
  • powershell-7.2.0-linux-alpine-x64.tar.gz
    • DCCF213728B6D539785CBCC9AD9BC0971D82C7E8CF010E8F949E3DD17FC4C596
  • powershell-7.2.0-linux-arm32.tar.gz
    • BB1E2CA5FF230721ED3D2579714A7CFE12EA27B7B27B22AE222B3515D9038B8C
  • powershell-7.2.0-linux-arm64.tar.gz
    • 19E9AA2A308A68E6CF90AD11EBA86948EF031850E00B0D0F9E26AC9D59E46A24
  • powershell-7.2.0-linux-x64.tar.gz
    • 15B67D0571D9891A10E541A1462C906084AB148614DD83C6BBDDF90046A815A8
  • powershell-7.2.0-linux-x64-fxdependent.tar.gz
    • 6C842AB8EC48553E4C246CE8A01FCC19E9173726674C902B5ABAF4A4A1B0D0B0
  • powershell-7.2.0-osx-arm64.pkg
    • 6293A48CEAD807DD3C9F932176021533254BD6883754C5574E36A1775D797959
  • powershell-7.2.0-osx-arm64.tar.gz
    • B48A07970550FE506B91EC2FA009FC8742B9DC20CACC2E34A6FE8A8F588149F1
  • powershell-7.2.0-osx-x64.pkg
    • F73682927BDADB127CF0C18641D5EFE9EA12E53053E65D5C54F06FD4EF413A4A
  • powershell-7.2.0-osx-x64.tar.gz
    • B1864C204C7861FF8416446335FA002C5E48D2D50292B6E221E05C946AA8B9AE
  • PowerShell-7.2.0-win-arm32.zip
    • 5740E5BAD2E2284AF336DD09557FA752902D1C5CF991F5F909CAD163CC0EBB8A
  • PowerShell-7.2.0-win-arm64.zip
    • 9E46EEF382B5C36E25BC64D8275183A1A58EC6630D02B6F1636900F11D8D0A54
  • PowerShell-7.2.0-win-fxdependent.zip
    • 1752A8389188F6B792E5C1AE17E85EA0E48EE3908A7C3BF02BAEC39132500356
  • PowerShell-7.2.0-win-fxdependentWinDesktop.zip
    • 75C1DC94B5DF666815731802E1BFEC936A996B20561BB1DF5A1292082E767971
  • PowerShell-7.2.0-win-x64.msi
    • BD5BDDF2FAC4626479C4F381BDB30A0DC6A9516BE2DE9FC726F33C65F56FE9D4
  • PowerShell-7.2.0-win-x64.zip
    • 0D38173C440CFE5FC123E82003FA5C68CED0AA1769619658364425A110F2016D
  • PowerShell-7.2.0-win-x86.msi
    • BA8C9DA25E127E8B8712C20E3C05503F21AB6505ECA6042743E9C3898DF22411
  • PowerShell-7.2.0-win-x86.zip
    • 2522D078E6457052BBF8387AFD2FA186486F4905BF0BED4C70AB58AA6E6B4814
  • powershell-lts_7.2.0-1.deb_amd64.deb
    • C2A689ACAF91B5FAAA5A57306B4BCDED271C6C87BE0DDD08DB6CBA98097CBD9B
  • powershell-lts-7.2.0-1.rh.x86_64.rpm
    • C2AE8BC3B2C3742A2C6EA98A012CF16EEFD39764E27A0F88712476E97A1295E5
  • powershell-lts-7.2.0-osx-arm64.pkg
    • 473C8D5FEC4B90E6BEAB2ABB0DF29B2447D7CBBC666D4413DDBC7CA41D2A4E43
  • powershell-lts-7.2.0-osx-x64.pkg
    • 64436E6A927C6F1026272EAC00F95D15EBBCDB08475707965576907A26650CB7

v7.2.0-rc.1 Release of PowerShell

21 Oct 21:27
Compare
Choose a tag to compare
Pre-release

7.2.0-rc.1 - 2021-10-21

General Cmdlet Updates and Fixes

  • Disallow COM calls for AppLocker system lockdown (#16268)
  • Configure Microsoft.ApplicationInsights to not send cloud role name (#16246)
  • Disallow Add-Type in NoLanguage mode on a locked down machine (#16245)
  • Make property names for color VT100 sequences consistent with documentation (#16212)
  • Make moving a directory into itself with Move-Item an error (#16198)
  • Change FileSystemInfo.Target from a CodeProperty to an AliasProperty that points to FileSystemInfo.LinkTarget (#16165)

Tests

  • Removed deprecated docker-based tests for PowerShell release packages (#16224)

Build and Packaging Improvements

Bump .NET SDK to 6.0.100-rc.2

  • Update .NET 6 to version 6.0.100-rc.2.21505.57 (#16249)
  • Fix RPM packaging (Internal 17704)
  • Update ThirdPartyNotices.txt (#16283)
  • Update pipeline yaml file to use ubuntu-latest image (#16279)
  • Add script to generate cgmanifest.json (#16278)
  • Update version of Microsoft.PowerShell.Native and Microsoft.PowerShell.MarkdownRender packages (#16277)
  • Add cgmanifest.json for generating correct third party notice file (#16266)
  • Only upload stable buildinfo for stable releases (#16251)
  • Don't upload .dep or .tar.gz for RPM because there are none (#16230)
  • Ensure RPM license is recognized (#16189)
  • Add condition to only generate release files in local dev build only (#16259)
  • Ensure psoptions.json and manifest.spdx.json files always exist in packages (#16258)
  • Fix CI script and split out ARM runs (#16252)
  • Update vPack task version to 12 (#16250)
  • Sign third party executables (#16229)
  • Add Software Bill of Materials to the main packages (#16202)
  • Upgrade set-value package for markdown test (#16196)
  • Fix Microsoft update spelling issue (#16178)
  • Move vPack build to 1ES Pool (#16169)

SHA256 Hashes of the release artifacts

  • hashes.sha256
    • 0FCFEF55863A09C4CFCE9E7BDA517650B1C9267D415F192D42DE8BF7F29BBE99
  • powershell-7.2.0-rc.1-linux-alpine-x64.tar.gz
    • 2B90AA5B8A20B5FC3FE48A84B0F865CA4CAB9B00ECE1DE8F79D08897E16C789D
  • powershell-7.2.0-rc.1-linux-arm32.tar.gz
    • F648C8880089188C83801AB3843D905BAF478323B85E87D44588AB6CA8E83AA9
  • powershell-7.2.0-rc.1-linux-arm64.tar.gz
    • 6B683464BA33E16938C73826B4DC19D8FCF27A21A8B8B9D27029C3165CFBE176
  • powershell-7.2.0-rc.1-linux-x64.tar.gz
    • BD0240042BD11A4E677D469CAB49D565BAEB3E0B8510C642FF8914A4DA142940
  • powershell-7.2.0-rc.1-linux-x64-fxdependent.tar.gz
    • 3E3CB83AA0032EE1B82B4954D2164A9C89DEB0E77BBAE8DDA34A06F642A25B6B
  • powershell-7.2.0-rc.1-osx-arm64.pkg
    • 43D1D888C80E524C16A406D6C1A6125874E61CCF166312C6CA34D4703DEFA5B5
  • powershell-7.2.0-rc.1-osx-arm64.tar.gz
    • 51D2C32D600E74D5E9804FD90D9B808576A62D398EF1935F90C1E22C9F2858D3
  • powershell-7.2.0-rc.1-osx-x64.pkg
    • 34B570295AF25D393A79F5882F32DAF4F9F9AB81A9CC9D1936FD458E24AEB31F
  • powershell-7.2.0-rc.1-osx-x64.tar.gz
    • 3424064C85D22126A94092F053997F046B6FE6156A1381C386C6D48C571AEDF8
  • PowerShell-7.2.0-rc.1-win-arm32.zip
    • 2AE162CB398EBCD6316B8D7334CD079105540686ED4DD64E3597DEFB16D913FB
  • PowerShell-7.2.0-rc.1-win-arm64.zip
    • 5D180CEA41AB854D7DAE630319D8855D0B3526B785490AF4C2197EA334C694B7
  • PowerShell-7.2.0-rc.1-win-fxdependent.zip
    • 0E9FD3ED09688C822D12429F003F606ABB7CC136A834AF0F4EF6E5D1B2560F14
  • PowerShell-7.2.0-rc.1-win-fxdependentWinDesktop.zip
    • E97764840B2D77A2AB95E9F89BEA3E96AD38EF2DFCD1EDE287617B561D01043B
  • PowerShell-7.2.0-rc.1-win-x64.msi
    • 9D19FFB4752D102CD5C1C229E122482484EE96BF9EB42143BF95E399037AB9DC
  • PowerShell-7.2.0-rc.1-win-x64.zip
    • 1E59141281A5C6646C1BB0CA2458AE4F4AA7DE78AD959617A8BD9C5A17DFAA14
  • PowerShell-7.2.0-rc.1-win-x86.msi
    • 40297830C8EDF31F2139DAC9C7E2C6335D397FC61FC036899C38608981BC849E
  • PowerShell-7.2.0-rc.1-win-x86.zip
    • 34D52B02CA38D2FFDA1C9FF964676F0461B8C49B1DBD0DFDB43D40101F07898E
  • powershell-preview_7.2.0-rc.1-1.deb_amd64.deb
    • F93016A0CFD85711D8EB274A123B353F463F3E589BAA53C8AF18C5C269126A12
  • powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm
    • F2DF3EE7927352CAB62242A51689FD4AED7D87D43F137FF515CC3A4083E2CFA7

v7.1.5 Release of PowerShell

14 Oct 18:21
Compare
Choose a tag to compare

7.1.5 - 2021-10-14

Telemetry Changes

  • Configure ApplicationInsights to not send cloud role name (Internal 17100)

Summary

We recently became aware of an issue in PowerShell 7, which resulted in the unintentional logging of information that was outside of our documentation. In this current release, we exclude the Application Insight properties below:

What we are doing

Documentation

In addition to the product changes above, we will be publishing the specific Application Insight properties that we will use going forward, posted here.

FAQ

How do I know if I am affected?

The issue affects PowerShell 7 prior to the following versions:

PowerShell Version Fixed in
7.0 7.0.8
7.1 7.1.5
7.2 (preview) To Be Determined
How do I update to an unaffected version?

Follow the instructions at Installing PowerShell 7 to install the latest version of PowerShell 7.

Support

See Support documentation.

Engine Updates and Fixes

  • Handle error from unauthorized access when removing AppLocker test files (#15881)
  • Test more thoroughly whether a command is Out-Default for transcription scenarios (#15653)
  • Handle error when the telemetry mutex cannot be created (#15574) (Thanks @gukoff!)
  • Disallow Add-Type in NoLanguage mode on a locked down machine (Internal 17522)

Tools

  • Add .stylecop to filetypexml and format it (#16025)

Build and Packaging Improvements

Bump .NET SDK to 5.0.402

  • Upgrade set-value package for markdown test (#16196)
  • Sign the .NET createdump executable (#16229)
  • Move vPack build to 1ES Pool (#16169)
  • Update to .NET SDK 5.0.402 (Internal 17537)
  • Move from PkgES hosted agents to 1ES hosted agents (#16023)
  • Fix the macOS build by updating the pool image name (#16010)
  • Use Alpine 3.12 for building PowerShell for Alpine Linux (#16008)

Documentation and Help Content

  • Fix example nuget.config (#14349)

SHA256 Hashes of the release artifacts

  • powershell_7.1.5-1.debian.10_amd64.deb
    • 0B2D70406CBAD653EF4FA9C4A1A8362F99CE8C28D9AFDB29A0A78A67A17953A8
  • powershell_7.1.5-1.debian.11_amd64.deb
    • BC90B57B3DEFD23981DBF57FBC3EC78BF990488476621FBF64E63F014C10E73C
  • powershell_7.1.5-1.debian.9_amd64.deb
    • 86068A27119400B2ADE46671F3C171C6206BA74C0B1707CF98C5C1AB8F1C67BC
  • powershell_7.1.5-1.ubuntu.16.04_amd64.deb
    • A02649B1BADA2A05FE40261AF0311AA4CEF01372CE37D8D158B5F0B598EF1138
  • powershell_7.1.5-1.ubuntu.18.04_amd64.deb
    • 79F4DD72BC66ED779DA22C0A561DE0B0CF341201FC970930D9DA9144C2824559
  • powershell_7.1.5-1.ubuntu.20.04_amd64.deb
    • 4D0EE19617EBD696527E966A35A00F94CA3E83C850EFDDE10CD4B27369A17288
  • powershell-7.1.5-1.centos.8.x86_64.rpm
    • 2D14963EE6DE8A6DE264A2072AADE7496B25FBF0CB69FA7FE186DBC9C80B4886
  • powershell-7.1.5-1.rhel.7.x86_64.rpm
    • CE32C979526AFE5CF1A80822BB18965FE77BFDD2B4FF7305425EE6EC645055E7
  • powershell-7.1.5-linux-alpine-x64.tar.gz
    • 7793AA7585A2E538FDB1AFB16FB5B08DDE7531E5BAAE1C22C93F0A903B55D151
  • powershell-7.1.5-linux-arm32.tar.gz
    • F8BD71230D83EF75865FF4DF08E6A13E31DD0C49A32880F52C334A4B6A1FD894
  • powershell-7.1.5-linux-arm64.tar.gz
    • 18EDDD0711591FA1E504B21B1EFFD10DA5813D9B38C4386DA58025BEFDAE2607
  • powershell-7.1.5-linux-x64.tar.gz
    • F378DC312CFC07DC96CE23DD55F31714211F0AF4C32640E153AB5B43B467BF7C
  • powershell-7.1.5-linux-x64-fxdependent.tar.gz
    • 10D1CE5504E87F8CA574A5276DD3C08C6091A74F9D8657ACD67369B253002ABB
  • powershell-7.1.5-osx-x64.pkg
    • 5DC08BE3D40EA2267458797FF3F8370DA4A163C61699DD518F0235C301A2C025
  • powershell-7.1.5-osx-x64.tar.gz
    • 0F55F67D48534671FD07017680FE55C48949A748009FEF11B01585C47E6EB398
  • PowerShell-7.1.5-win-arm32.zip
    • A37A5E97D693DAC8554B66859D1AB2C4ACC8334898BDFF14E1F3153924484B74
  • PowerShell-7.1.5-win-arm64.zip
    • E47FCCAFE2A53AFF2568E536477D93CE4ED7AEE30977B6BF4F7FC38D4A854F14
  • PowerShell-7.1.5-win-fxdependent.zip
    • 62500BF2A265691BB55864279DA67B3CAC94066055FDF5C8D6531A6B649D5A75
  • PowerShell-7.1.5-win-fxdependentWinDesktop.zip
    • B3835206BEEA59BF155E99A124EEFBBD4EB8469BE1B279F610BD87103308A4EB
  • PowerShell-7.1.5-win-x64.msi
    • 17924469091452658680BFBC582BBE5CADE52242F035880CC29D2A763D16D011
  • PowerShell-7.1.5-win-x64.zip
    • 6CFF673D859719A6588E5AE9D2B93F940A4FCFF9A37E50C9C0F8286678D1ECAD
  • PowerShell-7.1.5-win-x86.msi
    • 6AC379C42444712A3B05B55EAC7AE7CBC625085E79DB344D0012A04A1187268E
  • PowerShell-7.1.5-win-x86.zip
    • 35D5C3057E208878FA7F9260270252EA024B3F2B2D35976D9E4BFBB86B788A81

v7.0.8 Release of PowerShell

14 Oct 18:20
Compare
Choose a tag to compare

7.0.8 - 2021-10-14

Telemetry Changes

  • Configure ApplicationInsights to not send cloud role name (Internal 17100)

Summary

We recently became aware of an issue in PowerShell 7, which resulted in the unintentional logging of information that was outside of our documentation. In this current release, we exclude the Application Insight properties below:

What we are doing

Documentation

In addition to the product changes above, we will be publishing the specific Application Insight properties that we will use going forward, posted here.

FAQ

How do I know if I am affected?

The issue affects PowerShell 7 prior to the following versions:

PowerShell Version Fixed in
7.0 7.0.8
7.1 7.1.5
7.2 (preview) To Be Determined
How do I update to an unaffected version?

Follow the instructions at Installing PowerShell 7 to install the latest version of PowerShell 7.

Support

See Support documentation.

Engine Updates and Fixes

  • Handle error from unauthorized access when removing AppLocker test files (#15881)
  • Handle error when the telemetry mutex cannot be created (#15574) (Thanks @gukoff!)
  • Disallow Add-Type in NoLanguage mode on a locked down machine (Internal 17521)

Tools

  • Add .stylecop to filetypexml and format it (#16025)

Build and Packaging Improvements

Bump .NET SDK to 3.1.414

  • Update the nuget.config file used for building NuGet packages (Internal 17547)
  • Sign the .NET createdump executable (#16229)
  • Upgrade set-value package for markdown test (#16196)
  • Move vPack build to 1ES Pool (#16169)
  • Update to .NET SDK 3.1.414 (Internal 17532)
  • Fix the macOS build by updating the pool image name (#16010)
  • Move from PkgES hosted agents to 1ES hosted agents (#16023)
  • Use Alpine 3.12 for building PowerShell for Alpine Linux (#16008)

Documentation and Help Content

  • Fix example nuget.config (#14349)

SHA256 Hashes of the release artifacts

  • powershell_7.0.8-1.debian.10_amd64.deb
    • 34F6560377B9E03AD2C517051C7F017D8744B8903B6BA168438B4D47B84E7347
  • powershell_7.0.8-1.debian.11_amd64.deb
    • C635B0CC76CC99A981292062D6A0BCC38395EAA41DED7BD9FEB6E41CC3565F30
  • powershell_7.0.8-1.debian.9_amd64.deb
    • E82DAEEE039EE1EB4027A137833E2A90938280E3D04E0D1F5F752D5779F6BCC1
  • powershell_7.0.8-1.ubuntu.16.04_amd64.deb
    • ED8A2723BD799EC87392E84A8351155EE2954F2D63A667CA566B05269095F691
  • powershell_7.0.8-1.ubuntu.18.04_amd64.deb
    • 7C8DE954A5A26583069B6CC134334E813F30FA221D26799F35976EBC3522F1AB
  • powershell_7.0.8-1.ubuntu.20.04_amd64.deb
    • 130D604076C2C526D379AE2C25B0173F4723149921F7800D26F07F10F1C923DD
  • powershell-7.0.8-1.centos.8.x86_64.rpm
    • AEEB5E454EA97E1C6111943AEA242BBB2616C2A3E855729CE4727B03FD7D5E29
  • powershell-7.0.8-1.rhel.7.x86_64.rpm
    • E5BFFC2251DBD4F9F4E7DE7B0547DC7D39D476121EF90FCD4D5087E2693BBC7D
  • powershell-7.0.8-linux-alpine-x64.tar.gz
    • 3FDDCC14CD34149C06C0E1E09FDB61E7F3296664E6A801D2685715E314A28632
  • powershell-7.0.8-linux-arm32.tar.gz
    • 1EAD3AD19B3E95DB740A13A05C3FC2346347FCF93B9E84CCC0CBC22994A2EB21
  • powershell-7.0.8-linux-arm64.tar.gz
    • 01533099D669644D13E30F6F5C0FA6C98068CAF543574050128C1BD6B435ADE9
  • powershell-7.0.8-linux-x64.tar.gz
    • 65DC63435DBFA530AAC78FC5D9CF5057EB87B8CD32F4587300B8FE824A099F8C
  • powershell-7.0.8-linux-x64-fxdependent.tar.gz
    • 389998F6F5B49C0112CD64FB697DCDC959E8EACD119B2425ABBBF548605EC6AB
  • powershell-7.0.8-osx-x64.pkg
    • 7EC32544A3489AF814C1B5213A00746E36E4EF68D889549D44A2224A61357E77
  • powershell-7.0.8-osx-x64.tar.gz
    • 48B19A455F3AAA2A385616CF36F21453AFF536D70209BE5BE9B88CD4838C820F
  • PowerShell-7.0.8-win-arm32.zip
    • B54EB508D674AF902F24525195B0ACA206A97873E64682723C8D4B6BA60FD71B
  • PowerShell-7.0.8-win-arm64.zip
    • BEC5393CF1E01913432CDBFAEFC9469478C610CEC2DFFFDE1B77A8AF7FAC8D99
  • PowerShell-7.0.8-win-fxdependent.zip
    • 33A5F22915329210BAE25E2D4605E796C832034EADC9402A704D1C1BA42CDCF0
  • PowerShell-7.0.8-win-fxdependentWinDesktop.zip
    • 5FD24649B528BB0B60EAA066EFBC962040CDC046956510161D823B22D0C4C6C2
  • PowerShell-7.0.8-win-x64.msi
    • A6912AEE0C107DBB532576F21F0C02636D54F1E780EB283CD814BCF4F47147C8
  • PowerShell-7.0.8-win-x64.zip
    • 925D6A8C9E73292A7715F2A85176D07A90259AB7E1ACE1AEC8AEC44CDC6CB4F3
  • PowerShell-7.0.8-win-x86.msi
    • F0B4CB9367E2C8030AC2FCFC24E3E8E0CB29BFAB91B23D5AB1B9B4FEF14B4035
  • PowerShell-7.0.8-win-x86.zip
    • D5A078C9431F5E516EC0D392D1B59EBACF16456DD1D2737EB5958B1C7947221A
  • powershell-lts_7.0.8-1.debian.10_amd64.deb
    • 994282CEC9B9AAF73AC7503C4216B669363F58FA4B9B4ABD2D162B5EAF78AD8B
  • powershell-lts_7.0.8-1.debian.11_amd64.deb
    • 3D95F9E65AD903F3FC23A835D705E8A93F56171D288BC31F14D7E0A1DCCC55D5
  • powershell-lts_7.0.8-1.debian.9_amd64.deb
    • A3EED874F5CAB781963BA3DD38BA4DDA94B22441BCEA3EF95777B3CA8FB1857F
  • powershell-lts_7.0.8-1.ubuntu.16.04_amd64.deb
    • 21365884CDBA1D51FDC7B1CE32214F6F6F8B59D0142F1F0F9DB29ED87A1B8DED
  • powershell-lts_7.0.8-1.ubuntu.18.04_amd64.deb
    • D48C395C7D8692A333C8783FB7236C71FCFFFCA0617B3B31AA0EA62557E8DF04
  • powershell-lts_7.0.8-1.ubuntu.20.04_amd64.deb
    • B36A4A5A211B7EF43FFFDB882F8C246B5DE0989D4B2C68A69C1E432676C92C27
  • powershell-lts-7.0.8-1.centos.8.x86_64.rpm
    • 51B92A028D6FC3D22108E35C529080B82800CFCBADABC74D3E71F0D0EC2FD2C5
  • powershell-lts-7.0.8-1.rhel.7.x86_64.rpm
    • 95EABD24B872AD3A9CA60457D50AA3FCB7E0423773672D0AEFCCB55574083AF8
  • powershell-lts-7.0.8-osx-x64.pkg
    • C585599B645C7366EC0A9C7E5EC1347A8D12DC6214AC431E02C46AA1B4BB2245

v7.2.0-preview.10 Release of PowerShell

28 Sep 23:16
v7.2.0-preview.10
3e995ce
Compare
Choose a tag to compare
Pre-release

7.2.0-preview.10 - 2021-09-28

Engine Updates and Fixes

  • Remove duplicate remote server mediator code (#16027)

General Cmdlet Updates and Fixes

  • Use PlainText when writing to a host that doesn't support VT (#16092)
  • Remove support for AppExecLinks to retrieve target (#16044)
  • Move GetOuputString() and GetFormatStyleString() to PSHostUserInterface as public API (#16075)
  • Add isOutputRedirected parameter to GetFormatStyleString() method (#14397)
  • Fix ConvertTo-SecureString with key regression due to .NET breaking change (#16068)
  • Fix regression in Move-Item to only fallback to CopyAndDelete in specific cases (#16029)
  • Set $? correctly for command expression with redirection (#16046)
  • Use CurrentCulture when handling conversions to DateTime in Add-History (#16005) (Thanks @vexx32!)
  • Fix NullReferenceException in Format-Wide (#15990) (Thanks @DarylGraves!)

Code Cleanup

We thank the following contributors!

@xtqqczze!

  • Improve CommandInvocationIntrinsics API documentation and style (#14369)
  • Use bool?.GetValueOrDefault() in FormatWideCommand (#15988) (Thanks @xtqqczze!)

Tools

  • Fix typo in build.psm1 (#16038) (Thanks @eltociear!)
  • Add .stylecop to filetypexml and format it (#16025)
  • Enable sending Teams notification when workflow fails (#15982)

Tests

  • Enable two previously disabled Get-Process tests (#15845) (Thanks @iSazonov!)

Build and Packaging Improvements

Details
  • Add SHA256 hashes to release (#16147)
  • Update Microsoft.CodeAnalysis.CSharp version (#16138)
  • Change path for Component Governance for build to the path we actually use to build (#16137)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#16070) (#16045) (#16036) (#16021) (#15985)
  • Update .NET to 6.0.100-rc.1.21458.32 (#16066)
  • Update minimum required OS version for macOS (#16088)
  • Ensure locale is set correctly on Ubuntu 20.04 in CI (#16067) (#16073)
  • Update .NET SDK version from 6.0.100-preview.6.21355.2 to 6.0.100-rc.1.21455.2 (#16041) (#16028) (#15648)
  • Fix the GitHub Action for updating .NET daily builds (#16042)
  • Move from PkgES hosted agents to 1ES hosted agents (#16023)
  • Update Ubuntu images to use Ubuntu 20.04 (#15906)
  • Fix the macOS build by updating the pool image name (#16010)
  • Use Alpine 3.12 for building PowerShell for Alpine Linux (#16008)
  • Ignore error from Find-Package (#15999)
  • Find packages separately for each source in UpdateDotnetRuntime.ps1 script (#15998)
  • Update metadata to start using .NET 6 RC1 builds (#15981)

SHA256 Hashes of the release artifacts

  • hashes.sha256
    • B3F25CC3C815CC5FDDF84F1851D98AE924ACC06CF6827CEDC2EF1035F727A245
  • powershell-7.2.0-preview.10-linux-alpine-x64.tar.gz
    • 8AA8DA7D821AA434BE8EE1B23B98FA1698D8D1D1D472FFB0E089315650007C8A
  • powershell-7.2.0-preview.10-linux-arm32.tar.gz
    • A10930E3E4EA1575F5AFAA24CA567198D357F9B243CA2E1F92A47940B5A806A6
  • powershell-7.2.0-preview.10-linux-arm64.tar.gz
    • E5F2F88F29AF56FA4B3DB0A19C18465966526ECF3427C7EBBD47C4CA36483FA8
  • powershell-7.2.0-preview.10-linux-x64.tar.gz
    • 098971C988BB91B0E8A4F8C3FB9245506271664061A44B7DD403553B542D24B4
  • powershell-7.2.0-preview.10-linux-x64-fxdependent.tar.gz
    • 7315E9B1A0FE8CEFB9DD3A2A92AF7714B5CF220FBE5D76993E054164615586A8
  • powershell-7.2.0-preview.10-osx-arm64.pkg
    • 5456FC8ABA8F731220673DAAAA1844AA0E1CE6349BE923B325DAE79F83916602
  • powershell-7.2.0-preview.10-osx-arm64.tar.gz
    • C872974F6B238081156A233616335945345EFC73EF0FAE43A553406B8FC7315F
  • powershell-7.2.0-preview.10-osx-x64.pkg
    • 665D8297C7537E506B44AB99E5A5EEF04933DD49BBC5C5AE38FCECB7694D4AB5
  • powershell-7.2.0-preview.10-osx-x64.tar.gz
    • 7A7E4A335169A9BE20643590F4DC5460CD8CD95564265D239733F88D0FF63F6B
  • PowerShell-7.2.0-preview.10-win-arm32.zip
    • 44D2DFBD2162C916DDA6A0FC5489843C0A8730D4436A23FFF71CEA246B846144
  • PowerShell-7.2.0-preview.10-win-arm64.zip
    • 1B2D0762FD3E18A0A7AAE420A8B40D90BF47ED23A9C4DD9E37D0D5B780AE7DCB
  • PowerShell-7.2.0-preview.10-win-fxdependent.zip
    • FD9D8BBCCADF8220ED9E5F8ACF434F4FB92CBA1C7AF2177800328B33E74A72EA
  • PowerShell-7.2.0-preview.10-win-fxdependentWinDesktop.zip
    • C467CB0599A88985CF71B2971A548DA8000AC5AC19D5BC1CA9CD473F56240B1F
  • PowerShell-7.2.0-preview.10-win-x64.msi
    • D685CBF991CE1791EBB00100A6F24354397336BBEBA5708FDD950F260114CA0D
  • PowerShell-7.2.0-preview.10-win-x64.zip
    • E6BBA210DDC7CA7202E8334270609C021EE1DB024BD0F740A4BC60569E56B6D8
  • PowerShell-7.2.0-preview.10-win-x86.msi
    • 929FF866D8F166F876C697C3F78BF72158AF9B5CE3A8927E7FAEC8CCBAC8ADEA
  • PowerShell-7.2.0-preview.10-win-x86.zip
    • 1B40173B5734B49D7C7595692B01D6AD1B12AA259302600CF17C35BBDDA6B0E4
  • powershell-preview_7.2.0-preview.10-1.deb_amd64.deb
    • 28434376D4A14F42805578D49C08D85611DE8D2984B868C8317BCA2E68D33434
  • powershell-preview-7.2.0_preview.10-1.rh.x86_64.rpm
    • 277BBE7EDA19FD462F08D538926DC73C3F2D96D54F3705DA74E640912735EAD5

v7.2.0-preview.9 Release of PowerShell

23 Aug 18:34
Compare
Choose a tag to compare
Pre-release

7.2.0-preview.9 - 2021-08-23

Note: Known issue about ANSI code being written out in table views when using PowerShell with a legacy host that doesn't support virtual terminal. For details see: #15978

Breaking Changes

  • Change the default value of $PSStyle.OutputRendering to OutputRendering.Host and remove OutputRendering.Automatic (#15882)
  • Fix CA1052 for public API to make classes static when they only have static methods (#15775) (Thanks @xtqqczze!)
  • Update pwsh.exe -File to only accept .ps1 script files on Windows (#15859)

Engine Updates and Fixes

  • Update .NET adapter to handle interface static members properly (#15908)
  • Catch and handle unauthorized access exception when removing AppLocker test files (#15881)

General Cmdlet Updates and Fixes

  • Add -PassThru parameter to Set-Clipboard (#13713) (Thanks @ThomasNieto!)
  • Add -Encoding parameter for Tee-Object (#12135) (Thanks @Peter-Schneider!)
  • Update ConvertTo-Csv and Export-Csv to handle IDictionary objects (#11029) (Thanks @vexx32!)
  • Update the parameters -Exception and -ErrorRecord for Write-Error to be position 0 (#13813) (Thanks @ThomasNieto!)
  • Don't use ArgumentList when creating COM object with New-Object as it's not applicable to the COM parameter set (#15915)
  • Fix $PSStyle list output to correctly show TableHeader (#15928)
  • Remove the PSImplicitRemotingBatching experimental feature (#15863)
  • Fix issue with Get-Process -Module failing to stop when it's piped to Select-Object (#15682) (Thanks @ArmaanMcleod!)
  • Make the experimental features PSUnixFileStat, PSCultureInvariantReplaceOperator, PSNotApplyErrorActionToStderr, PSAnsiRendering, PSAnsiProgressFeatureName stable (#15864)
  • Enhance Remove-Item to work with OneDrive (#15571) (Thanks @iSazonov!)
  • Make global tool entrypoint class static (#15880)
  • Update ServerRemoteHost version to be same as PSVersion (#15809)
  • Make the initialization of HttpKnownHeaderNames thread safe (#15519) (Thanks @iSazonov!)
  • ConvertTo-Csv: Quote fields with quotes and newlines when using -UseQuotes AsNeeded (#15765) (Thanks @lselden!)
  • Forwarding progress stream changes from Foreach-Object -Parallel runspaces (#14271) (Thanks @powercode!)
  • Add validation to $PSStyle to reject printable text when setting a property that only expects ANSI escape sequence (#15825)

Code Cleanup

We thank the following contributors!

@xtqqczze

  • Avoid unneeded array allocation in module code (#14329) (Thanks @xtqqczze!)
  • Enable and fix analysis rules CA1052, CA1067, and IDE0049 (#15840) (Thanks @xtqqczze!)
  • Avoid unnecessary allocation in formatting code (#15832) (Thanks @xtqqczze!)
  • Specify the analyzed API surface for all code quality rules (#15778) (Thanks @xtqqczze!)

Tools

  • Enable /rebase to automatically rebase a PR (#15808)
  • Update .editorconfig to not replace tabs with spaces in .tsv files (#15815) (Thanks @SethFalco!)
  • Update PowerShell team members in the change log generation script (#15817)

Tests

  • Add more tests to validate the current command error handling behaviors (#15919)
  • Make Measure-Object property test independent of the file system (#15879)
  • Add more information when a syslog parsing error occurs (#15857)
  • Harden logic when looking for syslog entries to be sure that we select based on the process id (#15841)

Build and Packaging Improvements

We thank the following contributors!

@xtqqczze

Documentation and Help Content

  • Update README and metadata files for release v7.2.0-preview.8 (#15819)
  • Update change logs for 7.0.7 and 7.1.4 (#15921)
  • Fix spelling in XML docs (#15939) (Thanks @slowy07!)
  • Update PowerShell Committee members (#15837)

SHA256 Hashes of the release artifacts

  • powershell-7.2.0-preview.9-linux-alpine-x64.tar.gz
    • 295E51338ACF93E3A451273287723FF7EE81B96D89738BE88AE97B62B202DE11
  • powershell-7.2.0-preview.9-linux-arm32.tar.gz
    • 707CC256E84A598E2D07498662A2025C73F0D92AB9AA3EA94536CC5507ACB6D0
  • powershell-7.2.0-preview.9-linux-arm64.tar.gz
    • 30A4F87E1DE6FFD8A0DFF86C7D7A124A4FF89B30D8F522EAF3580192F2EB517B
  • powershell-7.2.0-preview.9-linux-x64.tar.gz
    • FB6DB25B6B9EC7825C3856A4FA39099F8C5C62CAF59AFF358605ADDF9AF21911
  • powershell-7.2.0-preview.9-linux-x64-fxdependent.tar.gz
    • 0906716582D40FC233E1A8D65AE2577A9720BC766BAA09EFCE345C0FDE923F5B
  • powershell-7.2.0-preview.9-osx-arm64.pkg
    • 9C13ED1CA21902D658ADE978C5EAE4F6CED09AE906563BE4B595616C3B964E66
  • powershell-7.2.0-preview.9-osx-arm64.tar.gz
    • CF770A211EBA8C9DFE03043D5E25D2757CCE04A3D831612BE8E77203BE46A733
  • powershell-7.2.0-preview.9-osx-x64.pkg
    • 1DFE292EFEAA3B8E7E60C3353C874354CAD8C78C2049745B0EAC5560CD3D6D12
  • powershell-7.2.0-preview.9-osx-x64.tar.gz
    • BBDE327FCD23F77B9E8D17547151EC4F3D76B6C9E718F47540BF71056A841B4F
  • PowerShell-7.2.0-preview.9-win-arm32.zip
    • 15D172FA935BA3DC56F4FB2EACED423AA13CC9C2604B2BBF35729CECF253C3DF
  • PowerShell-7.2.0-preview.9-win-arm64.zip
    • D1B895EA68CE041F7B1F6B0B502C28B8972B515D74D0E88581FF1A966435EDD5
  • PowerShell-7.2.0-preview.9-win-fxdependent.zip
    • 0CE96B9DDF37F177488DEE7EC4A77017B57FEDD7A13957CCBC7BBF488FC1D732
  • PowerShell-7.2.0-preview.9-win-fxdependentWinDesktop.zip
    • 3DE03991CDA459FD59665D1ED2C9BE3264FAA35F076659131E5C41DA6DE7D077
  • PowerShell-7.2.0-preview.9-win-x64.msi
    • 380ADD7B04A0AB02EAEBD2A761DDC14EEE10AEA1F6311EDE79849FC68D765531
  • PowerShell-7.2.0-preview.9-win-x64.zip
    • ED648B3EE61EE7CF2B6532F6095BB77CEEF395392CC9872C84C938C628A97EF9
  • PowerShell-7.2.0-preview.9-win-x86.msi
    • 8D7D20CCF598F728514374BB9AC2480E098936DC974C7C4C1272E6B770CF4C2F
  • PowerShell-7.2.0-preview.9-win-x86.zip
    • B85C0352A9404CDE9C2AF959921A3FBC85972692AFD0DA13E7B6C1284E5DE30C
  • powershell-preview_7.2.0-preview.9-1.deb_amd64.deb
    • 7A28A1D06C3790F9CB1B5FE7BF5DF1A72BF01F8DCAA9BED1C53656739D53C64C
  • powershell-preview-7.2.0_preview.9-1.rh.x86_64.rpm
    • 711D091F235123D8AC6CCA09E59A2571951068955859845E5A84ED7A39B5DFD3

v7.1.4 Release of PowerShell

12 Aug 22:19
Compare
Choose a tag to compare

7.1.4 - 2021-08-12

Build and Packaging Improvements

Bump .NET SDK to version 5.0.400
  • Remove the cat file from PSDesiredStateConfiguration module (Internal 16723)
  • Update .NET SDK version and other packages (Internal 16715)

SHA256 Hashes of the release artifacts

  • powershell_7.1.4-1.debian.10_amd64.deb
    • BC3D741F026BE966DE641EA305E73701AAE61DA16AA1618A4500EAE8B92FB69D
  • powershell_7.1.4-1.debian.11_amd64.deb
    • E3DEA08EDCE931DE695AFBF021134C02407293770788272F301E8E39C4C3FFE2
  • powershell_7.1.4-1.debian.9_amd64.deb
    • 14D042403F19B63A6508EC51521B00F0F3CF80B3B20753C547725ADCD8C95E84
  • powershell_7.1.4-1.ubuntu.16.04_amd64.deb
    • BDB45D6CA0CC99D6A9E5876E9B325586A74823474E62E987B4C30C19612D7923
  • powershell_7.1.4-1.ubuntu.18.04_amd64.deb
    • D6663A841E7318023D7852B7539580610170A713778257DF325934DFAE39CE4B
  • powershell_7.1.4-1.ubuntu.20.04_amd64.deb
    • 7435B5CDD8CBEDEEE396072B495B44067166674E7C40A9EE844A519C6223E482
  • powershell-7.1.4-1.centos.8.x86_64.rpm
    • 5BCA9B5FDDB2AA6AE477D070A71D331876E6465CEA5CAA228505B84ACB166D7C
  • powershell-7.1.4-1.rhel.7.x86_64.rpm
    • 3F4E0A52DECCD179E6817F5123AD1E94BAB841B55288A4524AAAD8A230BD5A84
  • powershell-7.1.4-linux-alpine-x64.tar.gz
    • 289BF62DA59E5E763CE8BC763A36FC584B524BDA1ECE6FD5BF1C09CF00D0AC2E
  • powershell-7.1.4-linux-arm32.tar.gz
    • 2B2B55BF690B58A8DBBD1ABDE6B2C001C351FF33D4473C6D80AE9A6B6F469D54
  • powershell-7.1.4-linux-arm64.tar.gz
    • 65B65BEEF80E0325C1025C6189320FC9F4345C31B2E3A9A13FC2C70283776D4E
  • powershell-7.1.4-linux-x64.tar.gz
    • 250A9C3767896A94F74BBE41CC8FD60048D9B7EFD4EEA4D2325B45716D1C4BAA
  • powershell-7.1.4-linux-x64-fxdependent.tar.gz
    • C60D9386191956FA52B8C3A5E4E7F4B5AF15930E794441BA6A3E872CA52A43EF
  • powershell-7.1.4-osx-x64.pkg
    • 66AC3BC82C83B8F2864BF5EA20C67538C7B51AE25E6A9178F930BCDC35A12D9A
  • powershell-7.1.4-osx-x64.tar.gz
    • 182D3E2DDFD581725D82199D3628FD5E18CDCD4346DE2FCA99AE4927835451EB
  • PowerShell-7.1.4-win-arm32.zip
    • 5EC02D49ED7261AACE410D911A040982C46DB04DEA3017536AC198DD61969672
  • PowerShell-7.1.4-win-arm64.zip
    • 345F4B16E5DAA0C2C6D2CB0758098B39B2FDB26D5C8B181FF16424B6C37C529F
  • PowerShell-7.1.4-win-fxdependent.zip
    • C4A118A87193893465849D859B4BE042CC959D00EC87D206E19CB71143E2FADF
  • PowerShell-7.1.4-win-fxdependentWinDesktop.zip
    • 766D7A175F87D97D084371FEA7A9A24D303C4D9BCB1BCD33C58E3C8E824480DE
  • PowerShell-7.1.4-win-x64.msi
    • 9190F005ADCC59F1D2CFF21B8D4FBBA70D72B8B4B567D845B33508A9C388A7A2
  • PowerShell-7.1.4-win-x64.zip
    • EC5792D74EAE88601D20734C857212920135AA5899823DCAF1C0143DAEDD8108
  • PowerShell-7.1.4-win-x86.msi
    • E75859850B7E7E6A3ACB7A33F1F33171A77636CB8944CEA11FB2E9C0537416B5
  • PowerShell-7.1.4-win-x86.zip
    • B44702F129514E638798D62A6F3EACB62EF8A628052F71F1CEED179EDE3D4564