apm-agent-dotnet
apm-agent-dotnet copied to clipboard
Bump Newtonsoft.Json from 12.0.1 to 13.0.1 in /build/scripts
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
ae9fe44Remove compiler package and update sourcelink (#2498)8ef6621Remove prerelease for 13.0.111331f5Update SDK to 5.0.200 (#2495)c7e8abcUpdate to 13.0.1-beta21745d7cFix JTokenWriter when writing comment to an object (#2493)583eb12Fix missing error when deserializing JToken with a contract type mismatch (#2...b6dc05bChange MaxDepth default to 64 (#2473)15525f1Fix JsonWriter.WriteToken to allow null with string token (#2472)926d2f0Enable embed untracked sources (#2471)0a56633Fixes #2372 - variable typos (#2465)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill 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.
:broken_heart: Tests Failed
the below badges are clickable and redirect to their specific view in the CI or DOCS
![]()
![]()
![]()
![]()
![]()
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 
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. -
runelasticsearch-ci/docs: Re-trigger the docs validation. (use unformatted text in the comment!)
@dependabot ignore this dependency
OK, I won't notify you about Newtonsoft.Json again, unless you re-open this PR or update it yourself. 😢