Aditya Patwardhan and Dongbo Wang
558282e937
[release/v7.4.16] Update PowerShell telemetry to respect the diagnostics and feedback setting on Windows ( #27430 )
...
Co-authored-by: Dongbo Wang <dongbow@microsoft.com >
2026-05-17 09:31:00 -07:00
PowerShell Team Bot
17b36b0c01
[release/v7.4.15] Update branch for release ( #27279 )
2026-04-16 09:21:38 -04:00
Dongbo Wang
558af94e96
[release/v7.4.15] Fix a preview detection test for the packaging script ( #27226 )
2026-04-09 10:03:52 -07:00
Aditya Patwardhan
744d9286e8
[release/v7.4.15] Fix the PSNativeCommandArgumentPassing test ( #27146 )
2026-04-03 10:31:21 -07:00
Aditya Patwardhan
5e7105884e
[release/v7.4.15] Close pipe client handles after creating the child ssh process ( #27139 )
2026-04-03 10:08:58 -07:00
Mirroring
03ae5c9e68
Merge commit 'b5a3a5c611fd36b6c637bcd70403a512c014cd3e'
2026-03-11 14:49:09 +00:00
Justin Chung and PowerShell Team Bot
b5a3a5c611
[release/v7.4] Update branch for release ( #26993 )
...
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com >
2026-03-11 09:46:26 -05:00
Justin Chung
62c12ee7e5
Merged PR 38882: Merged PR 38690: Update MaxVisitCount and MaxHashtableKeyCount if visitor saf...
...
Merged PR 38690: Update MaxVisitCount and MaxHashtableKeyCount if visitor safe value context indicates SkipLimitCheck is true
----
#### AI description (iteration 1)
#### PR Classification
Bug fix that updates the safe value checks by dynamically adjusting limit values based on the visitor context to improve security.
#### PR Summary
This pull request refactors the safe value visitor logic to replace hard-coded limit constants with context-driven readonly fields and adjusts the conditional checks accordingly. It also adds a test to verify that insecure psd1 files correctly fail when the -SkipLimitCheck parameter is used.
- `src/System.Management.Automation/engine/parser/SafeValues.cs`: Replaces constant limits with dynamic fields (_maxVisitCount and _maxHashtableKeyCount) set based on the safe value context, and updates conditional checks to use these fields.
- `test/powershell/Modules/Microsoft.PowerShell.Utility/PowerShellData.tests.ps1`: Adds a test case to ensure that insecure psd1 files trigger an error when -SkipLimitCheck is applied.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Related work items: #163511
2026-03-10 17:45:10 +00:00
Travis Plunk and PowerShell GitHub Bot
47b09db64f
[release/v7.4] Update SDK to 8.0.418 ( #26880 )
...
Co-authored-by: PowerShell GitHub Bot <pwshbot@microsoft.com >
2026-02-23 16:14:41 -05:00
Aditya Patwardhan and Dongbo Wang
44f2ffebce
[release/v7.4] Skip the flaky Update-Help test for the PackageManagement module ( #26871 )
...
Co-authored-by: Dongbo Wang <dongbow@microsoft.com >
2026-02-20 22:50:32 +00:00
Travis Plunk
f9cd7d98c6
[release/v7.4] Fix $PSDefaultParameterValues leak causing tests to skip unexpectedly ( #26869 )
2026-02-20 22:41:08 +00:00
PowerShell Team Bot
e41290f5d3
[release/v7.4] Update SDK to 8.0.417 ( #26778 )
2026-02-20 10:01:10 -08:00
06efedb2ea
[release/v7.4] Mark flaky Update-Help web tests as pending to unblock CI ( #26805 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com >
2026-02-13 13:59:30 -05:00
Travis Plunk and Dongbo Wang
84c8a2d3ac
[release/v7.4] Update the Update-Help tests to use -Force to remove read-only files ( #26786 )
...
Co-authored-by: Dongbo Wang <dongbow@microsoft.com >
2026-02-13 11:44:40 -05:00
8bd316fb35
[release/v7.4] Fix macOS preview package identifier detection to use version string ( #26774 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com >
2026-02-10 17:44:00 +00:00
Travis Plunk and Copilot
ed9733e874
[release/v7.4] Update the macos package name for preview releases to match the previous pattern ( #26435 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-10 12:24:44 -05:00
Travis Plunk
7a63d92aa1
[release/v7.4] Improve ADO package build and validation across platforms ( #26405 )
2025-11-10 11:01:52 -08:00
61c4d47936
[release/v7.4] Fix merge conflict checker for empty file lists and filter *.cs files ( #26387 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com >
2025-11-05 10:50:58 -08:00
Travis Plunk and Copilot
a659c791af
[release/v7.4] Remove usage of fpm for DEB package generation ( #26382 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2025-11-05 09:18:02 -08:00
84af2bf70b
[release/v7.4] Add merge conflict marker detection to linux-ci workflow and refactor existing actions to use reusable get-changed-files action ( #26362 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2025-11-04 00:40:29 +00:00
e92277859a
[release/v7.4] Replace fpm with native rpmbuild for RPM package generation ( #26337 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2025-11-03 12:23:24 -08:00
PowerShell Team Bot
33f7ce709c
[release/v7.4] Update branch for release ( #26194 )
2025-10-15 01:50:49 +00:00
PowerShell Team Bot
3dca89f37a
[release/v7.4] Mark the 3 consistently failing tests as pending to unblock PRs ( #26197 )
2025-10-14 18:18:03 -07:00
PowerShell Team Bot
010da3a003
[release/v7.4] Suppress false positive PSScriptAnalyzer warnings in tests and build scripts ( #26058 )
2025-10-09 15:54:03 -07:00
PowerShell Team Bot
3b631f39b7
[release/v7.4] Ensure that socket timeouts are set only during the token validation ( #26080 )
2025-10-09 13:02:48 -07:00
Travis Plunk (HE/HIM)
6a3d53da00
Fix race condition in RemoteHyperVSocket
2025-09-09 17:17:29 -07:00
PowerShell Team Bot
ba9892bfe6
[release/v7.4] Update SDK to 8.0.413 ( #25993 )
2025-09-06 00:43:51 +00:00
Patrick Meinecke
e94aaa8a4e
Manually update SqlClient in TestService
...
The version bump from 4.8.6 to 4.9.0 is required for
Microsoft.Windows.Compatibility 8.0.17
2025-06-10 20:22:04 -04:00
PowerShell GitHub Bot
78bc3c8fca
Update package references
2025-06-10 20:22:04 -04:00
PowerShell Team Bot and Justin Chung
e20478260d
[release/v7.4] Update branch for release ( #25518 )
...
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com >
2025-05-06 14:18:36 -05:00
PowerShell Team Bot
edebf003fa
[release/v7.4] Update branch for release ( #25101 )
2025-03-12 21:49:51 +00:00
PowerShell Team Bot
1b0488cd28
[release/v7.4] Update branch for release - Transitive - true - minor ( #25085 )
2025-02-25 13:24:51 -08:00
PowerShell Team Bot and Travis Plunk
b70bb41fac
[release/v7.4] Update branch for release - Transitive - true - minor ( #24884 )
...
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2025-02-11 14:39:34 -08:00
PowerShell Team Bot
e8d527609b
[release/v7.4] Update branch for release - Transitive - true - minor ( #24806 )
...
* Update .NET SDK to latest version
* Update package references
2025-01-17 01:05:36 +00:00
624d479add
[release/v7.4] Update branch for release - Transitive - true - minor ( #24546 )
...
* Update .NET SDK to latest version
* Update package references
* 7.4.6 isn't working for this test.
* try to fix named pipe test again
* Revert "try to fix named pipe test again"
This reverts commit 0966c6428f .
* Revert "7.4.6 isn't working for this test."
This reverts commit 238e3fc551 .
* Revert one change to get the bulk of the updates
* Update test/tools/NamedPipeConnection/src/code/Microsoft.PowerShell.NamedPipeConnection.csproj
---------
Co-authored-by: Travis Plunk <github@ez13.net >
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2024-11-05 10:01:50 -08:00
Travis Plunk
37ef282738
[release/v7.4] Fix backport mistake in #24429 ( #24545 )
2024-11-04 14:34:14 -08:00
Travis Plunk
72f8c58e6f
Add a way to use only NuGet feed sources ( #24528 ) ( #24542 )
...
* Update build.psm1
* update default feeds
* fix issue with cgmanifest having duplicate existing entries
* update pattern
2024-11-04 13:38:37 -08:00
Aditya Patwardhan
b8d6c9bbfc
Update and add new NuGet package sources for different environments. ( #24264 ) ( #24440 )
2024-10-15 15:55:17 -07:00
Aditya Patwardhan
9e9fe79f09
[release/v7.4] Fixes to Azure Public feed usage ( #24429 )
2024-10-15 15:12:08 -07:00
Aditya Patwardhan
dd27b1a115
[release/v7.4] Make Microsoft feeds the default ( #24426 )
2024-10-15 12:06:01 -07:00
Aditya Patwardhan
99c673d3fe
Bump to .NET 8.0.403 and update dependencies ( #24405 )
2024-10-12 00:32:28 +00:00
Dongbo Wang and James Truher [MSFT]
a98134062d
Rewrite the mac syslog tests to make them less flaky ( #21174 ) ( #24152 )
...
Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com >
2024-08-14 09:53:47 -07:00
Dongbo Wang
4c5805da9a
Update .NET SDK to 8.0.400 ( #24151 )
2024-08-14 07:34:23 -07:00
Dongbo Wang and CarloToso
35994915e6
Fix WebCmdlets when -Body is specified but ContentType is not ( #23952 ) ( #24145 )
...
Co-authored-by: CarloToso <105941898+CarloToso@users.noreply.github.com >
2024-08-13 16:06:06 -07:00
Dongbo Wang
d2a0a0a477
Remember installation options and used them to initialize options for the next installation ( #20420 ) ( #24143 )
2024-08-13 15:06:08 -07:00
Aditya Patwardhan
45d9990c1d
Merged PR 31780: Resolve paths correctly when importing files or files referenced in the module manifest
2024-07-16 16:00:38 +00:00
Aditya Patwardhan
a0bf209924
Expand ~ to $home on Windows with tab completion ( #21529 ) ( #23934 )
2024-06-11 16:16:32 -07:00
Aditya Patwardhan and Steve Lee
dc60e20cfb
Fix Test-Path -IsValid to check for invalid path and filename characters ( #21358 ) ( #23931 )
...
Co-authored-by: Steve Lee <slee@microsoft.com >
2024-06-11 16:05:59 -07:00
Aditya Patwardhan
f3ab30f917
[StepSecurity] Apply security best practices ( #21480 ) ( #23916 )
2024-06-11 13:35:51 -07:00
Aditya Patwardhan
3ce794d1e4
Make sure both stdout and stderr can be redirected from a native executable ( #20997 ) ( #23911 )
2024-06-11 10:03:26 -07:00