Repository navigation
Breaking changes to serialization
This release contains two breaking changes to serialization.
First, DateTime serialization is fixed. Previously, it discarded microseconds. This is an incompatible change to the data format. If you need help adapting data using the old format, please file an issue.
Second, the way classes to serialize are discovered has changed. Previously, they were found by searching all available Dart libraries. This was slow and hard to control. Instead, there is a new annotation, @SerializersFor, which needs to be added to your serializers declaration. See the example.