v3.0.54-alpha
Pre-release
Pre-release
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
- Rollback package dependency versions for analyzers by @AArnott in #1641
- move code depending on UnityEditor into separate assembly by @NorbertNemec in #1649
- remove MessagePackWindow in Unity by @neuecc in #1651
- Union type collect by @Scormave in #1634
- Switch from MSBuild properties to an AdditionalFiles json file by @AArnott in #1667
- Fix analyzer when only MessagePack.Annotations is referenced by @AArnott in #1674
- Allow applying
[MessagePackFormatter]
on parameters by @AArnott in #1678 - Revert "Allow applying
[MessagePackFormatter]
on parameters" by @AArnott in #1679 - Allow applying
[MessagePackFormatter]
on parameters and return values by @AArnott in #1680 - Remove
long
toint
truncation of stream position by @AArnott in #1685 - Fix releases links in README text by @KonH in #1688
- Better constrain dictionary detection by @AArnott in #1687
- Create FUNDING.yml by @AArnott in #1693
- Workaround mono runtime bug by @AArnott in #1696
- Support to analyze records by @nenoNaninu in #1698
- Add MESSAGEPACK_FORCE_AOT preprocessor directive by @brwhelan-msft in #1701
- .NET 8 Update(1): stylecop related small update by @pCYSl5EDgo in #1727
- .NET 8 Update(0): global.json, Dockerfile, Packages by @pCYSl5EDgo in #1726
- .NET 8 Update(2): TargetFrameworks by @pCYSl5EDgo in #1728
- .NET 8 Update(3): Microsoft.CodeAnalysis.Analyzers v3.3.4 by @pCYSl5EDgo in #1729
- .NET 8 Update(4): System.Collections.Frozen by @pCYSl5EDgo in #1730
- .NET 8 Update(5): System.Collections.Generic.PriorityQueue<TElement, TPriority> by @pCYSl5EDgo in #1731
- .NET 8 Update(6): CollectionsMarshal for ListFormatter by @pCYSl5EDgo in #1732
- Source Generator configuration via attributes instead of .json file by @AArnott in #1736
- Improved UnityShims for better code sharing by @Scormave in #1585
- Drop support for roslyn 3.8 by @AArnott in #1749
- IEnumerable serialize improvement: Enumerable.TryGetNonEnumeratedCount by @pCYSl5EDgo in #1751
- AOT by default by @AArnott in #1743
- Add a
[CompositeResolver]
attribute that triggers source generation by @AArnott in #1754 - .NET 8 Update(8): Update Benchmarks not using Dynamic PGO and BinaryFormatter by @pCYSl5EDgo in #1746
- Include all hand-written formatters in the source generated resolver by @AArnott in #1796
- Fix source generated formatters for records with string keys by @dmitry-bym in #1798
- Use LangVersion=12 everywhere except code that Unity compiles by @AArnott in #1801
- Source generated formatters that support private members by @AArnott in #1802
New Contributors
- @NorbertNemec made their first contribution in #1649
- @nenoNaninu made their first contribution in #1698
- @brwhelan-msft made their first contribution in #1701
- @dmitry-bym made their first contribution in #1798
Full Changelog: v2.6.100-alpha...v3.0.54-alpha