Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .pipelines/templates/release-MakeBlobPublic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ jobs:
Get-ChildItem Env:
displayName: 'Capture Environment Variables'

- pwsh: |
$repositoryName = 'PowerShellGalleryMirror'
if (-not (Get-PSRepository -Name $repositoryName -ErrorAction Ignore)) {
Register-PSRepository -Name $repositoryName -SourceLocation 'https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/PowerShellGalleryMirror/nuget/v2' -InstallationPolicy Trusted -ErrorAction Stop
}
Install-Module -Repository $repositoryName -Name Az.Storage -RequiredVersion 9.7.2 -Scope CurrentUser -Force -ErrorAction Stop
displayName: Install Az.Storage 9.7.2

- task: AzurePowerShell@5
displayName: Copy blobs to PSInfra storage
inputs:
Expand All @@ -59,6 +67,8 @@ jobs:
azurePowerShellVersion: LatestVersion
pwsh: true
inline: |
Import-Module Az.Storage -RequiredVersion 9.7.2 -ErrorAction Stop

$sourceStorageAccountName = '$(StorageAccount)'
$destinationStorageAccountName = '$(PSInfraStorageAccount)'
$destinationContainerName = '$web'
Expand Down Expand Up @@ -137,6 +147,14 @@ jobs:
Get-ChildItem Env: | Out-String -width 9999 -Stream | write-Verbose -Verbose
displayName: 'Capture Environment Variables'

- pwsh: |
$repositoryName = 'PowerShellGalleryMirror'
if (-not (Get-PSRepository -Name $repositoryName -ErrorAction Ignore)) {
Register-PSRepository -Name $repositoryName -SourceLocation 'https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/PowerShellGalleryMirror/nuget/v2' -InstallationPolicy Trusted -ErrorAction Stop
}
Install-Module -Repository $repositoryName -Name Az.Storage -RequiredVersion 9.7.2 -Scope CurrentUser -Force -ErrorAction Stop
displayName: Install Az.Storage 9.7.2

- task: AzurePowerShell@5
displayName: Copy blobs to PSInfra storage
inputs:
Expand All @@ -145,6 +163,8 @@ jobs:
azurePowerShellVersion: LatestVersion
pwsh: true
inline: |
Import-Module Az.Storage -RequiredVersion 9.7.2 -ErrorAction Stop

$sourceStorageAccountName = '$(StorageAccount)'
$sourceContainerName = '$(AzureVersion)-nuget'
$prefix = 'globaltool'
Expand Down
10 changes: 10 additions & 0 deletions .pipelines/templates/release-upload-buildinfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,14 @@ jobs:
}
displayName: Create json files

- pwsh: |
$repositoryName = 'PowerShellGalleryMirror'
if (-not (Get-PSRepository -Name $repositoryName -ErrorAction Ignore)) {
Register-PSRepository -Name $repositoryName -SourceLocation 'https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/PowerShellGalleryMirror/nuget/v2' -InstallationPolicy Trusted -ErrorAction Stop
}
Install-Module -Repository $repositoryName -Name Az.Storage -RequiredVersion 9.7.2 -Scope CurrentUser -Force -ErrorAction Stop
displayName: Install Az.Storage 9.7.2

- task: AzurePowerShell@5
displayName: Upload buildjson to blob
inputs:
Expand All @@ -124,6 +132,8 @@ jobs:
azurePowerShellVersion: LatestVersion
pwsh: true
inline: |
Import-Module Az.Storage -RequiredVersion 9.7.2 -ErrorAction Stop

$containerName = '$web'
$storageAccount = '$(PSInfraStorageAccount)'
$prefix = "buildinfo"
Expand Down
95 changes: 95 additions & 0 deletions CHANGELOG/preview.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,100 @@
# Preview Changelog

## [7.7.0-rc.1]

### General Cmdlet Updates and Fixes

