Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.4.32 Akka.NET Release #5519

Merged
merged 31 commits into from
Jan 18, 2022
Merged

v1.4.32 Akka.NET Release #5519

merged 31 commits into from
Jan 18, 2022

Conversation

Aaronontheweb
Copy link
Member

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.

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

Aaronontheweb and others added 30 commits December 21, 2021 00:33
…ent (#5463)

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
* Add title casing to CI

* fixed all titles to use appropriate case
* reorganized contribution documentation into its own area

* more clean up

* API change docs

* Fleshing out API change policy

* fixed typos and added instructions for running the API Approval Tests

* finished API changes article

* begin updating documentation contribution guidelines

* added markdown linting instructions

* finished documentation guidelines

* fixed markdown linter rules

* fixed spellcheck issues

* fixed titlecase

* fixed header

* completed release process documentation

* finished adding wire compatibility documentation

* fixed title casing

* markdown linting

* fix typos

* more linting

* more linting

* fixed numerous `!code` references

* fixed documentation errors on DocFx tags

* fleshed out section on expecting messages in fixed order

* finished debugging section

* fixed spelling errors
* docs: fixed broken links in the build-process area

* fixed links
* adding centralized contributing explainer

* finished contributing index

* fixed MNTR links from `build-process.md`
* Add scala porting guide to the documentation

* Fix for linter errors

* Fix linter errors

* Fix linter errors
* Update Akka.MultiNode.TestAdapter to 1.1.0-beta2

* Mark MultiNodeFactAttribute with the ObsoleteAttribute

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
Remove backquote before "Wait-Freedom" header so it's properly formatted.
* Add documentation on the new Akka.MultiNode.TestAdapter package

* Fix docfx.json, remove removed page from toc.yml

* Fix linter errors

* Modernize the old documentation to use the [!code] tag

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
* * Created getting-started sub-directory
* Created Tutorial Overview
* Moved all the Tutorials into getting-started sub-directory of intro

* Fix linting issues

* Fix linting issues

* Resolves:
1. #5500 (comment)

2. #5500 (comment)
* * Moved ~/articles/hocon/index.md --> ~/articles/configuration/hocon.md

* Moved ~/articles/concepts/configuration.md --> ~/articles/configuration/index.md

* Moved ~/articles/configuration/* (all of the module-specific configurations) --> ~/articles/configuration/modules/*

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
* Bump Hyperion from 0.11.2 to 0.12.0

* Implement Hyperion TypeFilter feature. Add HOCON config and HyperionSerializerSetup support.
… to MemoryJournal to minimize external variable (#5514)
* cleaning up `async Task` internals inside `AsyncWriteJournal`
@Aaronontheweb Aaronontheweb merged commit f47465d into master Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants