Numcodecs

Latest version: v0.15.1

Safety actively analyzes 721537 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

0.6.0

-----

* The encoding format used by the :class:`JSON` and :class:`MsgPack` codecs has been
changed to resolve an issue with correctly encoding and decoding some object arrays.
Now the encoded data includes the original shape of the array, which enables the
correct shape to be restored on decoding. The previous encoding format is still
supported, so that any data encoded using a previous version of numcodecs can still be
read. Thus no changes to user code and applications should be required, other
than upgrading numcodecs. By :user:`Jerome Kelleher <jeromekelleher>`; :issue:`74`,
:issue:`75`.

* Updated the msgpack dependency (by :user:`Jerome Kelleher <jeromekelleher>`;
:issue:`74`, :issue:`75`).

* Added support for ppc64le architecture by updating `cpuinfo.py` from upstream (by
:user:`Anand S <anandtrex>`; :issue:`82`).

* Allow :class:`numcodecs.blosc.Blosc` compressor to run on systems where locks are not present (by
:user:`Marcus Kinsella <mckinsel>`, :issue:`83`; and :user:`Tom White <tomwhite>`,
:issue:`93`).

* Drop Python 3.4 (by :user:`John Kirkham <jakirkham>`; :issue:`89`).

* Add Python 3.7 (by :user:`John Kirkham <jakirkham>`; :issue:`92`).

* Add codec :class:`numcodecs.gzip.GZip` to replace ``gzip`` alias for ``zlib``,
which was incorrect (by :user:`Jan Funke <funkey>`; :issue:`87`; and :user:`John Kirkham <jakirkham>`, :issue:`134`).

* Corrects handling of ``NaT`` in ``datetime64`` and ``timedelta64`` in various
compressors (by :user:`John Kirkham <jakirkham>`; :issue:`127`, :issue:`131`).

* Improvements to the compatibility layer used for normalising inputs to encode
and decode methods in most codecs. This removes unnecessary memory copies for
some codecs, and also simplifies the implementation of some codecs, improving
code readability and maintainability. By :user:`John Kirkham <jakirkham>` and
:user:`Alistair Miles <alimanfoo>`; :issue:`119`, :issue:`121`, :issue:`128`.

* Return values from encode() and decode() methods are now returned as numpy
arrays for consistency across codecs. By :user:`John Kirkham <jakirkham>`,
:issue:`136`.

* Improvements to handling of errors in the :class:`numcodecs.blosc.Blosc` and
:class:`numcodecs.lz4.LZ4` codecs when the maximum allowed size of an input
buffer is exceeded. By :user:`Jerome Kelleher <jeromekelleher>`, :issue:`80`,
:issue:`81`.


.. _release_0.5.5:

0.5.5

-----

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


.. _release_0.5.4:

0.5.4

-----

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


.. _release_0.5.3:

0.5.3

-----

* The test suite has been migrated to use pytest instead of nosetests
(:issue:`61`, :issue:`62`).

* The bundled c-blosc library has been updated to version 1.13.4 (:issue:`63`,
:issue:`64`).


.. _release_0.5.2:

0.5.2

-----

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


.. _release_0.5.1:

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.


.. _release_0.5.0:

Page 5 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.