Zarr

Latest version: v2.18.4

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

Scan your dependencies

Page 4 of 11

2.13.3

------

* Improve performance of slice selections with steps by omitting chunks with no relevant
data.
By :user:`Richard Shaw <jrs65>` :issue:`843`.

.. _release_2.13.2:

2.13.2

------

* Fix test failure on conda-forge builds (again).
By :user:`Josh Moore <joshmoore>`; see
`zarr-feedstock65 <https://github.com/conda-forge/zarr-feedstock/pull/65>`_.

.. _release_2.13.1:

2.13.1

------

* Fix test failure on conda-forge builds.
By :user:`Josh Moore <joshmoore>`; see
`zarr-feedstock65 <https://github.com/conda-forge/zarr-feedstock/pull/65>`_.

.. _release_2.13.0:

2.13.0

------

Major changes
~~~~~~~~~~~~~

* **Support of alternative array classes** by introducing a new argument,
meta_array, that specifies the type/class of the underlying array. The
meta_array argument can be any class instance that can be used as the like
argument in NumPy (see `NEP 35
<https://numpy.org/neps/nep-0035-array-creation-dispatch-with-array-function.html>`_).
enabling support for CuPy through, for example, the creation of a CuPy CPU
compressor.
By :user:`Mads R. B. Kristensen <madsbk>` :issue:`934`.

* **Remove support for Python 3.7** in concert with NumPy dependency.
By :user:`Davis Bennett <d-v-b>` :issue:`1067`.

* **Zarr v3: add support for the default root path** rather than requiring
that all API users pass an explicit path.
By :user:`Gregory R. Lee <grlee77>` :issue:`1085`, :issue:`1142`.


Bug fixes
~~~~~~~~~

* Remove/relax erroneous "meta" path check (**regression**).
By :user:`Gregory R. Lee <grlee77>` :issue:`1123`.

* Cast all attribute keys to strings (and issue deprecation warning).
By :user:`Mattia Almansi <malmans2>` :issue:`1066`.

* Fix bug in N5 storage that prevented arrays located in the root of the hierarchy from
bearing the `n5` keyword. Along with fixing this bug, new tests were added for N5 routines
that had previously been excluded from testing, and type annotations were added to the N5 codebase.
By :user:`Davis Bennett <d-v-b>` :issue:`1092`.

* Fix bug in LRUEStoreCache in which the current size wasn't reset on invalidation.
By :user:`BGCMHou <BGCMHou>` and :user:`Josh Moore <joshmoore>` :issue:`1076`, :issue:`1077`.

* Remove erroneous check that disallowed array keys starting with "meta".
By :user:`Gregory R. Lee <grlee77>` :issue:`1105`.

Documentation
~~~~~~~~~~~~~

* Typo fixes to close quotes. By :user:`Pavithra Eswaramoorthy <pavithraes>`

* Added copy button to documentation.
By :user:`Altay Sansal <tasansal>` :issue:`1124`.

Maintenance
~~~~~~~~~~~

* Simplify release docs.
By :user:`Josh Moore <joshmoore>` :issue:`1119`.

* Pin werkzeug to prevent test hangs.
By :user:`Davis Bennett <d-v-b>` :issue:`1098`.

* Fix a few DeepSource.io alerts
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1080`.

* Fix URLs.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>`, :issue:`1074`.

* Fix spelling.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>`, :issue:`1073`.

* Update GitHub issue templates with `YAML` format.
By :user:`Saransh Chopra <Saransh-cpp>` :issue:`1079`.

* Remove option to return None from _ensure_store.
By :user:`Gregory Lee <grlee77>` :issue:`1068`.

* Fix a typo of "integers".
By :user:`Richard Scott <RichardScottOZ>` :issue:`1056`.

.. _release_2.12.0:

2.12.0

------

Enhancements
~~~~~~~~~~~~

* **Add support for reading and writing Zarr V3.** The new `zarr._store.v3`
package has the necessary classes and functions for evaluating Zarr V3.
Since the format is not yet finalized, the classes and functions are not
automatically imported into the regular `zarr` name space. Setting the
`ZARR_V3_EXPERIMENTAL_API` environment variable will activate them.
By :user:`Gregory Lee <grlee77>`; :issue:`898`, :issue:`1006`, and :issue:`1007`
as well as by :user:`Josh Moore <joshmoore>` :issue:`1032`.

* **Create FSStore from an existing fsspec filesystem**. If you have created
an fsspec filesystem outside of Zarr, you can now pass it as a keyword
argument to ``FSStore``.
By :user:`Ryan Abernathey <rabernat>`; :issue:`911`.

* Add numpy encoder class for json.dumps
By :user:`Eric Prestat <ericpre>`; :issue:`933`.

* Appending performance improvement to Zarr arrays, e.g., when writing to S3.
By :user:`hailiangzhang <hailiangzhang>`; :issue:`1014`.

* Add number encoder for ``json.dumps`` to support numpy integers in
``chunks`` arguments. By :user:`Eric Prestat <ericpre>` :issue:`697`.

Bug fixes
~~~~~~~~~

* Fix bug that made it impossible to create an ``FSStore`` on unlistable filesystems
(e.g. some HTTP servers).
By :user:`Ryan Abernathey <rabernat>`; :issue:`993`.


Documentation
~~~~~~~~~~~~~

* Update resize doc to clarify surprising behavior.
By :user:`hailiangzhang <hailiangzhang>`; :issue:`1022`.

Maintenance
~~~~~~~~~~~

* Added Pre-commit configuration, incl. Yaml Check.
By :user:`Shivank Chaudhary <Alt-Shivam>`; :issue:`1015`, :issue:`1016`.

* Fix URL to renamed file in Blosc repo.
By :user:`Andrew Thomas <amcnicho>` :issue:`1028`.

* Activate Py 3.10 builds.
By :user:`Josh Moore <joshmoore>` :issue:`1027`.

* Make all unignored zarr warnings errors.
By :user:`Josh Moore <joshmoore>` :issue:`1021`.


.. _release_2.11.3:

2.11.3

------

Bug fixes
~~~~~~~~~

* Fix missing case to fully revert change to default write_empty_chunks.
By :user:`Tom White <tomwhite>`; :issue:`1005`.


.. _release_2.11.2:

Page 4 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.