Skip to content

Commit

Permalink
Merge pull request #62 from AkkaNetContrib/dev
Browse files Browse the repository at this point in the history
v1.3.9 Release
  • Loading branch information
Aaronontheweb authored Aug 29, 2018
2 parents 27e271c + 186d719 commit 585cfa6
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 12 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

Akka Persistence journal and snapshot store backed by PostgreSql database.

**WARNING: Akka.Persistence.PostgreSql plugin is still in beta and it's mechanics described bellow may be still subject to change**.

### Configuration

Both journal and snapshot store share the same configuration keys (however they resides in separate scopes, so they are definied distinctly for either journal or snapshot store):
Expand Down
6 changes: 6 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#### 1.3.9 August 29 2018 ####
Upgraded for Akka.NET v1.3.9.

**Other Fixes and Improvements**
* [Bugfix: Loading shapshot error](https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql/issues/57)

#### 1.3.8 July 6 2018 ####
Upgraded to support Akka.NET 1.3.8 and to take advantage of some performance improvements that have been added to Akka.Persistence for loading large snapshots, which you can read more about here: https://github.com/akkadotnet/akka.net/issues/3422

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Akka.Persistence.Sql.Common" Version="1.3.8" />
<PackageReference Include="Akka.Persistence.Sql.TestKit" Version="1.3.8" />
<PackageReference Include="Akka.Persistence.Sql.Common" Version="1.3.9" />
<PackageReference Include="Akka.Persistence.Sql.TestKit" Version="1.3.9" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Xml" Version="1.1.2" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Akka.Persistence.Sql.Common" Version="1.3.8" />
<PackageReference Include="Akka.Persistence.Sql.Common" Version="1.3.9" />
<PackageReference Include="Npgsql" Version="3.2.5" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,14 @@ protected override SelectedSnapshot ReadSnapshot(DbDataReader reader)

int? serializerId = null;
Type type = null;

if (!string.IsNullOrEmpty(manifest))
type = Type.GetType(manifest, throwOnError: true);

if (!reader.IsDBNull(5))
if (reader.IsDBNull(5))
{
type = Type.GetType(manifest, true);
}
else
{
serializerId = reader.GetInt32(5);
}

var snapshot = _deserialize(type, reader[4], manifest, serializerId);

Expand Down
6 changes: 4 additions & 2 deletions src/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<Copyright>Copyright © 2013-2017 Akka.NET Team</Copyright>
<Authors>Akka.NET Team</Authors>
<VersionPrefix>1.3.8</VersionPrefix>
<VersionPrefix>1.3.9</VersionPrefix>
<PackageIconUrl>http://getakka.net/images/akkalogo.png</PackageIconUrl>
<PackageProjectUrl>https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql/blob/master/LICENSE</PackageLicenseUrl>
Expand All @@ -28,6 +28,8 @@
</PackageReference>
</ItemGroup>
<PropertyGroup>
<PackageReleaseNotes>Upgraded to support Akka.NET 1.3.8 and to take advantage of some performance improvements that have been added to Akka.Persistence for loading large snapshots, which you can read more about here: https://github.com/akkadotnet/akka.net/issues/3422</PackageReleaseNotes>
<PackageReleaseNotes>Upgraded for Akka.NET v1.3.9.
Other Fixes and Improvements**
[Bugfix: Loading shapshot error](https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql/issues/57)</PackageReleaseNotes>
</PropertyGroup>
</Project>

0 comments on commit 585cfa6

Please sign in to comment.