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

Commit 585cfa6

Browse files
Merge pull request #62 from AkkaNetContrib/dev
v1.3.9 Release
2 parents 27e271c + 186d719 commit 585cfa6

File tree

6 files changed

+20
-12
lines changed

6 files changed

+20
-12
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
Akka Persistence journal and snapshot store backed by PostgreSql database.
44

5-
**WARNING: Akka.Persistence.PostgreSql plugin is still in beta and it's mechanics described bellow may be still subject to change**.
6-
75
### Configuration
86

97
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):

RELEASE_NOTES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#### 1.3.9 August 29 2018 ####
2+
Upgraded for Akka.NET v1.3.9.
3+
4+
**Other Fixes and Improvements**
5+
* [Bugfix: Loading shapshot error](https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql/issues/57)
6+
17
#### 1.3.8 July 6 2018 ####
28
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
39

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Akka.Persistence.Sql.Common" Version="1.3.8" />
11-
<PackageReference Include="Akka.Persistence.Sql.TestKit" Version="1.3.8" />
10+
<PackageReference Include="Akka.Persistence.Sql.Common" Version="1.3.9" />
11+
<PackageReference Include="Akka.Persistence.Sql.TestKit" Version="1.3.9" />
1212
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
1313
<PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.2" />
1414
<PackageReference Include="Microsoft.Extensions.Configuration.Xml" Version="1.1.2" />

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<PackageReference Include="Akka.Persistence.Sql.Common" Version="1.3.8" />
23+
<PackageReference Include="Akka.Persistence.Sql.Common" Version="1.3.9" />
2424
<PackageReference Include="Npgsql" Version="3.2.5" />
2525
</ItemGroup>
2626

src/Akka.Persistence.PostgreSql/Snapshot/PostgreSqlQueryExecutor.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,14 @@ protected override SelectedSnapshot ReadSnapshot(DbDataReader reader)
139139

140140
int? serializerId = null;
141141
Type type = null;
142-
143-
if (!string.IsNullOrEmpty(manifest))
144-
type = Type.GetType(manifest, throwOnError: true);
145-
146-
if (!reader.IsDBNull(5))
142+
if (reader.IsDBNull(5))
143+
{
144+
type = Type.GetType(manifest, true);
145+
}
146+
else
147+
{
147148
serializerId = reader.GetInt32(5);
149+
}
148150

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

src/common.props

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Copyright>Copyright © 2013-2017 Akka.NET Team</Copyright>
44
<Authors>Akka.NET Team</Authors>
5-
<VersionPrefix>1.3.8</VersionPrefix>
5+
<VersionPrefix>1.3.9</VersionPrefix>
66
<PackageIconUrl>http://getakka.net/images/akkalogo.png</PackageIconUrl>
77
<PackageProjectUrl>https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql</PackageProjectUrl>
88
<PackageLicenseUrl>https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql/blob/master/LICENSE</PackageLicenseUrl>
@@ -28,6 +28,8 @@
2828
</PackageReference>
2929
</ItemGroup>
3030
<PropertyGroup>
31-
<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>
31+
<PackageReleaseNotes>Upgraded for Akka.NET v1.3.9.
32+
Other Fixes and Improvements**
33+
[Bugfix: Loading shapshot error](https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql/issues/57)</PackageReleaseNotes>
3234
</PropertyGroup>
3335
</Project>

0 commit comments

Comments
 (0)