Commit Graph
11457 Commits
Author SHA1 Message Date
Dongbo Wang 30a78c3a31 Update metadata.json for v7.7.0-preview.2 release (#27537) 2026-05-27 12:14:15 -07:00
PowerShell Team Bot f1aaf15413 Update branch to use the .NET 11 SDK 11.0.100-preview.4 (#27504) 2026-05-22 17:28:08 -07:00
Dongbo Wang 7ae36cd32e Update metadata.json for the servicing releases (#27488) 2026-05-22 10:17:29 -07:00
Patrick Meinecke dcc6feeef6 Update CHANGELOG for v7.4.16, v7.5.7, and v7.6.2 releases (#27494) 2026-05-22 10:12:03 -07:00
Anam Navied 6cee25f72d Remove unused step that clones Internal-PowerShellTeam-Tools repo in PMC publish pipeline (#27495) 2026-05-21 17:07:39 -07:00
Anam Navied 5f40b97039 Update Microsoft.PowerShell.PSResourceGet version to 1.3.0-preview1 (#27487) 2026-05-21 11:30:55 -07:00
Andy Jordan 5e6ecd3701 Verify Apple codesign immediately after ESRP signing (#27486) 2026-05-20 14:27:17 -07:00
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