Changes:
Fixes:
- #1232: Failed to serialize/deserialize C#9 records with StandardResolverAllowPrivate
- #1218: StandardResolverAllowPrivate overwrites readonly fields set in constructor
- #1134: Deserialization of generic types fails due to inability to find property setters that use
init
Enhancements:
- #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 and IReadOnlyDictionary descendants that have constructor with relevant collection
- #1217: Support for
IReadOnlySet<T>
- #1213: Add ReadArrayHeaderAsync() and ReadMapHeaderAsync() to MessagePackStr…
See More
- #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
Others:
- #1274: C# 9 Records are ignored by mpc code generator
- #1286: Fix C# record serialization when using
StandardResolverAllowPrivate
- #1267: Fix handling of readonly private fields
- #1265: Merge master into develop
- #1259: Allow object that has either
[MessagePackObject]
or a valid[MessagePackFormatter()]
- #1229: Add support for
IReadOnlySet<T>
- #1225: Merge v2.2 into v2.3
- #1205: Update PublicAPI analyzers
- #1204: Merge master into develop
- #1179: AspNetCore.Mvc.Formatters Improvements
- #1186: Define SPAN_BUILTIN for net5.0
- #1178: Merge master to develop
- #1137: Avoid
MissingMethodException
on generic classes withinit
property setters - #1156: Adapt
CtorParameterAndPropertySetterExists
test for v2.3 behavior - #1149: Benchmark serializer naming
- #1144: Benchmark cleanup
- #1136: Add tests for C# 9 records
- #1135: Update StyleCop.Analyzers to support C# 9 syntax
- #1125: MPC: nullable enable and update language version to 9.
- #1123: MPC: Unify Formatter Name between int-key and string-key
- #1120: Remove VSIX and use dotnet build in AzP
- #1114: Remove analyzer VSIX
- #1119: Merge master into develop
- #1113: Update not supported target framework.
- #1093: Merge master into develop
- #1088: Refactoring of int-key mpc.exe tt file
- #1082: Prepare for C# Source Generator
- #1084: Merge master into develop
This list of changes was auto generated.