Skip to content

release/1.2.0

Latest
Compare
Choose a tag to compare
@brantburnett brantburnett released this 30 Jan 19:08
566a441

Major Changes

  • Support for block compression and decompression using ReadOnlySequence<byte> as the source and IBufferWriter<byte> as the destination
  • Snappy.TryCompress and Snappy.TryDecompress overloads that return false instead of throwing an exception if the output buffer is too small
  • SnappyStream compression now recognizes blocks that compress poorly and encodes them as uncompressed data
  • Temporary buffers returned to the ArrayPool 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.
  • General performance improvements
  • Improved documentation

What's Changed

Full Changelog: release/1.1.6...release/1.2.0