-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Lower the required version of json.net if possible #1521
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
Comments
Testing several version of dependencies would definetely be cumbersome, but Isn't there some testing tool allowing for testing version matrices of 2015-08-18 22:20 GMT+02:00 Greg Marzouka [email protected]:
|
@bornemix That goes both ways :) If ES sticks to JSON.NET 6, but some other library you use require JSON.NET 7, you can have the same issue, though not as likely unless you were already using deprecated APIs. Personally, I prefer it if libraries stay on latest, but that's mainly because we prefer to be as caught up as possible on all our libraries. Though I do understand that it might not be the norm. |
You don't need to "stick" with a single version, but instead provide for a 2015-08-18 23:55 GMT+02:00 Anders Østhus [email protected]:
|
When Json.NET 7 initially came out some of its internals changed in a way that also caused NEST to break. Also when starting blank projects Nuget will sadly still opt to install JSON.NET 6 and therefor perpetuating its usage. Interesting discussion on this behavior For I'm not opposed dropping our dependency in I have to ask though, whats causing your requirement to stay on JSON.NET 6? |
External dependency, in this case EPiServer. I guess though that there are
2015-08-19 12:06 GMT+02:00 Martijn Laarman [email protected]:
|
Cheers, handy to know EpiServer is still on 6 for now. Will leave this ticket open, its not something we can pick up in the foreseeable future though. Thanks for posting your workaround 👍 |
@Mpdreamz regarding building and testing against several JSON.NET versions: Are you looking for as VS solution so that a contributor can run tests against all JSON.NET version or are you wanting to do this only on the CI server (and then use latest for development)? If it's the latter, I can take a look at modifying the build scripts to do that (really getting into FAKE lately :)), though if you want it against all of the 6 series and 7 series, the test suite will probably take a fair bit longer to run. |
Definitely the latter! Any effort here would be appreciated! |
closing this in favor of: #1694 to track and discuss testing multiple version of json.net |
Is requiring Json.Net to be at least 7 really necessary?
The text was updated successfully, but these errors were encountered: