Skip to content

Latest commit

 

History

History
680 lines (443 loc) · 20 KB

release.rst

File metadata and controls

680 lines (443 loc) · 20 KB

Release notes

0.11.0

Fix

  • Speed up isinstance checks of numcodecs.ndarray_like.NDArrayLike, numcodecs.ndarray_like.DType and numcodecs.ndarray_like.FlagsObj. By Andreas Poehlmann <ap-->, 379.

Maintenance

  • Remove unnecessary None argument to .get(), it is the default value. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>, 395.
  • Apply refurb suggestions. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>, 372.
  • Migrate codespell configuration to pyproject.toml and get rid of setup.cfg. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> 374.
  • Unvendor cpuinfo. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> 373.
  • Drop headers. By John Kirkham <jakirkham>, 375.
  • Remove Python 2 code. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> 368, 387.
  • Support Python 3.11. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>, 369.
  • Drop Python 3.7. By John Kirkham <jakirkham>,, 405 406.
  • Test with zfpy 1.0.0. By John Kirkham <jakirkham>, 385.
  • Remove vendored C files and re-generate them on the fly using Cython. Add a pyproject.toml file to define Cython as a build dependency. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>, 369.
  • Update cpuinfo to 9.0.0. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> 370.
  • Add tests for all registry classes. By Josh Moore <joshmoore>, 349.
  • Add workflow to label PRs with "needs release notes". By Saransh Chopra <Saransh-cpp> 396.
  • Finish pyproject.toml migration. By John Kirkham <jakirkham> 382.
  • Drop tox. By John Kirkham <jakirkham>, 384.
  • Update ReadTheDocs. By John Kirkham <jakirkham>, 383.
  • Use conda-incubator/setup-miniconda@v2.2.0 (and use Conda on Linux). By John Kirkham <jakirkham> 398.
  • Bring coverage back up to 100%. By John Kirkham <jakirkham> and Martin Durant <martindurant>, 392 and 393.
  • Collect coverage on all OSes & enable Codecov. By John Kirkham <jakirkham>, 386, 388, 390, 391.

0.10.2

Fix

  • Add BitRound (0.10.0) to registry. By Josh Moore <joshmoore>, 342.

0.10.1

Maintenance

  • Add entrypoints to setup.py. By Josh Moore <joshmoore>, 332.
  • Fix spelling. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>, 336.
  • Drop Python 3.6 from tests By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>, 338, 339.
  • Remove trailing spaces and empty lines. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>, 341.
  • Add LGTM.com configuration file By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>, 337.

0.10.0

Enhancements

  • Add support of alternative array classes (other than NumPy arrays) By Mads R. B. Kristensen <madsbk>, 305.
  • Add ability to find codecs via entrypoint numcodecs.codecs. By Martin Durant <martindurant>, 290.
  • Add bitround codec By Ryan Abernathy <rabernat> and Martin Durant <martindurant>, 298.
  • Introduce a flat option to ensure_contiguous_ndarray to switch off flatten for ZFPY codec By Haiying Xu <halehawk>, 307.

Bug fixes

  • Fix a flatten array error for ZFPY, ZFPY codec is supported on Python 3.9 and 3.10 on Linux and MacOS, the docs about ZFPY is also available. By Haiying Xu <halehawk>, John Kirkham <jakirkham>, Ryan Abernathey <rabernat> 303.
  • Codex: make encode and decode @abstractmethods By Mads R. B. Kristensen <madsbk>, 306.
  • Fix expected result test for Shuffle. By Elliott Sales de Andrade <QuLogic>, 282.

Maintenance

  • Multiple code linting fixes. By Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>, 295, 294, 293, and 292.
  • Drop Python 3.6 By Josh Moore <joshmoore>, 318.
  • Fix macOS Python 3.10 By John Kirkham <jakirkham>, 311.
  • chore: bump cibuildwheel version, use action By Henry Schreiner <henryiii>, 309.
  • Specify language as 'en' instead of None. By John Kirkham <jakirkham>, 329.
  • Move master to main. By John Kirkham <jakirkham>, 322.
  • Drop fastparquet benchmark. By John Kirkham <jakirkham>, 321.
  • Trim wheel builds. By John Kirkham <jakirkham>, 320.

0.9.1

  • Fix inaccurate docstrings for Blosc. By James Webber <jamestwebber>, 287.

0.9.0

  • c-blosc upgrade 1.18.1 -> 1.21.0. Warning: this temporarily removes support for snappy compression! By kindjacket <kindjacket>, 283.
  • Fix an ImportError with Blosc on Android. By Daniel Jewell <danieldjewell>, 284.

0.8.1

  • Fix an ImportError with Blosc on Android. By Daniel Jewell <danieldjewell>, 284.

