Skip to content

v1.5.6.2

Compare
Choose a tag to compare
@SpringMT SpringMT released this 11 Apr 13:32
· 45 commits to main since this release

What's Changed

Feature

  • Zstd.compress supports :level and :dict keyword args
  • Zstd.decompress supports :dict keyward args
  • Zstd::StreamingCompress.new supports :level and :dict keyword args
  • Zstd::StreamingDecompress.new supports :dict keyword args

Improvemnt

  • Zstd.compress uses ZSTD_compressStream2 instead of ZSTD_compress
  • Zstd.decompress uses ZSTD_decompressDCtx instead of ZSTD_decompress

Both of these changes maintain compatibility with previous versions.

Deprecation

  • Zstd.compress_using_dict adds deprecation warning
    • use Zstd.compress with :dict keyword args
  • Zstd.decompress_using_dict adds deprecation warning
    • use Zstd.decompress with :dict keyword args
  • Zstd.compress with level args add deprecation warning
    • use Zstd.compress with :level keyword args
  • Zstd::StreamingCompress.new with level args add deprecation warning
    • use Zstd::StreamingCompress.new with :level keyword args

New Contributors

Full Changelog: v1.5.6.1...v1.5.6.2