Relax Json.NET version requirements #671
Closed
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.
This change downgrades the Newtonsoft.Json package reference (i.e. Json.NET) to a minimum of 9.01. We're not using any of the newer APIs, and all our tests pass, so I think this is okay. 🚀
It required adding an explicit dependency on
System.Runtime.Serialization.Formatters
to the netstandard 1.4 version, and in the process of adding that I cleaned up the 1.4 specific package references in the project a tiny bit.My only concern here is the fairly large number of fixes in Json.NET between 9.0.1 and 12.0.2. This change won't stop stop anyone from referencing a later version though -- explicitly or otherwise. It just might open us up to some annoying bug reports. (As stated in the referenced issue, most people will be using a later version than 9.0.1 anyway.)
So this fixes #670, I think 😂
What kind of change does this PR introduce?
Newtonsoft.Json
package reference to a minimum of 9.01What is the current behavior?
Newtonsoft.Json
12.0.1 or higher (see Be less aggressive with dependency updates in core library? #670.)What is the new behavior?
What might this PR break?
It could expose us to bug reports for any of the issues fixed in Json.NET since 9.0.1.
Please check if the PR fulfills these requirements