What's Changed
This is a big release that should be mostly compatible with v0.5.2. There are two large changes:
- There is a new
ISerialize<T>
interface which will eventually become the replacement forISerialize
entirely. The idea is to mirror theISerialize<T>
andIDeserialize<T>
interfaces and use the same structure for both. - There is a new TypeInfo class which is used to drive serialization of pre-defined types. This should improve code quality and performance in the most common scenarios.
The next release will be a breaking change to move off ISerialize
to ISerialize<T>
entirely. This is a transitional release where both interfaces stay around.
- Also implement ISerializeWrap on enum wrappers by @agocke in #143
- Add generic ISerialize by @agocke in #144
- Bump package version to 0.5.3 by @agocke in #145
- Add sample for deserializing inline union by @agocke in #147
- Implement ISerialize as well as ISerialize by @agocke in #148
- Implement a better union example and allow SerdeTypeOptions on enum by @agocke in #149
- Preview version by @agocke in #150
- Bump version of main project by @agocke in #151
- Remove contravariance from ISerialize by @agocke in #152
- Fix benchmarking project by @agocke in #153
- Add exe proj for doing perf traces by @agocke in #154
- Fix pack by @agocke in #155
- Also fix publish by @agocke in #156
- Fix type wrapping order by @agocke in #157
- Bump serde version by @agocke in #158
- Use boxed interface visitors instead of constrained generics by @agocke in #159
- Remove constrained generic from Deserialize by @agocke in #160
- Bump version to preview 6 by @agocke in #161
- Add FieldMap abstraction by @agocke in #162
- Rename FieldMap to Typeinfo by @agocke in #163
- Generate typeinfo in source generator by @agocke in #164
- Implement Deserialize using TypeInfo by @agocke in #165
- Fix assignment tracking by @agocke in #166
- Upgrade to net8.0 by @agocke in #167
- Allow using TypeInfo for deserializing collections by @agocke in #168
- Bump version to p7 and move to net8.0 by @agocke in #169
- Update Serde version to 0.6.0 by @agocke in #170
- Use TypeInfo in serialization by @agocke in #171
Full Changelog: v0.5.2...v0.6.0