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.
Add opt-in non-reflective object comparer for NativeAOT by @hydraxman in #2308
Full Changelog: v3.1.11...v3.1.12
Fix LZ4 decompression integer overflow bug
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixes Unescaped dot metacharacters in AssemblyNameVersionSelectorRegex cause catastrophic backtracking
Full Changelog: v3.1.9...v3.1.10
Fix Nested arrays can blow past buffer length limits via 7fd78bb
Full Changelog: v3.1.8...v3.1.9
Update README built-in supported types list with missing types by @AArnott with @Copilot in https://github.com/MessagePack-CSharp/MessagePack-CSharp/p
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.1.7...v3.1.8
This release fixes 3 high severity and 9 moderate severity security vulnerabilities.
scoped to MessagePackWriter.Write(ReadOnlySpan<T>) methods by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2271This release fixes 3 high severity and 9 moderate severity security vulnerabilities.
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.1.6...v3.1.7
Add several known unsafe 'gadgets' to the disallow list by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2270
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.1.5...v3.1.6
Remove unneeded GetTypeInfo() calls by @Bykiev in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2206
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.1.4...v3.1.5
Fix SkipClrVisibilityChecks to notice private fields in base classes by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2153
GetMemoryCheckResult by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2172Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.1.3...v3.1.4
Fix stackoverflow on analyzer by @neuecc in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2150
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.1.2...v3.1.3
Add missing recursion guard to CodeAnalysisUtilities.GetTypeParameters by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/21
CodeAnalysisUtilities.GetTypeParameters by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2123Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.1.1...v3.1.2
README.md: ÌntKey -> IntKey by @stanoddly in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2098
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.1.0...v3.1.1
Relaxed the conditions in editor.config by @neuecc in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2088
Int128, UInt128, Rune. OrderedDictionary<T, V>. ReadOnlySet<T> serialization supportFull Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.0.301...v3.1.0
Nothing published for this version
Fixed version, release notes see v3.0.3.
Fixed version, release notes see v3.0.3.
Nothing published for this version
Fix and improve generated formatters by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1905
ExcludeFormatterFromSourceGeneratedResolverAttribute by suppressing certain warnings by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1907Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.0.129-beta...v3.0.134-beta
Fix some source generator issues by @AlanLiu90 in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1873
partial modifier required by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1893Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.0.111-alpha...v3.0.129-beta
fixing issue with backing field naming and serialization failing by @epitka in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1785
ExcludeFormatterFromSourceGeneratedResolverAttribute by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1824#if regions related to unity by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1825[MessagePackObject] attribute for generic types by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1859Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v3.0.54-alpha...v3.0.111-alpha
mpc tool is gone. We use roslyn source generators now.
mpc tool is gone. We use roslyn source generators now.[MessagePackFormatter] on parameters by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1678[MessagePackFormatter] on parameters" by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1679[MessagePackFormatter] on parameters and return values by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1680long to int truncation of stream position by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1685[CompositeResolver] attribute that triggers source generation by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1754Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.6.100-alpha...v3.0.54-alpha
Add analyzers to help recognize breaking changes by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2003
See our migration guide. Details blog article
mpc is no longer available. Dynamic formatters still exist (for runtimes that support them), but code that compiles against v3 are unlikely to need them, resulting in better startup performance and improved debugging experience.DynamicObjectResolver supported.[MessagePackObject] types can serialize private members without the application having to switch to DynamicObjectResolverAllowPrivate.[ExcludeFormatterFromSourceGeneratedResolverAttribute].CompositeResolverAttribute offers a faster runtime alternative to the CompositeResolver class..unitypackageILookup<TKey, TElement> deserialized behavior by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1623[MessagePackFormatter] on parameters by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1678[MessagePackFormatter] on parameters" by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1679[MessagePackFormatter] on parameters and return values by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1680long to int truncation of stream position by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1685[CompositeResolver] attribute that triggers source generation by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1754ExcludeFormatterFromSourceGeneratedResolverAttribute by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1824#if regions related to unity by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1825[MessagePackObject] attribute for generic types by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1859partial modifier required by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1893[MessagePackFormatter] on parameters and return values by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1901ExcludeFormatterFromSourceGeneratedResolverAttribute by suppressing certain warnings by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1907MessagePackSerializer.Typeless.Deserialize overload that takes ReadOnlyMemory<byte> by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1959CompositeResolverAttribute much more useful by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1968partial requirements by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2002scoped modifier to in parameters of ref struct by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2021IMessagePackFormatter<T> by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2022MsgPack003 on use of Collection<T> by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2037ImmutableArray<T>.Builder during deserialization by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2044MessagePackPrimitives class by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1986Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.108...v3.0.3
ff3af77
See our migration guide . Details blog article
AOT source generation of formatters by default using roslyn source generators. mpc is no longer available. Dynamic formatters still exist (for runtimes that support them), but code that compiles against v3 are unlikely to need them, resulting in better startup performance and improved debugging experience.
AOT source generation is hugely improved.
Support most or all of the data types that DynamicObjectResolver supported.
Support for serializing private members.
[MessagePackObject] types can serialize private members without the application having to switch to DynamicObjectResolverAllowPrivate .
Analyzers are on by default, with many new ones to help ensure your code is correct and ready for AOT source generated formatters.
Custom formatters are automatically used for the data types they format when defined in the same assembly, by default. No need to attribute your data types to point to the custom formatter. Opt out by attributing the formatter with [ExcludeFormatterFromSourceGeneratedResolverAttribute] .
New CompositeResolverAttribute offers a faster runtime alternative to the CompositeResolver class.
Consume through NuGetForUnity and UPM instead of through .unitypackage
Fix bug unsafe formatter by @pCYSl5EDgo in #1584
Bump Microsoft.NET.StringTools from 17.4.0 to 17.5.0 by @dependabot in #1588
Add built-in formatters for several more System.Numerics types by @AArnott in #1597
Bump ReactiveProperty from 8.2.0 to 9.1.2 by @dependabot in #1592
Set nullable in unity by @Y-YoL in #1600
Convert mpc and msbuild task package to a roslyn source generator by @AArnott in #1599
Merge master into develop by @AArnott in #1601
Bring back support for the additional allow types by @AArnott in #1602
Report diagnostics instead of throw from TypeCollector by @AArnott in #1605
Enable P2P generic test by @AArnott in #1604
Avoid copying data twice in MessagePackWriter.MemoryCopy when running… by @AlanLiu90 in #1607
Bump Nerdbank.GitVersioning from 3.5.119 to 3.6.128 by @dependabot in #1615
Bump Microsoft.Build.Locator from 1.4.1 to 1.5.5 by @dependabot in #1613
Bump Microsoft.CodeAnalysis.PublicApiAnalyzers from 3.3.3 to 3.3.4 by @dependabot in #1612
Merge master into develop by @AArnott in #1620
Bump NUnit3TestAdapter from 4.3.1 to 4.4.2 by @dependabot in #1614
Bump System.Collections.Immutable from 6.0.0 to 7.0.0 by @dependabot in #1611
Fix the errant package dependency in source generator package by @AArnott in #1622
Fix ILookup<TKey, TElement> deserialized behavior by @AArnott in #1623
Merge latest Library.Template by @AArnott in #1640
Bump Microsoft.NET.StringTools from 17.5.0 to 17.6.3 by @dependabot in #1629
Rollback package dependency versions for analyzers by @AArnott in #1641
move code depending on UnityEditor into separate assembly by @NorbertNemec in #1649
remove MessagePackWindow in Unity by @neuecc in #1651
Union type collect by @Scormave in #1634
Switch from MSBuild properties to an AdditionalFiles json file by @AArnott in #1667
Fix analyzer when only MessagePack.Annotations is referenced by @AArnott in #1674
Allow applying [MessagePackFormatter] on parameters by @AArnott in #1678
Revert "Allow applying [MessagePackFormatter] on parameters" by @AArnott in #1679
Allow applying [MessagePackFormatter] on parameters and return values by @AArnott in #1680
Remove long to int truncation of stream position by @AArnott in #1685
Fix releases links in README text by @KonH in #1688
Better constrain dictionary detection by @AArnott in #1687
Create FUNDING.yml by @AArnott in #1693
Workaround mono runtime bug by @AArnott in #1696
Support to analyze records by @nenoNaninu in #1698
Add MESSAGEPACK_FORCE_AOT preprocessor directive by @brwhelan-msft in #1701
.NET 8 Update(1): stylecop related small update by @pCYSl5EDgo in #1727
.NET 8 Update(0): global.json, Dockerfile, Packages by @pCYSl5EDgo in #1726
.NET 8 Update(2): TargetFrameworks by @pCYSl5EDgo in #1728
.NET 8 Update(3): Microsoft.CodeAnalysis.Analyzers v3.3.4 by @pCYSl5EDgo in #1729
Bump Newtonsoft.Json from 13.0.2 to 13.0.3 by @dependabot in #1656
.NET 8 Update(4): System.Collections.Frozen by @pCYSl5EDgo in #1730
.NET 8 Update(5): System.Collections.Generic.PriorityQueue<TElement, TPriority> by @pCYSl5EDgo in #1731
.NET 8 Update(6): CollectionsMarshal for ListFormatter by @pCYSl5EDgo in #1732
Merge latest Library.Template by @AArnott in #1737
Source Generator configuration via attributes instead of .json file by @AArnott in #1736
Merge master to develop by @AArnott in #1741
Bump Microsoft.CodeAnalysis.Analyzers from 3.3.3 to 3.3.4 by @dependabot in #1633
Bump Microsoft.CodeAnalysis to 4.8.0 for tests by @AArnott in #1742
Bump NUnit3TestAdapter from 4.4.2 to 4.5.0 by @dependabot in #1654
Improved UnityShims for better code sharing by @Scormave in #1585
Drop support for roslyn 3.8 by @AArnott in #1749
IEnumerable serialize improvement: Enumerable.TryGetNonEnumeratedCount by @pCYSl5EDgo in #1751
AOT by default by @AArnott in #1743
Add a [CompositeResolver] attribute that triggers source generation by @AArnott in #1754
Merge Library.Template update by @AArnott in #1763
Bump MicrosoftCodeAnalysisTestingVersion from 1.1.2-beta1.23509.1 to 1.1.2-beta1.24074.2 by @dependabot in #1765
Bump System.Memory from 4.5.4 to 4.5.5 by @dependabot in #1764
.NET 8 Update(8): Update Benchmarks not using Dynamic PGO and BinaryFormatter by @pCYSl5EDgo in #1746
Bump ReactiveProperty from 9.3.4 to 9.5.0 by @dependabot in #1779
fixing issue with backing field naming and serialization failing by @epitka in #1785
Bump Microsoft.NET.StringTools from 17.8.3 to 17.9.5 by @dependabot in #1782
Bump MicrosoftCodeAnalysisTestingVersion from 1.1.2-beta1.24074.2 to 1.1.2-beta1.24121.1 by @dependabot in #1781
Merge latest Library.Template by @AArnott in #1788
Bump MsgPack.Cli from 0.9.0-beta2 to 1.0.1 by @dependabot in #1766
Bump xunit.runner.console from 2.6.5 to 2.7.0 by @dependabot in #1792
Bump Microsoft.CodeAnalysis.ResxSourceGenerator from 3.11.0-beta1.23525.2 to 3.11.0-beta1.24122.1 by @dependabot in #1791
Include all hand-written formatters in the source generated resolver by @AArnott in #1796
Fix source generated formatters for records with string keys by @dmitry-bym in #1798
Use LangVersion=12 everywhere except code that Unity compiles by @AArnott in #1801
Feature/1804 locate formatters only if has elements inside by @nmi-relewise in #1805
Enable ignoring fields by using [NonSerialized] by @mookid8000 in #1808
Source generated formatters that support private members by @AArnott in #1802
Reduce nuget dependencies by @thompson-tomo in #1812
Merge master and dependency updates into develop by @AArnott in #1814
Fix source generator handling of inaccessible custom formatters by @AArnott in #1818
Activate analyzers and source generator by default by @AArnott in #1822
Add ExcludeFormatterFromSourceGeneratedResolverAttribute by @AArnott in #1824
Bump xunit to 2.8.1 by @AArnott in #1834
Raise perf tracking events when formatters are dynamically generated by @AArnott in #1829
Bump Microsoft.NET.StringTools from 17.9.5 to 17.10.4 by @dependabot in #1840
Bump Nerdbank.Streams from 2.10.72 to 2.11.74 by @dependabot in #1839
Eliminate #if regions related to unity by @AArnott in #1825
Merge latest Library.Template by @AArnott in #1841
Preserve code comments when adding attributes to fields by @AArnott in #1842
Add .NET 8 target to mpc by @AArnott in #1832
Merge master to develop by @AArnott in #1846
Fix handling of formatters following the singleton pattern by @AArnott in #1850
Update migration docs by @AArnott in #1858
Report missing [MessagePackObject] attribute for generic types by @AArnott in #1859
Unity consumes messagepack as a nuget package instead of source by @neuecc in #1734
Allow writing to init property setters of generic classes on .NET 6+ by @AArnott in #1879
Fix issues about the equality of AnalyzerOptions and FormatterDescriptor by @AlanLiu90 in #1874
Merge master to develop by @AArnott in #1880
Fix some source generator issues by @AlanLiu90 in #1873
Faster multi-element serialization for primitive types by @pCYSl5EDgo in #1872
Remove Unity related symbols from Nuget projects by @pCYSl5EDgo in #1888
Simd Accelerated bool[] deserialize by @pCYSl5EDgo in #1890
Merge latest Library.Template by @AArnott in #1891
Avoid regenerating all formatters when only one object/union/enum changes by @AlanLiu90 in #1884
Dependency updates by @AArnott in #1892
Fix UnsafeBlitFormatter for the case of endianess mismatch by @pCYSl5EDgo in #1894
Offer code fix for MsgPack011: partial modifier required by @AArnott in #1893
Build beta instead of alpha by @AArnott in #1896
Offer code fix to ignore unattribute members of MessagePackObject types by @AArnott in #1898
Fix UnsafeBlitFormatterBase by @pCYSl5EDgo in #1900
Allow applying [MessagePackFormatter] on parameters and return values by @AArnott in #1901
Fix and improve generated formatters by @AArnott in #1905
Honor ExcludeFormatterFromSourceGeneratedResolverAttribute by suppressing certain warnings by @AArnott in #1907
Fix diagnostic and code fix for MsgPack011 on nesting types by @AArnott in #1910
Make source generation cancellable by @AlanLiu90 in #1912
Fix some source generator issues by @AlanLiu90 in #1921
Lower language version requirement of source generated resolver by @AlanLiu90 in #1926
Adjusted MsgPack004 to support records by @N-Olbert in #1932
Update test project to ensure default language version of generated code is C# 7.3 by @AlanLiu90 in #1934
Add ignore case option to EnumAsStringFormatter by @iguskov1810 in #1936
Improve handling of array types in source generation by @AArnott in #1960
Honor key name overrides in source-generated formatters by @AArnott in #1962
Merge latest Library.Template by @AArnott in #1964
Bump SpanJson from 4.0.0 to 4.2.0 by @dependabot in #1913
Adjusted MsgPack004 to support records by @N-Olbert in #1946
Bump nunit from 3.14.0 to 4.2.2 by @dependabot in #1944
Bump Microsoft.CodeAnalysis.ResxSourceGenerator from 3.11.0-beta1.24225.1 to 3.11.0-beta1.24415.1 by @dependabot in #1942
Add MessagePackSerializer.Typeless.Deserialize overload that takes ReadOnlyMemory<byte> by @AArnott in #1959
Drop unused System.CodeDom package version by @AArnott in #1965
Merge master to develop by @AArnott in #1966
MPC String Value From Key Attribute Fix by @alimakki in #1963
Fix AOT README anchor by @alimakki in #1967
Support formatters for CompositeResolverAttribute by @AlanLiu90 in #1922
Make CompositeResolverAttribute much more useful by @AArnott in #1968
Add MsgPack014 analyzer and code fix by @AArnott in #1969
Avoid GetSemanticModel in analyzer by @AArnott in #1970
Bump Microsoft.NET.StringTools from 17.10.4 to 17.11.4 by @dependabot in #1976
Bump Nerdbank.Streams from 2.11.74 to 2.11.79 by @dependabot in #1974
Merge latest Library.Template by @AArnott in #1977
Update DynamicAssembly usage to honor different AssemblyLoadContext's by @BertanAygun in #1978
Fix detecting duplicate keys by @pkindruk in #1971
Add AOT formatter support for init properties and required members by @AArnott in #1980
Fix analyzers to not mis-interpret source generated formatters as user-defined by @AArnott in #1982
Rename test class for improved discoverability by @AArnott in #1984
Replace DynamicMethod use with private-capable Ref.Emit by @AArnott in #1981
Reader/Writer touch-ups by @AArnott in #1987
Reconcile AllowPrivate behavior by @AArnott in #1990
Allow trimming of benchmarked frameworks by @AArnott in #1988
Bump BenchmarkDotNetVersion from 0.13.12 to 0.14.0 by @dependabot in #1973
Fix pack to include analyzers (more reliably) by @AArnott in #1994
Drop .NET 6 support by @AArnott in #1991
Fix embedded types being generated in resolver by @AlanLiu90 in #2000
Migration improvements: deserializing constructors and less-frequent partial requirements by @AArnott in #2002
Add analyzers to help recognize breaking changes by @AArnott in #2003
Fix handling of name collisions in type hierarchies by @AArnott in #2006
Build 3.0-rc.1 by @AArnott in #2004
Build nuget package with semver v2 by @AArnott in #2009
Update published security policy by @AArnott in #2010
Use a collision-resistant hash algorithm for untrusted data by @AArnott in #2014
Use a collision-resistant hash algorithm for untrusted data by @AArnott in #2015
Secure by default by @AArnott in #2013
Avoid collecting members when it doesn't have [Key] by @AlanLiu90 in #2016
Remove PackageReference to older MessagePack version by @AArnott in #2018
Merge master to develop by @AArnott in #2019
Merge latest Library.Template by @AArnott in #2020
Add scoped modifier to in parameters of ref struct by @AArnott in #2021
Ignore abstract implementations of IMessagePackFormatter<T> by @AArnott in #2022
Suppress MsgPack004 on private base members when only public is interesting by @AArnott in #2023
Avoid collecting fields with custom formatter recusively by @AlanLiu90 in #2028
Support nesting formatters within generic data types by @AArnott in #2030
Apply scoped in more places by @jaredpar in #2029
Use generic type argument used for custom formatters by @AArnott in #2031
Use simpler C# syntax for nullable value types by @AArnott in #2032
Fix simplified name for ValueTuple by @AlanLiu90 in #2033
Avoid crashing with stack overflow on recursive generic type parameter constraints by @AArnott in #2036
Bump dependency versions for .NET 8.0 era by @AArnott in #2041
Fix mis-fire of MsgPack003 on use of Collection<T> by @AArnott in #2037
Refactor reading fixint, fixmap, fixarray, fixstr by @pkindruk in #2026
Avoid allocating an ImmutableArray<T>.Builder during deserialization by @AArnott in #2044
Allow SequencePool to Clear self by @nmi-relewise in #2043
Revert untrusted data default by @AArnott in #2045
Bump SpanJson from 4.2.0 to 4.2.1 by @dependabot in #2051
Bump ReactiveProperty from 9.5.0 to 9.6.0 by @dependabot in #2053
Bump xunit.runner.console from 2.9.0 to 2.9.2 by @dependabot in #2052
Fix bugs in serializing long numbers by @AArnott in #2055
Add MessagePackPrimitives class by @AArnott in #1986
Fix an issue about comparing generic type parameter constraints by @AlanLiu90 in #2056
Fix issues about code analysis and code fix of MsgPack003 by @AlanLiu90 in #2057
Reconcile T4 templates and source code by @AArnott in #2062
Fix serializing BigInteger and Decimal by @AlanLiu90 in #2061
Merge master to develop by @AArnott in #2064
SequencePool support MemoryPool. by @pengweiqhca in #2063
Fix issues about Memory/ReadOnlyMemory/ReadOnlySequence in Source Generator by @AlanLiu90 in #2059
Fix repo url by @tomap in #2065
Fix bugs for Hardware Intrinsics by @pCYSl5EDgo in #2070
Bump Xunit.SkippableFact from 1.4.13 to 1.5.23 by @dependabot in #2078
ci: put set of GitHub Actions workflows to run build and release by @guitarrapc in #2081
Set MaximumObjectGraphDepth to TrustedData by @neuecc in #2073
CI moves to GitHub Actions by @neuecc in #2074
@Y-YoL made their first contribution in #1600
@AlanLiu90 made their first contribution in #1607
@NorbertNemec made their first contribution in #1649
@nenoNaninu made their first contribution in #1698
@brwhelan-msft made their first contribution in #1701
@epitka made their first contribution in #1785
@dmitry-bym made their first contribution in #1798
@nmi-relewise made their first contribution in #1805
@mookid8000 made their first contribution in #1808
@thompson-tomo made their first contribution in #1812
@N-Olbert made their first contribution in #1932
@iguskov1810 made their first contribution in #1936
@alimakki made their first contribution in #1963
@BertanAygun made their first contribution in #1978
@pkindruk made their first contribution in #1971
@jaredpar made their first contribution in #2029
@pengweiqhca made their first contribution in #2063
@tomap made their first contribution in #2065
@guitarrapc made their first contribution in #2081
Full Changelog : v2.5.108...v3.0.3
AArnott, mookid8000, and 23 other contributors
Avoid copying data twice in MessagePackWriter.MemoryCopy when running… by @AlanLiu90 in https://github.com/neuecc/MessagePack-CSharp/pull/1607
ILookup<TKey, TElement> deserialized behavior by @AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1623Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.6.95-alpha...v2.6.100-alpha
Convert mpc and msbuild task package to a roslyn source generator by @AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1599
Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.5.108...v2.6.95-alpha
Fix LZ4 decompression integer overflow bug
Fixes Unescaped dot metacharacters in AssemblyNameVersionSelectorRegex cause catastrophic backtracking
Full Changelog: v2.5.303...v2.5.305
Fix Nested arrays can blow past buffer length limits via 7fd78bb
Full Changelog: v2.5.302...v2.5.303
This is a merge release, combining the security fix from the https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v2.5.205 release wi…
This is a merge release, combining the security fix from the https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v2.5.205 release with the several security fixes from the https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v2.5.301 release.
This release fixes 2 high severity and 9 moderate severity security vulnerabilities as listed below.
This release fixes 2 high severity and 9 moderate severity security vulnerabilities as listed below.
This release is missing #2269 from the v2.5.205 release. We recommend folks adopt the v2.5.302 release which has all the security fixes combined.
Fix repo url by @tomap in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2065
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.192...v2.5.205
Fix repo url by @tomap in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2065
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.192...v2.5.198
Fix bugs in serializing long numbers by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/2055
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.187...v2.5.192
This list of changes was auto generated.
This list of changes was auto generated.
Allow applying [MessagePackFormatter] on parameters and return values by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/190
[MessagePackFormatter] on parameters and return values by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1901Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.171...v2.5.172
Add .NET 8 target to mpc by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1832
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.168...v2.5.171
fixing issue with backing field naming and serialization failing by @epitka in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1785
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.140...v2.5.168
Fix releases links in README text by @KonH in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1688
Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.129...v2.5.140
Remove long to int truncation of stream position by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1685
long to int truncation of stream position by @AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1685Full Changelog: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.124...v2.5.129
Fix bug unsafe formatter by @pCYSl5EDgo in https://github.com/neuecc/MessagePack-CSharp/pull/1584
ILookup<TKey, TElement> deserialized behavior by @AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1623Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.5.108...v2.5.124
fix ThreadsafeTypeKeyHashTable.GetOrAdd stampede issue by @gepa21 in https://github.com/neuecc/MessagePack-CSharp/pull/1577
Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.5.103...v2.5.108
Use Mono.RuntimeStructs rather than Mono.Runtime to test if app is running on Mono runtime by @takeshik in https://github.com/neuecc/MessagePack-CShar
Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.5.94...v2.5.103
MessagePack.Generator RollForward to Major by @neuecc in https://github.com/neuecc/MessagePack-CSharp/pull/1445
StaticCompositeResolver by @AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1527PrimitiveObjectFormatter by @AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1499UnsafeBlitFormatter by @lynzrand in https://github.com/neuecc/MessagePack-CSharp/pull/1551Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.5.64-alpha...v2.5.94
Support string interning when deserializing string as object. by @sa-vg in https://github.com/neuecc/MessagePack-CSharp/pull/1487
Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.4.23-alpha...v2.5.64-alpha
Skip type collection if property has MessagePackFormatterAttribute by @gllebede in https://github.com/neuecc/MessagePack-CSharp/pull/1462
StaticCompositeResolver by @AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1527PrimitiveObjectFormatter by @AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1499Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.4.35...v2.4.59
This list of changes was auto generated.
This list of changes was auto generated.
Fix missing switch statement by @steelywing in https://github.com/neuecc/MessagePack-CSharp/pull/1383
DateOnly and TimeOnly types by @AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1427Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.4.14-alpha...v2.4.23-alpha
Fixed typo in README.MD by @marekott in https://github.com/neuecc/MessagePack-CSharp/pull/1317
float by @pCYSl5EDgo in https://github.com/neuecc/MessagePack-CSharp/pull/1364Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.3.85...v2.4.14-alpha
Drop unsupported platforms by @AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1345
float by @pCYSl5EDgo in https://github.com/neuecc/MessagePack-CSharp/pull/1364Full Changelog: https://github.com/neuecc/MessagePack-CSharp/compare/v2.3.85...v2.3.112
This list of changes was auto generated.
This list of changes was auto generated.
This release includes a behavioral breaking change (relative to our v2.2 releases) for better performance and avoid overriding default values when the…
This release includes a behavioral breaking change (relative to our v2.2 releases) for better performance and avoid overriding default values when the msgpack stream does not include a value for that property (see #1085)
This list of changes was auto generated.
This list of changes was auto generated.
init#1288: Add support for C# 9 record types in mpc
#1241: Allow private constructors for the ContractlessStandardResolver, when using ctor attribute
#1187: Enable serialization IEnumerable<T> and IReadOnlyDictionary<T> descendants that have constructor with relevant collection
#1217: Support for IReadOnlySet<T>
#1213: Add ReadArrayHeaderAsync() and ReadMapHeaderAsync() to MessagePackStr… <details><summary><b>See More</b></summary>
#1176: AspNetCore.Mvc.Formatters Improvements
#1108: Add System.Half support for .NET 5.0
#1124: Target .NET Core 3.1 and 5.0 SDKs in mpc tool
#1122: Offer API to adjust the ArrayPool
#1095: Stop initializing members to their default values when deserializing where no data was provided for that member
#1085: Use contractless resolver without setting default values for missing properties
StandardResolverAllowPrivate[MessagePackObject] or a valid [MessagePackFormatter()]IReadOnlySet<T>MissingMethodException on generic classes with init property settersCtorParameterAndPropertySetterExists test for v2.3 behaviorThis list of changes was auto generated.</details>
This release includes a behavioral breaking change for better performance and avoid overriding default values when the msgpack stream does not include…
init#1213: Add ReadArrayHeaderAsync() and ReadMapHeaderAsync() to MessagePackStr…
#1202: Make cctor defer Reflection that fails in AOT
#1176: AspNetCore.Mvc.Formatters Improvements
#1108: Add System.Half support for .NET 5.0
#1124: Target .NET Core 3.1 and 5.0 SDKs in mpc tool
#1122: Offer API to adjust the ArrayPool <details><summary><b>See More</b></summary>
#1095: Stop initializing members to their default values when deserializing where no data was provided for that member
#1085: Use contractless resolver without setting default values for missing properties
prepare_release.ps1 scriptMissingMethodException on generic classes with init property settersCtorParameterAndPropertySetterExists test for v2.3 behaviorThis list of changes was auto generated.</details>
This release includes a behavioral breaking change for better performance and avoid overriding default values when the msgpack stream does not include a value for that property (see #1085)
This list of changes was auto generated.
fixarray of bytes#1264: Clearly document unity scenarios that require AOT
#1263: Use AssemblyBuilderAccess.RunAndCollect instead of AssemblyBuilderAccess.Run
#1262: Suppress the only build warning we have
#1252: Allow deserializing byte[] from a msgpack array
#1254: Update from Library.Template <details><summary><b>See More</b></summary>
#1244: init.ps1 fails if the repo is stored in a path that has spaces in the name
#1248: Add Odin Serializer to the benchmark (round 2)
#1219: Bump Microsoft.AspNetCore.Mvc.Abstractions from 1.1.2 to 1.1.3 in /src/MessagePack.AspNetCoreMvcFormatter
#1223: Fix readme about mpc
#1192: Fix mpc ignore generic type defined in out side target
#1111: MessagePackGenerator (mpc.exe) ignore generic type definition, that defined outside target project.
This list of changes was auto generated.</details>
This list of changes was auto generated.
CodeGenHelpers#1110: record note to ReadMe
#1109: Fix MessagePackWindow can not run mpc command
#1090: Add descriptions about MessagePack.Experimental.
#1099: Fix mpc arg documentation <details><summary><b>See More</b></summary>
#1107: Simplify #if netcoreapp filters
#1106: UriFormatter should use Uri.OriginalString when serializing
#1100: Fix [MessagePackFormatter(TypelessFormatter)]
#1087: MessagePackSerializer.NonGeneric uses reflection directly on Unity IL2CPP
#1078: Typeless supports interface and abstract
#1089: Support where constraints in mpc.exe string-key.
#1083: Fix handling of [DataMember] that appears on virtual and override properties
#1071: add MessagePack.Annotations.asmdef
#1070: add *.meta
#1069: Json-serialized anonymous type produces... base64?
This list of changes was auto generated.</details>
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
Union attributes with type namesReadOnlyMemory<T> and ReadOnlySequence<T> supportdotnet mpc tool#1043: Merge master into v2.2 <details><summary><b>See More</b></summary>
#1039: Merge master into v2.2 branch
#1036: Merge master into v2.2 branch
#948: Add support for ExpandoObject
#1019: mpc - add externalIgnoreTypeNames feature
#1015: Merge master to v2.2
#1005: Correctly identify and throw on unsupported mpc case
#995: Add xml snippet of how to customize mpc build task
#992: Merge master to v2.2
#656: Use MSBuild OM for what it's good for
#962: Merge master to v2.2 branch
#947: Add built-in Memory<T> formatters
#363: Allow using of UnionAttribute for interfaces separated from implementation
This list of changes was auto generated.</details>
This list of changes was auto generated.
ReadOnlyMemory<T> and ReadOnlySequence<T> supportdotnet mpc tool#1019: mpc - add externalIgnoreTypeNames feature <details><summary><b>See More</b></summary>
#1015: Merge master to v2.2
#1012: fix(1011): Override references to load *.dll without autoReference:true
#1005: Correctly identify and throw on unsupported mpc case
#1004: mpc fixes and Generated.cs refresh
#1002: mpc doesn't support Union attributes with type names
#1001: remove unused .meta
#995: Add xml snippet of how to customize mpc build task
#992: Merge master to v2.2
#656: Use MSBuild OM for what it's good for
#962: Merge master to v2.2 branch
#947: Add built-in Memory<T> formatters
#363: Allow using of UnionAttribute for interfaces separated from implementation
This list of changes was auto generated.</details>
## Changes: ### Fixes: * #1033: default(ImmutableArray ) is not serialized correctly * #1025: Internal enums trip up StandardResolverAllowPrivate * #1
StandardResolverAllowPrivateArray.Empty<T>() instead of new T[] wherever possibleThis list of changes was auto generated.
#997: Add packagejson and enable .meta for Unity
#996: creating DynamicAssembly to lazy
#994: Mpc support for generic class unions
#978: warning disable 0162 for unity
#964: Unity IL2CPP generic object wrapper code gen
#982: Fixed deserialization on static constructor
#981: Update MessagePackReader.cs
#976: Add BSON implementation from Json.NET
#975: Shared projects were still not correctly parsed on Linux.
#972: Fix #971 Shared Projects incorrecly included. <details><summary><b>See More</b></summary>
#971: Shared Projects have unexpected behavoiur in mpc
This list of changes was auto generated.</details>
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
#946: Fix MessagePackStreamReader reading when string or binary headers are incomplete
#945: Document that formatters must write exactly one object <details><summary><b>See More</b></summary>
#932: Avoid using MemoryMarshal.Cast<byte, _> on Android
#940: Fix deserialization of big files
#936: Merge v1.x to master
#748: Unity & Messagepack v2.x Error on some Android devices.
#923: Reworked anonymous type check.
#921: [mpc]: Ignore missing Include attribute in PackageReference tag
#915: Improve docs
#891: [mpc] Fix collecting closed type generics
#885: Allow serialize completely private constructor
#883: add Table of Contents to ReadMe
#881: Fix invalid bge-emit on string-key dynamic code gen
#882: Normalize End-of-Lines
#866: MPC. Fix double include of MessagePackObjectAttribute data
This list of changes was auto generated.</details>
One column per quarter.