1.4.32 January 19 2022
Akka.NET v1.4.32 is a minor release that contains some API improvements. Most of the changes have been aimed at improving our web documentation and code cleanup to modernize some of our code. One big improvement in this version release is the Hyperion serialization update.
Hyperion 0.12.0 introduces a new deserialization security mechanism to allow users to selectively filter allowed types during deserialization to prevent deserialization of untrusted data described here. This new feature is exposed in Akka.NET in HOCON through the new akka.actor.serialization-settings.hyperion.allowed-types
settings or programmatically through the new WithTypeFilter
method in the HyperionSerializerSetup
class.
The simplest way to programmatically describe the type filter is to use the convenience class TypeFilterBuilder
:
var typeFilter = TypeFilterBuilder.Create()
.Include<AllowedClassA>()
.Include<AllowedClassB>()
.Build();
var setup = HyperionSerializerSetup.Default
.WithTypeFilter(typeFilter);
You can also create your own implementation of ITypeFilter
and pass an instance of it into the WithTypeFilter
method.
For complete documentation, please read the Hyperion readme on filtering types for secure deserialization.
- Akka.Streams: Added Flow.LazyInitAsync and Sink.LazyInitSink to replace Sink.LazyInit
- Akka.Serialization.Hyperion: Implement the new ITypeFilter security feature
If you want to see the full set of changes made in Akka.NET v1.4.32, click here.
COMMITS | LOC+ | LOC- | AUTHOR |
---|---|---|---|
11 | 1752 | 511 | Aaron Stannard |
8 | 1433 | 534 | Gregorius Soedharmo |
3 | 754 | 222 | Ismael Hamed |
2 | 3 | 6 | Brah McDude |
2 | 227 | 124 | Ebere Abanonu |
1 | 331 | 331 | Sean Killeen |
1 | 1 | 1 | TangkasOka |
Changes:
- f47465d Merge pull request #5519 from akkadotnet/dev
- 2ae5dc1 Merge branch 'master' into dev
- 73f7eb2 Added link to v1.4.32 milestone to
RELEASE_NOTES.md
- 54163d6 Update RELEASE_NOTES.md for 1.4.32 release (#5518)
- 93c7031 cleaning up
async Task
internals insideAsyncWriteJournal
(#5505) - 811ab74 Switch Akka.Cluster.Benchmark persistence benchmark from using SQLite to MemoryJournal to minimize external variable (#5514)
- 5223ed4 Bump Hyperion to 0.12.0 (#5510)
- e1c89cc Benchmark.NET Akka.Persistence Benchmarks (#5509)
- 968b0dd Added
wsl
reboot instructions to debugging documentation (#5508) - 7cce1a6 Re-organize Configuration documentation (#5501)
See More
- 3706c6f Added getting started to documentation (#5500)
- 2896372 code cleanup on Akka.Persistence (#5497)
- 4ba2443 Add documentation on the new Akka.MultiNode.TestAdapter package (#5490)
- c219bcc Bump Akka.MultiNode.TestAdapter from 1.1.0-beta2 to 1.1.0 (#5494)
- f58a07a Fix build script, MNTR should output to TestResults/multinode (#5492)
- 64ba638 Update terminology.md (#5491)
- 4edb257 Update Akka.MultiNode.TestAdapter to 1.1.0-beta2 (#5458)
- 654be59 Add debugging tips to the community guideline documentation (#5480)
- f2994d7 Add scala porting guide to the documentation (#5479)
- 1051518 Add Flow.LazyInitAsync, and fix materialized value of Sink.LazyInit must be a Task (#5476)
- 3e9248c Added Github Discussions to top of website (#5474)
- 81f0cb3 remove CONTRIBUTING.md (#5473)
- c9caf70 docs: "How to Contribute to Akka.NET" (#5472)
- 95218dc Added support for copying .HTML files in DocFx (#5471)
- d1cb7ec docs: fixed broken links in the build-process area (#5470)
- a52b914 Add random factor for CircuitBreaker (#5459)
- 71289e6 Avoid nightly jobs in forked projects (#5469)
- 9760fd4 Updated Contribution Guidelines (#5461)
- 01cfa20 Docs markdown linting for title casing (#5465)
- aac0c7c fixed FishUntilMessage test methods names and removed irrelevant comment (#5463)
- fbb580f fixed wrong comment (#5462)
- c472d4f Added v1.4.32 placeholder for nightlies (#5457)
This list of changes was auto generated.