|
1 |
| -#### 1.3.12 April 05 2019 #### |
2 |
| -Support for Akka.Persistence 1.3.12. |
3 |
| -Added support for Akka.Persistence.Query. |
4 |
| -Upgraded to MongoDb v2.7.0 driver (2.8.0 doesn't support .NET 4.5) |
5 |
| -Added support for configurable, binary serialization via Akka.NET. |
| 1 | +#### 1.3.13 September 24 2019 #### |
| 2 | +* Support for Akka.Persistence 1.3.13. |
| 3 | +* Fixed [serializer regression for Akka.Persistence.MongoDb v1.3.12](https://github.com/akkadotnet/Akka.Persistence.MongoDB/pull/59) |
6 | 4 |
|
7 |
| - |
8 |
| -#### 1.3.5 March 23 2018 #### |
9 |
| -Support for Akka.Persistence 1.3.5. |
10 |
| -Support for .NET Standard 1.6 |
11 |
| -Supports latest version of .NET MongoDB Driver. |
12 |
| -You don't neeed to register/map your classes for serialization/deserialization anymore! |
13 |
| - |
14 |
| -#### 1.1.0 July 30 2016 #### |
15 |
| -Updated to Akka.Persistence 1.1.1 |
16 |
| - |
17 |
| -**Migration from 1.0.5 Up** |
18 |
| -As of 1.1.0, the highest SequenceNr for each PersistenceId in the EventJournal collection is kept in a separate collection, Metadata. |
19 |
| -This script creates the Metadata collection, then finds the highest SequenceNr for each persistence id from the EventJournal and adds it to the Metadata collection. |
20 |
| - |
21 |
| -To run, save this to a JavaScript file, update {your_database_address} e.g. 127.0.0.1:27017/events. Run: mongo {file_name}.js |
22 |
| -```javascript |
23 |
| -try { |
24 |
| - var db = connect('{your_database_address}'); |
25 |
| - |
26 |
| - var persistenceIds = db.EventJournal.distinct('PersistenceId'); |
27 |
| - |
28 |
| - persistenceIds.forEach(persistenceId => { |
29 |
| - print('Finding highest SequenceNr for PersistenceId: ' + persistenceId); |
30 |
| - var highestSequenceNr = db.EventJournal |
31 |
| - .find({ PersistenceId: persistenceId }, { SequenceNr: true }) |
32 |
| - .sort({ SequenceNr: -1 }) |
33 |
| - .limit(1) |
34 |
| - .next() |
35 |
| - .SequenceNr; |
36 |
| - |
37 |
| - print('Highest SequenceNr found ' + highestSequenceNr + ', inserting into Metadata table...'); |
38 |
| - db.Metadata.insertOne( |
39 |
| - { |
40 |
| - _id: persistenceId, |
41 |
| - PersistenceId: persistenceId, |
42 |
| - SequenceNr: highestSequenceNr |
43 |
| - } |
44 |
| - ); |
45 |
| - |
46 |
| - print('Inserted successfully'); |
47 |
| - }); |
48 |
| -} catch(e) { |
49 |
| - print(e); |
50 |
| -} |
51 |
| -``` |
52 |
| - |
53 |
| -#### 1.0.5 August 08 2015 #### |
54 |
| - |
55 |
| -#### 1.0.4 August 07 2015 #### |
56 |
| -Initial release of Akka.Persistence.MongoDb |
| 5 | +**Note: we're working on [adding support for future versions of Akka.Persistence.MongoDB and you should read them here if you plan on continuing to use the plugin](https://github.com/akkadotnet/Akka.Persistence.MongoDB/issues/72).** |
0 commit comments