Releases: MessagePack-CSharp/MessagePack-CSharp
Releases · MessagePack-CSharp/MessagePack-CSharp
v3.0.238-rc.1
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
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 toin
parameters ofref 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
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.
v2.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.
v3.0.208-rc.1
Breaking changes
Enhancements
- Lower language version requirement of source generated resolver by @AlanLiu90 in #1926
- Add ignore case option to EnumAsStringFormatter by @iguskov1810 in #1936
- Adjusted MsgPack004 to support records by @N-Olbert in #1932 and #1946
- Add
MessagePackSerializer.Typeless.Deserialize
overload that takesReadOnlyMemory<byte>
by @AArnott in #1959 - Make
CompositeResolverAttribute
much more useful by @AArnott in #1968 - Add MsgPack014 analyzer and code fix by @AArnott in #1969
- Reconcile AllowPrivate behavior by @AArnott in #1990
- Add analyzers to help recognize breaking changes by @AArnott in #2003
- Add AOT formatter support for init properties and required members by @AArnott in #1980
- Support formatters for CompositeResolverAttribute by @AlanLiu90 in #1922
Fixes
- Fix diagnostic and code fix for MsgPack011 on nesting types by @AArnott in #1910
- Fix some source generator issues by @AlanLiu90 in #1921
- Improve handling of array types in source generation by @AArnott in #1960
- Honor key name overrides in source-generated formatters by @AArnott in #1962
- MPC String Value From Key Attribute Fix by @alimakki in #1963
- Update DynamicAssembly usage to honor different AssemblyLoadContext's by @BertanAygun in #1978
- Fix pack to include analyzers (more reliably) by @AArnott in #1994
- Migration improvements: deserializing constructors and less-frequent
partial
requirements by @AArnott in #2002 - Fix analyzers to not mis-interpret source generated formatters as user-defined by @AArnott in #1982
- Fix embedded types being generated in resolver by @AlanLiu90 in #2000
- Fix handling of name collisions in type hierarchies by @AArnott in #2006
- Fix detecting duplicate keys by @pkindruk in #1971
Other changes
- Update test project to ensure default language version of generated code is C# 7.3 by @AlanLiu90 in #1934
- Make source generation cancellable by @AlanLiu90 in #1912
- Drop unused System.CodeDom package version by @AArnott in #1965
- Fix AOT README anchor by @alimakki in #1967
- Avoid GetSemanticModel in analyzer by @AArnott in #1970
- 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
- Allow trimming of benchmarked frameworks by @AArnott in #1988
- Build 3.0-rc.1 by @AArnott in #2004
New Contributors
- @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
Full Changelog: v3.0.134-beta...v3.0.208-rc.1
v3.0.134-beta
What's Changed
- Fix and improve generated formatters by @AArnott in #1905
- Honor
ExcludeFormatterFromSourceGeneratedResolverAttribute
by suppressing certain warnings by @AArnott in #1907
Full Changelog: v3.0.129-beta...v3.0.134-beta
v3.0.129-beta
What's Changed
- 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
- Avoid regenerating all formatters when only one object/union/enum changes by @AlanLiu90 in #1884
- 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
Full Changelog: v3.0.111-alpha...v3.0.129-beta
v2.5.172
v3.0.111-alpha
What's Changed
- fixing issue with backing field naming and serialization failing by @epitka in #1785
- Feature/1804 locate formatters only if has elements inside by @nmi-relewise in #1805
- Enable ignoring fields by using [NonSerialized] by @mookid8000 in #1808
- 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 - 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
- Eliminate
#if
regions related to unity by @AArnott in #1825 - Preserve code comments when adding attributes to fields by @AArnott in #1842
- Add .NET 8 target to mpc by @AArnott in #1832
- Fix handling of formatters following the singleton pattern by @AArnott in #1850
- 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
New Contributors
- @epitka made their first contribution in #1785
- @nmi-relewise made their first contribution in #1805
- @mookid8000 made their first contribution in #1808
- @thompson-tomo made their first contribution in #1812
Full Changelog: v3.0.54-alpha...v3.0.111-alpha