- After overwriting items,
PeekLast
could crash (#20)
- Changing the
Capacity
property with a populated buffer lead to data corruption (#18)
- Calling
Get
overloads that returned array didn't always wrapHead
properly (#17)
- Reinstated .NET 3.5 support
- NuGet package is now signed
- The
CopyTo
overload that specified a range crashed if an starting offset was used that pushed it beyond the capacity of the buffer
- The
CopyTo
overload that specified a range used direct indexes into the source buffer instead of offsetting fromHead
- Added
PeekAt
method to allow items to be retrieved, but not removed, from anywhere in the buffer - Added
GetLast
overloads that allow multiple items to be retrieved and removed with a single call - Added
PeekLast
overloads that allow multiple items to be retrieved, but not removed with a single call - Added several new build targets, including .NET Standard and .NET Core, in addition to several legacy Framework
- Converted project to SDK style
- Build process now uses
dotnet.exe
- The
Size
property is no longer writable
- Added
GetLast
method to complementPeekLast
, allowing the class to be used as a last-in, first-out stack without reflection hacks.
- Added
AssemblyInformationalVersion
attribute so NuGet "just works"
- After putting array of the same size as buffer in it, next
single value put throws
IndexOutOfRangeException
.
- Initial release