Skip to content

Latest commit

 

History

History
932 lines (643 loc) · 27.8 KB

release.rst

File metadata and controls

932 lines (643 loc) · 27.8 KB

Release notes

Unreleased

Enhancements

  • Add support for the Linux AArch64 architecture, and bump the minimum
macOS deployment target for x86_64 to 10.13.
By :user:`Agriya Khetarpal <agriyakhetarpal>`, :issue:`288`.

Improvements

  • Raise a custom UnknownCodecError when trying to retrieve an unavailable codec. By :user:`Cas Wognum <cwognum>`.
  • Add typesize argument to Blosc to allow for buffers that are passed to encode use that information. zarr v3 currently has its Blosc codec as bytes-to-bytes but does retain the size information so using it here allows for massive compression ratio gains. By :user:`Ilan Gold <ilan-gold>`

Fixes

0.15.0

Breaking changes

Deprecations

The following blosc functions are deprecated, with no replacement. This is because they are not intended to be public API.

  • numcodecs.blosc.init
  • numcodecs.blosc.destroy
  • numcodecs.blosc.compname_to_compcode
  • numcodecs.blosc.cbuffer_sizes
  • numcodecs.blosc.cbuffer_metainfo

In addition, numcodecs.blosc.decompress_partial is deprecated as has always been experimental and there is no equivalent in the official blsoc Python package. By :user:`David Stansby <dstansby>`, :issue`619`

Fixes

Improvements

  • Add support for pcodec 0.3. This exposes the new delta_spec and paging_spec arguments, but maintains full backwards compatibility for data written with older package versions. By :user:`Sam Levang <slevang>`, :issue:`623`

  • If an import error is raised when trying to define a codec that is not an optional dependency, it is no longer silently caught. Instead it will be propagated to the user, as this indicates an issue with the installed package.

    Import errors caused by optional dependencies (ZFPY, MsgPack, CRC32C, and PCodec) are still silently caught. By :user:`David Stansby <dstansby>`, :issue:`550`.

0.14.1

Fixes

  • Cleanups to the crc32c soft dependency. Whereas in numcodecs 0.14.0 a runtime error was raised if the CRC32C codec used without the crc32c installed, the CRC32C codec is no longer defined at import time if crc32c is not installed. This has been changed to match the behaviour of other optional dependencies/codecs. By :user:`John Kirkham <jakirkham>`, :issue:`637`

Improvements

0.14.0

Enhancements

Fixes

Maintenance

0.13.1

Breaking changes

  • Zstd.default_level, Zstd.min_level, and Zstd.max_level are now class methods instead of properties. This means they must now be called like Zstd.default_level() instead of Zstd.default_level. This breaking change has been made because Python 3.13 removes support for class properties. By :user:`David Stansby <dstansby>`, :issue:`576`.

Enhancements

Maintenance

0.13.0

Enhancements

Fix

Maintenance

0.12.1

Fix

0.12.0

Enhancements

Fix

Maintenance

0.11.0

Fix

Maintenance

0.10.2

Fix

0.10.1

Maintenance

0.10.0

Enhancements

Bug fixes

Maintenance

0.9.1

0.9.0

0.8.1

0.8.0

0.7.3

0.7.2

0.7.1

0.7.0

0.6.4

0.6.3

0.6.2

0.6.1

0.6.0

0.5.5

  • The bundled c-blosc sources have been upgraded to version 1.14.3 (:issue:`72`).

0.5.4

  • The bundled c-blosc sources have been upgraded to version 1.14.0 (:issue:`71`).

0.5.3

0.5.2

  • Add support for encoding None values in VLen... codecs (:issue:`59`).

0.5.1

  • Fixed a compatibility issue with the Zlib codec to ensure it can handle bytearray objects under Python 2.7 (:issue:`57`).
  • Restricted the :class:`numcodecs.categorize.Categorize` codec to object ('O') and unicode ('U') dtypes and disallowed bytes ('S') dtypes because these do not round-trip through JSON configuration.

0.5.0

0.4.1

  • Resolved an issue where providing an array with dtype object as the destination when decoding could cause segfaults with some codecs (:issue:`55`).

0.4.0

0.3.1

  • Revert the default shuffle argument to SHUFFLE (byte shuffle) for the :class:`numcodecs.blosc.Blosc` codec for compatibility and consistency with previous code.

0.3.0

0.2.1

The bundled c-blosc library has been upgraded to version 1.11.3 (:issue:`34`, :issue:`35`).

0.2.0

New codecs:

Other changes:

Maintenance work:

  • A data fixture has been added to the test suite to add some protection against changes to codecs that break backwards-compatibility with data encoded using a previous release of numcodecs (:issue:`30`, :issue:`33`).

0.1.1

This release includes a small modification to the setup.py script to provide greater control over how compiler options for different instruction sets are configured (:issue:`24`, :issue:`27`).

0.1.0

New codecs:

Other new features:

Maintenance work:

0.0.1

Fixed project description in setup.py.

0.0.0

First release. This version is a port of the codecs module from Zarr 2.1.0. The following changes have been made from the original Zarr module:

  • Codec classes have been re-organized into separate modules, mostly one per codec class, for ease of maintenance.
  • Two new codec classes have been added based on 32-bit checksums: :class:`numcodecs.checksum32.CRC32` and :class:`numcodecs.checksum32.Adler32`.
  • The Blosc extension has been refactored to remove code duplications related to handling of buffer compatibility.