apm-agent-dotnet icon indicating copy to clipboard operation
apm-agent-dotnet copied to clipboard

Bump Newtonsoft.Json from 12.0.1 to 13.0.1 in /build/scripts

Open dependabot[bot] opened this issue 3 years ago • 1 comments

Bumps Newtonsoft.Json from 12.0.1 to 13.0.1.

Release notes

Sourced from Newtonsoft.Json's releases.

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
  • 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

12.0.3

  • New feature - Added support for nullable reference types
  • New feature - Added KebabCaseNamingStrategy
  • Change - Package now uses embedded package icon
  • Fix - Fixed bug when merging JToken with itself
  • Fix - Fixed performance of calling ICustomTypeDescriptor.GetProperties
  • Fix - Fixed serializing Enumerable.Empty and empty arrays on .NET Core 3.0
  • Fix - Fixed deserializing some collection types with constructor
  • Fix - Fixed deserializing IImmutableSet to ImmutableHashSet instead of ImmutableSortedSet
  • Fix - Fixed deserializing IImmutableDictionary to ImmutableDictionary instead of ImmutableSortedDictionary
  • Fix - Fixed deserializing into constructors with more than 256 parameters
  • Fix - Fixed hang when deserializing JTokenReader with preceding comment
  • Fix - Fixed JSONPath scanning with nested indexer
  • Fix - Fixed deserializing incomplete JSON object to JObject
  • Fix - Fixed using StringEnumConverter with naming strategy and specified values

12.0.2

  • New feature - Added MissingMemberHandling to JsonObjectAttribute and JsonObjectContract
  • New feature - Added constructor to JTokenReader to specify initial path
  • New feature - Added JsonProperty.IsRequiredSpecified
  • New feature - Added JsonContract.InternalConverter
  • Change - Moved embedded debug symbols in NuGet package to a symbol package on NuGet.org
  • Fix - Fixed deserializing nullable struct collections
  • Fix - Fixed memory link when serializing enums to named values
  • Fix - Fixed error when setting JsonLoadSettings.DuplicatePropertyNameHandling to Replace
Commits

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

dependabot[bot] avatar Jun 23 '22 00:06 dependabot[bot]

:broken_heart: Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-08-10T13:03:08.421+0000

  • Duration: 72 min 41 sec

Test stats :test_tube:

Test Results
Failed 1
Passed 8301
Skipped 40
Total 8342

Test errors 1

Expand to view the tests failures

Initializing / Parallel / Linux / Test / PayloadSenderTests.Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxBatchEventCount_test – Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests
    Expand to view the error details

     Expected object to be System.Threading.Tasks.Task`1[System.Object] {Status=RanToCompletion} because numberOfEventsEnqueuedSuccessfully: 1000,actualNumberOfBatches: 0 , but found System.Threading.Tasks.Task+DelayPromise {Status=RanToCompletion}. 
    
    Expand to view the stacktrace

     Expected object to be System.Threading.Tasks.Task`1[System.Object] {Status=RanToCompletion} because numberOfEventsEnqueuedSuccessfully: 1000,actualNumberOfBatches: 0 , but found System.Threading.Tasks.Task+DelayPromise {Status=RanToCompletion}.
    Stack Trace:
       at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
       at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
       at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
       at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
       at FluentAssertions.Primitives.ObjectAssertions.Be(Object expected, String because, Object[] becauseArgs)
       at Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxBatchEventCount_test(TestArgs args, Int32 expectedNumberOfBatches) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1743/apm-agent-dotnet/test/Elastic.Apm.Tests/BackendCommTests/PayloadSenderTests.cs:line 298
    --- End of stack trace from previous location where exception was thrown ---
    Standard Output:
        Elastic APM .NET Tests> 322> Xunit> [2022-08-10 13:30:05.431 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxBatchEventCount_test(args: {ArgsIndex: 23, MaxQueueEventCount: 1000, MaxBatchEventCount: 1000, FlushInterval: 1d}, expectedNumberOfBatches: 1)...
        Elastic APM .NET Tests> 322> Xunit> [2022-08-10 13:30:58.734 +00:00][Error] - {BackendCommComponentBase (PayloadSenderV2)} WorkLoop Current thread: `ElasticApmPayloadSenderV2' (managed ID: 104)
        Elastic APM .NET Tests> 322> Xunit> +-> Exception: System.InvalidOperationException: The source completed without providing data to receive.
        Elastic APM .NET Tests> 322> Xunit>    at System.Threading.Tasks.Dataflow.Internal.Common.InitializeStackTrace(Exception exception)
        Elastic APM .NET Tests> 322> Xunit> --- End of stack trace from previous location where exception was thrown ---
        Elastic APM .NET Tests> 322> Xunit>    at System.Threading.Tasks.Dataflow.DataflowBlock.Receive[TOutput](ISourceBlock`1 source, TimeSpan timeout, CancellationToken cancellationToken)
        Elastic APM .NET Tests> 322> Xunit>    at Elastic.Apm.Report.PayloadSenderV2.ReceiveBatch() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1743/apm-agent-dotnet/src/Elastic.Apm/Report/PayloadSenderV2.cs:line 254
        Elastic APM .NET Tests> 322> Xunit>    at Elastic.Apm.Report.PayloadSenderV2.WorkLoopIteration() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1743/apm-agent-dotnet/src/Elastic.Apm/Report/PayloadSenderV2.cs:line 236
        Elastic APM .NET Tests> 322> Xunit>    at Elastic.Apm.BackendComm.BackendCommComponentBase.WorkLoop() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1743/apm-agent-dotnet/src/Elastic.Apm/BackendComm/BackendCommComponentBase.cs:line 83
        Elastic APM .NET Tests> 322> Xunit> [2022-08-10 13:30:58.866 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxBatchEventCount_test(args: {ArgsIndex: 23, MaxQueueEventCount: 1000, MaxBatchEventCount: 1000, FlushInterval: 1d}, expectedNumberOfBatches: 1) 
    

:robot: GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run benchmark tests : Run the benchmark test.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

apmmachine avatar Jun 23 '22 01:06 apmmachine

@dependabot ignore this dependency

gregkalapos avatar Aug 23 '22 21:08 gregkalapos

OK, I won't notify you about Newtonsoft.Json again, unless you re-open this PR or update it yourself. 😢

dependabot[bot] avatar Aug 23 '22 21:08 dependabot[bot]