-
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.
updated build script to support beta tags in release notes; added v1.…
…4.0-beta3 release notes (#110)
- Loading branch information
1 parent
afdae4b
commit 23ed8e9
Showing
3 changed files
with
72 additions
and
10 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,2 +1,29 @@ | ||
#### 1.4.0-beta2 October 31 2019 #### | ||
Fixed [an issue with Snapshot serialization in v1.4.0-beta1](https://github.com/akkadotnet/Akka.Persistence.MongoDB/pull/98) | ||
#### 1.4.0-beta3 February 04 2020 #### | ||
|
||
Introduced legacy serialization modes. | ||
|
||
[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). | ||
|
||
However, in the event that you have one of the following use cases: | ||
|
||
1. Legacy data all stored in the original BSON / "object" format; | ||
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 | ||
3. A requirement to keep all data in human-readable form. | ||
|
||
Then you can disable binary serialization (enabled by default) via the following HOCON: | ||
|
||
``` | ||
akka.persistence.mongodb{ | ||
journal{ | ||
legacy-serialization = off | ||
} | ||
snapshot-store{ | ||
legacy-serialization = off | ||
} | ||
} | ||
``` | ||
|
||
Setting `legacy-serialization = on` will allow you to save objects in a BSON format. | ||
|
||
**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. |
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
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