0.8.0

  • The numcodecs.zfpy.ZFPY codec is now supported on Python 3.8 if zfpy==0.5.5 is installed. By haiying xu <halehawk>, 229.
  • Add support for byte Shuffle filter By Paul Branson <pbranson> and Martin Durant <martindurant> 273.
  • Update Windows + Mac CI to run all tests. By Jackson Maxfield Brown <JacksonMaxfield>, 276. Help from Oleg Höfling <hoefling>, 273.
  • Update cpuinfo to 8.0.0. By Florian Jetter <fjetter>, 280.
  • Drop out-of-date manual release docs. By John Kirkham <jakirkham>, 272.
  • Add support for Python 3.9 and Update GitHub Actions.

0.7.3

  • Add support for Python 3.9 and Update GitHub Actions. By Jackson Maxfield Brown <JacksonMaxfield>, 270.
  • Remove support for Python 3.5 which is end of life. While the code base might still be compatible; the source dist and wheel are marked as Python 3.6+ and pip will not install them. Continuous integration on Python 3.5 has been disabled. By Matthias Bussonnier <Carreau>, 266 and 267.

0.7.2

  • Disable avx2 for wheel. By Grzegorz Bokota <Czaki>, 253.
  • Add Base64 fixtures. By John Kirkham <jakirkham>, 251.
  • Update docs regarding wheels. By Josh Moore <joshmoore>, 250.

0.7.1

  • Fix build of wheels. By Grzegorz Bokota <Czaki>, 244.

0.7.0

  • Automatically release to PyPI. By Josh Moore <joshmoore>, 241.
  • Build wheels on github actions. By Grzegorz Bokota <Czaki>, 224.
  • Add Base64 codec. By Trevor Manz <manzt>, 176.
  • Add partial decompression of Blosc compressed arrays. By Andrew Fulton <andrewfulton9>, 235.
  • Remove LegacyJSON codec. By James Bourbeau <jrbourbeau>, 226.
  • Remove LegacyMsgPack codec. By James Bourbeau <jrbourbeau>, 218.
  • Drop support for Python 2. By James Bourbeau <jrbourbeau>, 220.

0.6.4

  • Update Cython to 0.29.14. By John Kirkham <jakirkham>, 168, 177, 204.
  • The bundled c-blosc sources have been upgraded to version 1.17.0. This fixes compilation with newer versions of gcc. By Joe Jevnik <llllllllll>, 194.
  • Create .pep8speaks.yml. By Alistair Miles <alimanfoo>.
  • Simplify datetime/timedelta check. By John Kirkham <jakirkham>, 170, 171.
  • Update URL metadata for PyPI. By Elliott Sales de Andrade <QuLogic>, 178.
  • Enable pytest rewriting in test helper functions. By Elliott Sales de Andrade <QuLogic>, 185.
  • Rewrites the ensure_text implementation. By John Kirkham <jakirkham>, 201, 205, 206.
  • Add macOS to CI. By Alistair Miles <alimanfoo>, 192.
  • Fix test failures on big-endian systems. By Elliott Sales de Andrade <QuLogic>, 186.
  • Use unittest.mock on Python 3. By Elliott Sales de Andrade <QuLogic>, 179.
  • Don't mask compile errors in setup.py. By Joe Jevnik <llllllllll>, 197.
  • Allow pickles when loading test fixture data. By Elliott Sales de Andrade <QuLogic>, 193.
  • Update cpuinfo.py. By John Kirkham <jakirkham>, 202.
  • Use ensure_text in JSON codecs. By John Kirkham <jakirkham>, 207.
  • Support Python 3.8. By John Kirkham <jakirkham>, 208.

0.6.3

  • Drop support for 32-bit Windows. By Alistair Miles <alimanfoo>, 97, 156.
  • Raise a TypeError if an object array is passed to ensure_bytes. By John Kirkham <jakirkham>, 162.
  • Update Cython to 0.29.3. By John Kirkham <jakirkham>, 165.

0.6.2

  • Handle (new) buffer protocol conforming types in Pickle.decode. By John Kirkham <jakirkham>, 143, 150.
  • Use (new) buffer protocol in MsgPack codec decode() method. By John Kirkham <jakirkham>, 148.
  • Use (new) buffer protocol in JSON codec decode() method. By John Kirkham <jakirkham>, 151.
  • Avoid copying into data in GZip's decode() method on Python 2. By John Kirkham <jakirkham>, 152.
  • Revert ndarray coercion of encode returned data. By John Kirkham <jakirkham>, 155.
  • The bundled c-blosc sources have been upgraded to version 1.15.0. By Alistair Miles <alimanfoo> and John Kirkham <jakirkham>, 142, 145.

0.6.1

  • Resolved minor issue in backwards-compatibility tests (by Alistair Miles <alimanfoo>, 138, 139).

