runtime
runtime copied to clipboard
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /src/libraries/Common/tests/System/Net/Prerequisites/NetCoreServer
Bumps Newtonsoft.Json from 12.0.3 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
Commits
ae9fe44
Remove compiler package and update sourcelink (#2498)8ef6621
Remove prerelease for 13.0.111331f5
Update SDK to 5.0.200 (#2495)c7e8abc
Update to 13.0.1-beta21745d7c
Fix JTokenWriter when writing comment to an object (#2493)583eb12
Fix missing error when deserializing JToken with a contract type mismatch (#2...b6dc05b
Change MaxDepth default to 64 (#2473)15525f1
Fix JsonWriter.WriteToken to allow null with string token (#2472)926d2f0
Enable embed untracked sources (#2471)0a56633
Fixes #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 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.
Tagging subscribers to this area: @dotnet/area-dependencymodel See info in area-owners.md if you want to be subscribed.
Issue Details
Bumps Newtonsoft.Json from 12.0.3 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
Commits
ae9fe44
Remove compiler package and update sourcelink (#2498)8ef6621
Remove prerelease for 13.0.111331f5
Update SDK to 5.0.200 (#2495)c7e8abc
Update to 13.0.1-beta21745d7c
Fix JTokenWriter when writing comment to an object (#2493)583eb12
Fix missing error when deserializing JToken with a contract type mismatch (#2...b6dc05b
Change MaxDepth default to 64 (#2473)15525f1
Fix JsonWriter.WriteToken to allow null with string token (#2472)926d2f0
Enable embed untracked sources (#2471)0a56633
Fixes #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 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.
Author: | dependabot[bot] |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | - |
The failures in runtime (Build Browser wasm Linux Release LibraryTests)
look related:
Application startup exception: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the file specified.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Microsoft.DotNet.XHarness.CLI.CommandArguments.TypeFromAssemblyArgument`1.GetLoadedTypes()+MoveNext() in /_/src/Microsoft.DotNet.XHarness.CLI/CommandArguments/Arguments/TypeFromAssemblyArgument.cs:line 29
at Microsoft.DotNet.XHarness.CLI.Commands.WebServer.<>c__DisplayClass0_0.<Start>b__9(TestWebServerOptions options) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/WebServer.cs:line 60
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy`1.CreateValue()
at Microsoft.Extensions.Options.OptionsCache`1.GetOrAdd(String name, Func`1 createOptions)
at Microsoft.DotNet.XHarness.CLI.Commands.WebServer.TestWebServerStartup.Configure(IApplicationBuilder app, IOptionsMonitor`1 optionsAccessor) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/WebServer.cs:line 126
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication()
@lewing @radical
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
Issue Details
Bumps Newtonsoft.Json from 12.0.3 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
Commits
ae9fe44
Remove compiler package and update sourcelink (#2498)8ef6621
Remove prerelease for 13.0.111331f5
Update SDK to 5.0.200 (#2495)c7e8abc
Update to 13.0.1-beta21745d7c
Fix JTokenWriter when writing comment to an object (#2493)583eb12
Fix missing error when deserializing JToken with a contract type mismatch (#2...b6dc05b
Change MaxDepth default to 64 (#2473)15525f1
Fix JsonWriter.WriteToken to allow null with string token (#2472)926d2f0
Enable embed untracked sources (#2471)0a56633
Fixes #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 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.
Author: | dependabot[bot] |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | - |
Why are we updating this version, and only for this specific project? Do we need to update $(NewtonsoftJsonVersion)
too?
eng/Versions.props: <NewtonsoftJsonVersion>12.0.3</NewtonsoftJsonVersion>
eng/testing/xunit/xunit.props: <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj: <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
Do we need to update
$(NewtonsoftJsonVersion)
too?
Updated in https://github.com/dotnet/runtime/pull/71402. The only file I had to revert is NetCoreServer.csproj
(in 3a1fd4d) which this PR is updating. It looks like we have some clash with xharness (or a similar dependency) which pulls in older newtonsoft and breaks the build (with the same error / callstack as https://github.com/dotnet/runtime/pull/71180#issuecomment-1167294546). I didn't investigated it further.
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version
or @dependabot ignore this minor version
.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
xharness updated this in https://github.com/dotnet/xharness/pull/930 and https://github.com/dotnet/xharness/pull/932
@MihaZupan, it needs https://github.com/dotnet/arcade/pull/9962 (and probably an update from xharness running the updated arcade)
it needs https://github.com/dotnet/arcade/pull/9962 (and probably an update from xharness running the updated arcade)
Arcade and xharness should be using up-to-date Newtonsoft.Json packages as of last week (earlier for Arcade). Certainly let us know if something looks amiss.
Great. I suppose we are waiting for https://github.com/dotnet/runtime/pull/72934 and https://github.com/dotnet/runtime/pull/73517.