- Fix `Clear-Host` for remote Windows session from a non-Windows platform (#28116) (Thanks @jborean93!)
- Remove the Update Notification feature from PowerShell (#28242)
- Protect property assignment on non-core objects to NoteProperty members in Constrained Language Mode (#28206)
- Bind Hyper-V socket server V2 to the selected partition VM ID (#28204)
- Protect `ForEach()` property assignment on non-core types in Constrained Language Mode (#28207)
- Require `-FetchExternalReference` to resolve external `Test-Json` schema references (#28205)
- Apply implicit-remoting command protections to resolved aliases (#28208)
- Validate updatable-help CAB extraction and limit module names to 128 characters (#28203)
- Honor `-Recurse` when `Get-ChildItem` uses `-Name` (#28078)
- Fix `Resolve-Path -Relative` output for dot-prefixed names (#28087)
- Treat `StringCollection` as a list collection with the `String` element type (#28141)
- Fix duplicate results from `Get-Command` fuzzy matching (#28042)
- Avoid extra SMB queries when formatting file names (#28038)
- Use `GetCurrentPackageFamilyNameNative` API instead of path matching to detect MSIX installation (#28029)
- Replace the deprecated `X509Certificate2` constructor with `X509CertificateLoader.LoadCertificate` (#27965)
- Protect the fallback temporary home directory by enforcing and checking its file mode on Unix platforms (#27985)

### Code Cleanup

<details>

<summary>

<p>We thank the following contributors!</p>
<p>@xtqqczze</p>

</summary>

<ul>
<li>Remove the redundant <code>#if UNIX</code> check from the Unix only code (#28120)</li>
<li>Update <code>HelpersRemoting.psm1‎</code> to handle an exception better (#27903) (Thanks @xtqqczze!)</li>
</ul>

</details>

### Tests

- Fix the `PATH` test for MSIX installed PowerShell (#28068)

### Build and Packaging Improvements

<details>

<summary>

<p>Update to .NET SDK 11.0.100-rc.3.26522.148</p>

<p>Update Microsoft.PowerShell.PSResourceGet to 1.3.0-rc1</p>

<p>We thank the following contributors!</p>
<p>@trackd, @yuunnn</p>

</summary>

<ul>
<li>Stop enforcing invariant culture in build pipelines (#28260)</li>
<li>Update <code>metadata.json</code> for PowerShell releases (#28259)</li>
<li>Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2776911 (#28254)</li>
<li>Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2776908 (#28253)</li>
<li>Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2774633 (#28250)</li>
<li>Update <code>metadata.json</code> for v7.6.8 release (#28248)</li>
<li>Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2773072 (#28247)</li>
<li>Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2771893 (#28244)</li>
<li>Update Microsoft.PowerShell.PSResourceGet to version 1.3.0-rc1 (#28243)</li>
<li>Remove unused 'pull-requests: read' permission from the labels workflow (#28241) (Thanks @yuunnn!)</li>
<li>Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2770454 (#28227)</li>
<li>Move Store version metadata to the English description (#28211)</li>
<li>Fix the package version in <code>TestService.csproj‎</code> to unblock CI (#28209)</li>
<li>Update stable and LTS release tags to v7.6.7 (#28193)</li>
<li>Move to the latest <code>Microsoft.PowerShell.Native</code> package and add test (#28173)</li>
<li>Update Microsoft.PowerShell.Native package version (#28168)</li>
<li>Add native Azure Linux 4 RPM packaging (#28107)</li>
<li>Bump CodeQL init and analyze actions to 4.38.2 (#28123)</li>
<li>Bump CodeQL init and analyze actions to 4.38.1 (#28121)</li>
<li>Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2741383 (#28093)</li>
<li>Update preview and next release tags in metadata.json (#28089) (Thanks @trackd!)</li>
<li>Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2734773 (#28060)</li>
<li>Publish Azure Linux 4 packages to preview PMC (#28074)</li>
<li>Bump actions/upload-artifact from 7.0.1 to 7.0.2 (#28189)</li>
<li>Bump github/codeql-action/upload-sarif from 4.36.0 to 4.38.3 (#28188)</li>
<li>Bump ossf/scorecard-action from 2.4.3 to 2.5.0 (#28202)</li>
<li>Bump actions/checkout from 6.0.2 to 7.0.1 (#28053)</li>
<li>Bump PowerShell/compliance/.github/workflows/ready-to-merge.yml from 1.0.0 to 1.0.1 (#27338)</li>
<li>Bump github/codeql-action/init from 4.38.2 to 4.38.3 (#28210)</li>
<li>Bump actions/setup-dotnet from 5.3.0 to 6.0.0 (#28056)</li>
</ul>

</details>

[7.7.0-rc.1]: https://github.com/PowerShell/PowerShell/compare/v7.7.0-preview.5...v7.7.0-rc.1

## [7.7.0-preview.5]

### Engine Updates and Fixes
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG/v7.7/dependencychanges.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,18 @@
"AdvisoryUrls": [],
"Justification": "Updated .NET SDK. Building with the latest SDK is required.",
"TimestampUtc": "2026-09-08T21:57:42.6587463Z"
},
{
"ChangeType": "NonSecurity",
"Branch": "release/v7.7.0-rc.1",
"PackageId": ".NET SDK",
"FromVersion": "11.0.100-rc.1.26425.128",
"ToVersion": "11.0.100-rc.3.26522.148",
"VulnerabilityId": [],
"Severity": [],
"VulnerableRanges": [],
"AdvisoryUrls": [],
"Justification": "Updated .NET SDK. Building with the latest SDK is required.",
"TimestampUtc": "2026-10-26T18:06:10.9516057Z"
}
]
2 changes: 1 addition & 1 deletion DotnetRuntimeMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"quality": "daily",
"qualityFallback": "preview",
"packageVersionPattern": "9.0.0-preview.6",
"sdkImageVersion": "11.0.100-rc.1.26425.128",
"sdkImageVersion": "11.0.100-rc.3.26522.148",
"nextChannel": "9.0.0-preview.7",
"azureFeed": "",
"sdkImageOverride": ""
Expand Down
4 changes: 4 additions & 0 deletions build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1676,6 +1676,10 @@ function Publish-PSTestTools {

# Publish the Microsoft.PowerShell.NamedPipeConnection module
Publish-CustomConnectionTestModule

# Build intermediates are not needed to run tests and must not be included in test packages.
Get-ChildItem -Path "$PSScriptRoot/test" -Directory -Recurse -Filter 'obj' |
Remove-Item -Recurse -Force
Write-LogGroupEnd -Title "Publish-PSTestTools"
}

Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "11.0.100-rc.1.26425.128"
"version": "11.0.100-rc.3.26522.148"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Configuration.ConfigurationManager" Version="11.0.0-rc.3.26522.148" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we introducing a new package dependency for Microsoft.PowerShell.Command.Diagnostics?

<ProjectReference Include="..\System.Management.Automation\System.Management.Automation.csproj" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="11.0.0-rc.3.26522.148" />
</ItemGroup>

<ItemGroup Condition=" '$(IsWindows)' != 'true' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

<ItemGroup>
<!-- the following package(s) are from https://github.com/dotnet/corefx -->
<PackageReference Include="System.ServiceProcess.ServiceController" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.Diagnostics.EventLog" Version="11.0.0-rc.3.26522.148" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, why we are introducing a new package dependency for "Command.Mangement"?

<PackageReference Include="System.ServiceProcess.ServiceController" Version="11.0.0-rc.3.26522.148" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="5.9.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Comment on lines +10 to +13
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="11.0.0-rc.3.26522.148" />
Comment on lines +10 to +14

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

<ProjectReference Include="..\System.Management.Automation\System.Management.Automation.csproj" />
<PackageReference Include="Markdig.Signed" Version="1.3.2" />
<PackageReference Include="Microsoft.PowerShell.MarkdownRender" Version="7.2.1" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.9.0" />
<PackageReference Include="System.Drawing.Common" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.Drawing.Common" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="JsonSchema.Net" Version="7.4.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<!-- the following package(s) are from https://github.com/dotnet/corefx -->
<PackageReference Include="System.Diagnostics.EventLog" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.Diagnostics.EventLog" Version="11.0.0-rc.3.26522.148" />
</ItemGroup>

<ItemGroup>
Expand Down
35 changes: 30 additions & 5 deletions src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,44 @@

<ItemGroup>
<!-- This section is to force the version of non-direct dependencies -->
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="Microsoft.Win32.Registry.AccessControl" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.CodeDom" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.ComponentModel.Composition" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.ComponentModel.Composition.Registration" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Data.Odbc" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Data.OleDb" Version="11.0.0-rc.3.26522.148" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. Lots of new dependencies get added to SDK.csproj.

<!-- the following package(s) are from https://github.com/dotnet/fxdac -->
<PackageReference Include="System.Data.SqlClient" Version="4.9.1" />
<PackageReference Include="System.Diagnostics.EventLog" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.DirectoryServices" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.DirectoryServices.AccountManagement" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.DirectoryServices.Protocols" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Drawing.Common" Version="11.0.0-rc.3.26522.148" />
<!-- the following package(s) are from https://github.com/dotnet/corefx -->
<PackageReference Include="System.IO.Packaging" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.Net.Http.WinHttpHandler" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.IO.Packaging" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.IO.Ports" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Management" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Net.Http.WinHttpHandler" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Reflection.Context" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Runtime.Caching" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Security.Cryptography.Xml" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Security.Permissions" Version="11.0.0-rc.3.26522.148" />
<!-- the following package(s) are from https://github.com/dotnet/wcf -->
<PackageReference Include="System.ServiceModel.Http" Version="10.0.652802" />
<PackageReference Include="System.ServiceModel.NetTcp" Version="10.0.652802" />
<PackageReference Include="System.ServiceModel.Primitives" Version="10.0.652802" />
<!-- the source could not be found for the following package(s) -->
<PackageReference Include="Microsoft.Windows.Compatibility" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="Microsoft.Windows.Compatibility" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.ServiceModel.Syndication" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.ServiceProcess.ServiceController" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Speech" Version="11.0.0-rc.3.26522.148" />
</ItemGroup>

<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Diagnostics.EventLog" Version="11.0.0-rc.3.26522.148" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

<ProjectReference Include="..\System.Management.Automation\System.Management.Automation.csproj" />
<ProjectReference Include="..\Microsoft.WSMan.Runtime\Microsoft.WSMan.Runtime.csproj" />
<!-- the following package(s) are from https://github.com/dotnet/corefx -->
<PackageReference Include="System.ServiceProcess.ServiceController" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.ServiceProcess.ServiceController" Version="11.0.0-rc.3.26522.148" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.9.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="5.9.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.NETCore.Platforms" Version="1.1.2" />
<PackageReference Include="System.Collections.Immutable" Version="10.0.14" />
<PackageReference Include="System.Reflection.Metadata" Version="10.0.14" />
Comment on lines +19 to +21

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,21 @@
<!-- the Application Insights package -->
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.23.0" />
<!-- the following package(s) are from https://github.com/dotnet/corefx -->
<PackageReference Include="Microsoft.Win32.Registry.AccessControl" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.DirectoryServices" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.Management" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="System.Security.Permissions" Version="11.0.0-rc.1.26425.128" />
<PackageReference Include="Microsoft.Win32.Registry.AccessControl" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.CodeDom" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Diagnostics.EventLog" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.DirectoryServices" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Management" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="11.0.0-rc.3.26522.148" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="11.0.0-rc.3.26522.148" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

<PackageReference Include="System.Security.Permissions" Version="11.0.0-rc.3.26522.148" />
<!-- the following package(s) are from the powershell org -->
<PackageReference Include="Microsoft.Management.Infrastructure" Version="3.0.0" />
<PackageReference Include="Microsoft.PowerShell.Native" Version="700.0.2" />
<!-- Signing APIs -->
<PackageReference Include="Microsoft.Security.Extensions" Version="1.4.0" />
<PackageReference Include="System.Windows.Extensions" Version="11.0.0-rc.3.26522.148" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading
Loading