0.6.0

  • The encoding format used by the JSON and 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 Jerome Kelleher <jeromekelleher>; 74, 75.
  • Updated the msgpack dependency (by Jerome Kelleher <jeromekelleher>; 74, 75).
  • Added support for ppc64le architecture by updating cpuinfo.py from upstream (by Anand S <anandtrex>; 82).
  • Allow numcodecs.blosc.Blosc compressor to run on systems where locks are not present (by Marcus Kinsella <mckinsel>, 83; and Tom White <tomwhite>, 93).
  • Drop Python 3.4 (by John Kirkham <jakirkham>; 89).
  • Add Python 3.7 (by John Kirkham <jakirkham>; 92).
  • Add codec numcodecs.gzip.GZip to replace gzip alias for zlib, which was incorrect (by Jan Funke <funkey>; 87; and John Kirkham <jakirkham>, 134).
  • Corrects handling of NaT in datetime64 and timedelta64 in various compressors (by John Kirkham <jakirkham>; 127, 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 John Kirkham <jakirkham> and Alistair Miles <alimanfoo>; 119, 121, 128.
  • Return values from encode() and decode() methods are now returned as numpy arrays for consistency across codecs. By John Kirkham <jakirkham>, 136.
  • Improvements to handling of errors in the numcodecs.blosc.Blosc and numcodecs.lz4.LZ4 codecs when the maximum allowed size of an input buffer is exceeded. By Jerome Kelleher <jeromekelleher>, 80, 81.

0.5.5

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

0.5.4

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

0.5.3

  • The test suite has been migrated to use pytest instead of nosetests (61, 62).
  • The bundled c-blosc library has been updated to version 1.13.4 (63, 64).

0.5.2

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

0.5.1

  • Fixed a compatibility issue with the Zlib codec to ensure it can handle bytearray objects under Python 2.7 (57).
  • Restricted the 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

  • Added new codecs for encoding arrays with variable-length unicode strings (numcodecs.vlen.VLenUTF8), variable-length byte strings (numcodecs.vlen.VLenBytes) and variable-length numerical arrays ((numcodecs.vlen.VLenArray) (56).

0.4.1

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

0.4.0

  • Added a new numcodecs.json.JSON codec as an alternative for encoding of object arrays (54).

0.3.1

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

0.3.0

  • The numcodecs.blosc.Blosc codec has been made robust for usage in both multithreading and multiprocessing programs, regardless of whether Blosc has been configured to use multiple threads internally or not (41, 42).
  • The numcodecs.blosc.Blosc codec now supports an AUTOSHUFFLE argument when encoding (compressing) which activates bit- or byte-shuffle depending on the itemsize of the incoming buffer (37, 42). This is also now the default.
  • The numcodecs.blosc.Blosc codec now raises an exception when an invalid compressor name is provided under all circumstances (40, 42).
  • The bundled version of the c-blosc library has been upgraded to version 1.12.1 (45, 42).
  • An improvement has been made to the system detection capabilities during compilation of C extensions (by Prakhar Goel <newt0311>; 36, 38).
  • Arrays with datetime64 or timedelta64 can now be passed directly to compressor codecs (39, 46).

0.2.1

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

0.2.0

New codecs:

  • The numcodecs.quantize.Quantize codec, which provides support for reducing the precision of floating-point data, has been ported over from Zarr (28, 31).

Other changes:

  • The numcodecs.zlib.Zlib codec is now also registered under the alias 'gzip' (29, 32).

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 (30, 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 (24, 27).

0.1.0

New codecs:

  • Two new compressor codecs numcodecs.zstd.Zstd and numcodecs.lz4.LZ4 have been added (3, 22). These provide direct support for compression/decompression using Zstandard and LZ4 respectively.
  • A new numcodecs.msgpacks.MsgPack codec has been added which uses msgpack-python to perform encoding/decoding, including support for arrays of Python objects (Jeff Reback; 5, 6, 8, 21).
  • A new numcodecs.pickles.Pickle codec has been added which uses the Python pickle protocol to perform encoding/decoding, including support for arrays of Python objects (Jeff Reback; 5, 6, 21).
  • A new numcodecs.astype.AsType codec has been added which uses NumPy to perform type conversion (John Kirkham; 7, 12, 14).

Other new features:

  • The numcodecs.lzma.LZMA codec is now supported on Python 2.7 if backports.lzma is installed (John Kirkham; 11, 13).
  • The bundled c-blosc library has been upgraded to version 1.11.2 (10, 18).
  • An option has been added to the numcodecs.blosc.Blosc codec to allow the block size to be manually configured (9, 19).
  • The representation string for the numcodecs.blosc.Blosc codec has been tweaked to help with understanding the shuffle option (4, 19).
  • Options have been added to manually control how the C extensions are built regardless of the architecture of the system on which the build is run. To disable support for AVX2 set the environment variable "DISABLE_NUMCODECS_AVX2". To disable support for SSE2 set the environment variable "DISABLE_NUMCODECS_SSE2". To disable C extensions altogether set the environment variable "DISABLE_NUMCODECS_CEXT" (24, 26).

Maintenance work:

  • CI tests now run under Python 3.6 as well as 2.7, 3.4, 3.5 (16, 17).
  • Test coverage is now monitored via coveralls (15, 20).

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: numcodecs.checksum32.CRC32 and numcodecs.checksum32.Adler32.
  • The Blosc extension has been refactored to remove code duplications related to handling of buffer compatibility.