Skip to content

v0.7.1

Choose a tag to compare

@mkitti mkitti released this 05 Oct 21:11
· 46 commits to master since this release

Non-Breaking Changes

  • Introduced a new submodule to encapsulate all ccalls, LibZstd, that is generated by the master branch of Clang.jl. This exposes
  • Modified libzstd.jl to use the new LibZstd submodule rather than using ccall directly.
  • InBuffer is now an alias for LibZstd.ZSTD_inBuffer_s with no change in fields.
  • OutBuffer is now an alias for LibZstd.ZSTD_outBuffer_s with no change in fields
  • reset! now uses ZSTD_CCtx_setPledgedSrcSize (wrapped in LibZstd) rather than the deprecated ZSTD_resetCStream. A srcsize of 0 is interpreted as ZSTD_CONTENTSIZE_UNKNOWN as with the case with ZSTD_resetCStream.
  • Base.unsafe_convert is implemented for InBuffer, OutBuffer, CStream, and DStream, allowing one to pass these types directly to methods in LibZstd rather than one of their fields. This will be used in a future release when #30 is merged.

Known bugs

  • Objects passed into several low level functions may not be preserved from garbage collection #30. Consider using Base.GC.@preserve to mitigate this issue.