Skip to content

Releases: MessagePack-CSharp/MessagePack-CSharp

v2.1.194

14 Sep 14:45
459e2bd
Compare
Choose a tag to compare

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

v2.2.36-alpha

12 Sep 03:20
6f5c234
Compare
Choose a tag to compare
v2.2.36-alpha Pre-release
Pre-release

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.

v2.1.165

12 Aug 19:29
7d06c13
Compare
Choose a tag to compare

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.

v2.1.152

01 Jul 13:29
8073e88
Compare
Choose a tag to compare

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.

v2.1.143

18 Jun 14:58
c2ee6bc
Compare
Choose a tag to compare

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.

v2.1.115

11 Apr 19:39
38f095b
Compare
Choose a tag to compare

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.

v2.1.90

10 Feb 14:59
895178f
Compare
Choose a tag to compare

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

v1.9.11

10 Feb 14:07
6cbd819
Compare
Choose a tag to compare

Changes:

Fixes:

#810: MessagePackSecurity.GetEqualityComparer 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.

v2.1.80

31 Jan 02:16
6b89b9a
Compare
Choose a tag to compare

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
  • #754: Simplify CompositeResolver.Create
  • #747: Fix sample code snippets use of new overload
  • #745: README suggests use of non-existent Serialize overloads
  • #741: Add a prefix to the property names to avoid name conflicts.
  • #742: Resolve NuGet dependency in mpc
  • #740: FarmHash performance improvement
  • #739: Sort SerializationInfo
  • #737: Document v1.x compatible compression in README
  • #736: LZ4MessagePackSerializer
  • #734: Document TypelessFormatter.BindToType change
  • #732: Add tests to repro type loss for Guid and Decimal
  • #731: Hard to switch between DateTime and user extensions in MessagePackReader
  • #733: 'TypelessFormatter' does not contain a definition for 'BindToType' after updating to 2.0.323
  • #725: Merge v2.0 into master
  • #717: Preserve types of integers when using typeless resolver

This list of changes was auto generated.

v1.9.3

31 Jan 02:16
129239b
Compare
Choose a tag to compare

Changes

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

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