Release notes
Sourced from MessagePack's releases.
3.1.4
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v3.1.3...v3.1.4
3.1.3
What's Changed
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v3.1.2...v3.1.3
3.1.2
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v3.1.1...v3.1.2
3.1.1
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v3.1.0...v3.1.1
3.1.0
What's Changed
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v3.0.301...v3.1.0
3.0.301
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: MessagePack-CSharp/MessagePack-CSharp@v3.0.300...v3.0.301
3.0.300
Fixed version, release notes see v3.0.3.
3.0.238-rc.1
What's Changed
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v3.0.233-rc.1...v3.0.238-rc.1
3.0.233-rc.1
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
3.0.214-rc.1
Changes:
- #2015: Use a collision-resistant hash algorithm for untrusted data to address GHSA-4qm4-8hg2-g2xm
- #2009: Build nuget package with semver v2
This list of changes was auto generated.
3.0.208-rc.1
Breaking changes
Enhancements
Fixes
Other changes
New Contributors
3.0.134-beta
What's Changed
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v3.0.129-beta...v3.0.134-beta
3.0.129-beta
What's Changed
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v3.0.111-alpha...v3.0.129-beta
3.0.111-alpha
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v3.0.54-alpha...v3.0.111-alpha
3.0.54-alpha
What's Changed
High level
mpc tool is gone. We use roslyn source generators now.
- Source generation is enabled by default. At runtime MessagePack v3 will look for these source generated formatters and avoid generating them dynamically if found.
Pull requests
New Contributors
... (truncated)
3.0.3
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
2.6.100-alpha
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.6.95-alpha...v2.6.100-alpha
2.6.95-alpha
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.5.108...v2.6.95-alpha
2.5.192
What's Changed
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.5.187...v2.5.192
2.5.187
Changes:
- #2014: Use a collision-resistant hash algorithm for untrusted data to address GHSA-4qm4-8hg2-g2xm
- #2010: Update published security policy
This list of changes was auto generated.
2.5.172
What's Changed
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.5.171...v2.5.172
2.5.171
What's Changed
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.5.168...v2.5.171
2.5.168
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.5.140...v2.5.168
2.5.140
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.5.129...v2.5.140
2.5.129
What's Changed
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.5.124...v2.5.129
2.5.124
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.5.108...v2.5.124
2.5.108
What's Changed
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.5.103...v2.5.108
2.5.103
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.5.94...v2.5.103
2.5.94
What's Changed
New Contributors
... (truncated)
2.5.64-alpha
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.4.23-alpha...v2.5.64-alpha
2.4.59
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.4.35...v2.4.59
2.4.35
Changes:
Enhancements:
- #1457: Add option to avoid large buffer allocations
- #1445: MessagePack.Generator RollForward to Major
Others:
- #1455: Add StringInterningFormatter.cs.meta for Unity
- #1448: Drop net5.0 runtime targets
This list of changes was auto generated.
2.4.23-alpha
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.4.14-alpha...v2.4.23-alpha
2.4.14-alpha
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.3.85...v2.4.14-alpha
2.3.112
What's Changed
New Contributors
Full Changelog: MessagePack-CSharp/MessagePack-CSharp@v2.3.85...v2.3.112
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.