Commit Graph
11501 Commits
Author SHA1 Message Date
Justin ChungandCopilot ded93cee07 Split MSIX access checks into focused tests
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-08-04 12:33:32 -05:00
Justin ChungandCopilot b03ec8a312 Add MSIX machine configuration access tests
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-08-04 10:42:49 -05:00
Justin ChungandCopilot 7901fec9bd Move MSIX configuration coverage to elevated tests
Keep xUnit focused on pure three-scope merge and union behavior. Move the real LocalMachine write, removal, and ACL checks into the existing elevated execution-policy Pester suite, where the test runs only with MSIX package identity.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-31 12:22:13 -05:00
Justin ChungandCopilot 638173942c Test MSIX machine configuration in package context
Remove the trivial path-composition overload and unit tests. Expose package identity through InternalTestHooks and add an elevated MSIX-gated Pester test that verifies the real LocalMachine ProgramData write and inherited ACL boundaries.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-31 11:35:32 -05:00
Justin ChungandCopilot 213ba396e7 Simplify the MSIX config path and inherit file ACLs
Store package-family configuration directly beneath the PowerShell ProgramData directory. Keep the PowerShell and PFN directories as protected ACL boundaries while allowing the configuration file and future children to inherit the PFN permissions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-30 17:58:49 -05:00
Justin ChungandCopilot faa962ddd5 Keep Unix MachineFolder writes on AllUsers
Resolve an explicit MachineFolder write to the legacy AllUsers scope on Unix before selecting a path or cache entry. Compile MachineFolder directory provisioning only for Windows and cover the Unix fallback with a configuration test.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-30 09:31:15 -05:00
Justin ChungandCopilot 469e39b3d5 Align MSIX configuration with MachineFolder model
Keep PSHOME as immutable product defaults while resolving the writable PFN-isolated ProgramData path in Utils. Redirect AllUsers writes, preserve policy and preference merge semantics, and secure the manually provisioned hierarchy without changing non-MSIX or experimental-feature behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-29 13:12:19 -05:00
Justin ChungandCopilot 3d28915fff Restore experimental feature cmdlets
Keep Enable-ExperimentalFeature and Disable-ExperimentalFeature aligned with master while retaining the MSIX configuration changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-29 10:11:06 -05:00
Justin ChungandCopilot 8fc58754d7 Scope system configuration to MSIX
Remove the experimental-feature mutation cmdlets while preserving discovery.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-28 15:43:06 -05:00
Justin Chung 381db70a0f Merge branch 'master' into relocSystemConfig 2026-07-28 14:54:41 -05:00
Justin ChungandCopilot 21ef653ff0 Use package-aware ProgramData for system configuration
Keep immutable product defaults in PSHOME while resolving writable machine configuration from ProgramData, isolated by package family for MSIX. Apply secure Windows ACLs, preserve policy and preference merge semantics, and remove Get-PowerShellConfiguration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-27 16:15:28 -05:00
Dongbo Wang f3648da945 Fix the W3C URIs in .resx resource files (#27729)
This PR essentially reverts https://github.com/PowerShell/PowerShell/pull/3331, which updated all W3C URIs in the `.resx` files from `http` to `https`.

That change turned out to be wrong. Those W3C URIs are namespace identifiers, not fetchable URLs -- they must be byte‑exact. Changing them to use `https` corrupted them, and thus `ManagedParser` in the localization pipeline can't recognize the schema, which resulted in the `BL1024 "child table to itself"` error.

- This PR makes pure, mechanical 2-line substitution in every `.resx` file: `https://www.w3.org → http://www.w3.org`.
- The `ClipboardResources.resx` was using Schema version 1.3, and it's changed to version 2.0 as the rest `.resx` files in this PR.
2026-07-27 10:00:46 -07:00
Dongbo Wang 463ef4374a Fix the dot-sourcing behavior of pwsh -file for advanced-function scripts (#27727) 2026-07-24 12:47:04 -07:00
Dongbo Wang db5f4f33fa Remove Test-Bom and the boms JSON files (#27726)
`Test-Bom` was only used in `New-MSIPackage`, which was removed in https://github.com/PowerShell/PowerShell/pull/27213 as we are not building MSI packages for v7.7 and onward.

`Test-Bom` is no longer used anywhere in PowerShell repo, so removing it and its helpers, as well as the boms JSON files, in this PR.
2026-07-24 11:56:58 -07:00
Dongbo Wang 7c21596caa Merge the v7.7.0-preview.3 release branch into master 2026-07-23 14:37:15 -07:00
535b1ec902 Update changelogs for v7.4.18, v7.5.9, and v7.6.4 (#27707)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4d8b066a-3f02-4ae4-bfd5-c08b6a180beb
2026-07-23 14:51:52 -05:00
Dongbo Wang 6633089f88 Update metadata.json for July releases (#27704) 2026-07-20 15:01:54 -07:00
Patrick MeineckeandCopilot Autofix powered by AI 78f5bd2441 Update CHANGELOG for v7.7.0-preview.3 (#27688)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
v7.7.0-preview.3
2026-07-20 16:45:06 -04:00
Dongbo Wang 855d94376b Prepare for onboarding PowerShell to the Native2Native localization pipeline (#27667)
1. Create the `LocProject.json` file for PowerShell localization.
2. Remove the unused `.resx` resource files and source files.
3. Update the `ResourceValidation` tests.
2026-07-20 12:21:39 -07:00
PowerShell Team Bot 0c226762e2 [master] Update branch for release (#27683) 2026-07-14 22:35:53 +00:00
Aditya Patwardhan 26757e2604 Avoid calling credential provider for public feed for Wix (#27663) 2026-07-07 21:14:58 +00:00
Dongbo Wang 0f53100340 Produce min-size package for arm64 architecture (#27646) 2026-07-06 16:29:50 -07:00
36cd02b333 Separate NuGet publish into its own stage after pushing the git tag (#27611)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-29 11:43:37 -05:00
Anam Navied 13d66be5b1 PMC: Download deb_arm artifact to ensure package is available for PMC publish flow (#27635) 2026-06-26 12:26:20 -07:00
6f7ffc2a17 Change New-Guid to generate UUID v7 by default (#27033)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
2026-06-26 11:25:35 -05:00
7d596de5f5 Fix progress bar rendering with double-width unicode characters (#26185)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
2026-06-26 11:15:10 -05:00
Behrad BahramiandJustin Chung f7bef31a73 Add links to changelogs for versions 7.5 and 7.6 (#27080)
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
2026-06-23 11:11:26 -05:00
Anam Navied c136a20d47 Update CI workflow to also target servicing-* branches (#27612) 2026-06-18 12:56:53 -04:00
Justin ChungandJustin Chung 13161f20e1 Update metadata.json for servicing releases (#27609)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2026-06-17 11:37:10 -05:00
d44e1a5851 Bring Changelogs to Master Branch v7.4.17, v7.5.8, v7.6.3 (#27608)
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
2026-06-17 11:36:48 -05:00
Andy Jordan dc4e8fead4 Remove -Daily from install-powershell.ps1 since it no longer exists (#25124) 2026-06-16 19:50:19 +00:00
PowerShell Team BotandAditya Patwardhan 6ae5efcd4a [master] Update branch for release (#27582)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2026-06-10 15:02:31 -04:00
Anam Navied 3ff088eb5d Add PMC mappings for debian12 arm64 and debian13 arm64 (#27491) 2026-06-09 13:24:45 -07:00
Justin ChungandJustin Chung c23c421068 Skip Store Publish when No Channel Seleceted (#27334)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2026-06-02 15:39:18 -05:00
Dongbo Wang 96ab22e281 Remove the unused Publish-NugetToMyGet command from packaging module (#27403) 2026-06-02 12:27:13 -07:00
Adam Driscoll 715d0f5ca7 Update PowerShell Universal information. (#27550) 2026-06-01 16:28:16 +00:00
Justin Chung 9311457b6a Fix preview build test failures 2026-05-28 13:07:18 -05:00
Justin Chung a8d65d320d Address Copilot fixes thrid 2026-05-28 10:10:27 -05:00
Dongbo Wang 9d87b4346f Merge the v7.7.0-preview.2 release branch back to master 2026-05-27 17:01:21 -07:00
Dongbo Wang 30a78c3a31 Update metadata.json for v7.7.0-preview.2 release (#27537) 2026-05-27 12:14:15 -07:00
Justin Chung 5252a123b4 Address copilot comments second 2026-05-27 12:42:51 -05:00
Justin Chung 5ff044a4b6 Fix xUnit test configuration to use temp directory for system config location. 2026-05-27 09:53:14 -05:00
Justin Chung 7a3dbade57 Address copilot comments 2026-05-26 16:46:08 -05:00
Justin Chung 8ef8ae1138 Move AllUsers config out of $PSHOME and add Get-PowerShellConfiguration cmdlet 2026-05-26 16:20:04 -05:00
Dongbo Wang 14b9c23686 Update preview changelog for v7.7.0-preview.2 (#27534) v7.7.0-preview.2 2026-05-26 10:38:01 -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