Commit Graph
5154 Commits
Author SHA1 Message Date
Dongbo Wang 0ceb11ad68 [release/v7.6.2] Update PowerShell telemetry to respect the diagnostics and feedback setting on Windows (#27438) 2026-05-13 16:13:41 -07:00
Dongbo Wang 8afbd5fc9b [release/v7.6.2] Enable usage in AppContainers (#27423) 2026-05-13 15:03:23 -07:00
Dongbo Wang e3133e0a09 [release/v7.6.2] Update Microsoft.PowerShell.Native to the latest GA version (#27436) 2026-05-13 14:59:50 -07:00
Dongbo Wang 783caca811 [release/v7.6.2] Fix checks for local user config file paths (#27432) 2026-05-13 14:58:02 -07:00
PowerShell Team Bot 8b54b1dd8f [release/v7.6.1] Update branch for release (#27287) 2026-04-17 17:33:03 +00:00
Dongbo Wang 0b825b31a0 [release/v7.6.1] Build, package, and create VPack for the PowerShell-LTS store package within the same msixbundle-vpack pipeline (#27237) 2026-04-09 15:35:37 -07:00
Dongbo Wang b14d502e62 [release/v7.6.1] Delay update notification for one week to ensure all packages become available (#27215) 2026-04-09 09:56:45 -07:00
Aditya Patwardhan 309fb4e2d3 [release/v7.6.1] Move _GetDependencies MSBuild target from dynamic generation in build.psm1 into Microsoft.PowerShell.SDK.csproj (#27177) 2026-04-02 18:17:13 -07:00
Mirroring 44d691766e Merge commit '47d65d0b1e7c6a153b5dc8940c10abec80bd7fec' 2026-03-16 21:27:41 +00:00
PowerShell Team Bot d384bb89b3 [release/v7.6] Update v7.6 release branch to use .NET SDK 10.0.201 (#27041) 2026-03-16 14:22:38 -07:00
Mirroring 2903f697b1 Merge commit '49b31c1c763a38ab53d9fa412854a513e0de78e9' 2026-03-12 18:14:09 +00:00
Dongbo Wang 49b31c1c76 [release/v7.6] Update Microsoft.PowerShell.PSResourceGet version to 1.2.0 (#27007) 2026-03-12 11:12:56 -07:00
Dongbo Wang 348e3470c0 Merged PR 38918: Update MaxVisitCount and MaxHashtableKeyCount if VisitorSafeValueContext indicates SkipLimitCheck is true
Update MaxVisitCount and MaxHashtableKeyCount if visitor safe value context indicates SkipLimitCheck is true

Related work items: #163537

----
#### AI description  (iteration 1)
#### PR Classification
Enhancement: Conditionally update AST limit checks based on safe value context flags.

#### PR Summary
This pull request refactors the safe value visitor to initialize runtime limit values, setting them to maximum if the `SkipLimitCheck` flag is present, and adjusts the corresponding condition checks to support larger AST structures safely.
- `src/System.Management.Automation/engine/parser/SafeValues.cs`: Replaced hard-coded limit constants with runtime-initialized readonly fields based on the safe value context, and updated conditional checks in `IsAstSafe` and `VisitHashtable`.
- `test/powershell/Modules/Microsoft.PowerShell.Utility/PowerShellData.tests.ps1`: Added tests to validate behavior when using `-SkipLimitCheck`, ensuring insecure PSD1 files are properly rejected.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->

Related work items: #163537
2026-03-11 18:24:34 +00:00
PowerShell Team Bot 5ea8cb48cf [release/v7.6] Update branch for release (#26989) 2026-03-10 23:27:36 +00:00
PowerShell Team Bot c04c9b65cf [release/v7.6] Update branch for release (#26779) 2026-02-10 16:15:28 -05:00
PowerShell Team Bot 5238377499 [release/v7.6] Update Microsoft.PowerShell.PSResourceGet version to 1.2.0-rc3 (#26767) 2026-02-09 10:53:59 -08:00
Dongbo Wang 60ab5bcbdd [release/v7.6] Update Microsoft.PowerShell.Native package version (#26748) 2026-02-05 14:02:36 -08:00
Dongbo Wang 0a912658a4 [release/v7.6] Move PowerShell build to depend on .NET SDK 10.0.102 (#26717) 2026-01-21 13:31:55 -08:00
Dongbo Wang 9c844308b0 [release/v7.6] Move PowerShell build to depend on .NET SDK 10.0.101 (#26716) 2026-01-21 12:49:24 -08:00
Dongbo Wang a86a5df678 [release/v7.6] Update Microsoft.PowerShell.PSResourceGet version to 1.2.0-rc1 (#26710) 2026-01-21 11:55:37 -08:00
Aditya Patwardhan 826a2d0801 [release/v7.6] Update Microsoft.PowerShell.Native package version (#26607) 2025-12-11 13:39:34 -08:00
Aditya PatwardhanandPowerShell Team Bot dcccde9e0e [release/v7.6] [master] Update branch for release (#26600)
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
2025-12-10 13:15:05 -08:00
Aditya Patwardhan b9f8920f04 [release/v7.6] Update Microsoft.PowerShell.PSResourceGet to v1.2.0-preview5 (#26590) 2025-12-08 15:56:48 -08:00
Travis Plunk 8f3b14c74b [release/v7.6] Make the experimental feature PSFeedbackProvider stable (#26502) 2025-12-05 19:47:24 +00:00
Travis Plunk dfa094e851 [release/v7.6] Fix a regression in the API CompletionCompleters.CompleteFilename() that causes null reference exception (#26487) 2025-12-05 10:53:01 -08:00
Travis Plunk 932aea6967 [release/v7.6] Update the WCF packages to the latest version that is compatible with v4.10.3 (#26503) 2025-12-05 10:52:30 -08:00
Aditya PatwardhanandMartinGC94 2d213e283b [release/v7.6] Add Delimiter parameter to Get-Clipboard (#26572)
Co-authored-by: MartinGC94 <42123497+MartinGC94@users.noreply.github.com>
2025-12-04 18:40:57 +00:00
Aditya PatwardhanandRyan Yates 6827de520b [release/v7.6] Properly Expand Aliases to their actual ResolvedCommand (#26571)
Co-authored-by: Ryan Yates <ryan.yates@kilasuit.org>
2025-12-04 10:37:54 -08:00
Aditya Patwardhan 2e047922ca [release/v7.6] Close pipe client handles after creating the child ssh process (#26564) 2025-12-02 15:58:22 -08:00
Travis Plunk 9532f85fe4 [release/v7.6] Make some experimental features stable (#26490) 2025-11-20 14:57:21 -08:00
e9af4e7710 [release/v7.6] Update outdated package references (#26471)
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2025-11-19 10:01:24 -08:00
Travis PlunkandAditya Patwardhan 168482463d [release/v7.6] DSC v3 resource for Powershell Profile (#26447)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2025-11-13 15:02:24 -08:00
Travis Plunk 5b45b835ec [release/v7.6] Update PSResourceGet package version to preview4 (#26438) 2025-11-13 14:55:36 -08:00
Travis PlunkandDongbo Wang 38b8e5425b [release/v7.6] Update PSReadLine to v2.4.5 (#26446)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2025-11-13 22:16:40 +00:00
Anam Navied d5267d2ee6 Add CodeQL suppressions for UpdatableHelp and NativeCommandProcessor methods (#26132) 2025-10-01 15:52:12 -07:00
Dongbo Wang b85237876d Remove the use of Windows PowerShell ETW provider id and update PSDiagnostics module to work for PowerShell 7 (#25590) 2025-10-01 12:38:19 -07:00
Dongbo Wang 859431e002 Allow opt-out of the named-pipe listener using the environment variable POWERSHELL_DIAGNOSTICS_OPTOUT (#26086) 2025-09-30 12:56:54 -07:00
Dongbo Wang 716754d220 Remove ThreadJob module and update PSReadLine to 2.4.4-beta4 (#26120) 2025-09-30 12:32:43 -07:00
Andy Jordan 3aa49cca9b Remove IsScreenReaderActive() check from ConsoleHost (#26118) 2025-09-30 12:18:52 -07:00
Matěj KafkaandDongbo Wang 551a0fe642 Fix ConvertFrom-Json to ignore comments inside array literals (#14553) (#26050)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2025-09-23 10:29:11 -07:00
Dongbo Wang 506869c157 Fix -Debug to not trigger the ShouldProcess prompt (#26081) 2025-09-23 09:19:39 +05:00
xtqqczze 7cf2740bdc Remove some unused ConsoleControl structs (#26063) 2025-09-22 17:22:25 -07:00
xtqqczze 5e62bb7fa9 Remove unused FileStreamBackReader.NativeMethods type (#26062) 2025-09-22 17:22:09 -07:00
PowerShell Team Bot f08e75899c Update outdated package references (#26069) 2025-09-22 16:52:58 -07:00
alerickson bd3e3c991c Update Microsoft.PowerShell.PSResourceGet to 1.2.0-preview3 (#26056) 2025-09-22 10:58:43 -07:00
Travis Plunk 2376e28482 Ensure that socket timeouts are set only during the token validation (#26066)
The main goal is to ensure that socket timeouts are set only during the token validation phase and are properly reset afterward, improving reliability and preventing unintended blocking or premature timeouts in subsequent operations.
2025-09-22 10:56:19 -07:00
Travis Plunk 42e86f6c5f Fix race condition in RemoteHyperVSocket (#26057) 2025-09-15 11:37:04 -07:00
Dongbo Wang abb70228cb Update version for the package Microsoft.PowerShell.Native (#26041) 2025-09-11 11:29:46 -07:00
PowerShell Team BotandDongbo Wang a1b417691f Move PowerShell build to use .NET SDK 10.0.100-rc.1 (#26027)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2025-09-10 14:55:07 -07:00
xtqqczze 43c2d98349 Remove unnecessary CS0618 suppressions from Variant APIs (#26006) 2025-09-07 14:44:14 +00:00