NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #205 most downloaded on NuGet
Attributes and interfaces for .NET types serializable with MessagePack.
Latest stable
3.1.12
Last release 1 months ago
12 Oct 2026
Ships unpredictably
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 49 of 50 stable releases
1 version withdrawn
withdrawn after publishing
127 years old
73 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
This list of changes was auto generated.
#854: Port fix to Sequence<T> from Nerdbank.Streams
#852: Link For Unity is broken.
#853: Remove sandbox\XamarinAndroid
#849: Remove unused ENABLE_UNSAFE_MSGPACK
#848: Replaced Span<T>.Fill(0) with Span<T>.Clear() <details><summary><b>See More</b></summary>
#830: Generics in mpc 2 simpler faster
#843: mpc fix, generate collect class name in nested enum.
#825: Rename writer -> reader in BuildDeserialize
This list of changes was auto generated.</details>
## Changes: ### Fixes: * #795: avoid ReadUnaligned on long, ulong, double in Android device * #811: Fix MessagePackSecurity.GetEqualityComparer to not
Your coding agent can read these notes before it upgrades. Set up the MCP server →
MessagePackSecurity.GetEqualityComparer<object> to not return null🔒 Security fixes are included in this release. Read more in our security advisory.
🔒 Security fixes are included in this release. Read more in our security advisory.
ConvertToJson#790: Add the leaveOpen flag to MessagePackStreamReader
#788: Respect EnumMemberAttribute when serializing enum values as strings
#253: Default resolver deserializes ICollection<T> as T[]
#771: Add WriteBinHeader and WriteStringHeader methods to MessagePackWriter <details><summary><b>See More</b></summary>
#767: Add MessagePackReader.TryRead*Header methods
#726: Add MessagePackStreamReader.ReadArrayAsync
#757: Wrap all exceptions thrown from ConvertToJson in MessagePackSerializationException
#735: Make MessagePackReader.ReadDateTime(ExtensionHeader) public
TypelessFormatter.BindToType changeThis list of changes was auto generated.</details>
This list of changes was auto generated.
ConvertToJson in ext formatReadOnlySequence<byte> that it deserializedThis list of changes was auto generated.
Upgrading from 1.x? See our migration doc.
Upgrading from 1.x? See our migration doc.
IBufferWriter<byte> overload to NonGeneric API<details><summary><b>See More</b></summary>
This list of changes was auto generated.</details>
This list of changes was auto generated.
#695: Avoid double-enumeration when serializing unknown collection types
#693: Bring back -rc suffix
#691: Replace all creation of Sequence<byte> except in SequencePool <details><summary><b>See More</b></summary>
#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<T> 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.</details>
diff --git a/src/MessagePack/PublicAPI.Unshipped.txt b/src/MessagePack/PublicAPI.Unshipped.txt
index 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
This list of changes was auto generated.
#648: Move extension type codes
#649: Add v1->v2 migration doc
#632: Add MessagePackReader.ReadRaw()
#608: Offer MessagePackSerializerOptions to collection deserializers <details><summary><b>See More</b></summary>
#609: Add fast path for reading consecutive strings/byte arrays
#513: v2 StringKey(Contractless) deserialization is slow
#603: Add CancellationToken to reader/writer structs
#598: Take CancellationToken parameter in serialize/deserialize methods
#582: Improve compatibility with existing types
#594: Add CancellationToken parameters to synchronous Stream (de)serialize methods
#595: Apply vs-threading analyzers and fix issues they found
#444: TypelessFormatter blacklist handling is insufficient
#576: [Request] NonGeneric Serialize method with the MessagePackWriter
#574: Don't convert Span to array before pinning
MessagePack.GeneratorThis list of changes was auto generated.</details>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.