Recent Releases of lz4

lz4 - v4.4.4

What's Changed

  • build_dist workflow - (re)add arm support for Linux and Windows by @K0lb3 in https://github.com/python-lz4/python-lz4/pull/300

New Contributors

  • @K0lb3 made their first contribution in https://github.com/python-lz4/python-lz4/pull/300

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.4.3...v4.4.4

- C
Published by jonathanunderwood 11 months ago

lz4 - v4.4.3

What's Changed

  • Disable aarch64 builds due to compiler failure by @jonathanunderwood in https://github.com/python-lz4/python-lz4/pull/298

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.4.2...v4.4.3

- C
Published by jonathanunderwood about 1 year ago

lz4 - Really fix releasing to PyPi

What's Changed

  • Fix publishing to PyPi by @jonathanunderwood in https://github.com/python-lz4/python-lz4/pull/297

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.4.1...v4.4.2

- C
Published by jonathanunderwood about 1 year ago

lz4 - v4.4.1

What's Changed

  • Revert artifact renaming by @jmg-duarte in https://github.com/python-lz4/python-lz4/pull/294

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.4.0...v4.4.1

- C
Published by jonathanunderwood about 1 year ago

lz4 - v4.4.0

What's Changed

  • fix(doc): Install command missing a parameter by @pfeerick in https://github.com/python-lz4/python-lz4/pull/276
  • docs/lz4.block.rst: fix typo by @aabadie in https://github.com/python-lz4/python-lz4/pull/279
  • Update CI to newest actions and Python 3.13 by @jmg-duarte in https://github.com/python-lz4/python-lz4/pull/285

New Contributors

  • @pfeerick made their first contribution in https://github.com/python-lz4/python-lz4/pull/276
  • @aabadie made their first contribution in https://github.com/python-lz4/python-lz4/pull/279

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.3.3...v4.4.0

- C
Published by jonathanunderwood over 1 year ago

lz4 - Add Python 3.12 wheels

What's Changed

  • Add .readthedocs.yml by @jonathanunderwood in https://github.com/python-lz4/python-lz4/pull/268
  • Build wheels for Python 3.12 by @evansd in https://github.com/python-lz4/python-lz4/pull/275

New Contributors

  • @evansd made their first contribution in https://github.com/python-lz4/python-lz4/pull/275

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.3.2...v4.3.3

- C
Published by jonathanunderwood about 2 years ago

lz4 - v4.3.2

What's Changed

  • Fixups by @jonathanunderwood in https://github.com/python-lz4/python-lz4/pull/266

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.3.1...v4.3.2

- C
Published by jonathanunderwood about 3 years ago

lz4 - v4.3.1

What's Changed

  • Update some more github action versions by @jonathanunderwood in https://github.com/python-lz4/python-lz4/pull/265

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.3.0...v4.3.1

- C
Published by jonathanunderwood about 3 years ago

lz4 - v4.3.0

What's Changed

  • Add wheel building for Linux Aarch64 and MacOS Arm64 by @jonathanunderwood in https://github.com/python-lz4/python-lz4/pull/264

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.2.0...v4.3.0

- C
Published by jonathanunderwood about 3 years ago

lz4 - v4.2.0

What's Changed

  • Update bundled libraries to lz4 1.9.4 by @jonathanunderwood in https://github.com/python-lz4/python-lz4/pull/262

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.1.0...v4.2.0

- C
Published by jonathanunderwood about 3 years ago

lz4 - v4.1.0

What's Changed

  • Build wheels for python 3.11 by @dbaxa in https://github.com/python-lz4/python-lz4/pull/257
  • Fix the use of package envs in tox by @jonathanunderwood in https://github.com/python-lz4/python-lz4/pull/263

New Contributors

  • @dbaxa made their first contribution in https://github.com/python-lz4/python-lz4/pull/257

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.0.2...v4.1.0

- C
Published by jonathanunderwood about 3 years ago

