GeezerVison is showing github.com — Bump Newtonsoft.Json to 13.0.3 by dependabot[bot] · Pull Request #1866 · PowerShell/PSScriptAnalyzer
Conversation
dependabot
Bot
commented
on behalf of github
Nov 24, 2022
•
edited by bergmeister
Loading
Uh oh!
There was an error while loading. Please reload this page.
Since oldest supported PS version 7.2.17 now uses 13.0.3 of Newtonsoft.Json, we can use the same version for Windows PS and PS 7. But leaving in separate paths as they could diverge again in future.
https://github.com/PowerShell/PowerShell/blob/b9fc8228a40634fde610887c404904f670eb2008/src/System.Management.Automation/System.Management.Automation.csproj#L15
Bumps Newtonsoft.Json from 12.0.3 to 13.0.2.
Release notes
Sourced from Newtonsoft.Json's releases.
13.0.2
- New feature - Add support for DateOnly and TimeOnly
- New feature - Add UnixDateTimeConverter.AllowPreEpoch property
- New feature - Add copy constructor to JsonSerializerSettings
- New feature - Add JsonCloneSettings to disable copy annotations
- Change - Add nullable annotation to JToken.ToObject(Type, JsonSerializer)
- Change - Reduced allocations by reusing boxed values
- Fix - Fixed MaxDepth when used with ToObject inside of a JsonConverter
- Fix - Fixed deserializing mismatched JToken types in properties
- Fix - Fixed merging enumerable content and validate content
- Fix - Fixed using $type with arrays of more than two dimensions
- Fix - Fixed rare race condition in name table when deserializing on device with ARM processors
- Fix - Fixed deserializing via constructor with ignored base type properties
- Fix - Fixed MaxDepth not being used with ISerializable deserialization
13.0.1
- New feature - Add JsonSelectSettings with configuration for a regex timeout
- Change - Remove portable assemblies from NuGet package
- Change - JsonReader and JsonSerializer MaxDepth defaults to 64
- Change - Change InvalidCastException to JsonSerializationException on mismatched JToken
- Fix - Fixed throwing missing member error on ignored fields
- Fix - Fixed various nullable annotations
- Fix - Fixed annotations not being copied when tokens are cloned
- Fix - Fixed naming strategy not being used when deserializing dictionary enum keys
- Fix - Fixed serializing nullable struct dictionaries
- Fix - Fixed JsonWriter.WriteToken to allow null with string token
- Fix - Fixed missing error when deserializing JToken with a contract type mismatch
- Fix - Fixed JTokenWriter when writing comment to an object
Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Dependabot tried to add @rjmholt, @JamesWTruher and @bergmeister as reviewers to this PR, but received the following error from GitHub:
POST https://api.github.com/repos/PowerShell/PSScriptAnalyzer/pulls/1866/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the PowerShell/PSScriptAnalyzer repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Not possible due to back compat
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Dec 8, 2022
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
A newer version of Newtonsoft.Json exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Now latest 7.2 version also uses latest Newtonsoft version so bumped the version
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Mar 16, 2024
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
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.
|