dotnet / efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
https://docs.microsoft.com/ef/
MIT License
13.8k stars 3.2k forks source link

Bump Cosmos SDK to 3.46.0 #35171

Closed roji closed 16 hours ago

roji commented 22 hours ago

The new SDK is notably needed to use the new Linux-based Cosmos emulator.

roji commented 21 hours ago

Cosmos SDK now wants its users to reference Newtonsoft.JSON themselves (issue). Following the same logic, I think our provider shouldn't reference it, but our tests will need to (hopefully that's going to work).

roji commented 18 hours ago

OK, looks like we have to reference Newtonsoft.JSON anyway, since we use Newtonsoft in our own code (in the provider itself). If we one day stop doing that, we'd have the question of whether we should reference Newtonsoft.JSON at all here, or set AzureCosmosDisableNewtonsoftJsonCheck to true (but at that point, I'm not sure if applications using our provider get the build error telling them to reference Newtonsoft.JSON).

AndriySvyryd commented 15 hours ago

https://github.com/dotnet/efcore/issues/14570 https://github.com/dotnet/efcore/issues/34567 https://github.com/dotnet/efcore/issues/17306