Commit Graph
11176 Commits
Author SHA1 Message Date
xtqqczze 659c73ffd3 Avoid possible multiple enumerations in ImportModuleCommand.IsPs1xmlFileHelper_IsPresentInEntries (#26104) 2025-10-12 15:57:10 +05: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
Justin Chung 5e05175998 Make MSIX publish stage dependent on SetReleaseTagandContainerName stage 2025-10-10 16:15:26 -05:00
xtqqczze 38f7f937d2 Enable SA1206: Declaration keywords should follow order (#24973) 2025-10-10 12:02:43 +05:00
xtqqczze 3207a744b5 Disable IDE0049: PreferBuiltInOrFrameworkType (#26094) 2025-10-10 04:45:47 +00:00
Dongbo Wang cad2949d74 Update metadata.json for v7.6.0-preview.5 release (#26158) 2025-10-09 16:48:32 -07:00
xtqqczze a842b2ba11 Enable CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' (#26106) 2025-10-09 16:34:49 +05:00
Jonathan Gilbert e562d3f39a Correct handling of explicit -Since:$false parameter value in Get-Uptime (#26141) 2025-10-09 10:48:52 +00:00
xtqqczze d581baabd4 Check for GetWindowPlacement success (#26122) 2025-10-09 15:41:08 +05:00
dependabot[bot] f247d802dd Bump ossf/scorecard-action from 2.4.2 to 2.4.3 (#26128)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-08 21:03:36 +00:00
dependabot[bot] 571537c34f Bump github/codeql-action from 3.30.3 to 4.30.7 (#26159)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-08 13:40:01 -07:00
xtqqczze db77d2ede5 Enable CA1860: Avoid using 'Enumerable.Any()' extension method (#26109) 2025-10-08 09:10:48 +05:00
xtqqczze 5cdafbc4c7 Enable CA1858: Use 'StartsWith' instead of 'IndexOf' (#26107) 2025-10-08 08:22:54 +05:00
Jordan Borean 0ef738b36f Add property and event for debug attach (#25788)
Adds the `IsRemoteDebuggerAttached` property to `Runspace` that
indicates whether a debugger is attached to the Runspace through the
`Debug-Runspace` cmdlet. Also adds a new engine event
`PowerShell.OnDebugAttach` that is emitted when the debugger is
attached.
2025-10-07 18:34:15 -04:00
Dongbo Wang 06ddfe35af Update ChangeLog for v7.6.0-preview.5 release (#26126) v7.6.0-preview.5 2025-10-07 13:52:34 -07:00
Aditya Patwardhan f1e2301e7f Add bootstrap to global tool validation step 2025-10-07 13:16:06 -07:00
Aditya Patwardhan d042a280b6 Merged PR 37066: Update the test image for SDK tests
Update the test image for SDK tests

----
#### AI description  (iteration 1)
#### PR Classification
This PR is a configuration update aimed at improving SDK test reliability by using an updated Ubuntu test image.

#### PR Summary
The pull request updates the pipeline configuration to reference a new test image version for SDK validation.
- `.pipelines/PowerShell-Release-Official.yml`: Changed `imageName` from `PSMMSUbuntu20.04-Secure` to `PSMMSUbuntu22.04-Secure`.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
2025-10-07 19:50:42 +00:00
xtqqczze 60d4bc39bc Fix memory leak in GetFileShares (#25896) 2025-10-07 14:28:19 +05:00
Aditya Patwardhan 92beb64c14 Add Start-PSBootstrap to add installed dotnet to path 2025-10-06 11:59:48 -07:00
Justin Chung ba1256cd31 Use conditional tasks with hardcoded endpoints 2025-10-06 13:17:16 -05:00
Justin Chung d57e0890f4 Declare variables separately 2025-10-06 13:11:31 -05:00
Justin Chung c24752e496 Convert ADO variables to booleans 2025-10-06 13:06:15 -05:00
Jonathan Gilbert b5279a25a1 Correct handling of explicit -Empty:$false parameter value in New-Guid (#26140) 2025-10-06 09:48:42 +05:00
Justin Chung 9850bc90ac Add crescan and tsa files in job 2025-10-03 22:43:49 -05: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
Anam Navied be0542b193 Add CodeQL suppresion for NativeCommandProcessor (#26145) 2025-10-03 21:48:30 +00: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
Anam Navied d5267d2ee6 Add CodeQL suppressions for UpdatableHelp and NativeCommandProcessor methods (#26132) 2025-10-01 15:52:12 -07:00
Aditya Patwardhan 31cd731926 Remove UseDotnet task and use the dotnet-install script (#26093) 2025-10-01 14:09:34 -07:00
Aditya Patwardhan 51a21999de Fix R2R for fxdependent packaging (#26131) 2025-10-01 19:39:25 +00: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
PowerShell Team Bot a1fad7f738 Update package references for the master branch (#26124) 2025-09-30 13:48:45 -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
Dongbo Wang 3cfa4b2469 Mark the 3 consistently failing tests as pending to unblock PRs (#26091) 2025-09-30 11:44:27 -07:00
Justin Chung 0fb6904d3e Automate Store Publishing (#25725) 2025-09-30 13:41:56 -05:00
xtqqczze d8b1cc5533 Enable CA2021: Do not call Enumerable.Cast<T> or Enumerable.OfType<T> with incompatible types (#25813) 2025-09-24 08:09:20 +05:00
Travis Plunk 01e1e2269a Add global config change detection to action (#26082) 2025-09-23 10:59:18 -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
Travis Plunk 2d8040f91c Ensure that the workflows are triggered on .globalconfig and other files at the root of the repo (#26034) 2025-09-22 14:04:22 -07:00
alerickson bd3e3c991c Update Microsoft.PowerShell.PSResourceGet to 1.2.0-preview3 (#26056) 2025-09-22 10:58:43 -07:00