Skip to content

Bump Newtonsoft.Json from 13.0.1 to 13.0.4#127

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/src/DocsGenerator/Newtonsoft.Json-13.0.4
Open

Bump Newtonsoft.Json from 13.0.1 to 13.0.4#127
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/src/DocsGenerator/Newtonsoft.Json-13.0.4

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Updated Newtonsoft.Json from 13.0.1 to 13.0.4.

Release notes

Sourced from Newtonsoft.Json's releases.

13.0.4

  • New feature - Annotated for trim/AOT (in)compatibility
  • New feature - Added support for using Index with JArray
  • Change - Avoid LINQ expression trees in .NET 6+ reflection
  • Fix - Fixed handling of empty constructor names
  • Fix - Fixed XML convert duplicate attribute error on nested arrays with writeArrayAttribute set to true
  • Fix - Fixed XML convert array attribute is not set for properties with special characters
  • Fix - Fixed TimeOnly deserialization to support more formats

13.0.3

  • Fix - Fixed parsed zero decimals losing trailing zeroes
  • Fix - Fixed parsed negative zero double losing negative
  • Fix - Fixed null string being reported as String rather than JTokenType.Null

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 with property to disable copying 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

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-version: 13.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels May 4, 2026
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown

@codacy-production codacy-production Bot left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

The pull request is technically 'up to standards' according to Codacy, but it lacks any visible file changes to confirm the dependency bump from 13.0.1 to 13.0.4. Furthermore, none of the required test scenarios for validating serialization logic or new DateOnly/TimeOnly features have been addressed. These gaps must be resolved to ensure the upgrade does not introduce regressions in production JSON/XML processing.

About this PR

  • The pull request does not contain any file changes. Please ensure the project manifest (e.g., .csproj or packages.config) is correctly updated to reference Newtonsoft.Json version 13.0.4 and included in the commit.
  • There is no evidence of regression testing or coverage for the new version. Validation of existing serialization/deserialization logic is required to ensure compatibility.

Test suggestions

  • Execute application-wide regression tests to ensure existing JSON serialization and deserialization behaviors are preserved.
  • Verify DateOnly and TimeOnly deserialization functionality to leverage the new library features.
  • Validate XML conversion logic to ensure compatibility with fixes for nested arrays and special characters.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Execute application-wide regression tests to ensure existing JSON serialization and deserialization behaviors are preserved.
2. Verify DateOnly and TimeOnly deserialization functionality to leverage the new library features.
3. Validate XML conversion logic to ensure compatibility with fixes for nested arrays and special characters.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants