GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update .NET SDK, PowerShell SDK, Newtonsoft.Json and codeowners by andyleejordan · Pull Request #2143 · PowerShell/PSScriptAnalyzer

Conversation

@andyleejordan

@andyleejordan Andy Jordan (andyleejordan) commented Nov 27, 2025

Copy link
Copy Markdown
Member

Oh Dependabot, where art thou?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

liamjpeters reacted with laugh emoji
All reactions
  • 😄 1 reaction
@andyleejordan
Update .NET SDK, PowerShell SDK, and Newtonsoft.Json
003a6ce
@andyleejordan
Andy Jordan (andyleejordan) requested a review from Christoph Bergmeister (bergmeister) as a code owner November 27, 2025 00:32
@andyleejordan
Andy Jordan (andyleejordan) requested review from Patrick Meinecke (SeeminglyScience) and Copilot November 27, 2025 00:32
Copilot started reviewing on behalf of Andy Jordan (andyleejordan) November 27, 2025 00:33
View session
Copilot finished reviewing on behalf of Andy Jordan (andyleejordan) November 27, 2025 00:34
Copilot AI reviewed Nov 27, 2025
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

This PR updates three key dependencies that require manual updates due to Dependabot configuration: the .NET SDK version, the PowerShell SDK (System.Management.Automation), and the Newtonsoft.Json library.

  • Updated .NET SDK from 8.0.406 to 8.0.416
  • Updated System.Management.Automation package and minimum PowerShell Core version from 7.4.7 to 7.4.13
  • Updated Newtonsoft.Json from 13.0.3 to 13.0.4

Reviewed changes

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

File Description
global.json Updates .NET SDK version from 8.0.406 to 8.0.416
Engine/PSScriptAnalyzer.psm1 Updates minimum PowerShell Core version requirement to 7.4.13, maintaining sync with System.Management.Automation package
Directory.Packages.props Updates System.Management.Automation package to 7.4.13 and Newtonsoft.Json to 13.0.4

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@andyleejordan
Andy Jordan (andyleejordan) enabled auto-merge (squash) December 1, 2025 18:45
SeeminglyScience
Patrick Meinecke (SeeminglyScience) approved these changes Dec 1, 2025
View reviewed changes
@andyleejordan

Andy Jordan (andyleejordan) commented Dec 1, 2025

Copy link
Copy Markdown
Member Author

Waiting on code owner review from bergmeister.
Christoph Bergmeister (@bergmeister) lmao I guess this is gated on you, sorry!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@andyleejordan
Andy Jordan (andyleejordan) disabled auto-merge December 1, 2025 21:52
@andyleejordan
Add PowerShell Extension GitHub team to Codeowners
5092290
Otherwise we're stuck unable to merge.
@andyleejordan
Andy Jordan (andyleejordan) enabled auto-merge (rebase) December 1, 2025 22:02
@bergmeister Christoph Bergmeister (bergmeister) changed the title Update .NET SDK, PowerShell SDK, and Newtonsoft.Json Update .NET SDK, PowerShell SDK, Newtonsoft.Json and codeowners Dec 2, 2025
bergmeister
Christoph Bergmeister (bergmeister) approved these changes Dec 2, 2025
View reviewed changes

@bergmeister Christoph Bergmeister (bergmeister) left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

So for Newtonsoft.Json, minimum version is the one used by oldest supported version of PowerShell, which is now 7.4.13, which now uses Newtonsoft 13.0.4 now so that change is fine: https://github.com/PowerShell/PowerShell/blob/5a6ecbf8c98d6d6193c3dcbed75d3454adbbfd09/src/System.Management.Automation/System.Management.Automation.csproj#L31

Update for minimum PS version patch fine as well.

.NET SDK is not as tightly coupled, I think the major version just cannot be newer than the one used by oldest supported PS version. PS used 8.0.415 but it shouldn't be a problem using a newer patch version since PSSA is not self-contained and always relies on PowerShell's engine for execution of its code: https://github.com/PowerShell/PowerShell/blob/v7.4.13/global.json

I am getting this error when hovering over new code owner but I trust you have tested this new kind of referencing:
image

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

andyleejordan reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@andyleejordan
Andy Jordan (andyleejordan) merged commit a7b06bb into main Dec 2, 2025
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@andyleejordan
Andy Jordan (andyleejordan) deleted the updates branch December 2, 2025 21:29
@andyleejordan

Andy Jordan (andyleejordan) commented Dec 3, 2025

Copy link
Copy Markdown
Member Author

Thanks for checking Christoph Bergmeister (@bergmeister)

So for Newtonsoft.Json, minimum version is the one used by oldest supported version of PowerShell, which is now 7.4.13, which now uses Newtonsoft 13.0.4 now so that change is fine: https://github.com/PowerShell/PowerShell/blob/5a6ecbf8c98d6d6193c3dcbed75d3454adbbfd09/src/System.Management.Automation/System.Management.Automation.csproj#L31

👍

Update for minimum PS version patch fine as well.

👍

.NET SDK is not as tightly coupled, I think the major version just cannot be newer than the one used by oldest supported PS version. PS used 8.0.415 but it shouldn't be a problem using a newer patch version since PSSA is not self-contained and always relies on PowerShell's engine for execution of its code: https://github.com/PowerShell/PowerShell/blob/v7.4.13/global.json

Internal release systems were requiring us to update this. To be honest, bug's in their end. The pipeline is supposed to build with rollForward: feature applying, but when their tooling checks if we're up to date, it ignores that (and it's also not actually checking what the pipeline is doing...which was also wrong). I gave up trying to it fixed properly and instead had to pointlessly update these to satisfy their tools and so close bugs being filed against us.

I am getting this error when hovering over new code owner but I trust you have tested this new kind of referencing: image

Yeah, it exists, and it should be public, but it seems like GitHub and Microsoft's SSO integration is breaking that for you. My guess is you can't view https://github.com/orgs/PowerShell/teams/extension

Screenshot 2025-12-02 at 4 10 19 PM
bergmeister reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@andyleejordan

Andy Jordan (andyleejordan) commented Dec 3, 2025

Copy link
Copy Markdown
Member Author

I missed the Directory.Build.props file, oops. Part of me wants to delete the Codeowners file because it has gone from a useful "ping these people" tool to a broken "require reviews from these people" that I can no longer override, even when I really need to and I have elevated myself to administrator.

bergmeister reacted with laugh emoji
All reactions
  • 😄 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jessehouwing Jesse Houwing (jessehouwing) mentioned this pull request Aug 19, 2026
On github actions ubuntu-latest analysis fails with "The term 'Get-Command' is not recognized as a name of a cmdlet" #2205
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@bergmeister Christoph Bergmeister (bergmeister) bergmeister approved these changes
@SeeminglyScience Patrick Meinecke (SeeminglyScience) SeeminglyScience approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@andyleejordan @bergmeister @SeeminglyScience
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.