diff --git a/CHANGES.md b/CHANGES.md index 8178e10..0e57450 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/generatedocs.cmd b/generatedocs.cmd index 2e2b2af..27fe6ba 100644 --- a/generatedocs.cmd +++ b/generatedocs.cmd @@ -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 diff --git a/src/Microsoft.IO.RecyclableMemoryStream.csproj b/src/Microsoft.IO.RecyclableMemoryStream.csproj index af595ec..addd80d 100644 --- a/src/Microsoft.IO.RecyclableMemoryStream.csproj +++ b/src/Microsoft.IO.RecyclableMemoryStream.csproj @@ -7,7 +7,7 @@ bin\$(Configuration)\$(TargetFramework)\Microsoft.IO.RecyclableMemoryStream.xml Microsoft.IO.RecyclableMemoryStream - 4.0.0-alpha + 4.0.0-preview Microsoft.IO.RecyclableMemoryStream Microsoft A pooled MemoryStream allocator to decrease GC load and improve performance on highly scalable systems. @@ -56,10 +56,6 @@ - - - -