dependabot[bot]
b993074fc4
Bump github/codeql-action from 3.29.9 to 3.29.10 ( #25881 )
2025-08-20 13:32:36 -07:00
Dongbo Wang
d68c15e743
Update PATH environment variable for package manager executable on Windows ( #25847 )
...
Implementation for PowerShell/PowerShell-RFC#391 . A few implementation decisions:
1. Check the package manager list only once per process (**same as CMD**). So, changing the package manager list in registry doesn't affect a PowerShell session that is already running.
2. When detecting user/system PATH value changes, only check new items PREPENDED or APPENDED to the original string (**same as CMD**). The detection is made simple, which is not intended to detect complex changes to the user/system PATH.
3. The PATH update feature is disabled when the `Environment` provider is not available, or when the current session is restricted.
- Both `Environment` provider and `IsSessionRestricted` are checked only once per PowerShell session.
- Use `ConditionalWeakTable` to cache whether the feature is enabled or not for a given session.
- We cannot use `thread-static` variable for the caching because it's possible for Runspace to reuse threads.
2025-08-20 12:53:59 -07:00
Patrick Meinecke
c5f2446e69
Suppress false positive PSScriptAnalyzer warnings in tests and build scripts ( #25864 )
2025-08-19 11:51:38 +05:00
Aditya Patwardhan
b90f382100
Change the macos runner image to macos 15 large ( #25867 )
2025-08-15 20:10:14 +00:00
dependabot[bot]
daacfe74e9
Bump actions/checkout from 4 to 5 ( #25853 )
2025-08-13 20:49:54 -07:00
dependabot[bot]
3f24ae61d2
Bump github/codeql-action from 3.29.7 to 3.29.9 ( #25857 )
2025-08-13 20:49:42 -07:00
Dongbo Wang
f4a452ea3c
Update PSRP protocol to deprecate session key exchange between newer client and server ( #25774 )
2025-08-06 22:54:11 +00:00
PowerShell Team Bot
5de50164c9
Update to .NET 10 Preview 6 ( #25828 )
2025-08-06 22:28:13 +00:00
dependabot[bot]
e7655cfb27
Bump agrc/create-reminder-action from 1.1.20 to 1.1.22 ( #25808 )
2025-08-04 23:02:09 -07:00
dependabot[bot]
b2938266e3
Bump agrc/reminder-action from 1.0.17 to 1.0.18 ( #25807 )
2025-08-04 23:01:46 -07:00
dependabot[bot]
dbcaabecfd
Bump github/codeql-action from 3.28.19 to 3.29.5 ( #25797 )
2025-08-04 23:01:31 -07:00
dependabot[bot]
5a222b3ee4
Bump super-linter/super-linter from 7.4.0 to 8.0.0 ( #25770 )
2025-08-04 16:45:16 -07:00
Jordan Borean
8dd0d2acf8
Fix the ssh PATH check in SSHConnectionInfo when the default Runspace is not available ( #25780 )
2025-08-04 16:37:45 -07:00
Steve Lee
65b899c3a9
Fix Write-Host to respect OutputRendering = PlainText ( #21188 )
2025-08-04 16:31:59 -07:00
Jordan Borean
4415386172
Improve the $using expression support in Invoke-Command ( #24025 )
...
Always use the v5.1 `$using:` logic when dealing with any connection type that is not based on the `WSManConnectionInfo`. This allows the caller to use the more advanced `$using` features like variables with special names, having `$using` vars inside sub scopes, and more. `WSMan` based connections might still communicate with older versions but as the oldest supported version is v3 on Server 2012. We don't need to keep the default as v2 (which has been deprecated) to support some of the newer features.
2025-08-04 16:31:30 -07:00
Aditya Patwardhan
07dfab2277
Fix updatable help test for new content ( #25819 )
2025-08-04 14:04:56 -07:00
Stéphane BARIZIEN
a993992298
Adding hex format for native command exit codes ( #21067 )
2025-07-31 08:23:20 +05:00
Jordan Borean
11eeae97f0
Use parameter HelpMessage for tool tip in parameter completion ( #25108 )
...
Use the help message on the parameter in the completion tool tip to provide better completion help. This can be utilized by other tools to provide more context for a parameter outside of the current type and parameter name which is quite minimal.
2025-07-30 12:05:13 -07:00
Dongbo Wang
b801027560
Revert "Never load a module targeting the PSReadLine module's SessionState" ( #25792 )
...
The change causes nested modules of PSReadLine to be loaded to global session state as well.
It's possible to check if we are currently importing the PSReadLine module but the check would depend on the current design of the PSReadLine module, such as how many nested modules it has, its module type, and etc., which is fragile. It's safer to just revert the change.
2025-07-29 14:32:21 -07:00
Jordan Borean and Patrick Meinecke
ce76ae1def
Fix debug tracing error with magic extents ( #25726 )
...
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com >
2025-07-15 13:42:09 -04:00
Jordan Borean
c6329ddd54
Add MethodInvocation trace for overload tracing ( #21320 )
2025-07-14 15:42:14 -07:00
MartinGC94
21f88b50f4
Fix infinite loop crash in variable type inference ( #25696 )
2025-06-30 16:22:49 -04:00
Patrick Meinecke
eb7d6c191d
Update metadata for v7.5.2 and v7.4.11 releases ( #25687 )
2025-06-26 12:58:40 -04:00
Patrick Meinecke
84fd4d2dcc
Update CHANGELOG for v7.5.2 ( #25668 )
2025-06-24 12:44:43 -04:00
Patrick Meinecke
4be49cc888
Update CHANGELOG for v7.4.11 ( #25667 )
2025-06-24 12:44:18 -04:00
Justin Chung
9ec06ae798
Correct Capitalization Referencing Templates ( #25669 )
2025-06-17 12:29:10 -04:00
Justin Grote
8185a7f23e
Improve verbose and debug logging level messaging in web cmdlets ( #25510 )
2025-06-11 09:50:26 +05:00
MartinGC94
038003408e
Quote bare quote file paths if the path includes a double quote character ( #25631 )
2025-06-09 10:23:17 +05:00
Travis Plunk
a2b11b2452
Change linux packaging tests to ubuntu latest ( #25634 )
2025-06-04 15:05:00 -07:00
dependabot[bot]
d8e1907ab0
Bump github/codeql-action from 3.28.18 to 3.28.19 ( #25636 )
2025-06-04 10:43:14 -07:00
PowerShell Team Bot and Dongbo Wang
82f016ffe2
Move to .NET 10 preview 4 and update package references ( #25602 )
...
Co-authored-by: Dongbo Wang <dongbow@microsoft.com >
2025-06-03 09:50:33 -07:00
CM and Dongbo Wang
b502098e3a
Fix the common parameter -ProgressAction for advanced functions ( #24591 )
...
Co-authored-by: Dongbo Wang <dongbow@microsoft.com >
2025-06-03 09:43:38 -07:00
Dongbo Wang
4e035461b6
Make the interface IDeepCloneable internal to minimize confusion ( #25552 )
2025-06-02 15:18:35 -07:00
Dongbo Wang
625da6ff56
Remove OnDeserialized and Serializable attributes from Microsoft.Management.UI.Internal project ( #25548 )
...
Also removed `EnableUnsafeBinaryFormatterSerialization` property from `powershell-win-core.csproj` to disable the use of `BinaryFormatter`.
2025-06-02 15:16:11 -07:00
Aditya Patwardhan
795df26bc7
Revert "Add windows signing for pwsh.exe" ( #25586 )
2025-06-02 10:03:09 -07:00
dependabot[bot]
0bc29ef034
Bump ossf/scorecard-action from 2.4.1 to 2.4.2 ( #25628 )
2025-06-02 09:38:56 -07:00
Aditya Patwardhan
1834f30c02
Update build documentation with instruction of dev terminal ( #25587 )
2025-05-30 10:46:26 -07:00
Dongbo Wang
70b4bda20f
Publish .msixbundle package as a VPack ( #25612 )
2025-05-30 10:23:48 -07:00
dependabot[bot]
5851796664
Bump agrc/reminder-action from 1.0.16 to 1.0.17 ( #25573 )
2025-05-20 10:18:27 -07:00
dependabot[bot]
ec577fa582
Bump agrc/create-reminder-action from 1.1.18 to 1.1.20 ( #25572 )
2025-05-20 10:18:17 -07:00
dependabot[bot]
7626c872dd
Bump github/codeql-action from 3.28.17 to 3.28.18 ( #25580 )
2025-05-20 10:13:59 -07:00
Justin Grote
b3ff7ba776
Update links and contribution guide in documentation ( #25532 )
2025-05-17 22:13:27 +05:00
dependabot[bot]
260592d273
Bump super-linter/super-linter from 7.3.0 to 7.4.0 ( #25563 )
2025-05-14 10:30:40 -07:00
dependabot[bot]
5a8a27035c
Bump actions/dependency-review-action from 4.7.0 to 4.7.1 ( #25562 )
2025-05-14 09:55:35 -07:00
Justin Chung
4142a4bd46
Update metadata.json with 7.4.10 ( #25554 )
2025-05-13 12:28:57 -05:00
Tadas Medišauskas
b3bc4ff4e0
Use absolute path in FileSystemProvider.CreateDirectory ( #24615 )
2025-05-13 11:29:48 +05:00
Matthias Wolf
cbafa5a7f7
Fix Out-GridView by replacing use of obsolete BinaryFormatter with custom implementation ( #25497 )
2025-05-12 17:10:05 -07:00
Matthias Wolf
eb1cc6ddcd
Make inherited protected internal instance members accessible in PowerShell class scope ( #25245 )
2025-05-12 14:30:12 -07:00
GameMicrowave
fcc1833963
Treat -Target as literal in New-Item ( #25186 )
2025-05-12 16:22:29 +05:00
MartinGC94
e7ee9da1ea
Remove duplicate modules from completion results ( #25538 )
2025-05-12 08:18:11 +05:00