lz4 - Fix a memory leak when frame decompression fails

This release fixes #247 (via #255) - thanks to @jmg-duarte for the fix.

- C
Published by jonathanunderwood over 3 years ago

lz4 - v4.0.1

What's Changed

  • Add flush method to LZ4FrameFile by @pedrovhb in https://github.com/python-lz4/python-lz4/pull/245

New Contributors

  • @pedrovhb made their first contribution in https://github.com/python-lz4/python-lz4/pull/245

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v4.0.0...v4.0.1

- C
Published by jonathanunderwood almost 4 years ago

lz4 - Mark stream bindings as experimental

  • This release relegates the stream bindings to experimental status and disables them in all wheel builds. This was necessary as the test suite was causing build failures on multiple architectures. These bindings are currently in an unmaintained state.
  • This release re-enables Windows wheel builds

- C
Published by jonathanunderwood about 4 years ago

lz4 - Update cibuildwheel to enable Python 3.10 wheels to be built

Full Changelog: https://github.com/python-lz4/python-lz4/compare/v3.1.11...v3.1.12

- C
Published by jonathanunderwood about 4 years ago

lz4 - Build wheels for Python 3.10 and stop building wheels for Python 3.6

  • Python 3.6 is nearing EOL so we'll stop building wheels for this version of Python.
  • Python 3.10 has been released for a while, so we'll publish wheels for this version.

- C
Published by jonathanunderwood about 4 years ago

lz4 - Another github action based PyPi publish attempt

- C
Published by jonathanunderwood about 4 years ago

lz4 - Another github action based PyPi publish attempt

- C
Published by jonathanunderwood about 4 years ago

lz4 - Another try at PyPi publishing

- C
Published by jonathanunderwood about 4 years ago

lz4 - Attempt to fix publishing via github actions

- C
Published by jonathanunderwood about 4 years ago

lz4 - Really release to PyPi

  • Trigger github actions on a release being made.

- C
Published by jonathanunderwood over 4 years ago

lz4 - Release to PyPi

  • Remove the push requirement for triggering PyPi pushes of artifacts.

- C
Published by jonathanunderwood over 4 years ago

