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.