Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# Version 4.0.0

**Breaking Changes**
* Dropping net6.0 will more easily support trimming [PR #409](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/pull/409)
* Switch `MemoryStreamDoubleDispose` event level from Critical to Verbose [PR #406](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/pull/406)
* Switch `MemoryStreamDoubleDispose` event level from `Critical` to `Verbose` [PR #406](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/pull/406)
* Drop net6.0 to simplify support for trimming [PR #409](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/pull/409)

**New Features**

* Add trimming support [PR #443](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/pull/443) and utilize `EventSourcePrimtiives` for logging

**Other Changes**
* Readme: Add clarity for the large pool of buffers and the GetBuffer method pertaining to the .NET max array length [PR #370](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/pull/370)
* Removed workaround for [Nuget packing bug](https://github.com/dotnet/sdk/issues/11105). [PR #445](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/pull/445)

# Version 3.0.1

Expand Down
10 changes: 10 additions & 0 deletions generatedocs.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ ECHO ===========================================================
ECHO Using xmldocmd from https://github.com/ejball/XmlDocMarkdown
ECHO ===========================================================

where xmldocmd >nul 2>nul
IF ERRORLEVEL 1 (
ECHO xmldocmd not found. Installing...
dotnet tool install xmldocmd -g
IF ERRORLEVEL 1 (
ECHO Failed to install xmldocmd.
EXIT /B 1
)
)

del /q /s docs\*

xmldocmd .\src\bin\Release\netstandard2.1\Microsoft.IO.RecyclableMemoryStream.dll .\docs --obsolete --clean
Expand Down
6 changes: 1 addition & 5 deletions src/Microsoft.IO.RecyclableMemoryStream.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Microsoft.IO.RecyclableMemoryStream.xml</DocumentationFile>
<!-- NuGet properties -->
<PackageId>Microsoft.IO.RecyclableMemoryStream</PackageId>
<PackageVersion>4.0.0-alpha</PackageVersion>
<PackageVersion>4.0.0-preview</PackageVersion>
<Title>Microsoft.IO.RecyclableMemoryStream</Title>
<Authors>Microsoft</Authors>
<Description>A pooled MemoryStream allocator to decrease GC load and improve performance on highly scalable systems.</Description>
Expand Down Expand Up @@ -56,10 +56,6 @@
<None Include=".editorconfig" />
</ItemGroup>

<!-- Workaround for https://github.com/dotnet/sdk/issues/11105 -->
<ItemGroup>
<SourceRoot Include="$(NuGetPackageRoot)\" Condition="'$(NuGetPackageRoot)' != ''" />
</ItemGroup>
<ItemGroup>
<EditorConfigFiles Remove=".editorconfig" />
</ItemGroup>
Expand Down
Loading