Skip to content

Release v1.5.2.3

Compare
Choose a tag to compare
@SpringMT SpringMT released this 23 Jun 15:41
· 107 commits to main since this release
ede3d03

Support compress and decompress using dictionary.
See https://github.com/SpringMT/zstd-ruby#compression-using-dictionary and https://github.com/SpringMT/zstd-ruby#decomporession-using-dictionary.

Breaking changes

Decompression frame check is strictly

Previous version use ZSTD_getDecompressedSize when check decompression string, but this method is obsolete.
So, v1.5.2.3 zstd-ruby gem uses ZSTD_getFrameContentSize .
https://raw.githack.com/facebook/zstd/release/doc/zstd_manual.html#Chapter3

In ZSTD_getFrameContentSize, an empty string with decompression is invalid, so in the spec, an empty string decompression should have been treated as an error.