github Cysharp/MessagePack-CSharp v4.0.0

2 hours ago

MessagePack for C# v4.0.0 is now available on NuGet.

v4 is a complete redesign of MessagePack for C#: more than twice the performance, stronger safety defaults, first-class Native AOT support and many new features, including support for C# 15 union types, while staying wire-compatible with v3. The basic API shape is the same, but there are breaking changes. See the README for everything v4 does, and the migration guide for moving from v3.

Bug reports and feedback in the issues are very welcome.

The repository has moved to Cysharp

With this release, the repository moved to the Cysharp organization, the company I work for. This was agreed among the maintainers, and v4 is maintained by me and Cysharp.

What stays the same:

  • MessagePack for C# remains open source under the MIT license.
  • It remains a .NET Foundation project.
  • v3 keeps its current maintenance on the v3.x branch, and security fixes will continue.
  • The NuGet package IDs and the MessagePack namespace do not change.
  • GitHub redirects the old repository URL, so existing links, clones and forks keep working.

Why: a serializer that so many applications depend on needs steady, long-term development, and that takes dedicated funding and engineering time. Moving the project to Cysharp lets us commit both to it.

Thank you to everyone who has used MessagePack for C#, reported issues and contributed over the years. If you have questions or concerns about the move, please open an issue.

Don't miss a new MessagePack-CSharp release

NewReleases is sending notifications on new releases.