Skip to content

Releases: MessagePack-CSharp/MessagePack-CSharp

v3.1.4

12 Jun 23:11
Compare
Choose a tag to compare

What's Changed

  • Fix SkipClrVisibilityChecks to notice private fields in base classes by @AArnott in #2153
  • Promote analyzers to AnalyzerReleases.Shipped.md by @hanachiru in #2169
  • Add memory size check to GetMemoryCheckResult by @AArnott in #2172
  • AccessModifier was added to generated code. by @Nirklav in #2185

New Contributors

Full Changelog: v3.1.3...v3.1.4

v3.1.3

04 Feb 03:41
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.2...v3.1.3

v3.1.2

27 Jan 08:06
Compare
Choose a tag to compare

What's Changed

  • Add missing recursion guard to CodeAnalysisUtilities.GetTypeParameters by @AArnott in #2123
  • Remove FluentAssertions, Use Shouldly by @neuecc in #2124
  • Fix issues about Double.MaxValue by @guojiancong in #2135
  • GitHubActions, prevent run build-unity on external contributor by @neuecc in #2138
  • Protects the generated resolver type metadata from trimmer by @mayuki in #2134
  • Add PreserveAttribute to generic formatters for Unity IL2CPP by @neuecc in #2136
  • Change ByteListFormatter behaviour to keep binary compatibility for List by @neuecc in #2139

New Contributors

Full Changelog: v3.1.1...v3.1.2

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