- Notifications
You must be signed in to change notification settings - Fork8.2k
v7.6.0-preview.5 Release of PowerShell
Pre-releasePre-release
· 199 commits to master since this release
06ddfe3 This commit was created on GitHub.com and signed with GitHub’sverified signature.
7.6.0-preview.5
Engine Updates and Fixes
- Allow opt-out of the named-pipe listener using the environment variable
POWERSHELL_DIAGNOSTICS_OPTOUT(#26086) - Ensure that socket timeouts are set only during the token validation (#26066)
- Fix race condition in
RemoteHyperVSocket(#26057) - Fix
stderroutput of console host to respectNO_COLOR(#24391) - Update PSRP protocol to deprecate session key exchange between newer client and server (#25774)
- Fix the
sshPATH check inSSHConnectionInfowhen the default Runspace is not available (#25780) (Thanks@jborean93!) - Adding hex format for native command exit codes (#21067) (Thanks@sba923!)
- Fix infinite loop crash in variable type inference (#25696) (Thanks@MartinGC94!)
- Add
PSForEachandPSWhereas aliases for the PowerShell intrinsic methodsWhereandForeach(#25511) (Thanks@powercode!)
General Cmdlet Updates and Fixes
- Remove
IsScreenReaderActive()check fromConsoleHost(#26118) - Fix
ConvertFrom-Jsonto ignore comments inside array literals (#14553) (#26050) (Thanks@MatejKafka!) - Fix
-Debugto not trigger theShouldProcessprompt (#26081) - Add the parameter
Register-ArgumentCompleter -NativeFallbackto support registering a cover-all completer for native commands (#25230) - Change the default feedback provider timeout from 300ms to 1000ms (#25910)
- Update PATH environment variable for package manager executable on Windows (#25847)
- Fix
Write-Hostto respectOutputRendering = PlainText(#21188) - Improve the
$usingexpression support inInvoke-Command(#24025) (Thanks@jborean93!) - Use parameter
HelpMessagefor tool tip in parameter completion (#25108) (Thanks@jborean93!) - Revert "Never load a module targeting the PSReadLine module's
SessionState" (#25792) - Fix debug tracing error with magic extents (#25726) (Thanks@jborean93!)
- Add
MethodInvocationtrace for overload tracing (#21320) (Thanks@jborean93!) - Improve verbose and debug logging level messaging in web cmdlets (#25510) (Thanks@JustinGrote!)
- Fix quoting in completion if the path includes a double quote character (#25631) (Thanks@MartinGC94!)
- Fix the common parameter
-ProgressActionfor advanced functions (#24591) (Thanks@cmkb3!) - Use absolute path in
FileSystemProvider.CreateDirectory(#24615) (Thanks@Tadas!) - Make inherited protected internal instance members accessible in PowerShell class scope (#25245) (Thanks@mawosoft!)
- Treat
-Targetas literal inNew-Item(#25186) (Thanks@GameMicrowave!) - Remove duplicate modules from completion results (#25538) (Thanks@MartinGC94!)
- Add completion for variables assigned in
ArrayLiteralAstandParenExpressionAst(#25303) (Thanks@MartinGC94!) - Add support for thousands separators in
[bigint]casting (#25396) (Thanks@AbishekPonmudi!) - Add internal methods to check Preferences (#25514) (Thanks@iSazonov!)
- Improve debug logging of Web cmdlet request and response (#25479) (Thanks@JustinGrote!)
- Revert "Allow empty prefix string in 'Import-Module -Prefix' to override default prefix in manifest (#20409)" (#25462) (Thanks@MartinGC94!)
- Fix the
NullReferenceExceptionwhen writing progress records to console from multiple threads (#25440) (Thanks@kborowinski!) - Update
Get-Serviceto ignore common errors when retrieving non-critical properties for a service (#24245) (Thanks@jborean93!) - Add single/double quote support for
Join-StringArgument Completer (#25283) (Thanks@ArmaanMcleod!) - Fix tab completion for env/function variables (#25346) (Thanks@jborean93!)
- Fix
Out-GridViewby replacing use of obsoleteBinaryFormatterwith custom implementation (#25497) (Thanks@mawosoft!) - Remove the use of Windows PowerShell ETW provider id from code base and update the
PSDiagnosticsmodule to work for PowerShell 7 (#25590)
Code Cleanup
We thank the following contributors!
- Enable CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types (#25813) (Thanks@xtqqczze!)
- Remove some unused
ConsoleControlstructs (#26063) (Thanks@xtqqczze!) - Remove unused
FileStreamBackReader.NativeMethodstype (#26062) (Thanks@xtqqczze!) - Ensure data-serialization files end with one newline (#26039) (Thanks@xtqqczze!)
- Remove unnecessary
CS0618suppressions from Variant APIs (#26006) (Thanks@xtqqczze!) - Ensure
.csfiles end with exactly one newline (#25968) (Thanks@xtqqczze!) - Remove obsolete
CA2105rule suppression (#25938) (Thanks@xtqqczze!) - Remove obsolete
CA1703rule suppression (#25955) (Thanks@xtqqczze!) - Remove obsolete
CA2240rule suppression (#25957) (Thanks@xtqqczze!) - Remove obsolete
CA1701rule suppression (#25948) (Thanks@xtqqczze!) - Remove obsolete
CA2233rule suppression (#25951) (Thanks@xtqqczze!) - Remove obsolete
CA1026rule suppression (#25934) (Thanks@xtqqczze!) - Remove obsolete
CA1059rule suppression (#25940) (Thanks@xtqqczze!) - Remove obsolete
CA2118rule suppression (#25924) (Thanks@xtqqczze!) - Remove redundant
System.Runtime.Versioningattributes (#25926) (Thanks@xtqqczze!) - Seal internal types in
Microsoft.PowerShell.Commands.Utility(#25892) (Thanks@xtqqczze!) - Seal internal types in
Microsoft.PowerShell.Commands.Management(#25849) (Thanks@xtqqczze!) - Make the interface
IDeepCloneableinternal to minimize confusion (#25552) - Remove
OnDeserializedandSerializableattributes fromMicrosoft.Management.UI.Internalproject (#25548) - Refactor Tooltip/ListItemText mapping to use
CompletionDisplayInfoMapperdelegate (#25395) (Thanks@ArmaanMcleod!)
Tools
- Add Codeql Suppressions (#25943,#26132)
- Update CODEOWNERS to add Justin as a maintainer (#25386)
- Do not run labels workflow in the internal repo (#25279)
Tests
- Mark the 3 consistently failing tests as pending to unblock PRs (#26091)
- Make some tests less noisy on failure (#26035) (Thanks@xtqqczze!)
- Suppress false positive
PSScriptAnalyzerwarnings in tests and build scripts (#25864) - Fix updatable help test for new content (#25819)
- Add more tests for
PSForEachandPSWheremethods (#25519) - Fix the isolated module test that was disabled previously (#25420)
Build and Packaging Improvements
We thank the following contributors!
- Update package references for the master branch (#26124)
- Remove
ThreadJobmodule and updatePSReadLineto 2.4.4-beta4 (#26120) - Automate Store Publishing (#25725)
- Add global config change detection to action (#26082)
- Update outdated package references (#26069)
- Ensure that the workflows are triggered on
.globalconfigand other files at the root of the repo (#26034) - Update
Microsoft.PowerShell.PSResourceGetto 1.2.0-preview3 (#26056) (Thanks@alerickson!) - Update metadata for Stable to v7.5.3 and LTS to v7.4.12 (#26054) (Thanks@senerh!)
- Bump github/codeql-action from 3.30.2 to 3.30.3 (#26036)
- Update version for the package
Microsoft.PowerShell.Native(#26041) - Fix the APIScan pipeline (#26016)
- Move PowerShell build to use .NET SDK 10.0.100-rc.1 (#26027)
- fix(apt-package): add libicu76 dependency to support Debian 13 (#25866) (Thanks@RichardSlater!)
- Bump github/codeql-action from 3.30.1 to 3.30.2 (#26029)
- Update Ev2 Shell Extension Image to AzureLinux 3 for PMC Release (#26025)
- Bump github/codeql-action from 3.30.0 to 3.30.1 (#26008)
- Bump actions/github-script from 7 to 8 (#25983)
- Fix variable reference for release environment in pipeline (#26012)
- Add LinuxHost Network configuration to PowerShell Packages pipeline (#26000)
- Make logical template name consistent between pipelines (#25990)
- Update container images to use mcr.microsoft.com for Linux and Azure GǪ (#25981)
- Bump github/codeql-action from 3.29.11 to 3.30.0 (#25966)
- Bump actions/setup-dotnet from 4 to 5 (#25978)
- Add build to vPack Pipeline (#25915)
- Replace
DOTNET_SKIP_FIRST_TIME_EXPERIENCEwithDOTNET_NOLOGO(#25946) (Thanks@xtqqczze!) - Bump actions/dependency-review-action from 4.7.2 to 4.7.3 (#25930)
- Bump github/codeql-action from 3.29.10 to 3.29.11 (#25889)
- Remove AsyncSDL from Pipelines Toggle Official/NonOfficial Runs (#25885)
- Specify .NET Search by Build Type (#25837)
- Update PowerShell to use .NET SDK v10-preview.7 (#25876)
- Bump actions/dependency-review-action from 4.7.1 to 4.7.2 (#25882)
- Bump github/codeql-action from 3.29.9 to 3.29.10 (#25881)
- Change the macos runner image to macos 15 large (#25867)
- Bump actions/checkout from 4 to 5 (#25853)
- Bump github/codeql-action from 3.29.7 to 3.29.9 (#25857)
- Update to .NET 10 Preview 6 (#25828)
- Bump agrc/create-reminder-action from 1.1.20 to 1.1.22 (#25808)
- Bump agrc/reminder-action from 1.0.17 to 1.0.18 (#25807)
- Bump github/codeql-action from 3.28.19 to 3.29.5 (#25797)
- Bump super-linter/super-linter from 7.4.0 to 8.0.0 (#25770)
- Update metadata for v7.5.2 and v7.4.11 releases (#25687)
- Correct Capitalization Referencing Templates (#25669)
- Change linux packaging tests to ubuntu latest (#25634)
- Bump github/codeql-action from 3.28.18 to 3.28.19 (#25636)
- Move to .NET 10 preview 4 and update package references (#25602)
- Revert "Add windows signing for pwsh.exe" (#25586)
- Bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#25628)
- Publish
.msixbundlepackage as a VPack (#25612) - Bump agrc/reminder-action from 1.0.16 to 1.0.17 (#25573)
- Bump agrc/create-reminder-action from 1.1.18 to 1.1.20 (#25572)
- Bump github/codeql-action from 3.28.17 to 3.28.18 (#25580)
- Bump super-linter/super-linter from 7.3.0 to 7.4.0 (#25563)
- Bump actions/dependency-review-action from 4.7.0 to 4.7.1 (#25562)
- Update metadata.json with 7.4.10 (#25554)
- Bump github/codeql-action from 3.28.16 to 3.28.17 (#25508)
- Bump actions/dependency-review-action from 4.6.0 to 4.7.0 (#25529)
- Move MSIXBundle to Packages and Release to GitHub (#25512)
- Update outdated package references (#25506)
- Bump github/codeql-action from 3.28.15 to 3.28.16 (#25429)
- Fix Conditional Parameter to Skip NuGet Publish (#25468)
- Update metadata.json (#25438)
- Fix MSIX artifact upload, vPack template, changelog hashes, git tag command (#25437)
- Use new variables template for vPack (#25434)
- Bump
agrc/create-reminder-actionfrom 1.1.17 to 1.1.18 (#25416) - Add PSScriptAnalyzer (#25423)
- Update outdated package references (#25392)
- Use GitHubReleaseTask instead of custom script (#25398)
- Update APIScan to use new symbols server (#25388)
- Retry ClearlyDefined operations (#25385)
- Update to .NET 10.0.100-preview.3 (#25358)
- Enhance path filters action to set outputs for all changes when not a PR (#25367)
- Combine GitHub and Nuget Release Stage (#25318)
- Add Windows Store Signing to MSIX bundle (#25296)
- Bump skitionek/notify-microsoft-teams from 190d4d92146df11f854709774a4dae6eaf5e2aa3 to e7a2493ac87dad8aa7a62f079f295e54ff511d88 (#25366)
- Add CodeQL suppressions for PowerShell intended behavior (#25359)
- Migrate MacOS Signing to OneBranch (#25295)
- Bump github/codeql-action from 3.28.13 to 3.28.15 (#25290)
- Update test result processing to use NUnitXml format and enhance logging for better clarity (#25288)
- Fix R2R for fxdependent packaging (#26131)
- Remove
UseDotnettask and use thedotnet-installscript (#26093)
Documentation and Help Content
- Fix a typo in the 7.4 changelog (#26038) (Thanks@VbhvGupta!)
- Add 7.4.12 Changelog (#26011)
- Add v7.5.3 Changelog (#25994)
- Fix typo in CHANGELOG for script filename suggestion (#25962)
- Update CHANGELOG for v7.5.2 (#25668)
- Update CHANGELOG for v7.4.11 (#25667)
- Update build documentation with instruction of dev terminal (#25587)
- Update links and contribution guide in documentation (#25532) (Thanks@JustinGrote!)
- Add 7.4.10 Changelog (#25520)
- Add 7.5.1 Change log (#25382)
SHA256 Hashes of the release artifacts
- hashes.sha256
- 5CC47053179F92611844752A1EF3BF9B87C9E3CEDC9925C0CFB63759F993275B
- powershell-7.6.0-preview.5-linux-arm32.tar.gz
- 1ECB77EC12170FA3F12E012F0C6A76A6027E8FCF31BCBA6A148C9E65A55BBE52
- powershell-7.6.0-preview.5-linux-arm64.tar.gz
- 1C6035915493CBBB862B9C672F87DBD08ACD13E638C38CE393DEC4E3BF99A51E
- powershell-7.6.0-preview.5-linux-musl-x64.tar.gz
- 90781A915C2789B850440F18C0966A85F3985E446B9FBF2E51F9AD62E12C84B7
- powershell-7.6.0-preview.5-linux-x64-fxdependent.tar.gz
- ADED405D829057760A549475AD65495FCE5245326E94344BFA17DBE45EED99EA
- powershell-7.6.0-preview.5-linux-x64-musl-noopt-fxdependent.tar.gz
- 626C2BEE941E49EE4A3D06446F0DF112997FE5E674E777927A1CD92468C36666
- powershell-7.6.0-preview.5-linux-x64.tar.gz
- EC5EF3F98C2A63EFCD38D93076C0F99C63700ABE49839699C907491589997ADC
- powershell-7.6.0-preview.5-osx-arm64.pkg
- B3FAC2817C8B7CB2A5AB721246D5CFB0EBE759E780D9770AE209B54B58A87526
- powershell-7.6.0-preview.5-osx-arm64.tar.gz
- 18403B89E00C42DDB8B74995B0C013D8F46BA2F3E0FB2DE12ED875093EE657C4
- powershell-7.6.0-preview.5-osx-x64.pkg
- 4AC7C96FE7CF1B49D845F5AA6C2DB19C867597DE555E63FF82C08851AFA9F1B2
- powershell-7.6.0-preview.5-osx-x64.tar.gz
- 35D6BDFC660A6484F6BB72FF1E57D5C817FAD90C13F5839F62BB53A1FCB8819F
- PowerShell-7.6.0-preview.5-win-arm64.msi
- A8F305A2E3C8A3DBD3DB3603E7B6912A722C61E31C89071BDCD21B995C0C5FE9
- PowerShell-7.6.0-preview.5-win-arm64.zip
- ED8472FDCE863AB66477E6C563641029D218FFAD47B1237453FAB69A6679378C
- PowerShell-7.6.0-preview.5-win-fxdependent.zip
- 33F0C8C1C9685B2E4C9B2C9DDFBBAAAF28D901EE98EBD6B51E7BCAF705DF38BA
- PowerShell-7.6.0-preview.5-win-fxdependentWinDesktop.zip
- B8E93B705DDB67A0D9AA968202BDCBDBCF1EF085E106E2E9383BE4FF94B0442C
- PowerShell-7.6.0-preview.5-win-x64.msi
- 89AD13359DA4BB3A0B77FC8D3D1CBA9CBE4648F1B4AE8044BE7E9A673875228C
- PowerShell-7.6.0-preview.5-win-x64.zip
- E839EB722ADA371C7F2E8049E40B16B89137FF8D54E9FE304953F4E68C718944
- PowerShell-7.6.0-preview.5-win-x86.msi
- C8E18E810D56E609860278E36AC7334913BAD5D53F14AA42ADC3D8B22D166C5A
- PowerShell-7.6.0-preview.5-win-x86.zip
- D6835B7CE2CDA6CBB6425043521D9ED9456D845138E9B983242B119D29CAC1AC
- PowerShell-7.6.0-preview.5.msixbundle
- 14FF3A1BDD9D4AD1834A69100114E6AF13AF10E54D4220BB9C2695BBAD8D9444
- powershell-preview-7.6.0_preview.5-1.cm.aarch64.rpm
- DA39EA40A01F51E63C9FE73AC1D3A0CE95E74D5CB62D5B6D6C3699DD59066E30
- powershell-preview-7.6.0_preview.5-1.cm.x86_64.rpm
- 8134C3D3D78D111BF77CB31588CA85899D0EB085EABE07A10A5EF387E6D28D10
- powershell-preview-7.6.0_preview.5-1.rh.x86_64.rpm
- 27C56114BFD5DA42C7F271B9F93F3E1A2711A92A59BAF5E9FCB50471F4E340EF
- powershell-preview_7.6.0-preview.5-1.deb_amd64.deb
- 9B012BC3D9539CB65AF0222398A56AE5EDAE8B2391502671DC18658D73CD81D0
Assets26
Uh oh!
There was an error while loading.Please reload this page.
54 people reacted