Commit Graph
11450 Commits
Author SHA1 Message Date
Steve Lee 90d3b7f2e3 Add appLicensing capability to Appx manifest to allow it run without acquiring a Store license (#27412) 2026-05-13 11:37:26 -07:00
dependabot[bot] 0a6ec9605c Bump actions/dependency-review-action from 4.9.0 to 5.0.0 (#27411) 2026-05-12 15:25:58 -07:00
dependabot[bot] ebe59b2b6a Bump github/codeql-action from 4.35.3 to 4.35.4 (#27404) 2026-05-12 15:25:46 -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
xtqqczze 146c046878 Remove eager initialization of _startupScripts to enable lazy thread-safe initialization (#25767) 2026-05-11 11:50:27 -07:00
Anam Navied f14d8611ba Add Instruction to ensure Copyright header is present at start of script and module files (#27408) 2026-05-11 17:16:22 +00:00
xtqqczze 1919ba8c47 Fix IDE0049 in System.Management.Automation [Part 4] (#27380) 2026-05-06 16:44:34 -07:00
xtqqczze 850d5387f6 Fix IDE0049 in System.Management.Automation [Part 3] (#27379) 2026-05-06 14:06:04 -07:00
xtqqczze 81fd5923a1 Fix IDE0049 in System.Management.Automation [Part 2] (#27378) 2026-05-06 14:05:48 -07:00
Anam Navied 87ff80b151 Specify linux-arm64 runtime if package type is deb-arm64 in packaging.psm1 (#27401) 2026-05-06 13:28:52 -07:00
MartinGC94 92e80a3950 Add missing resource strings for Get-WinEvent (#27397) 2026-05-06 10:11:06 -07:00
dependabot[bot] e9b4d67e2b Bump github/codeql-action from 4.35.1 to 4.35.3 (#27394) 2026-05-05 17:16:22 -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
MartinGC94 11eb374478 Improve Get-WinEvent -ListLog exception handling (#27395) 2026-05-05 12:56:48 -07:00
Andy Jordan 36673f6d46 Correct typo in package parameters
It's been this way for a couple years which means we've been passing...something else?
2026-05-05 12:47:42 -07:00
Andy JordanandCopilot d49ade6597 Move ESRP key codes into the certificate_logical_to_actual variable group
The `CP-…` key codes used for ESRP signing are now set from ADO via the
`certificate_logical_to_actual` variable group. The templates reference
the following variables instead of literal codes:

- `$(authenticode_cert_id)`
- `$(authenticode_test_cert_id)`
- `$(nuget_cert_id)`
- `$(apple_cert_id)`
- `$(pgp_linux_cert_id)`
- `$(pgp_release_cert_id)`

`nupkg.yml`, `mac-package-build.yml`, and `linux-package-build.yml` pick
up the new group import. `linux-package-build.yml` also now selects the
PGP signing profile based on whether `jobName` starts with `mariner`, so
`PowerShell-Packages-Stages.yml` no longer threads a `signingProfile`
parameter in for the two Mariner jobs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-05 12:47:42 -07:00
Andy JordanandCopilot 3d13188032 Fix executable permissions for pwsh and createdump
The tarball staging path used `Copy-Item`, which on *nix doesn't preserve
the source file mode, so `pwsh` ended up 644 in the `.tar.gz`. The Debian,
RPM, and macOS PKG paths explicitly `chmod` everything to 644 and then bump
`pwsh` back to 755, which silently demoted `createdump` (the .NET helper
that produces crash minidumps) along with it. Now we `chmod 755` both
executables in all package staging paths, guarded by `Test-Path` since
fxdependent builds don't bundle `createdump`.

Also added regression tests which check the permissions of `pwsh` inside
the Linux and macOS tarballs before we upload them.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-05 12:47:42 -07:00
Anam Navied ddff03a50f Create PowerShell package for arm debian distribution (#26925) 2026-05-05 11:29:02 -07:00
Andy JordanandCopilot b9bd8cbc59 Apply macOS entitlements to pwsh
Uses codesign in the macOS build step to apply entitlements from a plist.
This is required for the hardened runtime (which is required for notarization).

See: https://learn.microsoft.com/en-us/dotnet/core/install/macos-notarization-issues#default-entitlements

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-01 13:51:55 -07:00
Andy JordanandCopilot da95729be5 Add macOS binary code signing and package notarization
We still need to apply the template signing so that Guardian tasks pass
and so that script files are signed. After doing what's essentially
Windows signing, we sign and harden the binaries for macOS. Then we do
the same for the PKG installer, and finally notarize it. The ESRP
signing service requires a zip of files for Apple signing at all stages.
Now that we can use it via the OneBranch signing task we no longer need
the service connection or variable group that was trying to set it up.
Notarization requires the BundleId from Get-MacOSPackageIdentifierInfo.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-01 13:51:55 -07:00
11dc00159a Merge release/v7.7.0-preview.1 into master (#27374)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
Co-authored-by: Anam Navied <anam.naviyou@gmail.com>
2026-04-28 16:07:04 -07:00
Dongbo Wang 9db3471c8f Update metadata.json for the new servicing and preview releases (#27307) 2026-04-28 12:00:46 -07:00
Justin ChungandJustin Chung d356e3f0e2 Fix changelog grab failure when only one header exists. (#27371)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2026-04-28 10:19:06 -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
Anam NaviedandJustin Chung 0458f16cc5 Remove mariner2.0 from PMC mapping (#27068)
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
2026-04-24 12:33:53 -04:00
Dongbo Wang 1799667938 Update changelog for the v7.5.6 release (#27320) 2026-04-22 15:42:33 -05:00
Patrick Meinecke 8ac408a172 Update CHANGELOG for v7.4.15 (#27314) 2026-04-22 15:42:08 -05:00
Justin ChungandJustin Chung 63544d18bc Download PMC Packages through TemplateContext (#27326)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2026-04-22 15:25:39 -05:00
Justin ChungandJustin Chung d50bc2cb73 Correct Variable Template Reference in NonOfficial Pipeline Templates (#27275)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2026-04-21 15:29:46 -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
Aditya Patwardhan 5093967db8 Update Changelog for release v7.6.1 (#27304) 2026-04-21 12:05:36 -07:00
Patrick MeineckeandDongbo Wang e2784b8867 Update MaxVisitCount and MaxHashtableKeyCount if VisitorSafeValueContext indicates SkipLimitCheck is true (#27306)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2026-04-20 10:56:25 -07:00
Patrick MeineckeandTravis Plunk 2475feb876 Enable usage in AppContainers (#27266)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2026-04-20 11:49:52 -05:00
PowerShell Team Bot 6cc1e7071d [master] Update branch for release (#27291) 2026-04-17 13:03:11 -05:00
Dongbo Wang 558c886d87 Remove package verification from the notice pipeline (#27289) 2026-04-17 10:05:33 -07:00
72be78e6be Remove MSI from publishing pipeline (#27213)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2026-04-16 15:01:35 -04:00
30d14eafaa Externalize findMissingNotices target framework selection with ordered Windows fallback (#27269)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2026-04-15 17:30:19 -04:00
Justin Chung 25e80cefdb Fix the package pipeline by adding in PDP-Media directory (#27254) 2026-04-10 14:27:13 -07:00
dependabot[bot] 9c1272039c Bump actions/checkout from 6.0.0 to 6.0.2 (#27206)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-08 16:35:19 -04: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
CopilotandTravisEz13 58b00b5bb0 Pin ready-to-merge.yml reusable workflow to commit SHA (#27204)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
2026-04-07 21:58:10 +00: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
StepSecurity Bot 34375e9059 [StepSecurity] ci: Harden GitHub Actions (#27201)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2026-04-07 21:13:19 +00:00
StepSecurity Bot 601f0167e0 [StepSecurity] ci: Harden GitHub Actions (#27202)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2026-04-07 20:29:52 +00:00
Justin ChungandJustin Chung 22f62e859d Redo windows image fix to use latest image (#27198)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2026-04-07 14:58:53 -05: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
Justin ChungandJustin Chung 45a80d9a48 Separate Store Package Creation, Skip Polling for Store Publish, Clean up PDP-Media (#27024)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2026-04-01 13:20:45 -05:00
Dongbo Wang ff37ab4539 Revert "Fetch latest ICU release version dynamically" (#27127) 2026-03-31 14:24:41 -07:00