FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update .NET SDK, PowerShell SDK dependencies by Copilot · Pull Request #2168 · PowerShell/PSScriptAnalyzer · GitHub

Update .NET SDK, PowerShell SDK dependencies - #2168

Merged
Andy Jordan (andyleejordan) merged 1 commit into
mainfrom
copilot/update-module-dependencies
Mar 19, 2026
Merged

Update .NET SDK, PowerShell SDK dependencies#2168
Andy Jordan (andyleejordan) merged 1 commit into
mainfrom
copilot/update-module-dependencies

Conversation

Copilot AI commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Follows the established pattern from commit aa2180a ("Update .NET SDK, PowerShell SDK, and Newtonsoft.Json").

Changes

  • System.Management.Automation: 7.4.13 → 7.4.14 (latest 7.4.x patch)
  • minimumPowerShellCoreVersion in Engine/PSScriptAnalyzer.psm1: '7.4.13' → '7.4.14' (kept aligned with SMA version per the in-code comment)
  • .NET SDK in global.json: 8.0.416 → 8.0.419

Not updated (with rationale)

Package Current Latest Reason skipped
Newtonsoft.Json 13.0.4 13.0.4 Already at latest
Microsoft.Management.Infrastructure 3.0.0 4.0.0 Major version bump — outside the conservative patch-update pattern
Microsoft.CSharp 4.7.0 4.7.0 Already at latest
Microsoft.Win32.Registry 5.0.0 5.0.0 Already at latest
System.Reflection.TypeExtensions 4.7.0 4.7.0 Already at latest
PowerShellStandard.Library 5.1.1 5.1.1 Already at latest
Pluralize.NET 1.0.2 1.0.2 Already at latest

Andy Jordan (andyleejordan) marked this pull request as ready for review March 18, 2026 23:20
Copilot AI review requested due to automatic review settings March 18, 2026 23:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

This PR updates pinned toolchain and dependency versions to the latest patch releases, keeping the System.Management.Automation (SMA) NuGet reference aligned with the PowerShell minimum version gate used by the PSScriptAnalyzer module loader.

Changes:

  • Bump .NET SDK in global.json from 8.0.416 to 8.0.419.
  • Bump System.Management.Automation from 7.4.13 to 7.4.14.
  • Update minimumPowerShellCoreVersion to 7.4.14 to stay consistent with the SMA version.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
global.json Updates the pinned .NET SDK patch version used by the repo.
Engine/PSScriptAnalyzer.psm1 Keeps the PowerShell minimum supported version check aligned with the SMA package version.
Directory.Packages.props Updates the centrally-managed SMA package version to 7.4.14.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

Perhaps premature, the GitHub Actions images don't even have PowerShell 7.4.14 yet:

VERBOSE: Testing with PowerShell 7.4.13
Exception: Minimum supported version of PSScriptAnalyzer for PowerShell Core is 7.4.14 but current version is '7.4.13'. Please update PowerShell Core.

Comment thread global.json
{
"sdk": {
"version": "8.0.416",
"version": "8.0.419",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

happy with it but doesn't make any difference since we use latest feature (8.0.x) anyway as per below rollForward setting

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

HAHAHA yes I agree but the people who maintain internal tools that check this file don't seem to understand that.

Copy link
Copy Markdown
Collaborator

Perhaps premature, the GitHub Actions images don't even have PowerShell 7.4.14 yet:

VERBOSE: Testing with PowerShell 7.4.13
Exception: Minimum supported version of PSScriptAnalyzer for PowerShell Core is 7.4.14 but current version is '7.4.13'. Please update PowerShell Core.

that's ok, can do later as well. in the end it's just a reference, we don't ship SMA so whatever PowerShell patch version they are using, it's up to user to use latest patched version within 30 days after new release anyway if they want to stay supported so we don't necessarily have to enforce it too much. With 1 year release cycles, a few PS patches happen anyway

Andy Jordan (andyleejordan) force-pushed the copilot/update-module-dependencies branch from f42292c to b129876 Compare March 19, 2026 17:53
Co-authored-by: andyleejordan <2226434+andyleejordan@users.noreply.github.com>
Andy Jordan (andyleejordan) force-pushed the copilot/update-module-dependencies branch from b129876 to ad3679a Compare March 19, 2026 18:31
Andy Jordan (andyleejordan) merged commit 6883618 into main Mar 19, 2026
7 checks passed
Andy Jordan (andyleejordan) deleted the copilot/update-module-dependencies branch March 19, 2026 19:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL