contrib/python-zstandard/NEWS.rst
changeset 30924 c32454d69b85
parent 30822 b54a2984cdd4
child 31799 e0dc40530c5a
equal deleted inserted replaced
30923:5b60464efbde 30924:c32454d69b85
     1 Version History
     1 Version History
     2 ===============
     2 ===============
       
     3 
       
     4 0.7.0 (released 2017-02-07)
       
     5 ---------------------------
       
     6 
       
     7 * Added zstd.get_frame_parameters() to obtain info about a zstd frame.
       
     8 * Added ZstdDecompressor.decompress_content_dict_chain() for efficient
       
     9   decompression of *content-only dictionary chains*.
       
    10 * CFFI module fully implemented; all tests run against both C extension and
       
    11   CFFI implementation.
       
    12 * Vendored version of zstd updated to 1.1.3.
       
    13 * Use ZstdDecompressor.decompress() now uses ZSTD_createDDict_byReference()
       
    14   to avoid extra memory allocation of dict data.
       
    15 * Add function names to error messages (by using ":name" in PyArg_Parse*
       
    16   functions).
       
    17 * Reuse decompression context across operations. Previously, we created a
       
    18   new ZSTD_DCtx for each decompress(). This was measured to slow down
       
    19   decompression by 40-200MB/s. The API guarantees say ZstdDecompressor
       
    20   is not thread safe. So we reuse the ZSTD_DCtx across operations and make
       
    21   things faster in the process.
       
    22 * ZstdCompressor.write_to()'s compress() and flush() methods now return number
       
    23   of bytes written.
       
    24 * ZstdDecompressor.write_to()'s write() method now returns the number of bytes
       
    25   written to the underlying output object.
       
    26 * CompressionParameters instances now expose their values as attributes.
       
    27 * CompressionParameters instances no longer are subscriptable nor behave
       
    28   as tuples (backwards incompatible). Use attributes to obtain values.
       
    29 * DictParameters instances now expose their values as attributes.
     3 
    30 
     4 0.6.0 (released 2017-01-14)
    31 0.6.0 (released 2017-01-14)
     5 ---------------------------
    32 ---------------------------
     6 
    33 
     7 * Support for legacy zstd protocols (build time opt in feature).
    34 * Support for legacy zstd protocols (build time opt in feature).