MessagePack for C# (.NET, .NET Core, Unity, Xamarin) v2.0.270-rc Release Notes
Release Date: 2019-11-25 // over 4 years ago-
๐ 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 ๐ See More #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 ๐ #650: Pack MPC tool as build artifact ๐ #644: Move MessagePack.Internal from src to sandbox ๐ #643: Remove Nerdbank.Streams dependency from MessagePack.Internal project ๐ #642: Fix-ups to get UWP test project building ๐ #639: Remove UniversalCodeGenerator #637: Adjust System.Runtime.CompilerServices.Unsafe version ๐ #631: Build -rc versioned packages ๐ #636: Remove Nerdbank.Streams again #633: Ensure that only documented exceptions are thrown #635: Fix duplicate relative path syntax trees #628: Improve mpc #627: Throw MessagePackSerializationException instead of IOE โ #626: Fix T4 generation in tests ๐ #623: Merge v1.8 to master ๐ #620: "Fix" build.sh script to return failure exit codes when Unity build fails ๐ #621: Get builds and tests running on non-Windows OS ๐ #592: Remove Nerdbank.Streams dependency #616: Pack nupkg files to common directory #613: Define MessagePackSerializationException base class โก๏ธ #611: Update package references โก๏ธ #612: Update .NET Core SDK to 3.0.100 #591: Unity IL2CPP and New CodeGenerator #602: Add xml doc comment to IFormatterResolver #601: Fix T4 code generation #596: Add public API tracking files #333: Detect an error when more than one member has the same key ๐ป #322: Made exception public to get ability to handle it properly on client side #250: added information about compressing binary data ๐ #312: Fixed sample code compilation error in README #550: Avoid a call to ReadOnlySpan.Slice ๐ #589: Remove mutable fields/properties from TypelessFormatter #564: Require checked in unsafe cast #577: Add non-generic serialize methods that take MessagePackReader/Writer ๐ #569: Remove ByteArrayComparer #580: Add issue templates ๐ #575: Remove unused ToArray() copy โ #565: Unity test improv #542: Unity fix for v2 #553: Fix intra-document links in README #543: Rename UnsafeNativeResolver to NativeGuidResolver, NativeDecimalResolver ๐ #549: Remove FloatBits #539: BufferWriter should reduce call Slice ๐ #537: Remove dead code from main library 0๏ธโฃ #533: Make default options for MessagePackSerializer mutable #536: Turn off SA1005 and SA1515 analyzers ๐ #509: Disable some lint options #528: Choose most matched constructor #530: Allow private constructors when using ctor attribute #532: Fix DynamicCodeDumper ๐ #527: Remove MessagePackWriter.WriteFixedArrayHeaderUnsafe โก๏ธ #526: Optimize for MemoryStream Deserialize #525: prefer var ๐ #506: What reason v2 removes MaxFixMapCount optimization? ๐ #524: Merge v1.8 to master #519: Make CompositeResolver faster and immutable ๐ #523: Support null strings and byte[] in MessagePackReader/Writer #522: Allow negative extension headers in MessagePackWriter #520: Do not convert Unspecified DateTime #516: Make using old spec more accessible #517: Do not skip resolvers for read/write of string #83: DateTime Kind is UTC but it should be unspecified #518: Use UNITY_2018_3_OR_NEWER for #if instead of UNITY_STANDALONE #502: CompositeResolver(v2) is slow. #507: UNITY_STANDALONE in v2 is not a valid define on Unity โก๏ธ #505: Please remove optimize on string read/write. #504: Where is the OldSpecResolver on v2? โ #511: MessagePackWriter.WriteString should support null instead of throw ๐ This list of changes was auto generated.