Skip to content

Releases: MessagePack-CSharp/MessagePack-CSharp

v3.1.1

26 Dec 09:13
Compare
Choose a tag to compare

What's Changed

  • README.md: ÌntKey -> IntKey by @stanoddly in #2098
  • allow DynamicGenericResolver to StandardResolver in DynamicAssembly.AvoidDynamicCode by @neuecc in #2105
  • Remove PublicApiAnalyzers by @neuecc in #2104
  • Fix source generator, don't generate when abstract/interface is not union by @neuecc in #2103
  • enable analyze union / stop collect field when object marked SuppressSourceGeneration by @neuecc in #2106

New Contributors

Full Changelog: v3.1.0...v3.1.1

v3.1.0

12 Dec 07:49
Compare
Choose a tag to compare

What's Changed

  • Relaxed the conditions in editor.config by @neuecc in #2088
  • Add .NET 9 by @neuecc in #2090
  • Add Int128, UInt128, Rune. OrderedDictionary<T, V>. ReadOnlySet<T> serialization support
  • Check IsGenericType before call ConstructUnboundGenericType() by @neuecc in #2093
  • Remove NerdBank.GitVersioning by @neuecc in #2094
  • Current all apis to shipped.txt by @neuecc in #2095

Full Changelog: v3.0.301...v3.1.0

v3.0.301(3.0.308)

09 Dec 09:36
Compare
Choose a tag to compare

Note

Tag and Unity's version is 3.0.301 but published NuGet version is 3.0.308.
The version mismatch due to release process inconsistencies will be fixed in the next release.

What's Changed

Full Changelog: v3.0.300...v3.0.301

v3.0.300

06 Dec 09:28
Compare
Choose a tag to compare

v3.0.3

06 Dec 08:08
Compare
Choose a tag to compare

See our migration guide.
Details blog article

What's new

  • 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.

Unity

  • Consume through NuGetForUnity and UPM instead of through .unitypackage

What's Changed

Read more

v2.5.192

14 Nov 12:57
d3d435b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.187...v2.5.192

v3.0.238-rc.1

23 Oct 14:33
ab4a3bb
Compare
Choose a tag to compare
v3.0.238-rc.1 Pre-release
Pre-release

What's Changed

  • Fix simplified name for ValueTuple by @AlanLiu90 in #2033
  • Avoid crashing with stack overflow on recursive generic type parameter constraints by @AArnott in #2036

Full Changelog: v3.0.233-rc.1...v3.0.238-rc.1

v3.0.233-rc.1

22 Oct 20:48
53896cb
Compare
Choose a tag to compare
v3.0.233-rc.1 Pre-release
Pre-release

Changes

Enhancements

  • #2013: Secure by default

Fixes

  • #2031: Use generic type argument used for custom formatters
  • #2029: Apply scoped in more places
  • #2030: Support nesting formatters within generic data types
  • #2024: Source code generation fails for generic type with private member serialization
  • #2028: Avoid collecting fields with custom formatter recusively
  • #2023: Suppress MsgPack004 on private base members when only public is interesting
  • #2022: Ignore abstract implementations of IMessagePackFormatter<T>
  • #2012: MsgPack004 Analyzer triggering on not attributed private property on base class eventhough source generator shouldn't include private properties
  • #2017: MsgPack013 should not report diagnostics on abstract classes
  • #2021: Add scoped modifier to in parameters of ref struct
  • #2016: Avoid collecting members when it doesn't have [Key]
  • #2005: custom formatters code source generator error

Others

  • #2032: Use simpler C# syntax for nullable value types

v3.0.214-rc.1

17 Oct 17:58
8e599af
Compare
Choose a tag to compare
v3.0.214-rc.1 Pre-release
Pre-release

Changes:

This list of changes was auto generated.

v2.5.187

17 Oct 17:58
f8d40b3
Compare
Choose a tag to compare

Changes:

This list of changes was auto generated.