Skip to content

Releases: MessagePack-CSharp/MessagePack-CSharp

v3.0.54-alpha

12 May 04:10
3d80df1
Compare
Choose a tag to compare
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 to int 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

Full Changelog: v2.6.100-alpha...v3.0.54-alpha

v2.5.140

30 Nov 18:35
eefc907
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.5.129...v2.5.140

v2.5.129

28 Sep 16:35
6edce56
Compare
Choose a tag to compare

What's Changed

  • Remove long to int truncation of stream position by @AArnott in #1685

Full Changelog: v2.5.124...v2.5.129

v2.5.124

27 Jun 18:45
55b4629
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.5.108...v2.5.124

v2.6.100-alpha

20 May 14:48
6d74921
Compare
Choose a tag to compare
v2.6.100-alpha Pre-release
Pre-release

What's Changed

  • Avoid copying data twice in MessagePackWriter.MemoryCopy when running… by @AlanLiu90 in #1607
  • Bump System.Collections.Immutable from 6.0.0 to 7.0.0 by @dependabot in #1611
  • Fix the errant package dependency in source generator package by @AArnott in #1622
  • Fix ILookup<TKey, TElement> deserialized behavior by @AArnott in #1623

New Contributors

Full Changelog: v2.6.95-alpha...v2.6.100-alpha

v2.6.95-alpha

19 May 14:13
d1b45b0
Compare
Choose a tag to compare
v2.6.95-alpha Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.5.108...v2.6.95-alpha

v2.5.108

16 Mar 14:41
cb0ad5d
Compare
Choose a tag to compare

What's Changed

  • fix ThreadsafeTypeKeyHashTable.GetOrAdd stampede issue by @gepa21 in #1577
  • Revert change that introduced thread-safety bug by @AArnott in #1579

Full Changelog: v2.5.103...v2.5.108

v2.5.103

14 Mar 00:44
cb44cb8
Compare
Choose a tag to compare

What's Changed

  • Use Mono.RuntimeStructs rather than Mono.Runtime to test if app is running on Mono runtime by @takeshik in #1573
  • Fix PrimitiveObjectResolver's ability to read strings by @AArnott in #1575

New Contributors

Full Changelog: v2.5.94...v2.5.103

v2.5.94

13 Mar 01:31
f08b6fe
Compare
Choose a tag to compare

What's Changed

  • MessagePack.Generator RollForward to Major by @neuecc in #1445
  • Drop net5.0 runtime targets by @AArnott in #1448
  • Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /benchmark/SerializerBenchmark by @dependabot in #1453
  • Bump Newtonsoft.Json from 10.0.3 to 13.0.1 in /sandbox/Sandbox by @dependabot in #1452
  • Add StringInterningFormatter.cs.meta for Unity by @neuecc in #1455
  • Add option to avoid large buffer allocations by @AArnott in #1457
  • Skip type collection if property has MessagePackFormatterAttribute by @gllebede in #1462
  • Fix for "System.NotImplementedException: byref delegate" by @MaximMikhisor in #1461
  • Add non-generic serialize/deserialize perf tests by @AArnott in #1478
  • Fix OverflowException in SafeBitConverter.ToInt64 by @ValkaVales in #1481
  • removing extra double quotation mark by @ImanNavidi in #1490
  • Enable SPAN_BUILTIN code for Unity 2021.2+ by @MichalPetryka in #1486
  • ASP.NET Core improvements by @vzabrodin in #1512
  • fix duplicate registration of named tuples by @honda-tatsuya in #1464
  • Fix null param check in StaticCompositeResolver by @AArnott in #1527
  • Update Microsoft.NET.StringTools dependency to 17.4.0 by @AArnott in #1515
  • Improve error messages in exceptions thrown from PrimitiveObjectFormatter by @AArnott in #1499
  • Add incremental build support to MessagePack.MSBuild.Tasks by @AArnott in #1528
  • Remove dead constant by @AArnott in #1529
  • Switch from Azure Pipelines to GitHub Actions for unity build by @AArnott in #1543
  • Merge master to develop by @AArnott in #1544
  • Fixed issue with generics formatters generation in #1534
  • Fixes Typo "paramterType" -> "parameterType" by @gfs in #1547
  • Fix unity+android code for reading an Int64 from memory by @AArnott in #1548
  • Hide Microsoft.NET.StringTools from compilation of downstream projects by @AArnott in #1549
  • Add CustomFormatter instanciator for StringKeyFormatterTemplate by @gepa21 in #1557
  • Remove author info by @AArnott in #1564
  • Show details of errors occurred when the generator opens a project by @mayuki in #1558
  • Fix MessagePack CodeGen Unity spelling/grammar by @Valerionn in #1561
  • Fixed issue with Union formatter generator by @Scormave in #1553
  • Fixed nullable embedded types are being added to generated resolver by @Scormave in #1556
  • Added sandbox tests for nested generic types by @Scormave in #1555
  • Merge latest Library.Template by @AArnott in #1566
  • Merge master to develop by @AArnott in #1567
  • Fix wrong data length written in UnsafeBlitFormatter by @lynzrand in #1551

New Contributors

Full Changelog: v2.5.64-alpha...v2.5.94

v2.5.64-alpha

03 Dec 23:30
049565b
Compare
Choose a tag to compare
v2.5.64-alpha Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.4.23-alpha...v2.5.64-alpha