NiclasOlofsson / MiNET

A (not so) basic Minecraft Pocket Edition server written in C#
Other
872 stars 199 forks source link

Bump Microsoft.IO.RecyclableMemoryStream from 1.4.0 to 2.1.1 in /src/MiNET #573

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps Microsoft.IO.RecyclableMemoryStream from 1.4.0 to 2.1.1.

Release notes

Sourced from Microsoft.IO.RecyclableMemoryStream's releases.

Microsoft.IO.RecyclableMemoryStream 2.1.1

  • Fixed a bug introduced in 2.1.0 related to security inheritance rules

NuGet: Microsoft.IO.RecyclableMemoryStream 2.1.1

Microsoft.IO.RecyclableMemoryStream 2.1.0

  • Added RecyclableMemoryStreamManager constructor overloads that take parameters for specifying the maximum free pool sizes. Updated IntelliSense documentation to make clear that these values need to be explciitly set to avoid unbounded pool growth.
  • Buffers are now allocated using GC.AllocateUninitializedArray in .NET 5.
  • net462 and netstandard2.0 targets can now support the Span-related APIs via a dependency on System.Memory.
  • Updated documentation to fix typos and clarify language in some parts.
  • Support for Source Link

NuGet: Microsoft.IO.RecyclableMemoryStream 2.1.0

Microsoft.IO.RecyclableMemoryStream 2.0.0

Major new release!

  • Breaking Changes

    • 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.
    • Removed build targets for net40, net45, net46, and netstandard1.4. Added net462.
    • Changed some ETW events to provide more information.
    • Refactored .NET events to match the information payloads of the ETW events.
    • GetBuffer now throws OutOfMemoryException instead of InvalidOperationException if the needed size is too large for a contiguous array.
  • Other Changes

    • Removed use of Interlocked methods when checking whether the stream is disposed. This should improve performance. (Concurrent use of streams has never been supported.)
    • RecyclableMemoryStream now implements IBufferWriter<byte>
    • New method overloads of WriteTo that allow you write the contents of the stream directly to another byte[] buffer.
    • Reformatted all code documentation to be more readable.
  • Development-only Changes

    • Significantly improved unit test speed

Nuget: Microsoft.IO.RecyclableMemoryStream 2.0.0

Microsoft.IO.RecyclableMemoryStream 1.4.1

  • Fixed a bug in CopyToAsync where it wasn't updating the current position, just like a Read would. This was different behavior than in the base class, MemoryStream.

NuGet: Microsoft.IO.RecyclableMemoryStream 1.4.1

Changelog

Sourced from Microsoft.IO.RecyclableMemoryStream's changelog.

Version 2.1.0

  • Added RecyclableMemoryStreamManager constructor overloads that take parameters for specifying the maximum free pool sizes. Updated IntelliSense documentation to make clear that these values need to be explciitly set to avoid unbounded pool growth.
  • Buffers are now allocated using GC.AllocateUninitializedArray in .NET 5.
  • net462 and netstandard2.0 targets can now support the Span-related APIs via a dependency on System.Memory.
  • Updated documentation to fix typos and clarify language in some parts.
  • Support for Source Link

Version 2.0

  • Breaking Changes

    • 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.
    • Removed build targets for net40, net45, net46, and netstandard1.4. Added net462.
    • Changed some ETW events to provide more information.
    • Refactored .NET events to match the information payloads of the ETW events.
    • GetBuffer now throws OutOfMemoryException instead of InvalidOperationException if the needed size is too large for a contiguous array.
  • Other Changes

    • Removed use of Interlocked methods when checking whether the stream is disposed. This should improve performance. (Concurrent use of streams has never been supported.)
    • RecyclableMemoryStream now implements IBufferWriter<byte>
    • New method overloads of WriteTo that allow you write the contents of the stream directly to another byte[] buffer.
    • Reformatted all code documentation to be more readable.
  • Development-only Changes

    • Significantly improved unit test speed
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 3 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.