Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 28, 2025

Updated MessagePack from 1.7.3.4 to 2.5.187.

Release notes

Sourced from MessagePack's releases.

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

2.3.85

Changes:

  • #​1314: Skip setting fields when the ctor already took the value
  • #​1308: Readonly Dictionary with DataMember.Order is not being deserialized
  • #​1302: Refactory ObjectSerializationInfo.CreateOrNull
  • #​1300: Fix code generation for string-keyed objects with getter-only props and parameterized ctor.
  • #​1303: add unittest for DataContractSerializer compatibility

This list of changes was auto generated.

2.3.75

Changes:

Breaking

This release includes a behavioral breaking change (relative to our v2.2 releases) for better performance and avoid overriding default values when the msgpack stream does not include a value for that property (see #​1085)

Enhancements:

  • #​1277: Updating constructor matching for int keys

Others:

  • #​1264: Clearly document unity scenarios that require AOT

This list of changes was auto generated.

2.3.73-alpha

Changes:

Fixes:

  • #​1232: Failed to serialize/deserialize C#​9 records with StandardResolverAllowPrivate
  • #​1218: StandardResolverAllowPrivate overwrites readonly fields set in constructor
  • #​1134: Deserialization of generic types fails due to inability to find property setters that use init

Enhancements:

  • #​1288: Add support for C# 9 record types in mpc
  • #​1241: Allow private constructors for the ContractlessStandardResolver, when using ctor attribute
  • #​1187: Enable serialization IEnumerable and IReadOnlyDictionary descendants that have constructor with relevant collection
  • #​1217: Support for IReadOnlySet<T>
  • #​1213: Add ReadArrayHeaderAsync() and ReadMapHeaderAsync() to MessagePackStr…
See More
  • #​1176: AspNetCore.Mvc.Formatters Improvements
  • #​1108: Add System.Half support for .NET 5.0
  • #​1124: Target .NET Core 3.1 and 5.0 SDKs in mpc tool
  • #​1122: Offer API to adjust the ArrayPool
  • #​1095: Stop initializing members to their default values when deserializing where no data was provided for that member
  • #​1085: Use contractless resolver without setting default values for missing properties

Others:

  • #​1274: C# 9 Records are ignored by mpc code generator
  • #​1286: Fix C# record serialization when using StandardResolverAllowPrivate
  • #​1267: Fix handling of readonly private fields
  • #​1265: Merge master into develop
  • #​1259: Allow object that has either [MessagePackObject] or a valid [MessagePackFormatter()]
  • #​1229: Add support for IReadOnlySet<T>
  • #​1225: Merge v2.2 into v2.3
  • #​1205: Update PublicAPI analyzers
  • #​1204: Merge master into develop
  • #​1179: AspNetCore.Mvc.Formatters Improvements
  • #​1186: Define SPAN_BUILTIN for net5.0
  • #​1178: Merge master to develop
  • #​1137: Avoid MissingMethodException on generic classes with init property setters
  • #​1156: Adapt CtorParameterAndPropertySetterExists test for v2.3 behavior
  • #​1149: Benchmark serializer naming
  • #​1144: Benchmark cleanup
  • #​1136: Add tests for C# 9 records
  • #​1135: Update StyleCop.Analyzers to support C# 9 syntax
    ... (truncated)

2.3.58-alpha

Changes:

Fixes:

  • #​1190: AssemblyVersion always included / verified with boxed List
  • #​1134: Deserialization of generic types fails due to inability to find property setters that use init

Enhancements:

  • #​1213: Add ReadArrayHeaderAsync() and ReadMapHeaderAsync() to MessagePackStr…
  • #​1202: Make cctor defer Reflection that fails in AOT
  • #​1176: AspNetCore.Mvc.Formatters Improvements
  • #​1108: Add System.Half support for .NET 5.0
  • #​1124: Target .NET Core 3.1 and 5.0 SDKs in mpc tool
  • #​1122: Offer API to adjust the ArrayPool
See More
  • #​1095: Stop initializing members to their default values when deserializing where no data was provided for that member
  • #​1085: Use contractless resolver without setting default values for missing properties

Others:

  • #​1215: Add prepare_release.ps1 script
  • #​1195: [Unity] Azure Pipelines doesn't change package version
  • #​1203: Remove assembly version info from generic type arguments
  • #​1205: Update PublicAPI analyzers
  • #​1204: Merge master into develop
  • #​1168: InvalidOperationException: Sequence contains no matching element at MessagePack.MessagePackSecurity+ObjectFallbackEqualityComparer..cctor()
  • #​1179: AspNetCore.Mvc.Formatters Improvements
  • #​1186: Define SPAN_BUILTIN for net5.0
  • #​1175: Add target netcoreapp3.1
  • #​1178: Merge master to develop
  • #​1177: Fix break in master
  • #​1137: Avoid MissingMethodException on generic classes with init property setters
  • #​1156: Adapt CtorParameterAndPropertySetterExists test for v2.3 behavior
  • #​1155: Add test to document ctor+property setter behavior
  • #​1149: Benchmark serializer naming
  • #​1144: Benchmark cleanup
  • #​1136: Add tests for C# 9 records
  • #​1135: Update StyleCop.Analyzers to support C# 9 syntax
  • #​1125: MPC: nullable enable and update language version to 9.
  • #​1123: MPC: Unify Formatter Name between int-key and string-key
  • #​1120: Remove VSIX and use dotnet build in AzP
  • #​1114: Remove analyzer VSIX
    ... (truncated)

2.2.113

Changes:

Fixes:

  • #​1251: ByteArrayFormatter should allow deserializing fixarray of bytes

Enhancements:

  • #​1277: Updating constructor matching for int keys

Others:

  • #​1264: Clearly document unity scenarios that require AOT
  • #​1263: Use AssemblyBuilderAccess.RunAndCollect instead of AssemblyBuilderAccess.Run
  • #​1262: Suppress the only build warning we have
  • #​1252: Allow deserializing byte[] from a msgpack array
  • #​1254: Update from Library.Template
See More
  • #​1244: init.ps1 fails if the repo is stored in a path that has spaces in the name
  • #​1248: Add Odin Serializer to the benchmark (round 2)
  • #​1219: Bump Microsoft.AspNetCore.Mvc.Abstractions from 1.1.2 to 1.1.3 in /src/MessagePack.AspNetCoreMvcFormatter
  • #​1223: Fix readme about mpc
  • #​1192: Fix mpc ignore generic type defined in out side target
  • #​1111: MessagePackGenerator (mpc.exe) ignore generic type definition, that defined outside target project.

This list of changes was auto generated.

2.2.85

Changes:

Fixes:

  • #​1097: MessagePackFormatter(typeof(TypelessFormatter)) throws exception during Serialization
  • #​886: DataMember attribute for properties with inheritance

Enhancements:

  • #​1096: Add xml doc comments to CodeGenHelpers

Others:

  • #​1110: record note to ReadMe
  • #​1109: Fix MessagePackWindow can not run mpc command
  • #​1090: Add descriptions about MessagePack.Experimental.
  • #​1099: Fix mpc arg documentation
See More
  • #​1107: Simplify #if netcoreapp filters
  • #​1106: UriFormatter should use Uri.OriginalString when serializing
  • #​1100: Fix [MessagePackFormatter(TypelessFormatter)]
  • #​1087: MessagePackSerializer.NonGeneric uses reflection directly on Unity IL2CPP
  • #​1078: Typeless supports interface and abstract
  • #​1089: Support where constraints in mpc.exe string-key.
  • #​1083: Fix handling of [DataMember] that appears on virtual and override properties
  • #​1071: add MessagePack.Annotations.asmdef
  • #​1070: add *.meta
  • #​1069: Json-serialized anonymous type produces... base64?

This list of changes was auto generated.

2.2.60

Changes:

Fixes:

  • #​1048: Fix handling nested generic types in code generation
  • #​1047: Fix handling type parameter constraints in code generation
  • #​1063: Fix support of custom implementation of ICollection

Enhancements:

  • #​1064: DynamicObjectTypeFallbackFormatter prioritize PrimitiveObjectFormatter to keep primitive type
  • #​861: mpc: More aggressive ahead of time optimization for string-key type formatter.
  • #​1053: General Unsafe Formatters
  • #​1054: Enable deserialization constructors to use parameter names that match their property names
  • #​1061: Allow ctor parameter types to be anything assignable from their associated members
  • #​12 Add TypelessSerializer(Resolver)

Others:

  • #​1050: Use more inclusive language in code
  • #​1044: Static ReadOnlySpan optimization reduces memory allocation

This list of changes was auto generated.

2.2.44-rc

Changes:

Fixes:

  • #​1002: mpc doesn't support Union attributes with type names

Enhancements:

  • #​988: Add MessagePack.Experimental package which includes SIMD(Single Instruction Multiple Data) accelerated primitive array formatters.
  • #​1029: Merge immutable collections formatters into main library
  • #​1027: Add ReadOnlyMemory<T> and ReadOnlySequence<T> support
  • #​960: Add a built-in formatter for System.Type
  • #​912: Make a proper dotnet mpc tool

Others:

  • #​1043: Merge master into v2.2
See More
  • #​1039: Merge master into v2.2 branch
  • #​1036: Merge master into v2.2 branch
  • #​948: Add support for ExpandoObject
  • #​1019: mpc - add externalIgnoreTypeNames feature
  • #​1015: Merge master to v2.2
  • #​1005: Correctly identify and throw on unsupported mpc case
  • #​995: Add xml snippet of how to customize mpc build task
  • #​992: Merge master to v2.2
  • #​656: Use MSBuild OM for what it's good for
  • #​962: Merge master to v2.2 branch
  • #​947: Add built-in Memory formatters
  • #​363: Allow using of UnionAttribute for interfaces separated from implementation

This list of changes was auto generated.

2.2.36-alpha

Changes:

Fixes:

  • #​1003: mpc for nested types broken

Enhancements:

  • #​948: Add support for ExpandoObject
  • #​1029: Merge immutable collections formatters into main library
  • #​1027: Add ReadOnlyMemory<T> and ReadOnlySequence<T> support
  • #​960: Add a built-in formatter for System.Type
  • #​912: Make a proper dotnet mpc tool

Others:

  • #​1019: mpc - add externalIgnoreTypeNames feature
See More
  • #​1015: Merge master to v2.2
  • #​1012: fix(1011): Override references to load *.dll without autoReference:true
  • #​1005: Correctly identify and throw on unsupported mpc case
  • #​1004: mpc fixes and Generated.cs refresh
  • #​1002: mpc doesn't support Union attributes with type names
  • #​1001: remove unused .meta
  • #​995: Add xml snippet of how to customize mpc build task
  • #​992: Merge master to v2.2
  • #​656: Use MSBuild OM for what it's good for
  • #​962: Merge master to v2.2 branch
  • #​947: Add built-in Memory formatters
  • #​363: Allow using of UnionAttribute for interfaces separated from implementation

This list of changes was auto generated.

2.1.194

Changes:

Fixes:

  • #​1033: default(ImmutableArray) is not serialized correctly
  • #​1025: Internal enums trip up StandardResolverAllowPrivate
  • #​1006: Fix deserialize typeless extension without typeless formatter specified
  • #​1035: Lock for all Ref.Emit code when on mono
  • #​1031: Fix handling of non-public enums when using AllowPrivate resolvers
  • #​987: System.ExecutionEngineException encountered that should be a MessagePackSerializationException
  • #​1018: mpc - Ignore [MessagePackFormatter] type collect

Enhancements:

  • #​1041: Use Array.Empty<T>() instead of new T[] wherever possible

Others:

  • #​1030: Run net472 tests on mono
  • #​1010: Improve generation of generic formatters
  • #​1008: use ExpressionTree.Compile(preferInterpretation: true) for Unity IL2CPP

2.1.165

Changes:

  • #​997: Add packagejson and enable .meta for Unity
  • #​996: creating DynamicAssembly to lazy
  • #​994: Mpc support for generic class unions
  • #​978: warning disable 0162 for unity
  • #​964: Unity IL2CPP generic object wrapper code gen
  • #​982: Fixed deserialization on static constructor
  • #​981: Update MessagePackReader.cs
  • #​976: Add BSON implementation from Json.NET
  • #​975: Shared projects were still not correctly parsed on Linux.
  • #​972: Fix #​971 Shared Projects incorrecly included.
See More
  • #​971: Shared Projects have unexpected behavoiur in mpc

This list of changes was auto generated.

2.1.152

Changes:

Fixes:

  • #​833: MessagePackCodeFixProvider crash on code fixit

Others:

  • #​956: Fix msgpack003-005 analyzer and add tests
  • #​966: Move SequenceReader into our own namespace
  • #​961: Update StyleCop.Analyzers and NB.GV version
  • #​957: Fix can not compile on Unity Android build
  • #​958: Apply latest Library.Template scripts

This list of changes was auto generated.

2.1.143

Changes:

Fixes:

  • #​924: Attempted to read past the end of the stream when using LZ4ArrayCompression
  • #​931: il2cpp - MemoryMarshal.Cast can cause SIGBUS on ARMv7

Enhancements:

  • #​935: Allow analyzer VSIX to install on VS 2019
  • #​902: Add support generic MessagePackFormatterAttribute
  • #​913: Make MessagePack.MSBuild.Task package a dev dependency

Others:

  • #​946: Fix MessagePackStreamReader reading when string or binary headers are incomplete
  • #​945: Document that formatters must write exactly one object
See More
  • #​932: Avoid using MemoryMarshal.Cast<byte, _> on Android
  • #​940: Fix deserialization of big files
  • #​936: Merge v1.x to master
  • #​748: Unity & Messagepack v2.x Error on some Android devices.
  • #​923: Reworked anonymous type check.
  • #​921: [mpc]: Ignore missing Include attribute in PackageReference tag
  • #​915: Improve docs
  • #​891: [mpc] Fix collecting closed type generics
  • #​885: Allow serialize completely private constructor
  • #​883: add Table of Contents to ReadMe
  • #​881: Fix invalid bge-emit on string-key dynamic code gen
  • #​882: Normalize End-of-Lines
  • #​866: MPC. Fix double include of MessagePackObjectAttribute data

This list of changes was auto generated.

2.1.115

Changes:

Fixes:

  • #​829: Fix serialization of private properties on base classes
  • #​821: Fix serialization of private fields in base classes
  • #​818: Fix compiler error on Unity + .NET Standard 2.0 + generated Union code
  • #​855: Fix MessagePackStreamReader.Dispose to allow double-disposal
  • #​828: Private properties on base class do not get serialized
  • #​820: Private fields on base class do not get serialized

Enhancements:

  • #​824: Add caching of dynamic formatters

Others:

  • #​854: Port fix to Sequence from Nerdbank.Streams
  • #​852: Link For Unity is broken.
  • #​853: Remove sandbox\XamarinAndroid
  • #​849: Remove unused ENABLE_UNSAFE_MSGPACK
  • #​848: Replaced Span.Fill(0) with Span.Clear()
See More
  • #​830: Generics in mpc 2 simpler faster
  • #​843: mpc fix, generate collect class name in nested enum.
  • #​825: Rename writer -> reader in BuildDeserialize

This list of changes was auto generated.

2.1.90

Changes:

Fixes:

  • #​795: avoid ReadUnaligned on long, ulong, double in Android device
  • #​811: Fix MessagePackSecurity.GetEqualityComparer<object> to not return null

Enhancements:

  • #​809: Add secure hashing for enums with backing integers of 32-bit or less

2.1.80

Changes:

🔒 Security fixes are included in this release. Read more in our security advisory.

Fixes:

  • #​782: Strings with UTF8 multi-byte characters are corrupted in writing on mono
  • #​774: Apply LZ4BlockArray to ConvertToJson
  • #​651: Typeless decimal serialized as string
  • #​425: TypelessContractlessStandardResolver should preserve various integer types

Enhancements:

  • #​790: Add the leaveOpen flag to MessagePackStreamReader
  • #​788: Respect EnumMemberAttribute when serializing enum values as strings
  • #​253: Default resolver deserializes ICollection as T[]
  • #​771: Add WriteBinHeader and WriteStringHeader methods to MessagePackWriter
See More
  • #​767: Add MessagePackReader.TryRead*Header methods
  • #​726: Add MessagePackStreamReader.ReadArrayAsync
  • #​757: Wrap all exceptions thrown from ConvertToJson in MessagePackSerializationException
  • #​735: Make MessagePackReader.ReadDateTime(ExtensionHeader) public

Others:

  • #​795: avoid ReadUnaligned on long, ulong, double in Android device
  • #​789: Respect EnumMemberAttribute when serializing enum values as strings
  • #​787: Fix mpc formatter name for Queue
  • #​786: Fix WriteString issue on mono
  • #​784: improve BigInteger serialize in .NET Core
  • #​781: Fix enum serialization in unity
  • #​779: mpc, does not load does't exists metadata
  • #​768: Bring back serialization of members with explicit attributes
  • #​775: Fix leaked use fullnamespace in mpc
  • #​777: Improve performance of standard decimal serialization by using Utf8Formatter
  • #​778: Deserialize mutable collection interfaces with mutable concrete types
  • #​769: Add analyzers to call out use of static options
  • #​279: Add MessagePackBinary.WriteBinHeader
  • #​763: mpc, replace MicroBatchFramework to ConsoleAppFramework
  • #​770: Package and toolset updates
  • #​766: Readonly attributes and getters with Key() annotation are ignored by SerializeObject()
  • #​762: Update Generated.cs
  • #​759: Document subtle changes in serialization from v1.x to v2.x
  • #​761: Merge v2.0 to master
    ... (truncated)

2.0.335

Changes:

Fixes:

  • #​764: MessagePackStreamReader throws when stream returns a block that ends just before array or map element
  • #​760: Fix API doc on MessagePackWriter.WriteInt64
  • #​753: Fix duplicate header read in ConvertToJson in ext format
  • #​746: ContractlessStandardResolver fails to serialize ReadOnlySequence<byte> that it deserialized

Others:

  • #​765: Fix MessagePackStreamReader to not throw given certain message boundaries
  • #​749: Copy byte[] during contractless deserialization

This list of changes was auto generated.

2.0.323

Changes:

Upgrading from 1.x? See our migration doc.

Fixes:

  • #​710: Causes infinite loop when the IBufferWriter returns zerospan in sizehint=0
  • #​712: ByteArraySegmentFormatter returns inner sequence directly instead of copying
  • #​706: MPC should normalize directory separators in paths read from csproj

Enhancements:

  • #​720: MessagePack.AspNetCoreMvcFormatter supports AspNetCore3 BodyWriter
  • #​718: Add IBufferWriter<byte> overload to NonGeneric API
  • #​711: Could MessagePackWriter.GetSpan/Advance be public?
  • #​699: Add MessagePackStreamReader

Others:

See More
  • #​730: Prepare for stable 2.0 release
  • #​729: Fix mpc and more details to ReadMe
  • #​728: ReadMe fix(mpc, Unity)
  • #​722: Add assembly locations for wellknown generic types to mpc
  • #​719: Add NonGeneric API for Serialize with IBufferWriter and deserialize with ReadOnlySequence
  • #​715: Avoid infinite loop when IBufferWriter.GetMemory returns empty memory
  • #​714: Make MessagePackWriter's GetSpan and Advance methods public
  • #​713: Always copy arrays from the underlying sequence
  • #​485: Enable MessagePackWriter.WriteRaw(ReadOnlySpan) to accept a stackalloc span
  • #​707: Convert backslashes to slashes in csproj for mpc off Windows
  • #​698: StaticCompositeResolver.Register -> StaticCompositeResolver.Instance.…
  • #​692: Update SerializerBenchmark
  • #​696: Set release notes link to match release tag
  • #​694: Compression Document

This list of changes was auto generated.

2.0.299-rc

Changes:

Fixes:

  • #​680: Allocate too small buffer each times in LZ4 serialization

Enhancements:

  • #​690: Fix CreatePeekReader so it's truly equivalent to the original
  • #​681: Add Compression.LZ4ContiguousBlock and implementation
  • #​677: API support for multiple compression schemes

Others:

  • #​695: Avoid double-enumeration when serializing unknown collection types
  • #​693: Bring back -rc suffix
  • #​691: Replace all creation of Sequence except in SequencePool
See More
  • #​688: new Sequence should not use because that allocate many small buffers.
  • #​687: Remove formatter instance cache from TypelessFormatter
  • #​689: Avoid the large object heap (LOH) for LZ4 buffers
  • #​686: Remove private resolver list from DynamicObjectTypeFallbackFormatter
  • #​685: Use recycled Sequence for LZ4 compression
  • #​679: Why does DynamicObjectTypeFallbackFormatter have a private collection of resolvers?
  • #​682: Update documentation for removal of LZ4Standard
  • #​676: Documentation errors
  • #​673: Remove explicit MessagePack.Annotations dependency from extension packages
  • #​674: Document location of our CI feed

This list of changes was auto generated.

API diff:

diff --git a/src/MessagePack/PublicAPI.Unshipped.txt b/src/MessagePack/PublicAPI.Unshipped.txt
index 275f4c3..69cbbaf 100644
-MessagePack.Formatters.DynamicObjectTypeFallbackFormatter.DynamicObjectTypeFallbackFormatter(params MessagePack.IFormatterResolver[] innerResolvers) -> void
-MessagePack.Formatters.TypelessFormatter.TypelessFormatter() -> void
+MessagePack.MessagePackCompression
+MessagePack.MessagePackCompression.Lz4Block = 1 -> MessagePack.MessagePackCompression
+MessagePack.MessagePackCompression.Lz4BlockArray = 2 -> MessagePack.MessagePackCompression
+MessagePack.MessagePackCompression.None = 0 -> MessagePack.MessagePackCompression
-MessagePack.MessagePackSerializerOptions.MessagePackSerializerOptions(MessagePack.IFormatterResolver resolver, bool useLZ4Compression = false) -> void
+MessagePack.MessagePackSerializerOptions.Compression.get -> MessagePack.MessagePackCompression
 ... (truncated)

## 2.0.270-rc



## Changes:


### Fixes:


* #​662: Failed to deserialize 2 consecutive messages from a Stream using NonGeneric API in v1.8.80
* #​499: MVC output Formatter does not check correctly for contenttype
* #​567: Eliminate remaining mutable statics
* #​562: Overlap Buffer.MemoryCopy causes unknown error

### Enhancements:


* #​648: Move extension type codes
* #​649: Add v1->v2 migration doc
* #​632: Add MessagePackReader.ReadRaw()
* #​608: Offer MessagePackSerializerOptions to collection deserializers
<details><summary><b>See More</b></summary>

* #​609: Add fast path for reading consecutive strings/byte arrays
* #​513: v2 StringKey(Contractless) deserialization is slow
* #​603: Add CancellationToken to reader/writer structs
* #​598: Take CancellationToken parameter in serialize/deserialize methods
* #​582: Improve compatibility with existing types
* #​594: Add CancellationToken parameters to synchronous Stream (de)serialize methods
* #​595: Apply vs-threading analyzers and fix issues they found
* #​444: TypelessFormatter blacklist handling is insufficient
* #​576: [Request] NonGeneric Serialize method with the MessagePackWriter
* #​574: Don't convert Span to array before pinning

### Others:


* #​669: Fix nuget package ID for mpc tool back to `MessagePack.Generator`
* #​670: Include asmdef in package exporter
* #​667: Improve Readme
* #​668: Collect all mpc executables under one artifact
* #​661: Add MessagePackWindow and some fixes
* #​663: Stream deserialization fixes
* #​657: Throw msg exception before build nonpublic formatter.
* #​659: fix nugetpackagepath typo in Mac/Linux
* #​655: Add substitute formatters and resolvers
* #​658: Downgrade to System.Collections.Immutable 1.5.0
* #​654: System.Collections.Immutable 1.6.0 breaks Azure Functions
* #​646: Fix StandardResolverAllowPrivate exception
* #​653: use Microsoft.Extensions.FileSystemGlobbing to mpc
* #​652: Reduce number of build tasks
 ... (truncated)

## 1.9.11

## Changes:

### Fixes:

#​810: MessagePackSecurity.GetEqualityComparer<object> returns null on copied instances

### Enhancements:

#​813: Add secure hashing for enums with backing integers of 32-bit or less

This list of changes was [auto generated](https://dev.azure.com/ils0086/0ba6249d-1a97-43d2-bdba-9858faa6a972/_release?releaseId=114&_a=release-summary).

## 1.9.3

## Changes

🔒 **Security fixes are included in this release**. Read more in our [security advisory](https://github.com/neuecc/MessagePack-CSharp/security/advisories/GHSA-7q36-4xx7-xcxf).

No other changes are included in this release relative to v1.8

## 1.8.80

* Adjust assembly version from 1.8.74.32478 to simply 1.8.0.0 (#​604)
* Update System.Threading.Tasks.Extensions dependency to 4.5.3 (#​610)
* Publish symbols in snupkg archives to nuget.org (#​624)

## 1.8.74

Very few changes since 1.7, but now building from a more serviceable branch.

## 1.7.3.7

This servicing release fixes a security issue with the deserializer to prevent unbounded memory allocations from relatively small MessagePack payloads.

## 1.7.3.6

This release is only for code generator(mpc) fix.
for .NET, .NET Standard runtime, please use 1.7.3.
for Unity runtime, please use 1.7.3.5.

* support linux and mac with legacy csproj #​357, thanks @​itn3000 
* show Type.FullName when code generation failed
* return error code(1) instead of crash when code geneation failed

Note:
mpc requires dotnet core runtime and msbuild(to support legacy csproj, on linux/osx, you can use mono msbuild).

## 1.7.3.5

This release is only for unity fix.
* Support .NET Standard 2.0 (NET Standard 2.0 can't use dynamic code generation so requires mpc code generation).
* New mpc(`UniversalCodeGenerator.zip` - MessagePack Compiler) binary supports `win-x64`, `linux-x64`, `osx-x64`.

Note:
Currently new mpc can not generate from legacy csproj(.NET 4.x, Unity) in linux and osx.
Please use windows or use new csproj(.NET Core).
Details is here. https://github.com/neuecc/MessagePack-CSharp/issues/355

Commits viewable in [compare view](https://github.com/MessagePack-CSharp/MessagePack-CSharp/commits/v2.5.187).
</details>

Updated [MessagePack](https://github.com/MessagePack-CSharp/MessagePack-CSharp) from 1.9.11 to 2.5.187.

<details>
<summary>Release notes</summary>

_Sourced from [MessagePack's releases](https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases)._

## 2.5.187

## Changes:

* #​2014: Use a collision-resistant hash algorithm for untrusted data to address https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-4qm4-8hg2-g2xm
* #​2010: Update published security policy

This list of changes was [auto generated](https://dev.azure.com/ils0086/MessagePack-CSharp/_build/results?buildId=2662&view=logs).

## 2.5.172

## What's Changed
* Allow applying `[MessagePackFormatter]` on parameters and return values by @​AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1901


**Full Changelog**: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.171...v2.5.172

## 2.5.171

## What's Changed
* Add .NET 8 target to mpc by @​AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1832
* Allow writing to init property setters of generic classes on .NET 6+ by @​AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1879


**Full Changelog**: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.168...v2.5.171

## 2.5.168

## What's Changed
* fixing issue with backing field naming and serialization failing by @​epitka in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1785
* Feature/1804 locate formatters only if has elements inside by @​nmi-relewise in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1805
* Enable ignoring fields by using [NonSerialized] by @​mookid8000 in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1808
* Reduce nuget dependencies by @​thompson-tomo in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1812
* Raise perf tracking events when formatters are dynamically generated by @​AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1829

## New Contributors
* @​epitka made their first contribution in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1785
* @​nmi-relewise made their first contribution in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1805
* @​mookid8000 made their first contribution in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1808
* @​thompson-tomo made their first contribution in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1812

**Full Changelog**: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.140...v2.5.168

## 2.5.140

## What's Changed
* Fix releases links in README text by @​KonH in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1688
* Better constrain dictionary detection by @​AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1687
* Create FUNDING.yml by @​AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1693
* Workaround mono runtime bug by @​AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1696
* Add MESSAGEPACK_FORCE_AOT preprocessor directive by @​brwhelan-msft in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1701

## New Contributors
* @​brwhelan-msft made their first contribution in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1701

**Full Changelog**: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.129...v2.5.140

## 2.5.129

## What's Changed
* Remove `long` to `int` truncation of stream position by @​AArnott in https://github.com/MessagePack-CSharp/MessagePack-CSharp/pull/1685


**Full Changelog**: https://github.com/MessagePack-CSharp/MessagePack-CSharp/compare/v2.5.124...v2.5.129

## 2.5.124

## What's Changed
* Fix bug unsafe formatter by @​pCYSl5EDgo in https://github.com/neuecc/MessagePack-CSharp/pull/1584
* Bump Microsoft.NET.StringTools from 17.4.0 to 17.5.0 by @​dependabot in https://github.com/neuecc/MessagePack-CSharp/pull/1588
* Bump ReactiveProperty from 8.2.0 to 9.1.2 by @​dependabot in https://github.com/neuecc/MessagePack-CSharp/pull/1592
* Avoid copying data twice in MessagePackWriter.MemoryCopy when running… by @​AlanLiu90 in https://github.com/neuecc/MessagePack-CSharp/pull/1607
* Fix `ILookup<TKey, TElement>` deserialized behavior by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1623
* Bump Microsoft.NET.StringTools from 17.5.0 to 17.6.3 by @​dependabot in https://github.com/neuecc/MessagePack-CSharp/pull/1629
* move code depending on UnityEditor into separate assembly by @​NorbertNemec in https://github.com/neuecc/MessagePack-CSharp/pull/1649

## New Contributors
* @​AlanLiu90 made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1607
* @​NorbertNemec made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1649

**Full Changelog**: https://github.com/neuecc/MessagePack-CSharp/compare/v2.5.108...v2.5.124

## 2.5.108

## What's Changed
* fix ThreadsafeTypeKeyHashTable.GetOrAdd stampede issue by @​gepa21 in https://github.com/neuecc/MessagePack-CSharp/pull/1577
* Revert change that introduced thread-safety bug by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1579


**Full Changelog**: https://github.com/neuecc/MessagePack-CSharp/compare/v2.5.103...v2.5.108

## 2.5.103

## What's Changed
* Use Mono.RuntimeStructs rather than Mono.Runtime to test if app is running on Mono runtime by @​takeshik in https://github.com/neuecc/MessagePack-CSharp/pull/1573
* Fix PrimitiveObjectResolver's ability to read strings by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1575

## New Contributors
* @​takeshik made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1573

**Full Changelog**: https://github.com/neuecc/MessagePack-CSharp/compare/v2.5.94...v2.5.103

## 2.5.94

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

## New Contributors
* @​gllebede made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1462
* @​MaximMikhisor made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1461
* @​ValkaVales made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1481
* @​ImanNavidi made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1490
* @​MichalPetryka made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1486
* @​vzabrodin made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1512
* @​gfs made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1547
* @​gepa21 made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1557
* @​Valerionn made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1561
* @​Scormave made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1553
* @​lynzrand made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1551

 ... (truncated)

## 2.5.64-alpha

## What's Changed
* Support string interning when deserializing string as object. by @​sa-vg in https://github.com/neuecc/MessagePack-CSharp/pull/1487
* Add disabled test for supporting Union on concrete classes by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1466
* Remove a few dependencies from unity package by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1497
* Build on Unity 2021.3 agent by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1537
* Refreshing updates by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1538
* Add nullable ref annotations by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1539
* Add more nullable ref annotations by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1540
* Last of the nullable ref annotations by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1541

## New Contributors
* @​sa-vg made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1487

**Full Changelog**: https://github.com/neuecc/MessagePack-CSharp/compare/v2.4.23-alpha...v2.5.64-alpha

## 2.4.59

## What's Changed
* Skip type collection if property has MessagePackFormatterAttribute by @​gllebede in https://github.com/neuecc/MessagePack-CSharp/pull/1462
* Fix for "System.NotImplementedException: byref delegate" by @​MaximMikhisor in https://github.com/neuecc/MessagePack-CSharp/pull/1461
* Add non-generic serialize/deserialize perf tests by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1478
* Fix OverflowException in SafeBitConverter.ToInt64 by @​ValkaVales in https://github.com/neuecc/MessagePack-CSharp/pull/1481
* removing extra double quotation mark by @​ImanNavidi in https://github.com/neuecc/MessagePack-CSharp/pull/1490
* Enable SPAN_BUILTIN code for Unity 2021.2+ by @​MichalPetryka in https://github.com/neuecc/MessagePack-CSharp/pull/1486
* ASP.NET Core improvements by @​vzabrodin in https://github.com/neuecc/MessagePack-CSharp/pull/1512
* fix duplicate registration of named tuples by @​honda-tatsuya in https://github.com/neuecc/MessagePack-CSharp/pull/1464
* Fix null param check in `StaticCompositeResolver` by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1527
* Update Microsoft.NET.StringTools dependency to 17.4.0 by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1515
* Improve error messages in exceptions thrown from `PrimitiveObjectFormatter` by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1499
* Add incremental build support to MessagePack.MSBuild.Tasks by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1528
* Remove dead constant by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1529

## New Contributors
* @​gllebede made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1462
* @​MaximMikhisor made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1461
* @​ValkaVales made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1481
* @​ImanNavidi made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1490
* @​MichalPetryka made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1486
* @​vzabrodin made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1512

**Full Changelog**: https://github.com/neuecc/MessagePack-CSharp/compare/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](https://dev.azure.com/ils0086/MessagePack-CSharp/_build/results?buildId=1814&view=logs).

## 2.4.23-alpha

## What's Changed
* Fix missing switch statement by @​steelywing in https://github.com/neuecc/MessagePack-CSharp/pull/1383
* Added ResolverUtilitis.cs.meta, fix #​1388 by @​neuecc in https://github.com/neuecc/MessagePack-CSharp/pull/1389
* Add CompressionMinLength parameter to MessagePackSerializerOptions by @​israellot in https://github.com/neuecc/MessagePack-CSharp/pull/1359
* Add built-in support for .NET 6 `DateOnly` and `TimeOnly` types by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1427
* Suppress CS1591 warnings in generated code by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1440

## New Contributors
* @​steelywing made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1383
* @​israellot made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1359

**Full Changelog**: https://github.com/neuecc/MessagePack-CSharp/compare/v2.4.14-alpha...v2.4.23-alpha

## 2.4.14-alpha

## What's Changed
* Fixed typo in README.MD by @​marekott in https://github.com/neuecc/MessagePack-CSharp/pull/1317
* Allows client code to avoid tripping over StandardResolver by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1315
* Add string interning option by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1285
* Drop unsupported platforms by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1345
* Fix MessagePackFormatterAttribute for many built-in formatter types by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1330
* Support Unity netstandard21 by @​neuecc in https://github.com/neuecc/MessagePack-CSharp/pull/1346
* disable HashCode.cs if UNITY_2021_2_OR_NEWER by @​neuecc in https://github.com/neuecc/MessagePack-CSharp/pull/1357
* Fix secure hash for `float` by @​pCYSl5EDgo in https://github.com/neuecc/MessagePack-CSharp/pull/1364
* Added DevelopmentDependency to MessagePackAnalyzer by @​HavenDV in https://github.com/neuecc/MessagePack-CSharp/pull/1361
* .NET 6 Update by @​pCYSl5EDgo in https://github.com/neuecc/MessagePack-CSharp/pull/1355
* Avoid C#​10 global using name collisions by @​pCYSl5EDgo in https://github.com/neuecc/MessagePack-CSharp/pull/1368
* Global Using and File Scoped Namespace Test by @​pCYSl5EDgo in https://github.com/neuecc/MessagePack-CSharp/pull/1371
* Fix nullable annotation errorneous handling by @​pCYSl5EDgo in https://github.com/neuecc/MessagePack-CSharp/pull/1395

## New Contributors
* @​marekott made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1317
* @​HavenDV made their first contribution in https://github.com/neuecc/MessagePack-CSharp/pull/1361

**Full Changelog**: https://github.com/neuecc/MessagePack-CSharp/compare/v2.3.85...v2.4.14-alpha

## 2.3.112

## What's Changed
* Drop unsupported platforms by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1345
* Fix MessagePackFormatterAttribute for many built-in formatter types by @​AArnott in https://github.com/neuecc/MessagePack-CSharp/pull/1330
* Support Unity netstandard21 by @​neuecc in https://github.c.....

_Description has been truncated_

dependabot bot and others added 10 commits April 24, 2025 06:43
Bumps [MessagePack](https://github.com/MessagePack-CSharp/MessagePack-CSharp) from 2.5.171 to 2.5.187.
- [Release notes](https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases)
- [Commits](MessagePack-CSharp/MessagePack-CSharp@v2.5.171...v2.5.187)

---
updated-dependencies:
- dependency-name: MessagePack
  dependency-version: 2.5.187
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
CsRedis v2.3.0 update BaseRedisObjectCacheStrategy.Client init progress
…endencyInjection.Abstractions

Bumps Microsoft.Extensions.Caching.Memory to 6.0.2, 8.0.1
Bumps Microsoft.Extensions.DependencyInjection.Abstractions from 8.0.0 to 8.0.2

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Caching.Memory
  dependency-version: 6.0.2
  dependency-type: direct:production
- dependency-name: Microsoft.Extensions.Caching.Memory
  dependency-version: 8.0.1
  dependency-type: direct:production
- dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions
  dependency-version: 8.0.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…NET.Tests/multi-6be6c664dc

Bump Microsoft.Extensions.Caching.Memory and Microsoft.Extensions.DependencyInjection.Abstractions
…NET.Cache.CsRedis.Tests/MessagePack-2.5.187

Bump MessagePack from 2.5.171 to 2.5.187 in /src/Senparc.CO2NET.Cache.CsRedis.Tests
---
updated-dependencies:
- dependency-name: MessagePack
  dependency-version: 2.5.187
  dependency-type: direct:production
- dependency-name: MessagePack
  dependency-version: 2.5.187
  dependency-type: direct:production
- dependency-name: MessagePack
  dependency-version: 2.5.187
  dependency-type: direct:production
- dependency-name: MessagePack
  dependency-version: 2.5.187
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Oct 28, 2025
@JeffreySu JeffreySu changed the base branch from master to Develop November 25, 2025 18:44
@JeffreySu JeffreySu requested a review from Copilot November 25, 2025 18:44
@JeffreySu JeffreySu merged commit 5caff44 into Develop Nov 25, 2025
@dependabot dependabot bot deleted the dependabot/nuget/src/Senparc.CO2NET.Cache.Redis.Tests/multi-a0a80fc5eb branch November 25, 2025 18:45
Copilot finished reviewing on behalf of JeffreySu November 25, 2025 18:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates MessagePack from versions 1.7.3.4, 1.9.11, and 2.5.171 to 2.5.187 across multiple test project files. The primary motivation is to incorporate security fixes introduced in MessagePack 2.5.187 (addressing GHSA-4qm4-8hg2-g2xm related to hash collision attacks). Additionally, minor updates are made to Microsoft.Extensions dependencies in some projects.

  • Upgrades MessagePack to 2.5.187 across all test projects (major version bump for projects still on 1.x)
  • Includes security fix for collision-resistant hash algorithm for untrusted data
  • Updates Microsoft.Extensions.Caching.Memory and Microsoft.Extensions.DependencyInjection.Abstractions in select projects

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
Senparc.CO2NET.Tests.net8.csproj Updates Microsoft.Extensions packages; no MessagePack changes in this file
Senparc.CO2NET.Tests.net6.csproj Updates Microsoft.Extensions.Caching.Memory to 6.0.2; no MessagePack changes in this file
Senparc.CO2NET.Cache.Redis.Tests.net8.csproj Updates MessagePack from 2.5.171 to 2.5.187
Senparc.CO2NET.Cache.Redis.Tests.net7.csproj Major version bump: MessagePack 1.7.3.4 → 2.5.187
Senparc.CO2NET.Cache.Redis.Tests.net6.csproj Major version bump: MessagePack 1.7.3.4 → 2.5.187
Senparc.CO2NET.Cache.Redis.Tests.csproj Major version bump: MessagePack 1.9.11 → 2.5.187
Senparc.CO2NET.Cache.CsRedis.Tests.net8.csproj Updates MessagePack from 2.5.171 to 2.5.187; removes BOM character

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<ItemGroup>
<PackageReference Include="MessagePack" Version="2.5.171" />
<PackageReference Include="MessagePack" Version="2.5.187" />
<PackageReference Include="MessagePackAnalyzer" Version="2.5.171">
Copy link

Copilot AI Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MessagePackAnalyzer version (2.5.171) should be updated to match the MessagePack version (2.5.187) to ensure compatibility and consistent analysis behavior. Version mismatches between the runtime library and analyzer can lead to incorrect warnings or missed issues.

Suggested change
<PackageReference Include="MessagePackAnalyzer" Version="2.5.171">
<PackageReference Include="MessagePackAnalyzer" Version="2.5.187">

Copilot uses AI. Check for mistakes.
<ItemGroup>
<PackageReference Include="MessagePack" Version="2.5.171" />
<PackageReference Include="MessagePack" Version="2.5.187" />
<PackageReference Include="MessagePackAnalyzer" Version="2.5.171">
Copy link

Copilot AI Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MessagePackAnalyzer version (2.5.171) should be updated to match the MessagePack version (2.5.187) to ensure compatibility and consistent analysis behavior. Version mismatches between the runtime library and analyzer can lead to incorrect warnings or missed issues.

Suggested change
<PackageReference Include="MessagePackAnalyzer" Version="2.5.171">
<PackageReference Include="MessagePackAnalyzer" Version="2.5.187">

Copilot uses AI. Check for mistakes.
<ItemGroup>
<PackageReference Include="MessagePack" Version="1.7.3.4" />
<PackageReference Include="MessagePack" Version="2.5.187" />
<PackageReference Include="MessagePackAnalyzer" Version="1.6.0" />
Copy link

Copilot AI Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MessagePackAnalyzer version 1.6.0 is significantly outdated compared to MessagePack 2.5.187. This represents a major version mismatch (1.x analyzer with 2.x library) that will likely cause the analyzer to produce incorrect results or fail to recognize MessagePack 2.x features and API changes. Update MessagePackAnalyzer to 2.5.187.

Suggested change
<PackageReference Include="MessagePackAnalyzer" Version="1.6.0" />
<PackageReference Include="MessagePackAnalyzer" Version="2.5.187" />

Copilot uses AI. Check for mistakes.
<ItemGroup>
<PackageReference Include="MessagePack" Version="1.7.3.4" />
<PackageReference Include="MessagePack" Version="2.5.187" />
<PackageReference Include="MessagePackAnalyzer" Version="1.6.0" />
Copy link

Copilot AI Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MessagePackAnalyzer version 1.6.0 is significantly outdated compared to MessagePack 2.5.187. This represents a major version mismatch (1.x analyzer with 2.x library) that will likely cause the analyzer to produce incorrect results or fail to recognize MessagePack 2.x features and API changes. Update MessagePackAnalyzer to 2.5.187.

Suggested change
<PackageReference Include="MessagePackAnalyzer" Version="1.6.0" />
<PackageReference Include="MessagePackAnalyzer" Version="2.5.187" />

Copilot uses AI. Check for mistakes.
<ItemGroup>
<PackageReference Include="MessagePack" Version="1.9.11" />
<PackageReference Include="MessagePack" Version="2.5.187" />
<PackageReference Include="MessagePackAnalyzer" Version="1.6.0" />
Copy link

Copilot AI Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MessagePackAnalyzer version 1.6.0 is significantly outdated compared to MessagePack 2.5.187. This represents a major version mismatch (1.x analyzer with 2.x library) that will likely cause the analyzer to produce incorrect results or fail to recognize MessagePack 2.x features and API changes. Update MessagePackAnalyzer to 2.5.187.

Suggested change
<PackageReference Include="MessagePackAnalyzer" Version="1.6.0" />
<PackageReference Include="MessagePackAnalyzer" Version="2.5.187" />

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants