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 1.3.6 to 2.2.1 #338

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 29, 2022

Bumps Microsoft.IO.RecyclableMemoryStream from 1.3.6 to 2.2.1.

Release notes

Sourced from Microsoft.IO.RecyclableMemoryStream's releases.

Microsoft.IO.RecyclableMemoryStream 2.2.1

API change:

  • There are now overloads that take a type long parameter for requestedSize.

Bug Fix:

  • ToString will no longer throw an exception if the stream is disposed.

NuGet: Microsoft.IO.RecyclableMemoryStream 2.2.1

Microsoft.IO.RecyclableMemoryStream 2.2.0

API changes:

  • Add an override for GetStream that takes a ReadOnlySpan<byte>. This supercedes the versions of GetStream that take Memory<byte>, which were marked as [Obsolete].

Bug Fixes:

  • Fixed: GetReadOnlySequence() throws ArgumentOutOfRangeException

Performance Improvements:

  • Removed enumerator allocation when returning blocks to the pool.
  • Changed default size of stream's block list to 0 because EnsureCapacity will always run, potentially resizing the list anyway.
  • Removed unneeded closure allocation when copying buffers.
  • Use GC.AllocateUninitializedArray in an additional spot, for better performance in .NET 5+.

Documentation:

  • Improved documentation, standardized puncutation, fixed code formatting.

NuGet: Microsoft.IO.RecyclableMemoryStream 2.2.0

Microsoft.IO.RecyclableMemoryStream 2.1.3

Fixed another integer overrun math bug related to the new 64-bit data sizes that handle longer streams. The tests have also been updated to check for more issues like this.

NuGet: Microsoft.IO.RecyclableMemoryStream 2.1.3

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

... (truncated)

Changelog

Sourced from Microsoft.IO.RecyclableMemoryStream's changelog.

Version 2.2.1

API change:

  • There are now overloads that take a type long parameter for requestedSize.

Bug Fix:

  • ToString will no longer throw an exception if the stream is disposed.

Version 2.2.0

API changes:

  • Add an override for GetStream that takes a ReadOnlySpan<byte>. This supercedes the versions of GetStream that take Memory<byte>, which were marked as [Obsolete].

Bug Fixes:

  • Fixed: GetReadOnlySequence() throws ArgumentOutOfRangeException

Performance Improvements:

  • Removed enumerator allocation when returning blocks to the pool.
  • Changed default size of stream's block list to 0 because EnsureCapacity will always run, potentially resizing the list anyway.
  • Removed unneeded closure allocation when copying buffers.
  • Use GC.AllocateUninitializedArray in an additional spot, for better performance in .NET 5+.

Documentation:

  • Improved documentation, standardized puncutation, fixed code formatting.

Version 2.1.3

Bug Fixes:

  • Fixed another integer overflow error when returning buffers to the pool.

Version 2.1.2

Bug Fixes:

  • Added [SecurityRules(SecurityRuyleSet.Level1)] to assembly to allow more relaxed inheritance security rules.
  • Fixed an integer overflow when calculating large buffer sizes.

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.

... (truncated)

Commits
  • dad7aa3 Prepare 2.2.1 release. Update version numbers. Regenerate documentation. (#245)
  • c3368aa Fix ToString to correctly handle disposed streams. (#244)
  • 5cdd473 Add overloads of GetStream that take a long requestedSize (#237)
  • b9738a3 Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.0 in /UnitTests (#243)
  • 7701db7 Update README.md (#241)
  • 36b5c39 Clarify documentation surrounding requesting initial sizes. (#238)
  • bd8fe88 Microsoft mandatory file (#235)
  • 97bffe2 Bump System.Memory from 4.5.4 to 4.5.5 in /UnitTests (#232)
  • 02aa1b9 Bump System.Memory from 4.5.4 to 4.5.5 in /src (#233)
  • b195f27 Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 in /UnitTests (#229)
  • Additional commits viewable in compare view

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)

Bumps [Microsoft.IO.RecyclableMemoryStream](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream) from 1.3.6 to 2.2.1.
- [Release notes](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream/releases)
- [Changelog](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/blob/master/CHANGES.md)
- [Commits](microsoft/Microsoft.IO.RecyclableMemoryStream@1.3.6...2.2.1)

---
updated-dependencies:
- dependency-name: Microsoft.IO.RecyclableMemoryStream
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Aug 29, 2022
@dependabot dependabot bot changed the base branch from master to main October 27, 2022 22:12
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 3, 2023

Superseded by #460.

@dependabot dependabot bot closed this Mar 3, 2023
@dependabot dependabot bot deleted the dependabot/nuget/Microsoft.IO.RecyclableMemoryStream-2.2.1 branch March 3, 2023 18:59
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 .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants