Update Npgsql dependency to 9.0 #6720
Labels
area-integrations
Issues pertaining to Aspire Integrations packages
postgres
Issues related to Postgres integrations
Milestone
The
Aspire.Npgsql
client integration package depends on theNpgsql
package.Npgsql
just shipped a9.0.0
version on nuget:https://www.nuget.org/packages/Npgsql/9.0.0
The Npgsql
9.0.0
still supportsnet8.0
, so we could unconditionally depend on the9.0.0
version.However, the
9.0.0
version depends on System.Text.Json9.0.0
:If we referenced this package from our
net8.0
TFM, it would mean any .NET Aspire app using our client integration package would get the v9.0 version of System.Text.Json. This means thatSystem.Text.Json
would always be "app local" for the app, which has the following drawbacks:System.Text.Json
is no longer "ready to run" AOT'd. Which means the app starts slower because the Json code needs to be JIT'd on startup.System.Text.Json
.We should decide how to update our dependency on
Npgsql
. I think we have 2 high-level choices:@DamianEdwards @joperezr @roji
The text was updated successfully, but these errors were encountered: