-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prepared v1.3.13 release notes (#73)
- Loading branch information
1 parent
f45635b
commit 7ec9cec
Showing
2 changed files
with
12 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,5 @@ | ||
#### 1.3.12 April 05 2019 #### | ||
Support for Akka.Persistence 1.3.12. | ||
Added support for Akka.Persistence.Query. | ||
Upgraded to MongoDb v2.7.0 driver (2.8.0 doesn't support .NET 4.5) | ||
Added support for configurable, binary serialization via Akka.NET. | ||
#### 1.3.13 September 24 2019 #### | ||
* Support for Akka.Persistence 1.3.13. | ||
* Fixed [serializer regression for Akka.Persistence.MongoDb v1.3.12](https://github.com/akkadotnet/Akka.Persistence.MongoDB/pull/59) | ||
|
||
|
||
#### 1.3.5 March 23 2018 #### | ||
Support for Akka.Persistence 1.3.5. | ||
Support for .NET Standard 1.6 | ||
Supports latest version of .NET MongoDB Driver. | ||
You don't neeed to register/map your classes for serialization/deserialization anymore! | ||
|
||
#### 1.1.0 July 30 2016 #### | ||
Updated to Akka.Persistence 1.1.1 | ||
|
||
**Migration from 1.0.5 Up** | ||
As of 1.1.0, the highest SequenceNr for each PersistenceId in the EventJournal collection is kept in a separate collection, Metadata. | ||
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. | ||
|
||
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 | ||
```javascript | ||
try { | ||
var db = connect('{your_database_address}'); | ||
|
||
var persistenceIds = db.EventJournal.distinct('PersistenceId'); | ||
|
||
persistenceIds.forEach(persistenceId => { | ||
print('Finding highest SequenceNr for PersistenceId: ' + persistenceId); | ||
var highestSequenceNr = db.EventJournal | ||
.find({ PersistenceId: persistenceId }, { SequenceNr: true }) | ||
.sort({ SequenceNr: -1 }) | ||
.limit(1) | ||
.next() | ||
.SequenceNr; | ||
|
||
print('Highest SequenceNr found ' + highestSequenceNr + ', inserting into Metadata table...'); | ||
db.Metadata.insertOne( | ||
{ | ||
_id: persistenceId, | ||
PersistenceId: persistenceId, | ||
SequenceNr: highestSequenceNr | ||
} | ||
); | ||
|
||
print('Inserted successfully'); | ||
}); | ||
} catch(e) { | ||
print(e); | ||
} | ||
``` | ||
|
||
#### 1.0.5 August 08 2015 #### | ||
|
||
#### 1.0.4 August 07 2015 #### | ||
Initial release of Akka.Persistence.MongoDb | ||
**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).** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<Copyright>Copyright © 2013-2018 Akka.NET Project</Copyright> | ||
<Copyright>Copyright © 2013-2019 Akka.NET Project</Copyright> | ||
<Authors>Akka.NET Contrib</Authors> | ||
<VersionPrefix>1.3.12</VersionPrefix> | ||
<VersionPrefix>1.3.13</VersionPrefix> | ||
<PackageIconUrl>http://getakka.net/images/akkalogo.png</PackageIconUrl> | ||
<PackageProjectUrl>https://github.com/AkkaNetContrib/Akka.Persistence.MongoDB</PackageProjectUrl> | ||
<PackageLicenseUrl>https://github.com/AkkaNetContrib/Akka.Persistence.MongoDB/blob/master/LICENSE.md</PackageLicenseUrl> | ||
<PackageReleaseNotes>Support for Akka.Persistence 1.3.12. | ||
Added support for Akka.Persistence.Query. | ||
Upgraded to MongoDb v2.7.0 driver (2.8.0 doesn't support .NET 4.5) | ||
Added support for configurable, binary serialization via Akka.NET.</PackageReleaseNotes> | ||
<PackageProjectUrl>https://github.com/akkadotnet/Akka.Persistence.MongoDB</PackageProjectUrl> | ||
<PackageLicenseUrl>https://github.com/akkadotnet/Akka.Persistence.MongoDB/blob/master/LICENSE.md</PackageLicenseUrl> | ||
<PackageReleaseNotes>Support for Akka.Persistence 1.3.13. | ||
Fixed [serializer regression for Akka.Persistence.MongoDb v1.3.12](https://github.com/akkadotnet/Akka.Persistence.MongoDB/pull/59) | ||
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).**</PackageReleaseNotes> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<Description>Akka Persistence journal and snapshot store backed by MongoDB database.</Description> | ||
<NoWarn>$(NoWarn);CS1591</NoWarn> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<XunitVersion>2.3.1</XunitVersion> | ||
<TestSdkVersion>15.3.0</TestSdkVersion> | ||
<AkkaVersion>1.3.12</AkkaVersion> | ||
<AkkaVersion>1.3.13</AkkaVersion> | ||
</PropertyGroup> | ||
</Project> |