diff --git a/src/common.props b/src/common.props
index 9f3fc117438..204d9d08822 100644
--- a/src/common.props
+++ b/src/common.props
@@ -13,7 +13,7 @@
2.4.1
2.4.3
17.0.0
- 0.12.0
+ 0.12.2
[12.0.3,)
2.0.1
3.19.4
diff --git a/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionConfigTests.cs b/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionConfigTests.cs
index 33f8ccd1f84..8894886ef63 100644
--- a/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionConfigTests.cs
+++ b/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionConfigTests.cs
@@ -93,12 +93,14 @@ public void TypeFilter_defined_in_config_should_filter_serializer_properly(objec
");
using (var system = ActorSystem.Create(nameof(HyperionConfigTests), config))
{
- var serializer = (HyperionSerializer)system.Serialization.FindSerializerForType(typeof(object));
+ var deserializer = (HyperionSerializer)system.Serialization.FindSerializerForType(typeof(object));
+ var serializer = new HyperionSerializer(null, deserializer.Settings.WithDisallowUnsafeType(false));
- ((TypeFilter)serializer.Settings.TypeFilter).FilteredTypes.Count.Should().Be(2);
+ ((TypeFilter)deserializer.Settings.TypeFilter).FilteredTypes.Count.Should().Be(2);
+
var serialized = serializer.ToBinary(sampleObject);
object deserialized = null;
- Action act = () => deserialized = serializer.FromBinary