---
title: "messagepack 4.0.0 Breaking Changes on NuGet | Since.dev"
description: "What each messagepack release removed, renamed or changed: 636 breaking changes in 4 versions on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/messagepack
last_updated: 2026-12-04
---

# messagepack breaking changes

messagepack 4.0.0 (December 4, 2026) is its newest release with breaking changes, 620 of them. The first: MessagePackAnalyzer package removed in MessagePack 4.0.0. Every breaking API change we have recorded in messagepack on NuGet: 636 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released December 4, 2026. [Source repository](https://github.com/Cysharp/MessagePack-CSharp)

Its 3.0.3 release drops [.NET 6](https://since.dev/calendar/dotnet/6.md). [.NET end of life dates](https://since.dev/calendar/dotnet.md).

- From [3.0.3](#v-3-0-3) to [4.0.0](#v-4-0-0): 621 breaking changes in 2 versions.

## messagepack 4.0.0 breaking changes

messagepack 4.0.0, released December 4, 2026: 620 breaking changes.

- **Removed**  

Remove the MessagePackAnalyzer package; analyzers now ship inside the MessagePack package. [github.com](https://github.com/Cysharp/MessagePack-CSharp/blob/master/doc/migrating%5Fv3-v4.md)
- **Removed** `Deserialize`  

For several messages on one stream, use DeserializeMessagesAsync. [github.com](https://github.com/Cysharp/MessagePack-CSharp/blob/master/doc/migrating%5Fv3-v4.md)
- **Removed** `MessagePack.CompositeResolverAttribute`  

MessagePack.CompositeResolverAttribute was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.ExtensionHeader`  

MessagePack.ExtensionHeader was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.ExtensionResult`  

MessagePack.ExtensionResult was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.FormatterNotRegisteredException`  

MessagePack.FormatterNotRegisteredException was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.FormatterResolverExtensions`  

MessagePack.FormatterResolverExtensions was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.BigIntegerFormatter.Instance`  

MessagePack.Formatters.BigIntegerFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.BitArrayFormatter.Instance`  

MessagePack.Formatters.BitArrayFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.BooleanArrayFormatter`  

MessagePack.Formatters.BooleanArrayFormatter was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.BooleanFormatter.Instance`  

MessagePack.Formatters.BooleanFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ByteArrayFormatter.Instance`  

MessagePack.Formatters.ByteArrayFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ByteArraySegmentFormatter.Instance`  

MessagePack.Formatters.ByteArraySegmentFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ByteFormatter.Instance`  

MessagePack.Formatters.ByteFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ByteListFormatter.Instance`  

MessagePack.Formatters.ByteListFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ByteMemoryFormatter.Instance`  

MessagePack.Formatters.ByteMemoryFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ByteReadOnlyMemoryFormatter.Instance`  

MessagePack.Formatters.ByteReadOnlyMemoryFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ByteReadOnlySequenceFormatter.Instance`  

MessagePack.Formatters.ByteReadOnlySequenceFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.CharArrayFormatter`  

MessagePack.Formatters.CharArrayFormatter was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.CharFormatter.Instance`  

MessagePack.Formatters.CharFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.CollectionFormatterBase`  

MessagePack.Formatters.CollectionFormatterBase was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ComplexFormatter.Instance`  

MessagePack.Formatters.ComplexFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.DateTimeArrayFormatter`  

MessagePack.Formatters.DateTimeArrayFormatter was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.DateTimeFormatter.Instance`  

MessagePack.Formatters.DateTimeFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.DateTimeOffsetFormatter.Instance`  

MessagePack.Formatters.DateTimeOffsetFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.DecimalFormatter.Instance`  

MessagePack.Formatters.DecimalFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.DictionaryFormatterBase`  

MessagePack.Formatters.DictionaryFormatterBase was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.DoubleArrayFormatter`  

MessagePack.Formatters.DoubleArrayFormatter was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.DoubleFormatter.Instance`  

MessagePack.Formatters.DoubleFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.DynamicObjectTypeFallbackFormatter`  

MessagePack.Formatters.DynamicObjectTypeFallbackFormatter was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ExpandoObjectFormatter.Instance`  

MessagePack.Formatters.ExpandoObjectFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceByteBlockFormatter.Instance`  

MessagePack.Formatters.ForceByteBlockFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceInt16BlockArrayFormatter.Instance`  

MessagePack.Formatters.ForceInt16BlockArrayFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceInt16BlockFormatter.Instance`  

MessagePack.Formatters.ForceInt16BlockFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceInt32BlockArrayFormatter.Instance`  

MessagePack.Formatters.ForceInt32BlockArrayFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceInt32BlockFormatter.Instance`  

MessagePack.Formatters.ForceInt32BlockFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceInt64BlockArrayFormatter.Instance`  

MessagePack.Formatters.ForceInt64BlockArrayFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceInt64BlockFormatter.Instance`  

MessagePack.Formatters.ForceInt64BlockFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceSByteBlockArrayFormatter.Instance`  

MessagePack.Formatters.ForceSByteBlockArrayFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceSByteBlockFormatter.Instance`  

MessagePack.Formatters.ForceSByteBlockFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceUInt16BlockArrayFormatter.Instance`  

MessagePack.Formatters.ForceUInt16BlockArrayFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceUInt16BlockFormatter.Instance`  

MessagePack.Formatters.ForceUInt16BlockFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceUInt32BlockArrayFormatter.Instance`  

MessagePack.Formatters.ForceUInt32BlockArrayFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceUInt32BlockFormatter.Instance`  

MessagePack.Formatters.ForceUInt32BlockFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceUInt64BlockArrayFormatter.Instance`  

MessagePack.Formatters.ForceUInt64BlockArrayFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.ForceUInt64BlockFormatter.Instance`  

MessagePack.Formatters.ForceUInt64BlockFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.GenericEnumFormatter`  

MessagePack.Formatters.GenericEnumFormatter was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.GuidFormatter.Instance`  

MessagePack.Formatters.GuidFormatter.Instance was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.IgnoreFormatter`  

MessagePack.Formatters.IgnoreFormatter was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)
- **Removed** `MessagePack.Formatters.IMessagePackFormatter`  

MessagePack.Formatters.IMessagePackFormatter was removed in MessagePack 4.0.0 [nuget.org](https://www.nuget.org/packages/MessagePack/4.0.0)

And 570 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## messagepack 4.0.0-rc.1 breaking changes

messagepack 4.0.0-rc.1, released December 4, 2026: 1 breaking change.

- **Default changed** `ValidateNullableAnnotations`  

Null values for non-nullable members now throw on serialization and deserialization unless the check is turned off. [github.com](https://github.com/Cysharp/MessagePack-CSharp/releases/tag/v4.0.0-rc.1)

## messagepack 3.0.3 breaking changes

messagepack 3.0.3, released December 6, 2024: 14 breaking changes.

- **Removed**  

Support for Roslyn 3.8 has been removed. [github.com](https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.0.3)
- **Removed**  

The mpc command-line tool is no longer available; formatters are generated by Roslyn source generators instead. [github.com](https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.0.3)
- **Removed**  

The package no longer supports .NET 6 as a target. [github.com](https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.0.3)
- **Removed** `MessagePack.MessagePackSecurity.MaximumDecompressedSize`  

MessagePack.MessagePackSecurity.MaximumDecompressedSize was removed in MessagePack 3.0.3 [nuget.org](https://www.nuget.org/packages/MessagePack/3.0.3)
- **Removed** `MessagePack.MessagePackSecurity.WithMaximumDecompressedSize`  

MessagePack.MessagePackSecurity.WithMaximumDecompressedSize was removed in MessagePack 3.0.3 [nuget.org](https://www.nuget.org/packages/MessagePack/3.0.3)
- **Removed** `MessagePack.MessagePackSerializerOptions.ThrowIfDeserializingTypeIsDisallowedCore`  

MessagePack.MessagePackSerializerOptions.ThrowIfDeserializingTypeIsDisallowedCore was removed in MessagePack 3.0.3 [nuget.org](https://www.nuget.org/packages/MessagePack/3.0.3)
- **Removed** `MessagePackWindow`  

The MessagePackWindow in Unity has been removed. [github.com](https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.0.3)
- **Behavior changed**  

Custom formatters defined in the same assembly are picked up automatically; attribute the formatter with ExcludeFormatterFromSourceGeneratedResolverAttribute to opt out. [github.com](https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.0.3)
- **Behavior changed**  

Formatters are now source generated by default, and analyzers are on by default, which can change how existing code compiles and runs. [github.com](https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.0.3)
- **Behavior changed**  

Unity users must consume the package through NuGetForUnity and UPM instead of the .unitypackage file. [github.com](https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.0.3)

And 4 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## messagepack 2.6.95-alpha breaking changes

messagepack 2.6.95-alpha, released December 6, 2024: 1 breaking change.

- **Behavior changed**  

The code generation tooling moved from an MSBuild task to a Roslyn source generator, so build setups that depended on the old task may need to change. [github.com](https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v2.6.95-alpha)

## Related packages

- [messagepack.aspnetcoremvcformatter](https://since.dev/packages/nuget/messagepack.aspnetcoremvcformatter.md)
- [messagepack.annotations](https://since.dev/packages/nuget/messagepack.annotations.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
