Skip to content

Commit c122231

Browse files
rojiWhatzGames
authored andcommitted
Bump dependencies (npgsql#3316)
* EF 9.0.0-rc.2.24474.1 * Npgsql 8.0.5 * dotnet SDK 9.0.100-rc.2
1 parent c94ba39 commit c122231

6 files changed

Lines changed: 22 additions & 14 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
pull_request:
1212

1313
env:
14-
dotnet_sdk_version: '9.0.100-rc.1.24452.12'
14+
dotnet_sdk_version: '9.0.100-rc.2.24474.11'
1515
postgis_version: 3
1616
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
1717

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
- cron: '30 22 * * 6'
2828

2929
env:
30-
dotnet_sdk_version: '9.0.100-rc.1.24452.12'
30+
dotnet_sdk_version: '9.0.100-rc.2.24474.11'
3131

3232
jobs:
3333
analyze:

Directory.Packages.props

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project>
22
<PropertyGroup>
3-
<EFCoreVersion>[9.0.0-rc.2.24460.3]</EFCoreVersion>
4-
<MicrosoftExtensionsVersion>9.0.0-rc.2.24456.9</MicrosoftExtensionsVersion>
5-
<NpgsqlVersion>8.0.4</NpgsqlVersion>
3+
<EFCoreVersion>[9.0.0-rc.2.24474.1]</EFCoreVersion>
4+
<MicrosoftExtensionsVersion>9.0.0-rc.2.24473.5</MicrosoftExtensionsVersion>
5+
<NpgsqlVersion>8.0.5</NpgsqlVersion>
66
</PropertyGroup>
77

88
<ItemGroup>
@@ -21,10 +21,6 @@
2121
<PackageVersion Include="Npgsql.NetTopologySuite" Version="$(NpgsqlVersion)" />
2222
<PackageVersion Include="Npgsql.DependencyInjection" Version="$(NpgsqlVersion)" />
2323

24-
<!-- Workaround for unsecure dependencies in EF -->
25-
<PackageVersion Include="System.Formats.Asn1" Version="8.0.1" />
26-
<PackageVersion Include="System.Text.Json" Version="8.0.4" />
27-
2824
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
2925
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
3026
<PackageVersion Include="xunit" Version="2.9.0" />

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.100-rc.1.24452.12",
3+
"version": "9.0.100-rc.2.24474.11",
44
"rollForward": "latestMajor",
55
"allowPrerelease": true
66
}

test/EFCore.PG.FunctionalTests/EFCore.PG.FunctionalTests.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
<PackageReference Include="Microsoft.Extensions.Configuration.Json" />
2020
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" />
2121

22-
<!-- Workaround for unsecure dependency on EF.Specification.Tests -->
23-
<PackageReference Include="System.Formats.Asn1" />
24-
<PackageReference Include="System.Text.Json" />
25-
2622
<!-- Needed to override xunit dependencies from EFCore projects on versions which aren't available on nuget.org -->
2723
<PackageReference Include="xunit.assert" />
2824
<PackageReference Include="xunit.core" />

test/EFCore.PG.FunctionalTests/Query/PrimitiveCollectionsQueryNpgsqlTest.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,6 +1418,22 @@ WHERE cardinality(@__ints_0 || p."Ints") = 2
14181418
""");
14191419
}
14201420

1421+
public override async Task Parameter_collection_with_type_inference_for_JsonScalarExpression(bool async)
1422+
{
1423+
await base.Parameter_collection_with_type_inference_for_JsonScalarExpression(async);
1424+
1425+
AssertSql(
1426+
"""
1427+
@__values_0={ 'one', 'two' } (DbType = Object)
1428+
1429+
SELECT CASE
1430+
WHEN p."Id" <> 0 THEN @__values_0[p."Int" % 2 + 1]
1431+
ELSE 'foo'
1432+
END
1433+
FROM "PrimitiveCollectionsEntity" AS p
1434+
""");
1435+
}
1436+
14211437
public override async Task Column_collection_Union_parameter_collection(bool async)
14221438
{
14231439
await base.Column_collection_Union_parameter_collection(async);

0 commit comments

Comments
 (0)