Skip to content

Commit a3d421e

Browse files
Merge pull request #116 from akkadotnet/dev
v1.4.1-RC1 Release
2 parents ccdaa40 + fa75fee commit a3d421e

21 files changed

+24
-33
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,3 @@
1-
#### 1.4.0-beta3 February 04 2020 ####
1+
#### 1.4.1-rc1 March 02 2020 ####
22

3-
Introduced legacy serialization modes.
4-
5-
[Going from v1.4.0 onwards, all events and snapshots are saved as byte arrays using the standard Akka.Persistence format](https://github.com/akkadotnet/Akka.Persistence.MongoDB/issues/72).
6-
7-
However, in the event that you have one of the following use cases:
8-
9-
1. Legacy data all stored in the original BSON / "object" format;
10-
2. A use case where BSON is preferable, i.e. so it can be queried directly via MongoDb queries rather than Akka.Persistence.Query; or
11-
3. A requirement to keep all data in human-readable form.
12-
13-
Then you can disable binary serialization (enabled by default) via the following HOCON:
14-
15-
```
16-
akka.persistence.mongodb{
17-
journal{
18-
legacy-serialization = off
19-
}
20-
21-
snapshot-store{
22-
legacy-serialization = off
23-
}
24-
}
25-
```
26-
27-
Setting `legacy-serialization = on` will allow you to save objects in a BSON format.
28-
29-
**WARNING**: However, `legacy-serialization = on` will break Akka.NET serialization. `IActorRef`s, Akka.Cluster.Sharding, `AtLeastOnceDelivery` actors, and other built-in Akka.NET use cases can't be properly supported using this format. Use it at your own risk.
3+
Bump Akka version to 1.4.1-rc1

src/Akka.Persistence.MongoDb.Tests/Akka.Persistence.MongoDb.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageReference Include="xunit.runner.visualstudio" Version="$(XunitVersion)" />
1111
<PackageReference Include="xunit" Version="$(XunitVersion)" />
1212
<PackageReference Include="Akka.Persistence.TCK" Version="$(AkkaVersion)" />
13-
<PackageReference Include="FluentAssertions" Version="5.10.0" />
13+
<PackageReference Include="FluentAssertions" Version="5.10.2" />
1414
<PackageReference Include="Mongo2Go" Version="2.2.12" />
1515
<PackageReference Include="System.Net.NetworkInformation" Version="4.3.0" />
1616
</ItemGroup>

src/Akka.Persistence.MongoDb.Tests/Bug25FixSpec.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
using MongoDB.Driver;
1111
using Xunit;
1212
using Xunit.Abstractions;
13+
using Hocon;
1314

1415
namespace Akka.Persistence.MongoDb.Tests
1516
{

src/Akka.Persistence.MongoDb.Tests/Bug61FixSpec.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
using System.Threading.Tasks;
1515
using Xunit;
1616
using Xunit.Abstractions;
17+
using Hocon;
1718

1819
namespace Akka.Persistence.MongoDb.Tests
1920
{

src/Akka.Persistence.MongoDb.Tests/MongoDbCurrentEventsByPersistenceIdsSpec.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
using System.Linq;
1919
using System.Diagnostics;
2020
using Akka.Streams.Dsl;
21+
using Hocon;
2122

2223
namespace Akka.Persistence.MongoDb.Tests
2324
{

src/Akka.Persistence.MongoDb.Tests/MongoDbCurrentEventsByTagSpec.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using Akka.Streams.TestKit;
1818
using System.Linq;
1919
using System.Diagnostics;
20+
using Hocon;
2021

2122
namespace Akka.Persistence.MongoDb.Tests
2223
{

src/Akka.Persistence.MongoDb.Tests/MongoDbCurrentPersistenceIdsSpec.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using Akka.Streams.TestKit;
1818
using System.Linq;
1919
using System.Diagnostics;
20+
using Hocon;
2021

2122
namespace Akka.Persistence.MongoDb.Tests
2223
{

src/Akka.Persistence.MongoDb.Tests/MongoDbEventsByPersistenceIdSpec.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using Akka.Streams.TestKit;
1818
using System.Linq;
1919
using System.Diagnostics;
20+
using Hocon;
2021

2122
namespace Akka.Persistence.MongoDb.Tests
2223
{

src/Akka.Persistence.MongoDb.Tests/MongoDbEventsByTagSpec.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using Akka.Streams.TestKit;
1818
using System.Linq;
1919
using System.Diagnostics;
20+
using Hocon;
2021

2122
namespace Akka.Persistence.MongoDb.Tests
2223
{

src/Akka.Persistence.MongoDb.Tests/MongoDbJournalSpec.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using Akka.Persistence.TCK.Journal;
99
using Xunit;
1010
using Akka.Configuration;
11+
using Hocon;
1112

1213
namespace Akka.Persistence.MongoDb.Tests
1314
{

0 commit comments

Comments
 (0)