NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #267 most downloaded on NuGet
A near-C++ performance implementation of the Snappy compression algorithm for .NET. Snappier is ported to C# directly from the official C++ implementation, with the addition of support for the framed stream format. By avoiding P/Invoke, Snappier is fully cross-platform and works on both Linux and Windows and against any CPU supported by .NET. However, Snappier performs best in .NET 6 and later on little-endian x86/64 processors with the help of System.Runtime.Instrinsics.
Latest stable
1.3.2
Last release 7 days ago
15 Nov 2026
Release timing varies
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 12 of 12 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
15 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Support fork pull requests in build workflow by @brantburnett in #151
Full Changelog: release/1.3.1...release/1.3.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Handle undersized data blocks in framed stream decompression by @brantburnett in #147
Full Changelog: release/1.3.0...release/1.3.1
Update to .NET 10 GA SDK by @brantburnett in #138
Full Changelog: release/1.3.0-beta.1...release/1.3.0
Support for block compression and decompression using ReadOnlySequence<byte> as the source and IBufferWriter<byte> as the destination
ReadOnlySequence<byte> as the source and IBufferWriter<byte> as the destinationSnappy.TryCompress and Snappy.TryDecompress overloads that return false instead of throwing an exception if the output buffer is too smallSnappyStream compression now recognizes blocks that compress poorly and encodes them as uncompressed dataArrayPool are now cleared with zeroes before they are returned to protect any sensitive data being compressed or decompressed. This adds some overhead but benchmarks showed it wasn't very significant and it's worthwhile for better security.Full Changelog: release/1.1.6...release/1.2.0
Support for block compression and decompression using ReadOnlySequence<byte> as the source and IBufferWriter<byte> as the destination
ReadOnlySequence<byte> as the source and IBufferWriter<byte> as the destinationSnappy.TryCompress and Snappy.TryDecompress overloads that return false instead of throwing an exception if the output buffer is too smallSnappyStream compression now recognizes blocks that compress poorly and encodes them as uncompressed dataArrayPool are now cleared with zeroes before they are returned to protect any sensitive data being compressed or decompressed. This adds some overhead but benchmarks showed it wasn't very significant and it's worthwhile for better security.Full Changelog: release/1.1.6...release/1.2.0
ReadOnlySequence<byte> as the source and IBufferWriter<byte> as the destinationSnappy.TryCompress and Snappy.TryDecompress overloads that return false instead of throwing an exception if the output buffer is too smallSnappyStream compression now recognizes blocks that compress poorly and encodes them as uncompressed dataArrayPool are now cleared with zeroes before they are returned to protect any sensitive data being compressed or decompressed. This adds some overhead but benchmarks showed it wasn't very significant and it's worthwhile for better security.Full Changelog: https://github.com/brantburnett/Snappier/compare/release/1.1.6...release/1.2.0
Fix nullable attributes leaking as public by @brantburnett in #94
Full Changelog: release/1.1.5...release/1.1.6
Update README.md - Correcting wrong descriptions by @mjebrahimi in #91
Full Changelog: release/1.1.4...release/1.1.5
This release primarily includes performance improvements around stream decompression in .NET 8, but does show some minor decompression improvements on
This release primarily includes performance improvements around stream decompression in .NET 8, but does show some minor decompression improvements on other runtimes (except .NET 4.8 which is not a priority). Also includes a bug fix for a stream decompression corner case.
BenchmarkDotNet v0.13.10, Windows 11 (10.0.22621.3007/22H2/2022Update/SunValley2)
12th Gen Intel Core i7-1270P, 1 CPU, 16 logical and 12 physical cores
.NET SDK 8.0.101
| Method | Runtime | Build | PGO | Mean | Error | StdDev | Ratio | RatioSD | Rank |
|---|---|---|---|---|---|---|---|---|---|
| BlockDecompress | .NET Framework 4.8 | Previous | N | 14.55 us | 0.089 us | 0.079 us | 1.00 | 0.00 | 1 |
| BlockDecompress | .NET Framework 4.8 | Default | N | 15.78 us | 0.189 us | 0.158 us | 1.08 | 0.01 | 2 |
| BlockDecompress | .NET 6.0 | Previous | N | 12.99 us | 0.151 us | 0.134 us | 1.00 | 0.00 | 2 |
| BlockDecompress | .NET 6.0 | Default | N | 12.75 us | 0.181 us | 0.170 us | 0.98 | 0.02 | 1 |
| BlockDecompress | .NET 8.0 | Previous | N | 10.57 us | 0.208 us | 0.214 us | 1.00 | 0.00 | 2 |
| BlockDecompress | .NET 8.0 | Default | N | 10.30 us | 0.163 us | 0.152 us | 0.97 | 0.02 | 1 |
| BlockDecompress | .NET 8.0 | Previous | Y | 10.51 us | 0.198 us | 0.194 us | 1.00 | 0.00 | 2 |
| BlockDecompress | .NET 8.0 | Default | Y | 10.15 us | 0.173 us | 0.162 us | 0.97 | 0.02 | 1 |
| Method | Runtime | Build | PGO | Mean | Error | StdDev | Ratio | RatioSD | Rank |
|---|---|---|---|---|---|---|---|---|---|
| StreamDecompress | .NET Framework 4.8 | Previous | N | 337.3 us | 6.35 us | 5.94 us | 1.00 | 0.00 | 1 |
| StreamDecompress | .NET Framework 4.8 | Default | N | 332.4 us | 5.09 us | 4.51 us | 0.99 | 0.02 | 1 |
| StreamDecompress | .NET 6.0 | Previous | N | 164.9 us | 2.57 us | 2.40 us | 1.00 | 0.00 | 2 |
| StreamDecompress | .NET 6.0 | Default | N | 161.2 us | 3.21 us | 3.29 us | 0.98 | 0.02 | 1 |
| StreamDecompress | .NET 8.0 | Previous | N | 194.4 us | 2.16 us | 2.02 us | 1.00 | 0.00 | 2 |
| StreamDecompress | .NET 8.0 | Default | N | 189.6 us | 2.59 us | 2.42 us | 0.98 | 0.02 | 1 |
| StreamDecompress | .NET 8.0 | Previous | Y | 201.7 us | 4.01 us | 4.45 us | 1.00 | 0.00 | 2 |
| StreamDecompress | .NET 8.0 | Default | Y | 176.6 us | 3.49 us | 3.43 us | 0.87 | 0.03 | 1 |
Full Changelog: release/1.1.3...release/1.1.4
Update to target .NET 8 by @brantburnett in https://github.com/brantburnett/Snappier/pull/80
Full Changelog: https://github.com/brantburnett/Snappier/compare/release/1.1.2...release/1.1.3
Update COPYING.txt by @brantburnett in https://github.com/brantburnett/Snappier/pull/74
Full Changelog: https://github.com/brantburnett/Snappier/compare/release/1.1.1...release/1.1.2
This release includes some fixes to logic that could have caused unsafe memory access in cases where GC rearranges memory if they occurred at the prec
This release includes some fixes to logic that could have caused unsafe memory access in cases where GC rearranges memory if they occurred at the precise moment when an out-of-range reference was on the stack. These moments are very short-lived and should be impossible to create intentionally, but they still represent a security risk.
Full Changelog: https://github.com/brantburnett/Snappier/compare/release/1.1.0...release/1.1.1
This release no longer includes explicit support for the unsupported runtimes .NET Core 3.0/3.1 or .NET 5.0. These runtimes are now supported via the
This release no longer includes explicit support for the unsupported runtimes .NET Core 3.0/3.1 or .NET 5.0. These runtimes are now supported via the .NET Standard 2.0 target. While they should still function, it is untested and the lack of hardware intrinsic support will most likely result in degraded performance compared to 1.0.
This release sees a consistent improvement in both compression and decompression performance across all supported frameworks on my Core i7-10850H CPU, especially on decompression. On .NET 6, the time was reduced by 18% when compressing 64KB of HTML and 52% when decompressing. In some cases, the decompression time is reduced by as much as 66%.
Full Changelog: https://github.com/brantburnett/Snappier/compare/release/1.0.0...release/1.1.0
Note that this release is focused on performance on Intel/AMD x64 processes on .NET Core 3.1 or .NET 5. It uses Intel intrinsics extensively, so perfo
Note that this release is focused on performance on Intel/AMD x64 processes on .NET Core 3.1 or .NET 5. It uses Intel intrinsics extensively, so performance will be slower on other CPU architectures or runtimes.
Various bug fixes found during beta
Various bug fixes found during beta
Nothing published for this version
One column per quarter.