Microsoft.IO.RecyclableMemoryStream breaking changes

nuget

10 curated breaking changes across major versions of Microsoft.IO.RecyclableMemoryStream. Use this as a migration checklist before bumping dependencies.

10
changes
Breaking changes by transition
  • 2.3.2 \u2192 3.0.0breaking

    Removed `int`-based constructor and `GetStream` overloads where `long`-based methods exist.

  • 2.3.2 \u2192 3.0.0breaking

    Removed all methods marked with `[Obsolete]`:

  • 2.3.2 \u2192 3.0.0breaking

    `StreamDisposedEventArgs.ctor(Guid, string, string, string)`

  • 2.3.2 \u2192 3.0.0breaking

    `RecyclableMemoryStreamManager.GetStream(Guid, string, Memory<byte>)`

  • 2.3.2 \u2192 3.0.0breaking

    `RecyclableMemoryStreamManager.GetStream(Memory<byte>)`

  • 1.4.1 \u2192 2.0.0breaking

    Removed 2 GB stream limit. Extremely large streams can be created by chaining together blocks. Attempts to convert a stream into a contiguous buffer longer than the runtime's limits will result in an exception.

  • 1.4.1 \u2192 2.0.0breaking

    Removed build targets for net40, net45, net46, and netstandard1.4. Added net462.

  • 1.4.1 \u2192 2.0.0breaking

    Changed some ETW events to provide more information.

  • 1.4.1 \u2192 2.0.0breaking

    Refactored .NET events to match the information payloads of the ETW events.

  • 1.4.1 \u2192 2.0.0breaking

    `GetBuffer` now throws `OutOfMemoryException` instead of `InvalidOperationException` if the needed size is too large for a contiguous array.

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/nuget/Microsoft.IO.RecyclableMemoryStream
Microsoft.IO.RecyclableMemoryStream breaking changes — NuGet migration guide | DepScope