Skip to content

v0.6.0-preview7

Pre-release
Pre-release
Compare
Choose a tag to compare
@agocke agocke released this 28 Jun 23:09
· 19 commits to main since this release
fa77668

What's Changed

Adds a new "Serde.TypeInfo" abstraction. This abstraction addresses a lot of different issues:

  • Avoids overuse of generic virtual methods, causing perf and size problems on Native AOT
  • Reduces codegen by removing the expensive visitor abstraction
  • Provides uniform way of accessing attributes at little to no performance overhead

Right now this abstraction is provided in addition to the old visitors. Once scenarios have been proved out, old abstractions will likely be removed. Some visitor abstraction will likely stick around for scenarios that need maximum flexibility, but they will be less common and more specialized.

Full Changelog: v0.6.0-preview6...v0.6.0-preview7