Skip to content

Releases: SpringMT/zstd-ruby

v1.5.6.2

11 Apr 13:32
Compare
Choose a tag to compare

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

v1.5.6.1

01 Apr 15:46
Compare
Choose a tag to compare

What's Changed

  • chore: Configure Renovate by @renovate in #68
  • feat: update bechmarks by @SpringMT in #72
  • docs: update benchmark result by @SpringMT in #73
  • fix: incompatible function pointer types at streaming_decompress_compact and streaming_compress_compact by @SpringMT in #75
    • Related with #74

New Contributors

Full Changelog: v1.5.6.0...v1.5.6.1

v1.5.6.0

29 Mar 01:47
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.5.1...v1.5.6.0

v1.5.5.1

29 Mar 00:51
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.5.0...v1.5.5.1

v1.5.5.0

08 Apr 15:24
ad0437e
Compare
Choose a tag to compare

Update zstd v1.5.5

What's Changed

Full Changelog: v1.5.4.1...v1.5.5.0

Release v1.5.4.1

21 Mar 16:30
Compare
Choose a tag to compare

Support skippable flame.

Release v1.5.4.0

10 Feb 12:54
e6a39e1
Compare
Choose a tag to compare

Update zstd v1.5.4

Release v1.5.2.3

23 Jun 15:41
ede3d03
Compare
Choose a tag to compare

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.

Release v1.5.2.2

23 Jun 00:59
0f49eb2
Compare
Choose a tag to compare

Bug fix release.
Fixed SEGV when GC occurs during streaming compress and decompress.

Release v1.5.2.1

20 Jun 02:27
c4d91af
Compare
Choose a tag to compare

Support Streaming Compression and Decompression!
Check https://github.com/SpringMT/zstd-ruby#usage.