Skip to content

Commit fbe7ece

Browse files
authored
Update RELEASE_NOTE.md for version 0.10.1 release (#215)
1 parent 8d6bffd commit fbe7ece

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,2 @@
1-
### 0.10.0 April 13 2021 ####
2-
* [Add a generic cross platform serialization support](https://github.com/akkadotnet/Hyperion/pull/208)
3-
4-
# Cross platform serialization
5-
6-
You can now address any cross platform package serialization differences by providing a list of package name transformation lambda function into the `SerializerOptions` constructor. The package name will be passed into the lambda function before it is deserialized, and the result of the string transformation is used for deserialization instead of the original package name.
7-
8-
This short example shows how to address the change from `System.Drawing` in .NET Framework to `System.Drawing.Primitives` in .NET Core:
9-
10-
```
11-
Serializer serializer;
12-
#if NETFX
13-
serializer = new Serializer(new SerializerOptions(
14-
packageNameOverrides: new List<Func<string, string>> {
15-
str => str.Contains("System.Drawing.Primitives") ? str.Replace(".Primitives", "") : str
16-
}));
17-
#elif NETCOREAPP
18-
serializer = new Serializer();
19-
#endif
20-
```
21-
22-
Note that only one package name transformation is allowed, any transform lambda function after the first applied transformation is ignored.
1+
### 0.10.1 April 20 2021 ####
2+
* [Fix SerializerOptions constructor backward compatibility issue with Akka.NET](https://github.com/akkadotnet/Hyperion/pull/214)

0 commit comments

Comments
 (0)