Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Microsoft.IO.RecyclableMemoryStream from 2.0.0 to 2.1.2 #19

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps Microsoft.IO.RecyclableMemoryStream from 2.0.0 to 2.1.2.

Release notes

Sourced from Microsoft.IO.RecyclableMemoryStream's releases.

Microsoft.IO.RecyclableMemoryStream 2.1.2

Changes:

  • Fixed an integer overflow bug when buffer sizes are near Int32.MaximumValue

NuGet: Microsoft.IO.RecyclableMemoryStream 2.1.2

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

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

Version 1.4.0

  • Added netstandard2.0 target. There was an issue calling GetBuffer from a netstandard2.0 project, which would resolve to the netstandard1.4 target of RMS. netstandard1.4 doesn't support overriding GetBuffer, so you could hit UnauthorizedAccessException.
  • A bug fix for CopyToAsync. It was copying the entire stream, but the expected behavior based on System.IO.MemoryStream is to copy from the current position.
  • Some performance improvements to CopyToAsync.

Version 1.3.6

Minor updates:

  • Override CopyToAsync to save some allocations.
  • Apply AllowPartiallyTrustedCallers attribute to assembly

Version 1.3.5

Performance Improvements

  • WriteByte has been significantly optimized to be faster.
  • CheckDisposed, which is called in many code paths, has similarly been optimized.

Version 1.3.4

New API:

  • void WriteTo(Stream stream, int offset, int count) -- Allows you to write a portion of the current stream to a destination stream without first having to call GetBuffer.

... (truncated)

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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 1, 2021
@codecov
Copy link

codecov bot commented Jul 1, 2021

Codecov Report

Base: 53.29% // Head: 53.29% // No change to project coverage 👍

Coverage data is based on head (7e8526d) compared to base (861c17c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #19   +/-   ##
========================================
  Coverage    53.29%   53.29%           
========================================
  Files           62       62           
  Lines         1899     1899           
========================================
  Hits          1012     1012           
  Misses         887      887           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants