Skip to content

Releases: MessagePack-CSharp/MessagePack-CSharp

Ver 1.7.3.6

07 Jan 11:54
Compare
Choose a tag to compare

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).

Ver 1.7.3.5

17 Dec 10:07
Compare
Choose a tag to compare

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. #355

Ver 1.7.3

22 Dec 14:34
Compare
Choose a tag to compare
  • Add TypelessFormatter.BindToType #184, thanks @valeriob
  • Add support .NET Standard 1.6 #185
  • Fix can not serialize byte[][]
  • Fix set/capacity bug in MessagePackBinary.ReadMessageBlockFromStreamCore #151, thanks @opsidjflksdf
  • In Unity and not AOT env, DynamicCodeGeneration works same as standard .NET
  • Threadsafe, ModuleBuilder.DefineType(for mono) #161
  • Fix mpc.exe pragma warning #156,
  • for Unity, builtin resolver supports new types AnimationCurve, Keyframe, Matrix4x4, Gradient, Color32, RectOffset, LayerMask, Vector2Int, Vector3Int, RangeInt, RectInt, BoundsInt #178
  • mpc.exe support Mono(running on Mac and Linux) #155
  • mpc.exe support csproj 15.0

1.7.3.1

Only for NuGet version.

  • Fix TypelessFormatter supports private type. #187

1.7.3.2

Only for NuGet version.

  • Fix TypelessFormatter convert primitive array to object array. #187, #189
    Note: this is breaking changes

1.7.3.3

  • Fix mpc degraded enum formatter generating #196

1.7.3.4

  • Fix FromJson can not parse json string with decimal point #199

Ver 1.7.2

13 Oct 17:35
Compare
Choose a tag to compare
  • Fix AllowPrivateResolver can not deserialize constructor less struct

Ver 1.7.1

11 Oct 01:12
Compare
Choose a tag to compare

Improve Make OldSpecFormatters' constructor public #144, thanks @shimat
Improve Make NativeDateTimeFormatter constructor public

Ver 1.7.0

09 Oct 19:46
Compare
Choose a tag to compare

From this release, new supports .NET Standard 2.0, but .NET Standard 1.4 support was dropped.

  • Add StandardResolverAllowPrivate and ContractlessStandardResolverAllowPrivate there can be serialize private member
  • Improve MessagePackFormatterAtribute supports property and field.

Ver 1.6.2

04 Oct 19:37
Compare
Choose a tag to compare

From this release, mpc.exe does not include in nuget package.
Please download from this page, mpc.zip.

  • Fix throws InvalidProgramException when target type contains indexer #141, thanks @Joshualight
  • Fix use UNITY_WSA symbol instead of legacy UNITY_METRO symbol #139, thanks @foobraco
  • Remove mpc.exe in MessagePack nuget package

Ver 1.6.1.2

21 Sep 04:59
Compare
Choose a tag to compare
  • Fix ReadDouble(stream) can't read correctly
  • Fix mpc.exe, can not generate when target property uses override
  • Improve Guid Serialization Perf Improvement
  • Improve supports for LINQPad
  • Improve mpc.exe stringkey serialization performance
  • Add UnsafeBinaryResolver
  • Add BinaryGuidFormatter, BinaryDecimalFormatter

Ver 1.6.1

31 Aug 12:30
Compare
Choose a tag to compare

This release improved string key object serialization performance, x1.5~2.0 faster than previous version.

  • Improve string key object serialization performance #117
  • Add IDictionaryFormatter, IListFormatter and for there inherited collection(like ArrayList, Hashtable)
  • Add IgnoreFormatter, usage see IgnoreFormatter section
  • Add CompositeResolver.Register(IMessagePackFormatter[]) overload
  • Add MessagePackBinary.WriteRaw
  • Add MessagePackBinary.GetEncodedStringBytes
  • Fix underlying buffer of serialize allows ensure to 0x7FFFFFC7, #118

Ver 1.6.0.3

28 Aug 06:37
Compare
Choose a tag to compare

This release inproved string key object deserialization performance, x2.5 faster than previous version by automata based name lookup. Details, please see Deserialize Perfomrance per options section.

  • Improve string key(contractless) deserialization performance
  • Improve constructor choice by matching constructors one by one #101, thanks @neofuji
  • Add MessagePackBinary.ReadBytesSegment
  • Fix Typeless serializer/deserializer changes output type for primitive types #113
  • Fix typeless can not deserialize between .NET and .NET Core in mscorlib type #87

v1.6.0 has bug of string key code generation, please use v1.6.0.1

Ver 1.6.0.3

  • Fix Typeless serialize enum does not emit enum type
  • AutomataKeyGen fetches ulong instead of long