Commit Graph
100 Commits
Author SHA1 Message Date
Dongbo Wang 7ae36cd32e Update metadata.json for the servicing releases (#27488) 2026-05-22 10:17:29 -07:00
Dongbo Wang c9ac205fda Handle empty-string and null-value results returned from custom argument completer more properly (#27398) 2026-05-11 11:59:37 -07:00
Dongbo Wang 7164700777 Update README.md to call out PowerShell.Core.Instrumentation needs to be in sync between PowerShell and PowerShell-Native repos (#27399) 2026-05-11 11:55:07 -07:00
Dongbo Wang faf1e0e4f4 Update Microsoft.PowerShell.Native to the latest GA version (#27400) 2026-05-05 15:01:05 -07:00
Dongbo Wang b4d5395e89 Update the MSIXBundle-VPack pipeline to create VPack for both LTS and Stable channel packages (#27384) 2026-05-05 13:28:14 -07:00
Dongbo Wang 9db3471c8f Update metadata.json for the new servicing and preview releases (#27307) 2026-04-28 12:00:46 -07:00
Dongbo Wang 65e6a8055c Update PowerShell telemetry to respect the diagnostics and feedback setting on Windows (#27328) 2026-04-24 09:52:06 -07:00
Dongbo Wang 1799667938 Update changelog for the v7.5.6 release (#27320) 2026-04-22 15:42:33 -05:00
Dongbo Wang 156906e050 PMC release: Use slash instead of back-slash for Linux container (#27315) 2026-04-21 13:05:14 -07:00
Dongbo Wang 558c886d87 Remove package verification from the notice pipeline (#27289) 2026-04-17 10:05:33 -07:00
Dongbo Wang 073f4d61bd Build, package, and create VPack for the PowerShell-LTS store package within the same msixbundle-vpack pipeline (#150) (#27209) 2026-04-08 13:28:20 -07:00
Dongbo Wang 0fe8748ea1 Change the display name of PowerShell-LTS MSIX package to "PowerShell LTS" (#27203) 2026-04-07 14:55:30 -07:00
Dongbo Wang a625d2d451 Delay update notification for one week to ensure all packages become available (#27095) 2026-04-03 12:42:34 -07:00
Dongbo Wang ff37ab4539 Revert "Fetch latest ICU release version dynamically" (#27127) 2026-03-31 14:24:41 -07:00
Dongbo Wang 1e5c02074d Update the PhoneProductId to be the official LTS id used by Store (#27077) 2026-03-20 15:44:53 -07:00
Dongbo Wang a51e7be624 Check in 7.6.md after v7.6.0 release (#27063) 2026-03-19 14:04:53 -07:00
Dongbo Wang 78e437c6f3 Fix the PSNativeCommandArgumentPassing test (#27057) 2026-03-18 15:32:15 -07:00
Dongbo Wang a15947e77a Update metadata.json for the v7.6.0 release (#27054) 2026-03-18 15:12:50 -07:00
Dongbo Wang e053a339a1 Create Linux LTS deb/rpm packages for LTS releases (#27049) 2026-03-17 14:47:59 -07:00
Dongbo Wang 8c9c9e1187 Create LTS pkg and non-LTS pkg for macOS for LTS releases (#27039) 2026-03-16 12:40:26 -07:00
7cdcd5893f Correct the package name for .deb and .rpm packages (#26877)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2026-02-23 21:45:32 +00:00
Dongbo Wang 7ca2b72af7 Fix a preview detection test for the packaging script (#26882) 2026-02-23 12:33:12 -08:00
Dongbo Wang c19a440244 Fix Import-Module.Tests.ps1 to handle Arm32 platform (#26862) 2026-02-20 14:05:55 -08:00
Dongbo Wang b58ec36093 Exclude .exe packages from publishing to GitHub (#26859) 2026-02-20 10:29:13 -08:00
Dongbo Wang 8f457fc714 Skip the flaky Update-Help test for the PackageManagement module (#26845) 2026-02-17 16:40:04 -05:00
Dongbo Wang 2e26e4b690 Update the Update-Help tests to use -Force to remove read-only files (#26780) 2026-02-12 11:50:16 -05:00
Dongbo Wang 9bc47950e2 Add ValidateNotNullOrEmpty attribute to the -Property of Format-Table/List/Custom (#26552) 2026-01-12 10:47:41 -08:00
Dongbo Wang c792b3c0ba Fix to use accurate message for validating a string argument is not null and not an empty string (#26668) 2026-01-12 10:45:41 -08:00
Dongbo Wang bf03a14b6d Fix the CLR internal error and null ref exception when running show-command with PowerShell API (#26669) 2026-01-12 10:44:55 -08:00
Dongbo Wang b14cd0330c Fix the DSC test by skipping AfterAll cleanup if the initial setup in BeforeAll failed (#26621) 2025-12-16 12:07:14 -08:00
Dongbo Wang cd0628641b Update Get-ChangeLog to handle backport PRs and Copilot PRs correctly (#26610) 2025-12-16 10:50:38 -08:00
Dongbo Wang 15d0a28413 Use consistent indentation in the file HelpersCommon.psm1 (#26608) 2025-12-12 10:40:16 -08:00
Dongbo Wang 592668bd0b Refactor the module path construction code to make it more robust and easier to maintain (#26565) 2025-12-12 09:43:08 -08:00
Dongbo Wang eb2ead439a Fix formatting to properly handle the Reset VT sequences that appear in the middle of a string (#26424) 2025-11-24 14:38:23 -08:00
Dongbo Wang 9ee3c61c26 Close pipe client handles after creating the child ssh process (#26491) 2025-11-24 20:05:03 +00:00
Dongbo Wang e069c1d198 Update the WCF packages to the latest version that is compatible with v4.10.3 (#26406) 2025-11-11 14:25:51 -08:00
Dongbo Wang 3953976592 Fix the fuzzy test (#26402) 2025-11-07 00:36:54 +00:00
Dongbo Wang eda7e4a889 Make the experimental feature PSFeedbackProvider stable (#26343) 2025-10-30 15:53:01 -07:00
Dongbo Wang 943257b247 Make some experimental features stable (#26348)
The following experimental features are made stable:
- PSNativeWindowsTildeExpansion
- PSRedirectToVariable
- PSSubsystemPluginModel
2025-10-30 14:26:03 -07:00
Dongbo Wang 38f9885173 Fix a regression in the API CompletionCompleters.CompleteFilename() that causes null reference exception (#26291) 2025-10-23 16:19:55 -07:00
Dongbo Wang b0507ca4cf Fix build to only enable ready-to-run for the Release configuration (#26290) 2025-10-23 11:21:01 -07:00
Dongbo Wang e5d40dc06d Update PSReadLine to v2.4.5 (#26282) 2025-10-23 11:15:30 -07:00
Dongbo Wang 9fef026955 Merge the v7.6.0-preview.5 release branch back to master
The v7.6.0-preview.5 release is done. Merge the release branch back to master using a merge commit.
2025-10-10 16:00:35 -07:00
Dongbo Wang 8a723f8b19 Fix a couple more lint errors 2025-10-10 15:36:45 -07:00
Dongbo Wang 644f15eeef Fix lint errors in preview.md 2025-10-10 15:06:44 -07:00
Dongbo Wang cad2949d74 Update metadata.json for v7.6.0-preview.5 release (#26158) 2025-10-09 16:48:32 -07:00
Dongbo Wang 06ddfe35af Update ChangeLog for v7.6.0-preview.5 release (#26126) 2025-10-07 13:52:34 -07:00
Dongbo Wang 873db35125 Use StoreAppPublish-Preview explicitly
Use BuildSources.Directory instead of reporoot

Add powershell

use sbConfigPath

Add variable group store publish variables

Use spaces in name

Change the AppStoreName locID

Output the PDP and config file

Temporarily disable signing

Use AppStore Xpath

Use namespace xml

Use AppID

Upload SBLog.txt on failure

Try powershell private

Remove AppID addition
2025-10-03 17:33:30 -05:00
Dongbo Wang d6cca3f61f Fix the task name to not use the pre-release task (#26138)
Use `MS-RDX-MRO.windows-store-publish.package-task.store-package` instead of `MS-RDX-MRO.windows-store-publish-dev.package-task.store-package`.
2025-10-02 10:31:43 -07:00
Dongbo Wang 253c68d13b Replace ThreadJob with Microsoft.PowerShell.ThreadJob (#26135) 2025-10-01 17:47:52 -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 a0cb55c826 Update 'ThirdPartyNotices.txt' in the master branch (#26130) 2025-10-01 11:42:47 -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
Dongbo Wang 3cfa4b2469 Mark the 3 consistently failing tests as pending to unblock PRs (#26091) 2025-09-30 11:44:27 -07:00
Dongbo Wang 506869c157 Fix -Debug to not trigger the ShouldProcess prompt (#26081) 2025-09-23 09:19:39 +05:00
Dongbo Wang abb70228cb Update version for the package Microsoft.PowerShell.Native (#26041) 2025-09-11 11:29:46 -07:00
Dongbo Wang cfc0bcd9f5 Fix the APIScan pipeline (#26016)
1. When removing unused runtimes, keep the `win` and `win-x64` runtime folders.
2. Stop downloading `getfilesiginforedist.dll` from Azure blob. The original `getfilesiginforedist.dll` produced from the build works fine with the symbols retrieved by `dotnet-symbols`.
2025-09-10 14:57:44 -07:00
Dongbo Wang 53805fb426 Add the parameter Register-ArgumentCompleter -NativeFallback to support registering a cover-all completer for native commands (#25230) 2025-08-29 15:50:02 -07:00
Dongbo Wang 44e34f0044 Change the default feedback provider timeout from 300ms to 1000ms (#25910) 2025-08-26 16:06:23 -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
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
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
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
Dongbo Wang 70b4bda20f Publish .msixbundle package as a VPack (#25612) 2025-05-30 10:23:48 -07:00
Dongbo Wang 52150fd8a7 Add more tests for PSForEach and PSWhere methods (#25519) 2025-05-09 11:15:03 -07:00
Dongbo Wang f53865d1a4 Fix the isolated module test that was disabled previously (#25420) 2025-05-03 16:51:51 -07:00
Dongbo Wang a6005f3879 Move .NET method invocation logging to after the needed type conversion is done for method arguments (#25022) 2025-03-18 11:43:44 -07:00
Dongbo Wang ef64132f0a Fix TypeName.GetReflectionType() to work when the TypeName instance represents a generic type definition within a GenericTypeName (#24985) 2025-03-17 15:40:25 -07:00
Dongbo Wang 48b25da147 Remove the old fuzzy suggestion and fix the local script file name suggestion (#25177) 2025-03-17 10:19:15 -07:00
Dongbo Wang 0e6ffc52e9 Make SystemPolicy public APIs visible but non-op on Unix platforms so that they can be included in PowerShellStandard.Library (#25051) 2025-03-03 17:21:55 -08:00
Dongbo Wang 6e428a8820 Set standard handles explicitly when starting a process with -NoNewWindow (#25061) 2025-03-03 16:17:16 -08:00
Dongbo Wang 1b03005d1a Never load a module targeting the PSReadLine module's SessionState (#24909) 2025-02-18 10:18:30 -08:00
Dongbo Wang 4d174fcbb7 Filter out the nested modules of PSReadLine from module name tab completion (#24910) 2025-02-18 10:13:35 -08:00
Dongbo Wang e051748e9d Make the AssemblyVersion not change for servicing releases (#24667) 2025-01-08 11:47:30 -08:00
Dongbo Wang 1a39e4e8e1 Update PSReadLine to 2.3.6 (#24380) 2024-10-03 15:09:24 -07:00
Dongbo Wang 0b3709b1e1 Remove the MD5 branch in the strong name signing token calculation (#24288) 2024-09-17 17:09:53 -07:00
Dongbo Wang 7e27e63456 Handle global tool specially when prepending PSHome to PATH (#24228) 2024-09-10 13:01:27 -07:00
Dongbo Wang 5bcda5d060 Update the URLs used in nuget.config files (#24203) 2024-08-23 22:25:23 +00:00
Dongbo Wang 9417f6e86c Update changelog and metadata.json for v7.4.5 release (#24183) 2024-08-20 16:12:59 -07:00
Dongbo Wang d173d8c2b5 Minor cleanup on local variable names within a method (#24105) 2024-08-05 11:41:07 -07:00
Dongbo Wang dcf6754445 Fix the extent of the parser error when a number constant is invalid (#24024) 2024-07-09 10:55:25 -07:00
Dongbo Wang f0bddbe21c Merge the v7.5.0-preview.3 release branch to GitHub master branch 2024-05-28 13:33:31 -07:00
Dongbo Wang 485015a608 Update metadata.json for the v7.5.0-preview.3 release (#23862) 2024-05-28 11:36:43 -07:00
Dongbo Wang a015f1ce70 Merged PR 31179: Update the change log for v7.5.0-preview.3 release
Update the change log for v7.5.0-preview.3 release
2024-05-22 03:54:45 +00:00
Dongbo Wang d564d0fff9 Bump to .NET 9 preview 3 (#21782) 2024-05-09 15:36:52 -07:00
Dongbo Wang 1a52a93345 Add back two transitive dependency packages (#21415) 2024-04-04 11:41:00 -07:00
Dongbo Wang dafe0a803c Update PSReadLine to v2.3.5 for the next v7.4.x servicing release (#21414) 2024-04-03 13:57:07 -07:00
Dongbo Wang 171d9dfa71 Revert the PR #17856 (Do not preserve temporary results when no need to do so) (#21368) 2024-03-25 14:09:11 -07:00
Dongbo Wang ad7278bbff Make sure the assembly/library resolvers are registered at early stage (#21361) 2024-03-21 16:25:12 -07:00
Dongbo Wang d67a82d833 Handle the case that Runspace.DefaultRunspace is null when logging for WDAC Audit (#21344) 2024-03-14 11:39:25 -07:00
Dongbo Wang 4e357f129e Fix PowerShell class to support deriving from an abstract class with abstract properties (#21331) 2024-03-13 14:44:57 -07:00
Dongbo Wang 3df0aa33b7 Fix incorrect examples in XML docs in PowerShell.cs (#21173) 2024-02-01 11:19:16 -08:00
Dongbo Wang 783fb46e65 Validate the value for using namespace during semantic checks to prevent declaring invalid namespaces (#21162) 2024-02-01 09:42:37 -08:00
Dongbo Wang f0076b9d88 Merge the v7.5.0-preview.1 release branch to GitHub master branch 2024-01-18 15:42:05 -08:00
Dongbo Wang dd598b3d52 Update README.md and metadata.json for v7.5.0-preview.1 release (#21094) 2024-01-18 14:58:26 -08:00
Dongbo Wang 53d1a0d2d9 Merged PR 29314: Update ChangeLog for v7.5.0-preview.1
Update ChangeLog for v7.5.0-preview.1
2024-01-18 21:33:23 +00:00
Dongbo Wang 8283ac05c3 Bump .NET SDK to 8.0.101 (#21084) 2024-01-17 11:53:01 -08:00
Dongbo Wang e453c006d3 Update changelog for v7.2 and v7.3 (#21052) 2024-01-11 15:37:37 -08:00