-
Notifications
You must be signed in to change notification settings - Fork 710
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
Breaking Changes for FastSerialization #2121
Breaking Changes for FastSerialization #2121
Commits on Oct 14, 2024
-
- Rename SerializationConfiguration --> SerializationSettings.
- Require an instance of SerializationSettings for serializers and deserializers.
Configuration menu - View commit details
-
Copy full SHA for e8e2daa - Browse repository at this point
Copy the full SHA e8e2daaView commit details -
Require a SerializationSettings property for both IStreamReader and
IStreamWriter to allow writers to directly create readers.
Configuration menu - View commit details
-
Copy full SHA for 1a58e5d - Browse repository at this point
Copy the full SHA 1a58e5dView commit details -
Refactor SerializationSettings to clone on mutation. This ensures that
usres can't change the set of allowed types after it is set and handed to the deserialization code.
Configuration menu - View commit details
-
Copy full SHA for a6e3ac3 - Browse repository at this point
Copy the full SHA a6e3ac3View commit details
Commits on Oct 17, 2024
-
Refactor FastSerialization factories and add known types.
Remove the ability for FastSerialization to create arbitrary types that are specified in serialized files. Instead, force users to register all types before or during serialization. Types can be registered via calls to Deserializer.RegisterType and Deserializer.RegisterFactory. Users can also implement Deserializer.OnUnregisteredType to handle unregistered types encountered during deserialization. It is incumbent on the implementor to not just blindly call Type.GetType in OnUnregisteredType, and instead only create known types.
Configuration menu - View commit details
-
Copy full SHA for 2b78019 - Browse repository at this point
Copy the full SHA 2b78019View commit details
Commits on Oct 18, 2024
-
Add tests and remove RegisterType(string) because users will need to
provide enough context to find the right assembly.
Configuration menu - View commit details
-
Copy full SHA for 855e4f9 - Browse repository at this point
Copy the full SHA 855e4f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 083763a - Browse repository at this point
Copy the full SHA 083763aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dd0e16 - Browse repository at this point
Copy the full SHA 7dd0e16View commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3327d90 - Browse repository at this point
Copy the full SHA 3327d90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3afba20 - Browse repository at this point
Copy the full SHA 3afba20View commit details