MessagePack for C# (.NET, .NET Core, Unity, Xamarin) v2.0.299-rc Release Notes

Release Date: 2019-11-30 // over 4 years ago
  • ๐Ÿ”„ Changes:

    ๐Ÿ›  Fixes:

    • #680: Allocate too small buffer each times in LZ4 serialization

    โœจ Enhancements:

    • #690: Fix CreatePeekReader so it's truly equivalent to the original
    • #681: Add Compression.LZ4ContiguousBlock and implementation
    • ๐Ÿ‘ #677: API support for multiple compression schemes

    Others:

    • #695: Avoid double-enumeration when serializing unknown collection types
    • #693: Bring back -rc suffix
    • #691: Replace all creation of Sequence except in SequencePool ๐Ÿ‘€ See More #688: new Sequence should not use because that allocate many small buffers. ๐Ÿšš #687: Remove formatter instance cache from TypelessFormatter #689: Avoid the large object heap (LOH) for LZ4 buffers ๐Ÿšš #686: Remove private resolver list from DynamicObjectTypeFallbackFormatter #685: Use recycled Sequence for LZ4 compression #679: Why does DynamicObjectTypeFallbackFormatter have a private collection of resolvers? ๐Ÿ“š #682: Update documentation for removal of LZ4Standard ๐Ÿ“š #676: Documentation errors ๐Ÿ“ฆ #673: Remove explicit MessagePack.Annotations dependency from extension packages ๐Ÿ‘ท #674: Document location of our CI feed ๐Ÿš€ This list of changes was auto generated.

    API diff:

    diff --git a/src/MessagePack/PublicAPI.Unshipped.txt b/src/MessagePack/PublicAPI.Unshipped.txtindex 275f4c3..69cbbaf 100644-MessagePack.Formatters.DynamicObjectTypeFallbackFormatter.DynamicObjectTypeFallbackFormatter(params MessagePack.IFormatterResolver[] innerResolvers) -\> void-MessagePack.Formatters.TypelessFormatter.TypelessFormatter() -\> void+MessagePack.MessagePackCompression+MessagePack.MessagePackCompression.Lz4Block = 1 -\> MessagePack.MessagePackCompression+MessagePack.MessagePackCompression.Lz4BlockArray = 2 -\> MessagePack.MessagePackCompression+MessagePack.MessagePackCompression.None = 0 -\> MessagePack.MessagePackCompression-MessagePack.MessagePackSerializerOptions.MessagePackSerializerOptions(MessagePack.IFormatterResolver resolver, bool useLZ4Compression = false) -\> void+MessagePack.MessagePackSerializerOptions.Compression.get -\> MessagePack.MessagePackCompression+MessagePack.MessagePackSerializerOptions.MessagePackSerializerOptions(MessagePack.IFormatterResolver resolver) -\> void-MessagePack.MessagePackSerializerOptions.UseLZ4Compression.get -\> bool-MessagePack.MessagePackSerializerOptions.WithLZ4Compression(bool useLZ4Compression = true) -\> MessagePack.MessagePackSerializerOptions+MessagePack.MessagePackSerializerOptions.WithCompression(MessagePack.MessagePackCompression compression) -\> MessagePack.MessagePackSerializerOptions-MessagePack.Resolvers.TypelessObjectResolver.Formatter.get -\> MessagePack.Formatters.TypelessFormatter-MessagePack.Resolvers.TypelessObjectResolver.Formatter.set -\> void-MessagePack.Resolvers.TypelessObjectResolver.TypelessObjectResolver() -\> void-static MessagePack.MessagePackSerializerOptions.LZ4Standard.get -\> MessagePack.MessagePackSerializerOptions+static readonly MessagePack.Formatters.DynamicObjectTypeFallbackFormatter.Instance -\> MessagePack.Formatters.IMessagePackFormatter\<object\>+static readonly MessagePack.Formatters.TypelessFormatter.Instance -\> MessagePack.Formatters.IMessagePackFormatter\<object\>-static readonly MessagePack.Resolvers.ContractlessStandardResolver.ObjectFallbackFormatter -\> MessagePack.Formatters.IMessagePackFormatter\<object\>-static readonly MessagePack.Resolvers.ContractlessStandardResolverAllowPrivate.ObjectFallbackFormatter -\> MessagePack.Formatters.IMessagePackFormatter\<object\>-static readonly MessagePack.Resolvers.StandardResolver.ObjectFallbackFormatter -\> MessagePack.Formatters.IMessagePackFormatter\<object\>-static readonly MessagePack.Resolvers.StandardResolverAllowPrivate.ObjectFallbackFormatter -\> MessagePack.Formatters.IMessagePackFormatter\<object\>+static readonly MessagePack.Resolvers.TypelessObjectResolver.Instance -\> MessagePack.IFormatterResolver