Releases: PowerShell/PowerShell
v7.4.0-preview.1 Release of PowerShell
[7.4.0-preview.1] - 2022-12-20
NOTE
- Snap packages are not available for this release.
- Nano server docker images are not available for this release.
Engine Updates and Fixes
- Add Instrumentation to
AmsiUtiland make the init variable readonly (#18727) - Fix typo in
OutOfProcTransportManager.cs(#18766) (Thanks @eltociear!) - Allow non-default encodings to be used in user's script/code (#18605)
- Add
DimandDimOffto$PSStyle(#18653) - Change
execfrom alias to function to handle arbitrary arguments (#18567) - The command prefix should also be in the error color for
NormalView(#18555) - Skip cloud files marked as "not on disk" during command discovery (#18152)
- Replace
UTF8Encoding(false)withEncoding.Default(#18356) (Thanks @xtqqczze!) - Fix
Switch-Processto settermiosappropriate for child process (#18467) - On Unix, only explicitly terminate the native process if not in background (#18215)
- Treat
[NullString]::Valueas the string type when resolving methods (#18080) - Improve pseudo binding for dynamic parameters (#18030) (Thanks @MartinGC94!)
- Make experimental feature
PSAnsiRenderingFileInfostable (#18042) - Update to use version
2.21.0of Application Insights. (#17903) - Do not preserve temporary results when no need to do so (#17856)
Performance
- Remove some static constants from
Utils.Separators(#18154) (Thanks @iSazonov!) - Avoid using regex when unnecessary in
ScriptWriter(#18348) - Use source generator for
PSVersionInfoto improve startup time (#15603) (Thanks @iSazonov!) - Skip evaluating suggestions at startup (#18232)
- Avoid using
Regexwhen not necessary (#18210)
General Cmdlet Updates and Fixes
- Update to use
ComputeCore.dllfor PowerShell Direct (#18194) - Replace
ArgumentNullException(nameof())withArgumentNullException.ThrowIfNull()(#18792)(#18784) (Thanks @CarloToso!) - Remove
TabExpansionfrom remote session configuration (#18795) (Internal 23331) - WebCmdlets get Retry-After from headers if status code is 429 (#18717) (Thanks @CarloToso!)
- Implement
SupportsShouldProcessinStop-Transcript(#18731) (Thanks @JohnLBevan!) - Fix
New-Item -ItemType Hardlinkto resolve target to absolute path and not allow link to itself (#18634) - Add output types to Format commands (#18746) (Thanks @MartinGC94!)
- Fix the process
CommandLineon Linux (#18710) (Thanks @jborean93!) - Fix
SuspiciousContentChecker.Matchto detect a pre-defined string when the text starts with it (#18693) - Switch
$PSNativeCommandUseErrorActionPreferenceto$truewhen feature is enabled (#18695) - Fix
Start-Jobto check the existence of working directory using the PowerShell way (#18675) - Webcmdlets add 308 to redirect codes and small cleanup (#18536) (Thanks @CarloToso!)
- Ensure
HelpInfo.Categoryis consistently a string (#18254) - Remove
gcloudfrom the legacy list because it's resolved to a .ps1 script (#18575) - Add
gcloudandsqlcmdto list to use legacy argument passing (#18559) - Fix native access violation (#18545) (#18547) (Thanks @chrullrich!)
- Fix issue when completing the first command in a script with an empty array expression (#18355) (Thanks @MartinGC94!)
- Improve type inference of hashtable keys (#17907) (Thanks @MartinGC94!)
- Fix
Switch-Processto copy the current env to the new process (#18452) - Fix
Switch-Processerror to include the command that is not found (#18443) - Update
Out-Printerto remove all decorating ANSI escape sequences from PowerShell formatting (#18425) - Web cmdlets set default charset encoding to
UTF8(#18219) (Thanks @CarloToso!) - Fix incorrect cmdlet name in the script used by
Restart-Computer(#18374) (Thanks @urizen-source!) - Add the function
cd~(#18308) (Thanks @GigaScratch!) - Fix type inference error for empty return statements (#18351) (Thanks @MartinGC94!)
- Fix the exception reporting in
ConvertFrom-StringData(#18336) (Thanks @GigaScratch!) - Implement
IDisposableinNamedPipeClient(#18341) (Thanks @xtqqczze!) - Replace command-error suggestion with new implementation based on subsystem plugin (#18252)
- Remove the
ProcessorArchitectureportion from the full name as it's obsolete (#18320) - Make the fuzzy searching flexible by passing in the fuzzy matcher (#18270)
- Add
-FuzzyMinimumDistanceparameter toGet-Command(#18261) - Improve startup time by triggering initialization of additional types on background thread (#18195)
- Fix decompression in web cmdlets (#17955) (Thanks @iSazonov!)
- Add
CustomTableHeaderLabelformatting to differentiate table header labels that are not property names (#17346) - Remove the extra new line form List formatting (#18185)
- Minor update to the
FileInfotable formatting on Unix to make it more concise (#18183) - Fix Parent property on processes with complex name (#17545) (Thanks @jborean93!)
- Make PowerShell class not affiliate with
Runspacewhen declaring theNoRunspaceAffinityattribute (#18138) - Complete the progress bar rendering in
Invoke-WebRequestwhen downloading is complete or cancelled (#18130) - Display download progress in human readable format for
Invoke-WebRequest(#14611) (Thanks @bergmeister!) - Update
WriteConsoleto not usestackallocfor buffer with too large size (#18084) - Filter out compiler generated types for
Add-Type -PassThru(#18095) - Fixing
CA2014warnings and removing the warning suppression (#17982) (Thanks @creative-cloud!) - Make experimental feature
PSNativeCommandArgumentPassingstable (#18044) - Make experimental feature
PSAMSIMethodInvocationLoggingstable (#18041) - Handle
PSObjectargument specially in method invocation logging (#18060) - Fix typos in
EventResource.resx(#18063) (Thanks @eltociear!) - Make experimental feature
PSRemotingSSHTransportErrorHandlingstable (#18046) - Make experimental feature
PSExecstable (#18045) - Make experimental feature
PSCleanBlockstable (#18043) - Fix error formatting to use color defined in
$PSStyle.Formatting(#17987) - Remove unneeded use of
chmod 777(#17974) - Support mapping foreground/background
ConsoleColorvalues to VT escape sequences (#17938) - Make
pwshserver modes implicitly not show banner (#17921) - Add output type attributes for
Get-WinEvent(#17948) (Thanks @MartinGC94!) - Remove 1 second minimum delay in
Invoke-WebRequestfor small files, and prevent file-download-error suppression. (#17896) (Thanks @AAATechGuy!) - Add completion for values in comparisons when comparing Enums (#17654) (Thanks @MartinGC94!)
- Fix positional argument completion (#17796) (Thanks @MartinGC94!)
- Fix member completion in attribute argument (#17902) (Thanks @MartinGC94!)
- Throw when too many parameter sets are defined (#17881) (Thanks @fflaten!)
- Limit searching of
charsetattribute inmetatag for HTML to first 1024 characters in webcmdlets (#17813) - Fix
Update-Helpfailing silently with implicit non-US culture. (#17780) (Thanks @dkaszews!) - Add the
ValidateNotNullOrWhiteSpaceattribute (#17191) (Thanks @wmentha!) - Improve enumeration of inferred types in pipeline (#17799) (Thanks @MartinGC94!)
Code Cleanup
We thank the following contributors!
@MartinGC94, @CarloToso, @iSazonov, @xtqqczze, @turbedi, @trossr32, @eltociear, @AtariDreams, @jborean93
- Add TSAUpload for APIScan (#18446)
- Use Pattern matching in
ast.cs(#18794) (Thanks @MartinGC94!) - Cleanup
webrequestpscmdlet.common.cs(#18596) (Thanks @CarloToso!) - Unify
CreateFilepinvokein SMA (#18751) (Thanks @iSazonov!) - Cleanup
webresponseobject.common(#18785) (Thanks @CarloToso!) InvokeRestMethodCommand.Commoncleanup and merge partials (#18736) (Thanks @CarloToso!)- Replace
GetDirectoriesinCimDscParser(#14319) (Thanks @xtqqczze!) - WebResponseObject.Common merge partials atomic commits (#18703) (Thanks @CarloToso!)
- Enable pending test for
Start-Process(#18724) (Thanks @iSazonov!) - Remove one CreateFileW (#18732) (Thanks @iSazonov!)
- Replace
DllImportwithLibraryImportfor WNetAddConnection2 (#18721) (Thanks @iSazonov!) - Use File.OpenHandle() instead CreateFileW pinvoke (#18722) (Thanks @iSazonov!)
- Replace DllImport with LibraryImport for WNetGetConnection (#18690) (Thanks @iSazonov!)
- Replace
DllImportwithLibraryImport- 1 (#18603) (Thanks @iSazonov!) - Replace DllImport with LibraryImport in SMA 3 (#18564) (Thanks @iSazonov!)
- Replace
DllImportwithLibraryImportin SMA - 7 (#18594) (Thanks @iSazonov!) - Use static
DateTime.UnixEpochandRandomNumberGenerator.Fill()(#18621) (Thanks @turbedi!) - Rewrite Get-FileHash to use static HashData methods (#18471) (Thanks @turbedi!)
- Replace DllImport with LibraryImport in SMA 8 (#18599) (Thanks @iSazonov!)
- Replace DllImport with LibraryImport in SMA 4 (#18579) (Thanks @iSazonov!)
- Remove NativeCultureResolver as dead code (#18582) (Thanks @iSazonov!)
- Replace DllImport with LibraryImport in SMA 6 (#18581) (Thanks @iSazonov!)
- Replace DllImport with LibraryImport in SMA 2 (#18543) (Thanks @iSazonov!)
- Use standard SBCS detection (#18593) (Thanks @iSazonov!)
- Remove unused pinvokes in RemoteSessionNamedPipe (#18583) (Thanks @iSazonov!)
- Replace DllImport with LibraryImport in SMA 5 (#18580) (Thanks @iSazonov!)
- Remove SafeRegistryHandle (#18597) (Thanks @iSazonov!)
- Remove
ArchitectureSensitiveAttributefrom the code base...
v7.3.1 Release of PowerShell
7.3.1 - 2022-12-13
Known Issues
If you use the Microsoft.PowerShell.SDK NuGet package you will need to workaround an issue with the version of System.Runtime.CompilerServices.Unsafe until we can release an update package. To work around the issue, add the following the the .csproj file with the reference, until 7.3.2 is released.
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="7.0.0-preview.2.22152.2" NoWarn="NU1605" />See issue #18782 for more details.
Engine Updates and Fixes
- Remove TabExpansion for PSv2 from remote session configuration (Internal 23331)
- Add
sqlcmdto list to use legacy argument passing (#18645 #18646) - Change
execfrom alias to function to handle arbitrary args (#18644) - Fix
Switch-Processto copy the current env to the new process (#18632) - Fix issue when completing the first command in a script with an empty array expression (#18355)
- Fix
Switch-Processto settermiosappropriate for child process (#18572) - Fix native access violation (#18571)
Tests
Build and Packaging Improvements
Update package versions.
SHA256 Hashes of the release artifacts
- hashes.sha256
- D8CD0FE9D8462435D875B034D1DD3E0A1223CD6A62F867F4CE2FF4BE7D899491
- powershell_7.3.1-1.deb_amd64.deb
- C23B461A443AB87F9C11CE69FB625A01D7FD141F30CA42BEC7A86CEFED79EBAC
- powershell-7.3.1-1.cm.x86_64.rpm
- 9DC84952CEE2C3A8D644265A8E02EDE779DF986D222786182BDFE199CBD93149
- powershell-7.3.1-1.rh.x86_64.rpm
- BC5695F06121DBF8EBF56A842B8723E241FD5299BB34DB42B367A4157B9A9DA8
- powershell-7.3.1-linux-alpine-x64.tar.gz
- 043CBA55FC9208FCC51074D7174E295D4B46D2EDCABD03E107736BD6731DDF66
- powershell-7.3.1-linux-arm32.tar.gz
- 3AF65D5DB14D3B8D2C7F1E756821B036ED8629CC4BC59F7F6B260F6AF4DA72CA
- powershell-7.3.1-linux-arm64.tar.gz
- F0E03A128171E596A2387D86EF659F3A09D3700BE900D62BDEA3156D005EDA68
- powershell-7.3.1-linux-x64.tar.gz
- 68C2C0531A6796871DD7341B66C7085DDCC70570EB619DA3DBED769BCE4EE371
- powershell-7.3.1-linux-x64-fxdependent.tar.gz
- D6032C02D57DCBC3FAE5C0D2572DEA5682504811061BD1635A07B70B137E21FA
- powershell-7.3.1-osx-arm64.pkg
- ADB1E56FFF1E3B4BD1403E75089B92EF8B7432DCA6FE48CF94ED84A16936CD7E
- powershell-7.3.1-osx-arm64.tar.gz
- 66AE3E155043011A0CB7025E748C385C101C464FC105F39818DA678B702154BD
- powershell-7.3.1-osx-x64.pkg
- B6C8D4F8ED0CD1854CD00FE8A7816428093E71FDDC30546A3406C07F409C02AE
- powershell-7.3.1-osx-x64.tar.gz
- 18529E2EF589DACFA62B3ADAA0640EDABF5F31FE4CC3D484D5060F93166E6156
- PowerShell-7.3.1-win.msixbundle
- F2C9247D6108B42EBCD489FC2EF52078EB450CF7282E4B91B9525A334F38B233
- PowerShell-7.3.1-win-arm32.zip
- D808FBBB91E73F39BA1629D4339F2CC6E73D0C1A51EA5FF91BA8F68861B11A5E
- PowerShell-7.3.1-win-arm64.zip
- F86C1DA8896144A0D913B85B58157B419D3A89FF357EA191081D58DE944DE354
- PowerShell-7.3.1-win-fxdependent.zip
- 12A4E9100CF6448583D205714B262A0C3EA0CA4F2056ABEFD6831A6AFB923160
- PowerShell-7.3.1-win-fxdependentWinDesktop.zip
- 9938F6F95BBD0341B1279BA859B4BF643924759534DC6B527E15528E736E3149
- PowerShell-7.3.1-win-x64.msi
- CAD0026DF877F1B195B87AAE1858E8BC8BA759C19B7440CD62E1F5432665519F
- PowerShell-7.3.1-win-x64.zip
- 997EDF93ED570C0E6559588F2E3F52CB2B043535D7022128F2A734A2D904E3F5
- PowerShell-7.3.1-win-x86.msi
- 0266C3BCF23A35E5400C8DA28BE951986454D33973E56274D0E6217B0C56829A
- PowerShell-7.3.1-win-x86.zip
- 9FA3E39DC072093F0AB86EC75C91199D91B526BEFCE80722D6FB5F6614C21547
v7.2.8 Release of PowerShell
7.2.8 - 2022-12-13
Engine Updates and Fixes
- Remove TabExpansion for PSv2 from remote session configuration (Internal 23294)
Build and Packaging Improvements
Bump .NET SDK to 6.0.403
- Update CGManifest and ThirdPartyNotices
- Update Microsoft.CSharp from 4.3.0 to 4.7.0
- Update to latest SDK (#18610)
- Allow two-digit revisions in vPack package validation pattern (#18569)
- Update outdated dependencies (#18576)
- Work around args parsing issue (#18606)
- Bump System.Data.SqlClient from 4.8.4 to 4.8.5 (#18515)
SHA256 Hashes of the release artifacts
- hashes.sha256
- 00B41479FC128D1F058F3A54103B70F4E8D035BFCB3A9891026DCD3FF2827BB6
- powershell_7.2.8-1.deb_amd64.deb
- 5F72D3DD601E5211AA00F26CC5ED578ECA7762C0D34BEA0E560E5147D1E0D8D7
- powershell-7.2.8-1.cm.x86_64.rpm
- 3B8383F639FFD460D064088B723FB6ED45B740D14847B4C07163B9503EBA2A5D
- powershell-7.2.8-1.rh.x86_64.rpm
- 309AF60D9163A0549E1B3E86C5DB50D86E03BC0F216CA3990BEDF64930FA2EA8
- powershell-7.2.8-linux-alpine-x64.tar.gz
- 02A9E72CE0DBCB338DE9A245AE7E0B7D5110F746F897C31C47BC7E05F8E4D19F
- powershell-7.2.8-linux-arm32.tar.gz
- 222CF60ADA7F1771801EF6466A6D316E61838ADA002245E1BE2D4E5B4F1F3334
- powershell-7.2.8-linux-arm64.tar.gz
- A840C265647CF4AC05BD405064F2D2D6CD161F0C70CACC1E651303FC7B66E122
- powershell-7.2.8-linux-x64.tar.gz
- 28FF2653667AC63B508F0B98433E48F64E6BC1EC59F8C1D252BA89EB5A7441A2
- powershell-7.2.8-linux-x64-fxdependent.tar.gz
- 06D85EB96AF284EB2639A7A0F7EFC738A30B1315EC9092D66652BD97E26C9CD0
- powershell-7.2.8-osx-arm64.pkg
- 5F3DB2978E1F8CA705F6F5DA423D013C40195D441EAEF7F80F24A0130566159A
- powershell-7.2.8-osx-arm64.tar.gz
- 3B3D917C6AFEFF86F567E10C740A2B34E1AD51F48872F61C340E9CBE007D387F
- powershell-7.2.8-osx-x64.pkg
- 06B25059B5BA56DD4FE5495533EEF96EB7B12263B97CAA62E8DC9116BEE03F14
- powershell-7.2.8-osx-x64.tar.gz
- 4C73410E2181BB794B2D9EE519BF64F5F25E9AA7C480D141FC194C28B75DD87D
- PowerShell-7.2.8-win-arm32.zip
- 20B7718467E5B6A93A3648C8646F1225CC1C63E412E7C9D1CEF70273FF6A8A0B
- PowerShell-7.2.8-win-arm64.zip
- 066DE7BA09783B38FEB506939093E8AC9779AFE4776D619CBA2AD28A825F8165
- PowerShell-7.2.8-win-fxdependent.zip
- F3696D973533B2509A16F100C8AEF4A679726C6D2518F9F5A9A0DD96A0E151EB
- PowerShell-7.2.8-win-fxdependentWinDesktop.zip
- 057E96FE2C475F2E0982FF58DE95DE5CA3832CF1B5B6E331193F1F3E39AAD8C1
- PowerShell-7.2.8-win-x64.msi
- 9A27962C3652C85193C6F3678741A712E880AA9F85F403774CD632C5CB8680FF
- PowerShell-7.2.8-win-x64.zip
- EF61A17B989698B5DEEC282D52DADC4C659D2DF5E2B69E093ED74145411CF7C8
- PowerShell-7.2.8-win-x86.msi
- 5298A693BC7602503C3A39CE613EE9B1824A60A5C139CDB61D18C424F71B556A
- PowerShell-7.2.8-win-x86.zip
- 0E461172AB6FBC0CBDC00A4FE3A2925F8FA2AE5719EC64B342DB8D6E4642A41C
- powershell-lts_7.2.8-1.deb_amd64.deb
- 012EB465DF8A50284C49D0E37940E4BB84A88600094C7B706E5B15EF724C1333
- powershell-lts-7.2.8-1.cm.x86_64.rpm
- 9497E333DEBD303F0132150949B4932B523AF5A342B7B2F3F487FB5D2D3560F7
- powershell-lts-7.2.8-1.rh.x86_64.rpm
- 6E755026DCE18F32F647A80AAB1D4CDD131AC19A1FFD47093CFBEBE6C5EE948A
- powershell-lts-7.2.8-osx-arm64.pkg
- E37BE1504E0854C6C5D2C031C9D18A668BC2A6BED9CF810647858987E2112877
- powershell-lts-7.2.8-osx-x64.pkg
- ABAEC191208BF602BC5B1A79EE40664FAF32E4281E57625284C4EBF4C3D16F8F
v7.3.0 Release of PowerShell
7.3.0 - 2022-11-08
General Cmdlet Updates and Fixes
- Correct calling cmdlet
New-PSSessionOptionin script forRestart-Computer(#18374)
Tests
- Add test for framework dependent package in release pipeline (Internal 23139)
Build and Packaging Improvements
Bump to use internal .NET 7 GA build (Internal 23096)
- Fix issues with building test artifacts (Internal 23116)
- Use
AzFileCopytask instead ofAzCopy.exe - Remove
AzCopyinstallation from msixbundle step - Add TSAUpload for APIScan (#18446)
- Add authenticode signing for assemblies on Linux builds (#18440)
- Do not remove
penimc_cor3.dllfrom build (#18438) - Allow two-digit revisions in vPack package validation pattern (#18392)
- Bump
Microsoft.PowerShell.Nativefrom7.3.0-rc.1to7.3.0(#18413)
SHA256 Hashes of the release artifacts
- hashes.sha256
- 2748D1008F025B4BBF35B326F8113E2A0DD7C3F096F669FDACC04EF1171F1C4A
- powershell_7.3.0-1.deb_amd64.deb
- A99E9FE370B0D9C05C736FA81521D32375DDB418AB75C76D9D0A14B4CE3D3DF2
- powershell-7.3.0-1.cm.x86_64.rpm
- CFB97B059C08F0D31EABFE854048D2ABD67A56175A896A63E7B8FB17E659EE51
- powershell-7.3.0-1.rh.x86_64.rpm
- 3C4B9BEB52CC4F52C52DFBA59346E23DF38CFF9FE18D534F83CB902472D28B37
- powershell-7.3.0-linux-alpine-x64.tar.gz
- 0E91269D2AA29C9D28CC921562B41514C757C9FEE9E93098F69CCB01E5E156D1
- powershell-7.3.0-linux-arm32.tar.gz
- 5246CEC2ABA67CF3A1B7DC61FD015D35E651A1EC9D5AAA4B6A19F9B34F671616
- powershell-7.3.0-linux-arm64.tar.gz
- DC84E26DF576EF8CC353850EEB5F6659F322FF999913442F472B158F943D109F
- powershell-7.3.0-linux-x64.tar.gz
- 5F781392597776519BB3726B2D9854061017F4CC22F9F1CDAA9F26636B936CC0
- powershell-7.3.0-linux-x64-fxdependent.tar.gz
- 485F4BB9626E0BF869F76CC77751ED037A5DB570EFABC064FF26B36E60916492
- powershell-7.3.0-osx-arm64.pkg
- D4DD81CD9078C8B5F3C6407A7AB31FE8D4DD142926356E5DCAB6EDCAFAE83692
- powershell-7.3.0-osx-arm64.tar.gz
- 52F7CCA7A99F5FADFD39B9F937AC09E8FAC4D39631F35D1DB10DDFC711E38F2B
- powershell-7.3.0-osx-x64.pkg
- FC95BE4E3D99BF940B593B53A54FE7AA11B05D8815820CC162A4B04CC8811EDE
- powershell-7.3.0-osx-x64.tar.gz
- B3205A8EDE7A90E6F4BF856AB38293680C3D03A69EE5E03935A61FEC455C0485
- PowerShell-7.3.0-win.msixbundle
- 3A04FA5EA8944E6A2AF006E7595F90F5CFFCDD7F222F15689DAFF0C8B2E4D643
- PowerShell-7.3.0-win-arm32.zip
- 90DBF3DF9E1F1F5EF3B5CBB13270887154E86A9CEFED54B1588C3EB6E223E8D3
- PowerShell-7.3.0-win-arm64.zip
- 564C56AA84116FB3BF058D9BCB83F9D80D7DB802988E9DB5DFE82A7C4730B17D
- PowerShell-7.3.0-win-fxdependent.zip
- 7CF427D9D773859248CC73B85572E0830113B94BF6522218AF00661A18C0E014
- PowerShell-7.3.0-win-fxdependentWinDesktop.zip
- CE61E12FDE3CD04B581D966E765AD23F5FED75BBC24EE928186A3E47BEB9A538
- PowerShell-7.3.0-win-x64.msi
- 5DBBFA10FD37A032414F36B9D6A8DE99E042081075DAB320C10F1F67B93E2C4E
- PowerShell-7.3.0-win-x64.zip
- B4F0089E44E8E66975BE3D9968F320CD540D46F219415F3EC0C525BC1BF35974
- PowerShell-7.3.0-win-x86.msi
- 9E819F88D3CC1575EF19CC1ACF002E7D942737B9D34E8A5306410B0DF34F433C
- PowerShell-7.3.0-win-x86.zip
- 03210C0C2D29B4B4F103D7A1F6B63743A311CE87A7E75CF67DEA9EA4266EF751
v7.3.0-rc.1 Release of PowerShell
7.3.0-rc.1 - 2022-10-26
NOTE
- PowerShell Direct is only supported on Windows 10, version 1809+
- Windows 7 is not supported anymore
Breaking Change
- Update to use
ComputeCore.dllfor PowerShell Direct (#18194)
Engine Updates and Fixes
- On Unix, explicitly terminate the native process during cleanup only if it's not running in background (#18215)
General Cmdlet Updates and Fixes
- Remove the
ProcessorArchitectureportion from the full name as it's obsolete (#18320)
Tests
- Add missing
-Tag 'CI'to describe blocks. (#18317)
Build and Packaging Improvements
- Update ThirdPartyNotices (Internal 22987)
- Remove API sets (#18304) (#18376)
- Do not cleanup
pwsh.deps.jsonfor framework dependent packages (#18300) - Bump
Microsoft.PowerShell.Nativefrom7.3.0-preview.1to7.3.0-rc.1(#18217) - Remove unnecessary native dependencies from the package (#18213)
- Make the link to minimal package blob public during release (#18158)
- Create tasks to collect and publish hashes for build files. (#18276)(#18277)
- Add branch counter to compliance build (#18214)
- Move APIScan to compliance build (#18191)
- Update MSI exit message (#18137)
- Remove XML files for min-size package (#18189)
SHA256 Hashes of the release artifacts
- hashes.sha256
- FA3A1086B5742D63C84E62ED7D6DC61D7D0AF6771341AC59A3FB473061186173
- powershell-7.3.0-rc.1-linux-alpine-x64.tar.gz
- C800018ED3DC809023503775C7E4E66B659E45EC37DC769646CA06DE9D7E8D31
- powershell-7.3.0-rc.1-linux-arm32.tar.gz
- BAB2A23E68C84075D9B492B35558AF16ECB85DE8B2FC0B5B5AFC8CE452C56A3B
- powershell-7.3.0-rc.1-linux-arm64.tar.gz
- BE02398DE3457F9A61942291B1CDA5030A6CD5F4ADE0F96F20797C614E1F3844
- powershell-7.3.0-rc.1-linux-x64.tar.gz
- 0FF8D846E071A3D7C04D854BBC4582F9928D56500B0976504A520DACDECFBC6F
- powershell-7.3.0-rc.1-linux-x64-fxdependent.tar.gz
- F53E90ED3E6C74239E16EBCDD232F2EE6AAD34E577B281959F347ECCB6001151
- powershell-7.3.0-rc.1-osx-arm64.pkg
- DF946C85EFD17D3712C281D722CFCC4177EE7CBFE5F462D664521A567D81CF0F
- powershell-7.3.0-rc.1-osx-arm64.tar.gz
- CE116DC4E4132EF6534DF3E3FD68B9189AE55E67BD171A2160D3BB94A1D9349F
- powershell-7.3.0-rc.1-osx-x64.pkg
- 4C1C5658C86952C239D330AFABAD6502531996AE213AB5DEA74EFD767122CB82
- powershell-7.3.0-rc.1-osx-x64.tar.gz
- DD1405D81B2AAB5AEE1CC62540D898A666D975235DB2DE7DBD0E2F88826CE079
- PowerShell-7.3.0-rc.1-win-arm32.zip
- F0F8C62DCD9FC8073765ED4E24D2ADACE4608B925D5E6D3DF2C01C8B5BECBDA0
- PowerShell-7.3.0-rc.1-win-arm64.zip
- 5DECE383005E94E60ED0A63066FBF6D998F43E4063EC2697C9B17B17A345F596
- PowerShell-7.3.0-rc.1-win-fxdependent.zip
- 3EF0F5051F0A4543CCEDB412D4034CE6FC3EF2F0269F404FFFCDB243E2BD236C
- PowerShell-7.3.0-rc.1-win-fxdependentWinDesktop.zip
- 1F4C7A46BA9D882F23FFD289F03B9C92994097A1DA7D1F19B50B066BB4C773C5
- PowerShell-7.3.0-rc.1-win.msixbundle
- 2A8D3B5E2F3588DF547A868EA0002362FCD9408F37AD476BA1FC791BA660E8BF
- PowerShell-7.3.0-rc.1-win-x64.msi
- 2C304FEDCD04BD1F9040BA6DD0B6AEADA9248C7BB9B344103E1B29440793766F
- PowerShell-7.3.0-rc.1-win-x64.zip
- CD0AF8921B19FA93A894ACA9AFB5155417D2B23C8D9A573B9216B607D95E9EC7
- PowerShell-7.3.0-rc.1-win-x86.msi
- F23DF935F22513443606B261E0EE696F3AC22A6CE77F1FF6EDE788F67E08BC60
- PowerShell-7.3.0-rc.1-win-x86.zip
- 4BC9322312885229AFE6BE8E08EB91832A7035BFCA78B58F02B60F4343F463C1
- powershell-preview_7.3.0-rc.1-1.deb_amd64.deb
- 5CCA8118D8E2238BD4C7ED40A2CD370C12320EA5096AA5DFC6AB4911F3D6E7F1
- powershell-preview-7.3.0_rc.1-1.cm.x86_64.rpm
- B63701909FFE6847E84954B42BD6F2860E690F2DE90408AB8E7EED456311950E
- powershell-preview-7.3.0_rc.1-1.rh.x86_64.rpm
- 621FD3A034AC637E66ECB0113B542B7DDFE2DB0A66FABC04614DAAD8A074773B
v7.2.7 Release of PowerShell
7.2.7 - 2022-10-20
Engine Updates and Fixes
- On Unix, explicitly terminate the native process during cleanup only if it's not running in background (#18280)
- Stop sending telemetry about
ApplicationType(#18168)
General Cmdlet Updates and Fixes
- Remove the 1-second minimum delay in
Invoke-WebRequestfor downloading small files, and prevent file-download-error suppression (#18170) - Enable searching for assemblies in GAC_Arm64 on Windows (#18169)
- Fix error formatting to use color defined in
$PSStyle.Formatting(#18287)
Tests
- Use Ubuntu 20.04 for SSH remoting test (#18289)
Build and Packaging Improvements
- Update cgmanifest (#18319)
- Fix
build.psm1to find the required .NET SDK version when a higher version is installed (#17299) (#18282) - Update MSI exit message (#18173)
- Remove XML files for min-size package (#18274)
- Update list of PS team members in release tools (#18171)
- Make the link to minimal package blob public during release (#18174)
- Add XML reference documents to NuPkg files for SDK (#18172)
- Update to use version 2.21.0 of Application Insights (#18271)
SHA256 Hashes of the release artifacts
- hashes.sha256
- 5BF4A470B717F57F3B0E1EF1F16C9B1EB390555995E0DBE64F264101C7D490C9
- powershell_7.2.7-1.deb_amd64.deb
- 93612AA09171838E997C85B78F6FE42041FBC73741B9751F975B1E908D6E77F0
- powershell-7.2.7-1.cm.x86_64.rpm
- CDCDDB60450387E3C74B66942ECB295A7514463A47FECEBC88526C7D35D94ADA
- powershell-7.2.7-1.rh.x86_64.rpm
- FC7C5759BA5CD4F28291F187E60348D7EBCC76841786480CA78A6E42439A0FA0
- powershell-7.2.7-linux-alpine-x64.tar.gz
- 1E2098067BCE21EC116745F75594D1BC92A15BB736845453E490D96F8C46129D
- powershell-7.2.7-linux-arm32.tar.gz
- FEE76FB4C3EB4700E05D113E8FC5D29DB9CBE05ED6A2191A8F09E4476B8BDEDA
- powershell-7.2.7-linux-arm64.tar.gz
- FC189519457046A148944B56213750E09313DE79970439AA621746CDB9C9E36D
- powershell-7.2.7-linux-x64.tar.gz
- 4F2560857CEC6C795F9940407D9F154D3C01CD6BA52E1656E3F2A5B60E5FF1B0
- powershell-7.2.7-linux-x64-fxdependent.tar.gz
- EB20808673869AC5DAB7A56CE68F7964EA07776D77892A789AE761787D2C2C7D
- powershell-7.2.7-osx-arm64.pkg
- E6FEE26BFA6265F6F76B7FA5F37826DA1D2C194398D4738783C44EC34A158C6E
- powershell-7.2.7-osx-arm64.tar.gz
- FE6E4024402D43A3E2D06D25D83536CBBF6951637C8A7CE7207FBBAD58F63BF0
- powershell-7.2.7-osx-x64.pkg
- 098FBD99699DCD02EA177266C0310C783ECE987B605BA8CC6CB49FC828FDD167
- powershell-7.2.7-osx-x64.tar.gz
- 3DB758838DE5286CD59FFF354C491C12B1594D2B6DDCF507FE7FC03C7F6CD43E
- PowerShell-7.2.7-win-arm32.zip
- BB1AE930EBD5F18DE48A052D93F5A195DA86E5F2E28B13149D384FB865E8D60A
- PowerShell-7.2.7-win-arm64.zip
- 626AED993F6F7906920A0FED1645EE988A86AF9700607A04ED219122DD7F4851
- PowerShell-7.2.7-win-fxdependent.zip
- E32B946C6DEE8CA0EE7CAE60B61C27954239DF0C1A9B9060088D663B88BBB639
- PowerShell-7.2.7-win-fxdependentWinDesktop.zip
- E627E5BF29A519A6FC1446CF00C8A4CFD2B94E1A73CAD9075F591BD6117CFA07
- PowerShell-7.2.7-win.msixbundle
- C8ACFDFD23B3612A28FD92F2CC2887E622D040E492BB0FD54612981C996D2137
- PowerShell-7.2.7-win-x64.msi
- 7445F2F711759FE7167FAE2329911F9800D087265D1BA720A8801FF775AC1B31
- PowerShell-7.2.7-win-x64.zip
- 4686202E22EC153F4FEF0B4D7FB2D577A6B0CD4D448B598E151417D095BC8FAD
- PowerShell-7.2.7-win-x86.msi
- D9BAF2076D9F61BBB706B61542A68168FA8C870FFC41630780ACA3D1405444BD
- PowerShell-7.2.7-win-x86.zip
- C82C042E05BA7FC66DD84D43FA46B33131ACFC7028B8AF724AC149171D2D24B5
- powershell-lts_7.2.7-1.deb_amd64.deb
- DC85567C9A52E16EBED727F41389DE0B8E3275437E4B7A3905BC894F359A24F9
- powershell-lts-7.2.7-1.cm.x86_64.rpm
- C41A1B01E0799EE03C95425D36CA6442A52D746956D7547D536322484A13F857
- powershell-lts-7.2.7-1.rh.x86_64.rpm
- D14502B9F91649C49294A6978231EA1235804E443D3582A9276245160A875210
- powershell-lts-7.2.7-osx-arm64.pkg
- AE99BC06DEDDDE939FA5130466FEF2B44B9460DA6C4198BB190C8BBD349F82C8
- powershell-lts-7.2.7-osx-x64.pkg
- F819E17DE7D389C423BAB44C93C59EA132375D53F7077647AF7C79464AA3DB24
v7.0.13 Release of PowerShell
7.0.13 - 2022-10-20
Engine Updates and Fixes
- Stop sending telemetry about
ApplicationType(#18265)
Build and Packaging Improvements
Bump .NET SDK to 3.1.424 (#18272)
- Update Wix file for new assemblies (Internal 22873)
- Update the
cgmanifest.jsonforv7.0.13(#18318) - Update
Newtonsoft.Jsonversion for 7.0.13 release (#18259) - Fix
build.psm1to not specify both version and quality fordotnet-install(#18267) - Update list of PowerShell team members in release tools(#18266)
- Move
cgmanifestgeneration to daily (#18268) - Disable static analysis CI on 7.0 (#18269)
SHA256 Hashes of the release artifacts
- powershell_7.0.13-1.debian.10_amd64.deb
- 0688A332EDBD5BE32222108576398E6E7A8115482CFFF498DCEAE9AD248CDB40
- powershell_7.0.13-1.debian.11_amd64.deb
- 6C3FA7FE96A881B022F4B8C5E84219A93E068A8108DCD0FC24AA16721F057E65
- powershell_7.0.13-1.debian.9_amd64.deb
- DC7E0285ECDFF219BE3639FADF3E7C56F1BE09C5F6090889B1CD6A55ECDF3666
- powershell_7.0.13-1.ubuntu.16.04_amd64.deb
- 278F144291E0E7EBB366B5E06A201E9F03437C5D3DE9FB8F0689B9B958010DF6
- powershell_7.0.13-1.ubuntu.18.04_amd64.deb
- FF851D2A014B9D9FCC928CDF1B07C17DE1C24FF29A8535FB1DFDA489507559C8
- powershell_7.0.13-1.ubuntu.20.04_amd64.deb
- A0B181ED46D3A57CB0184C9C5C77A46CE59B9FBE2F8B6CB8A5776AFB4E23F89D
- powershell-7.0.13-1.centos.8.x86_64.rpm
- 1D47955C0DE42822FAC39AB6D698B0DA7DD6061F8C984B8ECD493C247619116D
- powershell-7.0.13-1.rhel.7.x86_64.rpm
- 1131BFC0B898E996352DD548AB3746F113887B05C8C875C34B7147B637B9B724
- powershell-7.0.13-linux-alpine-x64.tar.gz
- 6141BE506D720F40B305D47C4F1CCA5ED8B5D2D3A8080EF4DDDA59B6A881B2AB
- powershell-7.0.13-linux-arm32.tar.gz
- 21C21D115C6972C7B98352BD8732E671F7FD3B6D4DD27C1171234D2CF25AB39A
- powershell-7.0.13-linux-arm64.tar.gz
- 033A7858954F9BD9A8E15116FC5AC5F2526FDCE7CEC5A5BC51D5751B87B249E7
- powershell-7.0.13-linux-x64.tar.gz
- 8387987C18D0FE941C9365837A47C393DE576D969A06950B9CA133BC92BF9BA9
- powershell-7.0.13-linux-x64-fxdependent.tar.gz
- 4BD11E7FE2F2BE906A5E30B80AB2E5663359E6743396C1306BB92FFA49E1BB7E
- powershell-7.0.13-osx-x64.pkg
- DD57DC1519769AF6B7EB6DEB221BFB5C7C3F8399C1469D6859519647710C7863
- powershell-7.0.13-osx-x64.tar.gz
- 8318A1B56B8F713FF4A13852A3D4C6ADD6322E539D98116BC5298C58B51561BC
- PowerShell-7.0.13-win-arm32.zip
- 908E3A048B8AAC102BC0DC53246CC3E613F8271C6DA909601C078FC3DE16184A
- PowerShell-7.0.13-win-arm64.zip
- 4DB1C4C3457ED3E86B731FD1DC666C89984E7E21705524391B53B8CA40D747C1
- PowerShell-7.0.13-win-fxdependent.zip
- 1C37CF0A210A7F9FCD808551AF3581A2989487F29308080324D9B087E1A3398E
- PowerShell-7.0.13-win-fxdependentWinDesktop.zip
- 4AA023DB767D577FC6CC40350FC1BB46B8F892C02C8398C956516307C0C33257
- PowerShell-7.0.13-win-x64.msi
- E12CEA4C2D8F7F7C6493B5AFB44AE90B3D5C4A6CDA267F183017E6E2F8E0A57A
- PowerShell-7.0.13-win-x64.zip
- A93894F2DD8B508F78DFF6A774A678D4E45BA45ECB7F9409D24E4E3D7768D3A4
- PowerShell-7.0.13-win-x86.msi
- 88A539FE3C899E3C0920738CCBB96280D5DD318CEE34A7803E6E86632C88DDDA
- PowerShell-7.0.13-win-x86.zip
- 14859DBAF1A9C78F8D849DB4C37903F9E01DA0B6486D9825F92502D81E6B18E6
- powershell-lts_7.0.13-1.debian.10_amd64.deb
- 3713AC787AC0259DD8A73CF6DA2BE30E12659D4DDD4E5CC2CE35DCBDDA0BE564
- powershell-lts_7.0.13-1.debian.11_amd64.deb
- AA945DC5F6F25DFCF1262ACA5A3E1AEE4A536C28DCF0A7F080FA27FC1F47E750
- powershell-lts_7.0.13-1.debian.9_amd64.deb
- 1C09C93113EAD72D66565B178ABE0C7BBAD88BD2AB5DDF6AB12C1E747DBEFB55
- powershell-lts_7.0.13-1.ubuntu.16.04_amd64.deb
- D3B929A7BDCEBDE9047B0D5C164B39A71350D5AA387315D775FD3FC36FC3DB10
- powershell-lts_7.0.13-1.ubuntu.18.04_amd64.deb
- BED5A7254B4589C6A2BB40F4CD1062434368857D028ED0840C9DD6C5DE7F3F7B
- powershell-lts_7.0.13-1.ubuntu.20.04_amd64.deb
- 723E77C0961849DC2A8576519C64E1EF6D07A7F0665110A54D60FD2626A8BD5B
- powershell-lts-7.0.13-1.centos.8.x86_64.rpm
- 36B5EAA97EA234067DDB41BD5ED44EFB30A1941F7B8E24B33A2DF84467D523A2
- powershell-lts-7.0.13-1.rhel.7.x86_64.rpm
- F27C0E494CB0F66F7BD0C912857B2A3E68EE6E08F0D52161EEDFF558771DCFBA
- powershell-lts-7.0.13-osx-x64.pkg
- 13BC58095C8C9304CA6FBA71118F114F6F4060EBA3B3798052D700E61B7AE8C7
v7.3.0-preview.8 Release of PowerShell
7.3.0-preview.8 - 2022-09-20
NOTE: Known issue about Console.ReadKey() on Unix platforms that the KeyChar is not preserved for Ctrl+Letter inputs. This causes all key bindings in the form of Ctrl+Letter to not work in PowerShell v7.3.0-preview.8 on Unix platforms. For details, see the .NET issue dotnet/runtime#75795. The fix dotnet/runtime#75853 will be included in .NET 7.0.0-rc.2 and we plan to include this in the next PowerShell 7.3 release.
General Cmdlet Updates and Fixes
- Filter out compiler generated types for
Add-Type -PassThru(#18095) - Fix error formatting to use color defined in
$PSStyle.Formatting(#17987) - Handle
PSObjectargument specially in method invocation logging (#18060) - Revert the experimental feature
PSStrictModeAssignment(#18040) - Make experimental feature
PSAMSIMethodInvocationLoggingstable (#18041) - Make experimental feature
PSAnsiRenderingFileInfostable (#18042) - Make experimental feature
PSCleanBlockstable (#18043) - Make experimental feature
PSNativeCommandArgumentPassingstable (#18044) - Make experimental feature
PSExecstable (#18045) - Make experimental feature
PSRemotingSSHTransportErrorHandlingstable (#18046) - Add the
ConfigurationFileoption to the PowerShell help content (#18093)
Build and Packaging Improvements
Bump .NET SDK to version 7.0.100-rc.1
- Update ThirdPartyNotices.txt for 7.3.0-preview.8 (Internal 22553)
- Update cgmanifest.json for 7.3.0-preview.8 (Internal 22551)
- Re-enable building with Ready-to-Run (#18107)
- Make sure
Security.types.ps1xmlgets signed in release build (#17930) - Update
DotnetRuntimeMetadata.jsonfor .NET 7 RC1 build (#18106) - Add XML reference documents to NuPkg files for SDK (#18017)
- Make Register MU timeout (#17995)
- Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.0 (#17924)
- Update list of PS team members in release tools (#17928)
- Update to use version 2.21.0 of Application Insights (#17927)
- Complete ongoing
Write-Progressin test (#17922)
SHA256 Hashes of the release artifacts
- hashes.sha256
- B8FE62FE51C391395CD43E3411B73885E7F58C671506243161D742F39597DF78
- powershell-7.3.0-preview.8-linux-alpine-x64.tar.gz
- 9F25E94EA30DAA89BD17D3A35D753138D02F829D223ABAC4D9E1E116A7D4648F
- powershell-7.3.0-preview.8-linux-arm32.tar.gz
- 6FC64E841EF3DC701E99FA58FFD4502FD6EE8F8C3FCED1A2FD5F917A72AB6483
- powershell-7.3.0-preview.8-linux-arm64.tar.gz
- 503A624D4B880F8D86FB52105D1680EA833278546D07052BD6EB82E5413B3886
- powershell-7.3.0-preview.8-linux-x64.tar.gz
- B6F3EDF099475012284A27455D49609A8A0CAA5A35FBD5AF1D2FBEE65A3F539A
- powershell-7.3.0-preview.8-linux-x64-fxdependent.tar.gz
- F3B87F93EFF7861AFD87EC53801A62D27ACABE5F081AA106D9FC65B5A32A9E3B
- powershell-7.3.0-preview.8-osx-arm64.pkg
- 6A7E3B19A6282931230A56F56A18F99C3F582ACB30985AED47D4B70192584605
- powershell-7.3.0-preview.8-osx-arm64.tar.gz
- 1D9A16A998A2D36955285BF9DE65E45F69EFB4067E54C120B6F96AA224459CE1
- powershell-7.3.0-preview.8-osx-x64.pkg
- 84AC26DA95486D0BB417BE13C7C5E901A1A1AC7F4F756EF8454376E2C40860CC
- powershell-7.3.0-preview.8-osx-x64.tar.gz
- 7F1432AD05D48487C8B4A5A2652CF4360DCEBC05CC30FF129E939EBB18B29211
- PowerShell-7.3.0-preview.8-win.msixbundle
- 2DB6A1AD18D12C5D132FC41CA99B1765763B96A3F5AAA9941B6BD5C53609FC91
- PowerShell-7.3.0-preview.8-win-arm32.zip
- 41854CD7D6283E3EDC3CA5836E3F9D7460E287F8CCD6AFB540288F8CD9B70593
- PowerShell-7.3.0-preview.8-win-arm64.zip
- 4D85D9F3385050ABAA7D60ABEF6B1BF1EB347159269F1A140B7F652630D99255
- PowerShell-7.3.0-preview.8-win-fxdependent.zip
- 195E46DFF99DBE778C602D600933D8895AFFEBFE314F5419699215EBA48057F3
- PowerShell-7.3.0-preview.8-win-fxdependentWinDesktop.zip
- CEFDB7DE0447CBD21FBD576FCBB9F2A14AC41340817F4E9F94E0B5E9C5CE3D1B
- PowerShell-7.3.0-preview.8-win-x64.msi
- A97001262EECD33EB210F670AC8C43DB2E46CEED525481F1EA724F0578CCCD68
- PowerShell-7.3.0-preview.8-win-x64.zip
- 083CF35701E5F25FBB09A8CB24E956E327EB7B1179ACD21FB0F5479782F9E9C9
- PowerShell-7.3.0-preview.8-win-x86.msi
- 1370E020AE3EFF3BF0905E415EAB21679B7767464AC3DF0098F60736F5CD5813
- PowerShell-7.3.0-preview.8-win-x86.zip
- 3F100E348414FBB345E0349ED44FFE5C6090503793E3609A7D296E0D76F9F507
- powershell-preview_7.3.0-preview.8-1.deb_amd64.deb
- 7A3AEE968950BE1B9DC7E8900CE2AC8537CC349DBB5F8C9EC4147AE5D6C704A1
- powershell-preview-7.3.0_preview.8-1.cm.x86_64.rpm
- 30F4329AD0B8C9EAAC23F4FDB796937AC912D8238313DFD4C47132C845FA23CC
- powershell-preview-7.3.0_preview.8-1.rh.x86_64.rpm
- FBD9DF4B6BD4273C4B102375FF3C2B9D760AD0FC40AD723CABE7277BDA0055CA
v7.3.0-preview.7 Release of PowerShell
7.3.0-preview.7 - 2022-08-11
Breaking Changes
- Move the type data definition of
System.Security.AccessControl.ObjectSecurityto theMicrosoft.PowerShell.Securitymodule (#16355) (Thanks @iSazonov!)
Engine Updates and Fixes
- Enable searching for assemblies in
GAC_Arm64on Windows (#17816) - Fix parser exception in using statements with empty aliases (#16745) (Thanks @MartinGC94!)
- Do not always collapse space between parameter and value for native arguments. (#17708)
- Remove
PSNativePSPathResolutionexperimental feature (#17670)
General Cmdlet Updates and Fixes
- Fix for deserializing imported ordered dictionary (#15545) (Thanks @davidBar-On!)
- Make generated implicit remoting modules backwards compatible with PowerShell 5.1 (#17227) (Thanks @Tadas!)
- Re-enable IDE0031: Use Null propagation (#17811) (Thanks @fflaten!)
- Allow commands to still be executed even if the current working directory no longer exists (#17579)
- Stop referencing
Microsoft.PowerShell.Securitywhen the core snapin is used (#17771) - Add support for HTTPS with
Set-AuthenticodeSignature -TimeStampServer(#16134) (Thanks @Ryan-Hutchison-USAF!) - Add type accelerator
orderedforOrderedDictionary(#17804) (Thanks @fflaten!) - Fix the definition of the
PDH_COUNTER_INFOstruct (#17779) - Adding Virtualization Based Security feature names to Get-ComputerInfo (#16415) (Thanks @mattifestation!)
- Fix
FileSystemProviderto work with volume and pipe paths (#15873) - Remove pre-parse for array-based JSON (#15684) (Thanks @strawgate!)
- Improve type inference for
$_(#17716) (Thanks @MartinGC94!) - Prevent braces from being removed when completing variables (#17751) (Thanks @MartinGC94!)
- Fix type inference for
ICollection(#17752) (Thanks @MartinGC94!) - Fix
Test-Jsonnot handling non-object types at root (#17741) (Thanks @dkaszews!) - Change
Get-ChildItemto treat trailing slash in path as indicating a directory when used with-Recurse(#17704) - Add
find.exeto legacy argument binding behavior for Windows (#17715) - Add completion for index expressions for dictionaries (#17619) (Thanks @MartinGC94!)
- Fix enum-ranges for
ValidateRangein proxy commands (#17572) (Thanks @fflaten!) - Fix type completion for attribute tokens (#17484) (Thanks @MartinGC94!)
- Add
-noprofileloadtimeswitch topwsh(#17535) (Thanks @rkeithhill!) - Fix legacy
ErrorViewtypes to use$host.PrivateDatacolors (#17705) - Improve dynamic parameter tab completion (#17661) (Thanks @MartinGC94!)
- Avoid binding positional parameters when completing parameter in front of value (#17693) (Thanks @MartinGC94!)
- Render decimal numbers in a table using current culture (#17650)
Code Cleanup
We thank the following contributors!
- Fix other path constructions using
Path.Join(#17825) - Use null propagation (#17787)(#17789)(#17790)(#17791)(#17792)(#17795) (Thanks @fflaten!)
- Re-enable compound assignment preference (#17784) (Thanks @Molkree!)
- Use null-coalescing assignment (#17719)(#17720)(#17721)(#17722)(#17723)(#17724)(#17725)(#17726)(#17727)(#17728)(#17729) (Thanks @Molkree!)
- Disable the warning
IDE0031to take .NET 7 Preview 7 (#17770) - Fix typo in ModuleCmdletBase.cs (#17714) (Thanks @eltociear!)
Tests
- Re-enable tests because the corresponding dotnet issues were fixed (#17839)
- Add test for
LanguageModeusing remoting (#17803) (Thanks @fflaten!) - Fix test perf by stopping ongoing
write-progress(#17749) (Thanks @fflaten!) - Re-enable the test
TestLoadNativeInMemoryAssembly(#17738)
Build and Packaging Improvements
We thank the following contributors!
- Update release pipeline to use Approvals and automate some manual tasks (#17837)
- Add GitHub token permissions for workflows (#17781) (Thanks @varunsh-coder!)
- Bump actions/github-script from 3 to 6 (#17842)
- Bump cirrus-actions/rebase from 1.6 to 1.7 (#17843)
- Remove unneeded verbose message in build (#17840)
- Detect default runtime using dotnet --info in build.psm1 (#17818) (Thanks @dkaszews!)
- Bump
actions/checkoutfrom 2 to 3 (#17828) - Bump
actions/download-artifactfrom 2 to 3 (#17829) - Bump
github/codeql-actionfrom 1 to 2 (#17830) - Bump
peter-evans/create-pull-requestfrom 3 to 4 (#17831) - Bump
actions/upload-artifactfrom 2 to 3 (#17832) - Enable Dependabot for GitHub Actions (#17775) (Thanks @Molkree!)
- Update .NET SDK version from
7.0.100-preview.6.22352.1to7.0.100-preview.7.22377.5(#17776) - Fix a bug in
install-powershell.ps1(#17794) (Thanks @ChuckieChen945!) - Bump xunit from 2.4.1 to 2.4.2 (#17817)
- Update how to update homebrew (#17798)
- Don't run link check on forks (#17797)
- Update dotnetmetadata.json to start consuming .NET 7 preview 7 builds (#17736)
- Bump PackageManagement from 1.4.7 to 1.4.8.1 (#17709)
- Exclude ARM images from running in CI (#17713)
Documentation and Help Content
- Update the comment about why R2R is disabled (#17850)
- Update changelog and
.spellingfor7.3.0-preview.6release (#17835) - Updated
ADOPTERS.mdfor Power BI (#17766) - Update README.md with the current Fedora version (#15717) (Thanks @ananya26-vishnoi!)
- Update
READMEandmetadata.jsonfor next release (#17676) (Thanks @SeeminglyScience!)
SHA256 Hashes of the release artifacts
- hashes.sha256
- 92939D87CBA045DEACFABC87B404EC12E8BBEA5F00399DB6D01BE5D7E9EC8335
- powershell-7.3.0-preview.7-linux-alpine-x64.tar.gz
- 640A142449B18FF9A9808A344ACE23C853A49FE08122C9654314AC8461A143E2
- powershell-7.3.0-preview.7-linux-arm32.tar.gz
- 6CD9135413F116AC3E4D4AD40159A43889241F997F9C54E820581BA06402515D
- powershell-7.3.0-preview.7-linux-arm64.tar.gz
- 6416F4D792C84C5493E242F1D5EF8A5A174828D7E9BC9990D03284D9D2F2D948
- powershell-7.3.0-preview.7-linux-x64.tar.gz
- 523DF2272CB267A4A79FE7DC5A3D400A622323B36288B985DB16C422D307495B
- powershell-7.3.0-preview.7-linux-x64-fxdependent.tar.gz
- 9F98BDD164B6BBB2DACC39BBB908E73CDB954A5A705131DFBC2985B48D333578
- powershell-7.3.0-preview.7-osx-arm64.pkg
- 53BAB97898B7E23D65393F47661745F8C376928BA711B08BEF2F3EEA2395FA10
- powershell-7.3.0-preview.7-osx-arm64.tar.gz
- 5444DB77A966CEB7742032F2F7B986717196B70D85794ED59AD008CFE02FEF41
- powershell-7.3.0-preview.7-osx-x64.pkg
- 5400440394789BB4BEFD276445F0D7B8E2A5D69248D28235B120FC11A41614AF
- powershell-7.3.0-preview.7-osx-x64.tar.gz
- AE79589472DF1BEEE486DA074D9566836D88A43C848DCE9FAB48CBD57B96F92D
- PowerShell-7.3.0-preview.7-win.msixbundle
- 137C232C25A5E1F8F8C946AB0644A18BD1D9C181D056832144DBECC8E3243A81
- PowerShell-7.3.0-preview.7-win-arm32.zip
- 31385B379B2C5F2FC961E8EBC3013508359755C5354584F7C0E499D742D60A8B
- PowerShell-7.3.0-preview.7-win-arm64.zip
- BE9DDE346E7376165F1C3804218089FBE05C475510F6AB66BBBBA215AA65244E
- PowerShell-7.3.0-preview.7-win-fxdependent.zip
- 1787600E2C70B217118F7CA07673A654C623670B855C8C362B27AA80B0407FCB
- PowerShell-7.3.0-preview.7-win-fxdependentWinDesktop.zip
- 1AF8692C4B63C3C9BBCDB8025B921ED9DFC8F3A929B37AEBFDAC3DA9F843DF0C
- PowerShell-7.3.0-preview.7-win-x64.msi
- 204BED9FB527029702119E07762FAC8416F4022C08E385B6A56E7F2ECCCF2E46
- PowerShell-7.3.0-preview.7-win-x64.zip
- 6DF128D2E055C2FAE5A0FD2B7DFEEFF3DD9C922A437AE1EDA05877C43A05C085
- PowerShell-7.3.0-preview.7-win-x86.msi
- 6757B2477114D865FA26099AC68524DBE40B235088BA8D8C20B9202E9D2B7C33
- PowerShell-7.3.0-preview.7-win-x86.zip
- 2FE95C040F8770CBEFB11265AA5DFBE953251EDBEFEA0550E73C3C9CABE6E11A
- powershell-preview_7.3.0-preview.7-1.deb_amd64.deb
- 1C7DDEFAC0E44B0B275BAC572727E239C96F9A84B894890E825FB29B858CBF2F
- powershell-preview-7.3.0_preview.7-1.cm.x86_64.rpm
- 098F0EA1013D906E6BD43A1255988C65F576C2558C20D86213BDEDFED0BE3C10
- powershell-preview-7.3.0_preview.7-1.rh.x86_64.rpm
- 73AC2D9A356972E6E9723E7E8667A3ED4E7739999EE0FFC8FAE4EFAA495865F2
v7.2.6 Release of PowerShell
7.2.6 - 2022-08-11
Engine Updates and Fixes
- Fix
ForEach-Object -Parallelwhen passing in script block variable (#16564)
General Cmdlet Updates and Fixes
- Make
Out-StringandOut-Filekeep string input unchanged (#17455) - Update regex used to remove ANSI escape sequences to be more specific to decoration and hyperlinks (#16811)
- Fix legacy
ErrorViewtypes to use$host.PrivateDatacolors (#17705) - Fix
Export-PSSessionto not throw error when a rooted path is specified for-OutputModule(#17671)
Tests
- Disable RPM SBOM test. (#17532)
Build and Packaging Improvements
Bump .NET SDK to 6.0.8 (Internal 22065)
We thank the following contributors!
- Update Wix manifest
- Add AppX capabilities in MSIX manifest so that PS7 can call the AppX APIs (#17416)
- Use
Qualityonly withChannelindotnet-install(#17847) - Fix
build.psm1to not specify both version and quality fordotnet-install(#17589) (Thanks @tamasvajk!) - Install .NET 3.1 as it is required by the vPack task
SHA256 Hashes of the release artifacts
- hashes.sha256
- A17F7AABB18C96DB502D3A443D62B6576972CBA48F965C6FF6342C7552B154AA
- powershell_7.2.6-1.deb_amd64.deb
- A0D810FE381B77E4BFB99CC67F713F6D483545E94BDEB4150524C085CF20E2DA
- powershell-7.2.6-1.cm.x86_64.rpm
- 9FA82FD880452E903D45121E036AB114AB22DE3682C57C7E31C89CF6A44853E7
- powershell-7.2.6-1.rh.x86_64.rpm
- CDA2593C9B360DBFFA5AC42FD836721F9B4CEE0743CD035613CC303C04311149
- powershell-7.2.6-linux-alpine-x64.tar.gz
- 04281F83816F22074E7CDCB79169DF36F416D35D137251DA554C2DFD5362974B
- powershell-7.2.6-linux-arm32.tar.gz
- CFCB64387659335C37225CF8E55FC79A810C5AC3685242C310D99C9C56B48FED
- powershell-7.2.6-linux-arm64.tar.gz
- EAB633392CC4CF989294720CD856977DE194248651595F2E2B73556404497B94
- powershell-7.2.6-linux-x64.tar.gz
- 9927F6CF4BCBB686074938F8FE662796C10D378A2F6B61E2A9C73E590A1A37D2
- powershell-7.2.6-linux-x64-fxdependent.tar.gz
- 584C65042E2EBF059EA5C52C98454D75B0B8E70CE74F56775B3203DA0417C16A
- powershell-7.2.6-osx-arm64.pkg
- 05952E8CA2A4F2633D43EDDAC3A64EE3F1F1EDF90ECBF7EF8B638E4BC72075F0
- powershell-7.2.6-osx-arm64.tar.gz
- 5E4EC9D67F4DCE90ACFD92645DC359E08A6F07369EF6BA3D93C8DE25C175343E
- powershell-7.2.6-osx-x64.pkg
- 07CA6DDFBB6A9D98671C2F166CEE93DF2844F2A2C4132F59E71AC9869577564D
- powershell-7.2.6-osx-x64.tar.gz
- E86AAEAA9C18304A1275B73C2234107D62973EF7934C110E10ECACEBFD11C80E
- PowerShell-7.2.6-win.msixbundle
- C979B1EAF6F0995F2B3A9E447D714EC69B152113A4FA55FD5A4D01D50152A292
- PowerShell-7.2.6-win-arm32.zip
- F0F0414CF74C20D4C41D3EEF31FF9CCD3468B36F4C57BADD5CA44F5854F802D7
- PowerShell-7.2.6-win-arm64.zip
- 33C09ECC109FDBD446D3EA5509BE5AA831DAFBD47FCC5057C7C7CAB0E503D2B8
- PowerShell-7.2.6-win-fxdependent.zip
- D9F1F1544DD2C496F5CF0A1B1DC7385ADA69DF45C0064ACE70B063DE3EA68127
- PowerShell-7.2.6-win-fxdependentWinDesktop.zip
- 29563A9B4B7F34B07A242A42B79FD1F6B7F0581DA4CCC39CE3C67A94F4077636
- PowerShell-7.2.6-win-x64.msi
- 77566D5B831523C6740C392B64237C52089B574F342A9F51D84ADED24E412CB8
- PowerShell-7.2.6-win-x64.zip
- 4FB17E905B3422DF8EE748A1A42826996C0741E3C6AFFA41371F19B95404DB38
- PowerShell-7.2.6-win-x86.msi
- CC6C3B8EECA872C27EF4B42C3CDEB49652112F6CDE72E16D7006F073E543936D
- PowerShell-7.2.6-win-x86.zip
- 04E0691F7F56388B6396B931CD23AEF6E86504B0AA147660317F342538914551
- powershell-lts_7.2.6-1.deb_amd64.deb
- FF202D7A1773806DF4D150F860F91028CD318FF5557B99EF43E7B07002D784DF
- powershell-lts-7.2.6-1.cm.x86_64.rpm
- D56EF4DEAE79D0EA42EB095324DE9897E4C7A904FE13A5D66D8BE6D9AD76D5C5
- powershell-lts-7.2.6-1.rh.x86_64.rpm
- E8F258E95B4A34C402EF5421EA0C2F1136AC1D100D97E9176E3A82BCC68F7489
- powershell-lts-7.2.6-osx-arm64.pkg
- 024B6CAACCF9E4C63C836C300496290D96C319CF187E480C8DF10A38DC1E1BB9
- powershell-lts-7.2.6-osx-x64.pkg
- AF8CC415483AE2881D852B9E046E71BECB6353A6881DADEF35FE253CAACF69B6

