Skip to content

v0.1.705-alpha

Pre-release
Pre-release

Choose a tag to compare

@AArnott AArnott released this 05 Nov 17:00
· 1688 commits to main since this release
ad42887

What's Changed

This is our initial release. Your feedback is most welcome!

Features

  • Serializes in the compact and fast MessagePack format.
  • Performance is on par with the highly tuned and popular MessagePack-CSharp library.
  • Automatically serialize any type annotated with the TypeShape-csharp [GenerateShape] attribute.
  • Automatically serialize non-annotated types by adding a 'witness' type with a similar annotation.
  • Fast ref-based serialization and deserialization minimizes copying of large structs.
  • NativeAOT and trimming compatible.
  • Keep memory pressure low by using async serialization directly to/from I/O like a network, IPC pipe or file.
  • Primitive msgpack reader and writer APIs for low-level scenarios.
  • Author custom converters for advanced scenarios.
  • Security mitigations for stack overflows.
  • Optionally serialize your custom types as arrays of values instead of maps of names and value for more compact representation and even higher performance.
  • Support for serializing instances of certain types derived from the declared type and deserializing them back to their original runtime types using unions.

New Contributors

  • @github-actions made their first contribution in #2

Full Changelog: https://github.com/AArnott/Nerdbank.MessagePack/commits/v0.1.705-alpha