Releases: SpringMT/zstd-ruby
v1.5.6.2
What's Changed
- feat: add StreamWriter and StreamReader by @SpringMT in #76
- Add support for dictionary use with streaming operations by @AndrewCEmil in #62
- Feature/dictionary standardized by @SpringMT in #77
Feature
Zstd.compress
supports:level
and:dict
keyword argsZstd.decompress
supports:dict
keyward argsZstd::StreamingCompress.new
supports:level
and:dict
keyword argsZstd::StreamingDecompress.new
supports:dict
keyword args
Improvemnt
Zstd.compress
usesZSTD_compressStream2
instead ofZSTD_compress
Zstd.decompress
usesZSTD_decompressDCtx
instead ofZSTD_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
- use
Zstd.decompress_using_dict
adds deprecation warning- use
Zstd.decompress
with:dict
keyword args
- use
Zstd.compress
withlevel
args add deprecation warning- use
Zstd.compress
with:level
keyword args
- use
Zstd::StreamingCompress.new
withlevel
args add deprecation warning- use
Zstd::StreamingCompress.new
with:level
keyword args
- use
New Contributors
- @AndrewCEmil made their first contribution in #62
Full Changelog: v1.5.6.1...v1.5.6.2
v1.5.6.1
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
v1.5.5.1
v1.5.5.0
Release v1.5.4.1
Support skippable flame.
Release v1.5.4.0
Update zstd v1.5.4
Release v1.5.2.3
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
Bug fix release.
Fixed SEGV when GC occurs during streaming compress and decompress.
Release v1.5.2.1
Support Streaming Compression and Decompression!
Check https://github.com/SpringMT/zstd-ruby#usage.