lz4 - Shift to github actions and fix some bugs

  • Shift wheel building to github actions
  • Disable Travis and Appveyor building
  • Disable Windows wheel builds which are failing with memory allocation problems with 64 bit on the github actions runners
  • Disable Aarch64 builds which are failing somewhere in the stream bindings tests
  • LZ4FrameFile.write()/LZ4FrameDecompressor.decompress() handle buffer protocol correctly (#227, #228). Thanks to @judahrand.
  • Pass source_size kwarg through from frame.open to LZ4FrameFile instance (#224, #225). Thanks to @shawnperdue.
  • Add readall to LZ4FrameFile and use it on python 3.10 (#219, #220). Thanks to @vaartis.

- C
Published by jonathanunderwood over 4 years ago

lz4 - Publish wheels for Python 3.9

This release adds support for publishing wheels to PyPi for Python 3.9. Wheel building is currently broken for Python 3.9 on Arm/Aarch64.

This release also drops building of wheels for Python 3.5.

This required some significant changes to the Travis and Appveyor configurations including:

  • Moving to Visual Studio 2019 (14.2) on AppVeyor
  • Building against the XCode 12.2 image on Travis

- C
Published by jonathanunderwood about 5 years ago

lz4 - Arm builds and test speedups

  • Travis now publishes wheels for Arm thanks to @ossdev07
  • The stream tests now execute in much less time thanks to @tpwrules

- C
Published by jonathanunderwood about 5 years ago

lz4 - Fixups for pkgconfig and CHAR_BIT

This release contains various fixups thanks to @godlygeek:

  • Correct how pkgconfig is handled in setup.py to account for multiple build flags (#203 #204)
  • Improve how CHAR_BIT is handled (#202 #201)

- C
Published by jonathanunderwood over 5 years ago

lz4 - Out-of-band stream block size record support in the stream bindings

This release adds block size record support to the stream bindings thanks to @tSed.

In addition this release contains fixups to the tests to reduce execution time (@tsed), and a few small fixes.

- C
Published by jonathanunderwood over 5 years ago

lz4 - Remove dead code

This release removes py3c from the codebase and strips out unused Python 2 support code. No functional changes are included with this release.

- C
Published by jonathanunderwood about 6 years ago

lz4 - Fix OSX wheel publishing

This release fixes an issue that prevented the OSX wheels from being published to PyPi, and contains no functional changes.

- C
Published by jonathanunderwood about 6 years ago

lz4 - Drop Python 2 support, add streams bindings, improve frame performance

This release: * Drops support for Python 2 (although some dead code remains for future removal) * Adds streams support thanks to the hard work of @tSed * Fixes a performance bug with the frame bindings - thanks to @bjonen for the careful report and reproducer * Adds Python 3.8 support

- C
Published by jonathanunderwood about 6 years ago

lz4 - Update the bundled LZ4 library to version 1.9.1

This release updates the bundled LZ4 library to version 1.9.1.

The 2.2.x releases will be the final release that support Python 2.7. In the near future we'll begin work on the 3.0.x release which will only support Python >= 3.5, and will require LZ4 > 1.9.0.

- C
Published by jonathanunderwood over 6 years ago

lz4 - Code and docs cleanups

  • Cleanup some code in _block.c to suppress some compiler warnings
  • Add some more detail to the install docs
  • Move to cibuildwheel 0.11.1

- C
Published by jonathanunderwood over 6 years ago

lz4 - Update bundled lz4 library to version 1.9.1

- C
Published by jonathanunderwood over 6 years ago

lz4 - Fix OSX wheel builds

This release contains no functional changes, it simply fixes the broken wheel deployment for OSX.

- C
Published by jonathanunderwood over 6 years ago

lz4 - Fix a bug on windows

This release fixes issue #172 which causes failures in decompression for the Frame bindings on Windows.

- C
Published by jonathanunderwood over 6 years ago

lz4 - Fix wheel build for Python 2.7 on OSX

This release contains no user facing changes, but does include a built wheel built for Python 2.7 on OSX.

This release follows some re-working of the CI/CD infrastructure, and integration with the codecov service.

- C
Published by jonathanunderwood about 7 years ago

lz4 - Fix building of Windows wheels

This release contains no functional changes other than changes to the Appveyor configuration for publishing wheels.

- C
Published by jonathanunderwood about 7 years ago

lz4 - Version bump for wheel deployment

This release contains no functional changes other than changes to the Travis configuration for publishing wheels.

- C
Published by jonathanunderwood about 7 years ago

lz4 - Build more wheels

This release brings: * A simplification of the tox.ini file (thanks to @jdufresne) * More robust checking for pkgconfig availability (#158, thanks to @raymondEhlers) * Integration of cibuildwheel into travis builds so as to build and publish binary wheels for Linux and OSX (fixes #99 , #144 , #153) * Only require pytest-runner if pytest/test is being called (fixes #161) * Blacklists version 3.3.0 of pytest which has a bug that can cause the tests to fail.

- C
Published by jonathanunderwood about 7 years ago

lz4 - Fix slow import issue (#154)

This release: * Improves the speed of importing the module by avoiding the use of pkg_resources (#154) - thanks to @cgohike) * Fixes some flake8 warnings * Resolves a small issue with the test suite when detecting memory usage increases

- C
Published by jonathanunderwood over 7 years ago

lz4 - Update bundled LZ4 to version 1.8.3

This release updates the bundled LZ4 libraries to version 1.8.3. This fixes a bug with the block format compression/decompression. This fixes #150.

Thanks to @ajholyoake.

- C
Published by jonathanunderwood over 7 years ago

lz4 - Enhance support for block decompression with unknown size of decompressed data

This release changes the handling of errors for block decompression when uncompressed_size > 0. In this case, we no longer check that the uncompressed data has exactly the size specified by uncompressed_size: this argument is now used as an upper bound.

In addition, we introduce a new exception: LZ4BlockError which is raised whenever the LZ4 library fails.

These two changes together allow "guessing" of the uncompressed data size: simply set uncompressed_size to a number and try decompress, and catchLZ4BlockError. If LZ4BlockError is raised, increase uncompressed_size and try again.

See the documentation for more details and examples.

- C
Published by jonathanunderwood over 7 years ago

lz4 - Bug fixes

  • Fix setup.py to gracefully handle old system installed versions of LZ4 libraries (thanks to @nikitos3000 )
  • Fix a possible segfault in the frame decompress functions (thanks to @diorcety)

- C
Published by jonathanunderwood over 7 years ago

lz4 - Fix test failure under certain circumstances

This release fixes #134 - tests failed when run under python setup.py test, but passed when running under tox.

- C
Published by jonathanunderwood over 7 years ago

lz4 - Compression dictionary support added to block bindings

Changes in this release: * It's now possible to specify a compession dictionary for block compression. Thanks to @mkuyper for this work. * The bundled LZ4 libraries have been updated to 1.8.2 * A compatibility fix for 2.x memoryview objects has been added. Thanks to @XeCycle for this work. * Various flake8 cleanups and test additions.

- C
Published by jonathanunderwood over 7 years ago

lz4 - Remove deprecated functions and methods

This release removes the deprecated functions which were marked as remove in 1.0, but nonetheless remained:

  • lz4.lz4version()
  • LZ4FrameCompressor.finalize()

As a side effect, we noo longer have a dependency on the deprecation package.

- C
Published by jonathanunderwood almost 8 years ago

lz4 - Fix text mode for frame open function

This release fixes a bug which stopped lz4.frame.open from functioning for any mode with the t (text) specifiers. Issue #122. Thanks to @nick-hahner for the report.

- C
Published by jonathanunderwood almost 8 years ago

lz4 - Version 1.0.0

Only documentation updates since 0.23.2. This marks the release of a stable frame binding API.

- C
Published by jonathanunderwood about 8 years ago

lz4 - Small bug fix and documentation improvements

This release: * Fixes an error in the deprecated LZ4Compressor.finalize() method * Improves documentation * Has all example code in documentation verified via doctest

- C
Published by jonathanunderwood about 8 years ago

lz4 - Deprecate lz4.frame.LZ4FrameCompressor.finalize()

This release: * Deprecates lz4.frame.LZ4FrameCompressor.finalize() * Improves docstrings and documentation

- C
Published by jonathanunderwood about 8 years ago

lz4 - Polishing continues

  • Update to py3c version 1.0 header files
  • Fixing of resource clearing in context managers
  • Move attribute definitions to __init__.py
  • Enhances documentation

- C
Published by jonathanunderwood about 8 years ago

lz4 - Documentation improvements

This version includes some docstring updates.

- C
Published by jonathanunderwood about 8 years ago

lz4 - More tag/base_ref testing

- C
Published by jonathanunderwood about 8 years ago

lz4 - No changes

This is identical to 0.21.3, but we are trying to debug ta base_ref issue in github webhooks. Sorry for the release noise!

- C
Published by jonathanunderwood about 8 years ago

lz4 - Really fix AppVeyor builds

- C
Published by jonathanunderwood about 8 years ago

lz4 - Fix AppVeyor and Travis builds

A glitch prevented Appveyor from pushing 0.21.1 to PyPi. This release is functionally identical to 0.21.1.

- C
Published by jonathanunderwood about 8 years ago

lz4 - Polishing towards 1.0

This release: * Improves test coverage to the level planned for version 1.0 * Improves documentation and docstrings * Adds a LZ4FrameCompressor.flush() method * Fixes a couple of bugs with LZ4FrameDecompressor behaviour with respect to handling data after the end of a frame marker * Adds a LZ4FrameDecompressor.reset() method

With this release we're entering feature freeze for 1.0 release. Documentation updates and bug fixes are the only expected changes.

- C
Published by jonathanunderwood about 8 years ago

lz4 - Update bundled LZ4 to 1.8.1.2

This release bumps the bundled LZ4 library files to version 1.8.1.2.

- C
Published by jonathanunderwood about 8 years ago

lz4 - Fix memory leak in lz4.frame.decompress_chunk()

This release fixes a memory leak in lz4.frame.decompress_chunk() which also impacted the file handling functionality (Issue #106). Thanks to @alex2108 for the report and reproducer.

- C
Published by jonathanunderwood about 8 years ago

lz4 - File handler capability

This release adds compressed file handling capability to the lz4.frame sub-package.

This necessitated some changes to the API of lz4.frame.decompress_chunk, ad some smaller changes to the LZ4FrameCompressor and LZ4FrameDecompressor classes. Please see updated documentation for further details.

- C
Published by jonathanunderwood about 8 years ago

lz4 - Fix memory leak in lz4.frame.decompress

This release fixes a memory leak that was introduced in lz4.frame.decompress in 0.18.1. This leak resulted from an incorrect ref count on the returned result which prevented it from ever being released and garbage collected. Thanks to @bt-wil for the report and reproducer (issue #96).

- C
Published by jonathanunderwood about 8 years ago

lz4 - Cleanup on error

This is a minor bugfix release which fixes two small bugs which would result in source references not being released on error conditions in lz4.frame.compress.

- C
Published by jonathanunderwood about 8 years ago

lz4 - Rework memory management

This release changes the strategy for allocating memory to not use undocumented and potentially fragile Python internals (Py_SIZE). This may have a small performance impact, but brings stronger guarantees for future stability.

- C
Published by jonathanunderwood about 8 years ago

lz4 - Fix uninitizlized bytes objects of zero length

This release fixes a pathological case where compressing and decompressing a zero length bytes object could result in the resulting bytes object causing False to be returned from val == 'b'.

- C
Published by jonathanunderwood about 8 years ago

lz4 - Documentation improvements

This release contains various fixes to docstrings and improvements to documentation only.

- C
Published by jonathanunderwood about 8 years ago

lz4 - A final AppVeyor fix

- C
Published by jonathanunderwood about 8 years ago

lz4 - Another attempt to fix AppVeyor wheel pushing

- C
Published by jonathanunderwood about 8 years ago

lz4 - Try harder to fix AppVeyor wheel uploads

- C
Published by jonathanunderwood about 8 years ago

lz4 - Attempt to fix Appveyor wheel publishing

- C
Published by jonathanunderwood about 8 years ago

lz4 - Appveyor wheels published to pip

This release: * Enables windows wheels to be pushed to PyPi from AppVeyor * Disables pushing of Linux wheels to PyPi from Travis, since PyPi doesn't currently accept Linux wheels

- C
Published by jonathanunderwood about 8 years ago

lz4 - Publish wheels for Linux

This release brings the pushing of wheels to PyPi from Travis.

- C
Published by jonathanunderwood about 8 years ago

lz4 - Documenation improvements and a change of auto_flush default

  • Many documentation enhancements and cleanups
  • Fixes to setup.py to install pkgconfig as needed (@jdufresne)
  • Change default of autoflush to False (disabled) in `lz4.frame.compressbegin()andlz4.frame.LZ4FrameCompressor()`

- C
Published by jonathanunderwood about 8 years ago

lz4 - The march to 1.0 continues

  • Frame support now considered beta quality
  • Add support for flushing the frame compressor without ending the frame
  • Add support for resetting a decompression context
  • Add library_verion_string() and library_version_number() functions
  • Deprecate lz4version() function
  • Require LZ4 library version 1.7.5 or later
  • Add support for enabling/disabling block checksums. This requires building against LZ4 version 1.8.0 or later

- C
Published by jonathanunderwood about 8 years ago

lz4 - LZ4 frame support API change

This release: * Adds a return_bytes_read boolean option to lz4.frame.decompress and lz4.frame.decompress. When this is False, only the uncompressed data is returned. When this is True, a tuple is returned containing the uncompressed data and the number of bytes read of the input data. * Remove the LZ4_VERSION attribute from the lz4 base module. Use the lz4.lz4version() function instead. * Remove Python 2.6 support from the list in setup.py

- C
Published by jonathanunderwood about 8 years ago

lz4 - Frame support re-work

This release brings * Huge changes to the LZ4 Frame support which should now be considered beta quality * A new pytest based test harness, and significantly re-worked testing * An end to Python 2.6 support - no testing is currently done against Python 2.6 although the code probably does still work with Python 2.6 at this point in time.

- C
Published by jonathanunderwood about 8 years ago

lz4 - Update bundled lz4 to version 1.8.0

This release bumps the bundled lz4 library files to version 1.8.0.

- C
Published by jonathanunderwood over 8 years ago

lz4 - Improve lz4 library detection and use

This release contains updates to setup.py to enable correct building against the Macports installed LZ4 library on OSX.

- C
Published by jonathanunderwood over 8 years ago

lz4 - Block module updates

Key changes in this release: * Update bundled LZ4 library to version 1.7.5 * When version 1.7.5 or later of the LZ4 library is in use we change the default compression level for HC (high_compression) mode to match that of upstream * Add parameter to lz4.block[de]compress to optionally return bytearray * lz4.block[de]compress now accept any source object which implements the buffer interface

- C
Published by jonathanunderwood over 8 years ago

lz4 - Another API fix for block compress and decompress

This release reverts an API change such that the block compress/decompress functions now return a bytes object on Python 3 (and Python 2).

- C
Published by jonathanunderwood almost 9 years ago

lz4 - Fixes to block API

This release makes the block (de)compress functions more tolerant to the source argument past to them. The logic is now:

  • First check if source is a bytearray and deal appropriately with that if needed
  • If the source argument is not a bytearray cast it to a bytes object

This should give compatibility with 0.9.1 and earlier.

- C
Published by jonathanunderwood almost 9 years ago

lz4 - Minor update to block library

The only change in this release is that on Python 3 the block compress and decompress functions will accept either a bytes (string) object or a bytearray object (#16). Further, on Python 3, these functions return a bytearray object. Python 2 is unaffected.

- C
Published by jonathanunderwood almost 9 years ago

lz4 - Minor fix release

This minor release includes: * Allowing zero length data in the block compress method, and accepting zero length output in block decompress (#27) * Update bundled py3c headers to release 0.8 * A fix to grab the GIL when malloc'ing in the frame decompress function * An update to the bench.py script * A few docstring fixes

- C
Published by jonathanunderwood almost 9 years ago

lz4 - v0.9.0

This release features:

  • Huge codebase cleanup up and rationalization
  • A massive effort to document, including sphinx generated documentation
  • A technology preview of the LZ4 frame protocol support

- C
Published by jonathanunderwood almost 9 years ago

lz4 -

Changes since 0.8.1: - Allow package to install on systems without pkg-config present

- C
Published by jonathanunderwood almost 10 years ago

lz4 -

Changes since 0.7.0: - Add support for building against system lz4 library (Jonathan Underwood) - Update lz4 bundled files to r131 (Jonathan Underwood) - Add preliminary (but non-functional) support for building with Visual Studio 2008 (keeely) - Add LICENSE file (Matthew Rocklin) - Add Travis support via .travis.yml file (Matthew Rocklin) - Drop GIL during compress/decompress (Matthew Rocklin) - Avoid directly including stdint.h (Matthew Rocklin) - Add lz4version function to return the lz4 C library version (Jonathan Underwood) - Export new compress_fast method (Antoine Martin)

- C
Published by jonathanunderwood almost 10 years ago