Skip to content

Commit

Permalink
Bump Npgsql minimum version to 8.0.3 (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus authored May 10, 2024
1 parent d642f4b commit b494d41
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//-----------------------------------------------------------------------

using System;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Akka.Actor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using Akka.Persistence.Query;
using Akka.Persistence.Query.Sql;
using Akka.Persistence.TCK.Query;
using System.Collections.Immutable;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<ItemGroup>
<PackageReference Include="Npgsql" />
<PackageReference Include="Akka.Persistence.Sql.Common" />
<PackageReference Include="System.Collections.Immutable" /> <!-- Added to fix version conflict with Npgsql 8 -->
</ItemGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
Expand Down
7 changes: 4 additions & 3 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<AkkaVersion>1.5.20</AkkaVersion>
<AkkaHostingVersion>1.5.20</AkkaHostingVersion>

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

<!-- Test dependencies -->
<ItemGroup>
<PackageVersion Include="System.Collections.Immutable" Version="8.0.0" /> <!-- Added because of version collision between 7.0 and 8.0 -->
<PackageVersion Include="Akka.Hosting.TestKit" Version="$(AkkaVersion)" />
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
Expand All @@ -34,4 +35,4 @@
<ItemGroup>
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>
</Project>
</Project>

0 comments on commit b494d41

Please sign in to comment.