messagepack.annotations breaking changes
messagepack.annotations 4.0.0 (December 4, 2026) is its newest release with breaking changes, 38 of them. The first: Removed CompositeResolver.Create. Every breaking API change we have recorded in messagepack.annotations on NuGet: 43 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released December 4, 2026. Source repository
Packages on NuGet run on .NET. .NET end of life dates.
- From 4.0.0-rc.1 to 4.0.0: 38 breaking changes in 1 version.
messagepack.annotations 4.0.0 breaking changes
- Removed
CompositeResolver.Create
Combine factories with MessagePackFormatterFactory.Combine. github.com - Removed
MessagePack.IgnoreMemberAttribute
MessagePack.IgnoreMemberAttribute was removed in MessagePack.Annotations 4.0.0 nuget.org - Removed
MessagePack.IMessagePackSerializationCallbackReceiver
MessagePack.IMessagePackSerializationCallbackReceiver was removed in MessagePack.Annotations 4.0.0 nuget.org - Removed
MessagePack.KeyAttribute
MessagePack.KeyAttribute was removed in MessagePack.Annotations 4.0.0 nuget.org - Removed
MessagePack.MessagePackFormatterAttribute
MessagePack.MessagePackFormatterAttribute was removed in MessagePack.Annotations 4.0.0 nuget.org - Removed
MessagePack.MessagePackObjectAttribute
MessagePack.MessagePackObjectAttribute was removed in MessagePack.Annotations 4.0.0 nuget.org - Removed
MessagePack.SerializationConstructorAttribute
MessagePack.SerializationConstructorAttribute was removed in MessagePack.Annotations 4.0.0 nuget.org - Removed
MessagePackAnalyzer
The separate analyzer package is removed; analyzers ship inside the MessagePack package. github.com - Removed
MessagePackAssumedFormattable
Declare the type with the assembly-level MessagePackKnownType attribute instead. github.com - Removed
MessagePackKnownFormatter
Generated formatters register themselves, so these attributes must be removed. github.com - Removed
MessagePackReader.NextCode
Use TryPeek with an out byte to read the next code. github.com - Removed
MessagePackSerializer.DefaultOptions
Pass the options to each call instead of setting a global default. github.com - Removed
MessagePackSerializer.Deserialize
The overload with an out bytesRead parameter is gone; use DeserializeMessagesAsync for streams. github.com - Removed
MessagePackStreamReader
Use DeserializeMessagesAsync or DeserializeElementsAsync instead. github.com - Removed
NativeGuidResolver
Use MessagePackFormatterFactory.DotNetOptimized, which also changes DateTime, DateTimeOffset and BitArray. github.com - Removed
options.WithResolver
Use a with-expression to set the Resolver property instead. github.com - Removed
options.WithSecurity
Untrusted-data security is on by default, so the call is removed. github.com - Removed
StandardResolver.Instance
Use MessagePackFormatterFactory.Default instead. github.com - Removed
Union
Union tags that take an assembly-qualified name string are removed; use typeof. github.com - Removed
UnityBlitResolver
UnityBlitResolver and UnityBlitWithPrimitiveArrayResolver are gone with no replacement. github.com - Removed
UnityResolver
Use MessagePackFormatterFactory.Default.WithUnity() instead. github.com - Renamed
IFormatterResolver
Use MessagePackFormatterResolver where IFormatterResolver was used. github.com - Renamed
MessagePackReader.Consumed
Read BytesConsumed in place of Consumed. github.com - Renamed
MessagePackReader.ReadNil
Use TryReadNil in place of ReadNil and IsNil. github.com - Renamed
MessagePackSerializerOptions.Standard
Use MessagePackSerializerOptions.Default in place of Standard. github.com - Renamed
Union
Apply UnionTag to each subtype; the root type also needs MessagePackObject. github.com - Behavior changed
Review NoWarn and editorconfig entries for MsgPack001 to MsgPack018. github.com - Behavior changed
System.Type and ExpandoObject are no longer served by the default formatter chain. github.com - Behavior changed
Key
Renumber keys above 65,535, which now fail with MsgPack008. github.com - Behavior changed
MessagePackObjectAttribute
Subclasses of the attribute no longer compile; apply MessagePackObject directly. github.com - Behavior changed
MessagePackSerializer
Passing null options throws ArgumentNullException; pass options or use the overload without them. github.com - Behavior changed
MessagePackWriter.WriteInt32
The v3 names write the smallest encoding; use WriteForcedInt32 etc. for fixed width. github.com - Default changed
HashFloodingResistant
Collections are created with a hash-flooding-resistant comparer that persists after deserialization. github.com - Default changed
MaxDepth
Deeply nested payloads beyond 500 levels are rejected unless MaxDepth is raised. github.com - Default changed
options.WithLz4Block
Messages decompressing past 64 MB fail unless a larger maxDecompressedSize is passed. github.com - Signature changed
IMessagePackFormatter
Formatters are generic over buffers and no longer take options; rebuild every library that ships formatters. github.com - Signature changed
MessagePackFormatter
The attribute names a factory or open generic formatter, and its property is FactoryType. github.com - Signature changed
MessagePackSerializer.Deserialize
Pass memory.Span to Deserialize<T> in place of the ReadOnlyMemory overload. github.com
messagepack.annotations 4.0.0-rc.1 breaking changes
- Behavior changed
Non-generic collection subclasses under Typeless are written with each element's type name again. github.com - Behavior changed
A constructor parameter missing from the payload now takes its declared default value. github.com - Behavior changed
MaxBufferedMessageSize
Non-positive values are now rejected for this setting. github.com - Default changed
ValidateNullableAnnotations
Nil for non-nullable members now throws on read and null throws on write unless the check is turned off. github.com - Configuration changed
Netstandard assets now require System.IO.Pipelines and Microsoft.Bcl.AsyncInterfaces 8.0.0 instead of 10.0.0. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.