Skip to content

Conversation

@SpringMT
Copy link
Owner

@SpringMT SpringMT commented Apr 11, 2024

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

Breaking Changes

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

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

Related to #61

Feature
* Zstd.compress supports :level and :dict keyward args
* Zstd.decompress supports :dict keyward args
* Zstd::StreamingCompress.new supports :level and :dict keyward args
* Zstd::StreamingDecompress.new supports :dict keyward args

Breaking Change
* Zstd.compress uses ZSTD_compressStream2 instead of ZSTD_compress
* Zstd.decompress uses ZSTD_decompressDCtx instead of ZSTD_decompress

Deprecation
* Zstd.compress_using_dict adds deprecation warning
    * use Zstd.compress with :dict keyward args
* Zstd.decompress_using_dict adds deprecation warning
    * use Zstd.decompress with :dict keyward args
* Zstd.compress with level args add deprecation warning
   * use Zstd.compress with :level keyward args
* Zstd::StreamingCompress.new with level args add deprecation warning
   * use Zstd::StreamingCompress.new with :level keyward args
@SpringMT SpringMT merged commit 4ad9fc7 into main Apr 11, 2024
@SpringMT SpringMT deleted the feature/dictionary-standardized branch April 11, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants