Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit b494d41

Browse files
authored
Bump Npgsql minimum version to 8.0.3 (#261)
1 parent d642f4b commit b494d41

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Akka.Persistence.PostgreSql.Tests/PostgreSqlJournalBigIntSpec.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//-----------------------------------------------------------------------
77

88
using System;
9-
using System.Collections.Immutable;
109
using System.Linq;
1110
using System.Threading.Tasks;
1211
using Akka.Actor;

src/Akka.Persistence.PostgreSql.Tests/Query/PostgreSqlCurrentEventsByTagSpec.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using Akka.Persistence.Query;
1111
using Akka.Persistence.Query.Sql;
1212
using Akka.Persistence.TCK.Query;
13-
using System.Collections.Immutable;
1413
using System.Linq;
1514
using Xunit;
1615
using Xunit.Abstractions;

src/Akka.Persistence.PostgreSql/Akka.Persistence.PostgreSql.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<ItemGroup>
1919
<PackageReference Include="Npgsql" />
2020
<PackageReference Include="Akka.Persistence.Sql.Common" />
21+
<PackageReference Include="System.Collections.Immutable" /> <!-- Added to fix version conflict with Npgsql 8 -->
2122
</ItemGroup>
2223

2324
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">

src/Directory.Packages.props

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<AkkaVersion>1.5.20</AkkaVersion>
55
<AkkaHostingVersion>1.5.20</AkkaHostingVersion>
66

7-
<!-- Install from version 5.0.11 included all the way up to 8.x.x, but don't go up a major version -->
8-
<PostgresLowVersion>5.0.11</PostgresLowVersion>
7+
<!-- Install from version 8.0.3 included all the way up to 9.x.x, but don't go up a major version -->
8+
<PostgresLowVersion>8.0.3</PostgresLowVersion>
99
<PostgresHighVersion>9</PostgresHighVersion>
1010
<PostgresVersion>[$(PostgresLowVersion), $(PostgresHighVersion)]</PostgresVersion>
1111
</PropertyGroup>
@@ -20,6 +20,7 @@
2020

2121
<!-- Test dependencies -->
2222
<ItemGroup>
23+
<PackageVersion Include="System.Collections.Immutable" Version="8.0.0" /> <!-- Added because of version collision between 7.0 and 8.0 -->
2324
<PackageVersion Include="Akka.Hosting.TestKit" Version="$(AkkaVersion)" />
2425
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
2526
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
@@ -34,4 +35,4 @@
3435
<ItemGroup>
3536
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
3637
</ItemGroup>
37-
</Project>
38+
</Project>

0 commit comments

Comments
 (0)