-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newtonsoft JSON version 9.0.1 #212
Comments
We'll need to look at what sort of breaking changes came in version Newtonsoft.Json versions 8 and 9. If it "just" works, we can relax the upper bound, otherwise, some more work will need to be done to make Bond work with 7, 8, and 9. |
- Bond can now be used with Newtonsoft.Json >= 7.0.1 and < 10 - Closes issue #212
- Bond can now be used with Newtonsoft.Json >= 7.0.1 and < 10 - Closes issue #212
@yagilofir Bond 4.3.0 supports Netonsoft.Json v9.0.1 |
Re-reading the nuspec verisioning documentation, I think what we had before commit e2be0bf was the correct thing. It specified a lower bound of 7.0.1 but no upper bound. Looking through the history of NuGet's update behavior, the default is to install the lowest version that satisfied the constraints. If you'd like to use Newtonsoft JSON 9.0.1, you can install/upgrade to that version of Newtonsoft.Json explicitly, and Bond will still work. You can also use
I'm preparing a PR to relax the upper bound in the .nuspec back to what we had before. |
The Bond.Runtime NuGet package again only specifies a lower bound on its Newtonsoft.JSON dependency. This reverts commit e2be0bf, which artificially limited the upper bound to < 10. The previous behavior did not limit Bond.Runtime to only working with Newtonsoft.Json 7.0.1. _However_, the default behavior of NuGet (since 2.8) is to install the _lowest_ version of a package that satisfied the constraints. This can be overridden when a package is installed. Closes microsoft#212
The Bond.Runtime NuGet package again only specifies a lower bound on its Newtonsoft.JSON dependency. This reverts commit e2be0bf, which artificially limited the upper bound to < 10. The previous behavior did not limit Bond.Runtime to only working with Newtonsoft.Json 7.0.1. _However_, the default behavior of NuGet (since 2.8) is to install the _lowest_ version of a package that satisfied the constraints. This behavior can be overridden when a package is installed, but that decision needs to be made by the consumer of Bond.Runtime. Closes microsoft#212
Hi, is there a chance you'll upgrade to the latest version of Netonsoft.Json ? (v9.0.1)
We are having some troubles using your json serializer in a .NET project that uses json 9.0.1 (and it seems that Bond currently works with Newtonsoft.Json v7.0.1 which is a bit obsolete.)
Thanks.
The text was updated successfully, but these errors were encountered: