Zarr

Latest version: v2.18.0

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

Scan your dependencies

Page 1 of 10

2.18.0

------

Enhancements
~~~~~~~~~~~~
* Performance improvement for reading and writing chunks if any of the dimensions is size 1.
By :user:`Deepak Cherian <dcherian>` :issue:`1730`.

Maintenance
~~~~~~~~~~~
* Enable ruff/bugbear rules (B) and fix issues.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1702`.

* Minor updates to use `np.inf` instead of `np.PINF` / `np.NINF` in preparation for NumPy 2.0.0 release.
By :user:`Joe Hamman <jhamman>` :issue:`1842`.

Deprecations
~~~~~~~~~~~~

* Deprecate experimental v3 support by issuing a `FutureWarning`.
Also updated docs to warn about using the experimental v3 version.
By :user:`Joe Hamman <jhamman>` :issue:`1802` and :issue:`1807`.

* Deprecate the following stores: :class:`zarr.storage.DBMStore`, :class:`zarr.storage.LMDBStore`,
:class:`zarr.storage.SQLiteStore`, :class:`zarr.storage.MongoDBStore`, :class:`zarr.storage.RedisStore`,
and :class:`zarr.storage.ABSStore`. These stores are slated to be removed from Zarr-Python in version 3.0.
By :user:`Joe Hamman <jhamman>` :issue:`1801`.

.. _release_2.17.2:

2.17.2

------

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

* [v3] Dramatically reduce number of ``__contains__`` requests in favor of optimistically calling `__getitem__`
and handling any error that may arise.
By :user:`Deepak Cherian <dcherian>` :issue:`1741`.

* [v3] Reuse the downloaded array metadata when creating an ``Array``.
By :user:`Deepak Cherian <dcherian>` :issue:`1734`.

* Optimize ``Array.info`` so that it calls `getsize` only once.
By :user:`Deepak Cherian <dcherian>` :issue:`1733`.

* Override IPython ``_repr_*_`` methods to avoid expensive lookups against object stores.
By :user:`Deepak Cherian <dcherian>` :issue:`1716`.

* FSStore now raises rather than return bad data.
By :user:`Martin Durant <martindurant>` and :user:`Ian Carroll <itcarroll>` :issue:`1604`.

* Avoid redundant ``__contains__``.
By :user:`Deepak Cherian <dcherian>` :issue:`1739`.

Docs
~~~~

* Fix link to GCSMap in ``tutorial.rst``.
By :user:`Daniel Jahn <dahnj>` :issue:`1689`.

* Endorse `SPEC0000 <https://scientific-python.org/specs/spec-0000/>`_ and state version support policy in ``installation.rst``.
By :user:`Sanket Verma <msankeys963>` :issue:`1665`.

* Migrate v1 and v2 specification to `Zarr-Specs <https://zarr-specs.readthedocs.io/en/latest/specs.html>`_.
By :user:`Sanket Verma <msankeys963>` :issue:`1582`.

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

* Add CI test environment for Python 3.12
By :user:`Joe Hamman <jhamman>` :issue:`1719`.

* Bump minimum supported NumPy version to 1.23 (per spec 0000)
By :user:`Joe Hamman <jhamman>` :issue:`1719`.

* Minor fixes: Using ``is`` instead of ``type`` and removing unnecessary ``None``.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1737`.

* Fix tests failure related to Pytest 8.
By :user:`David Stansby <dstansby>` :issue:`1714`.

.. _release_2.17.1:

2.17.1

------

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

* Change occurrences of % and format() to f-strings.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1423`.

* Proper argument for numpy.reshape.
By :user:`Dimitri Papadopoulos Orfanos <DmitriPapadopoulos>` :issue:`1425`.

* Add typing to dimension separator arguments.
By :user:`David Stansby <dstansby>` :issue:`1620`.

Docs
~~~~

* ZIP related tweaks.
By :user:`Davis Bennett <d-v-b>` :issue:`1641`.

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

* Update config.yml with Zulip.
By :user:`Josh Moore <joshmoore>`.

* Replace Gitter with the new Zulip Chat link.
By :user:`Sanket Verma <msankeys963>` :issue:`1685`.

* Fix RTD build.
By :user:`Sanket Verma <msankeys963>` :issue:`1694`.

.. _release_2.17.0:

2.17.0

------

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

* Added type hints to ``zarr.creation.create()``.
By :user:`David Stansby <dstansby>` :issue:`1536`.

* Pyodide support: Don't require fasteners on Emscripten.
By :user:`Hood Chatham <hoodmane>` :issue:`1663`.

Docs
~~~~

* Minor correction and changes in documentation.
By :user:`Sanket Verma <MSanKeys963>` :issue:`1509`.

* Fix typo in documentation.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1554`

* The documentation build now fails if there are any warnings.
By :user:`David Stansby <dstansby>` :issue:`1548`.

* Add links to ``numcodecs`` docs in the tutorial.
By :user:`David Stansby <dstansby>` :issue:`1535`.

* Enable offline formats for documentation builds.
By :user:`Sanket Verma <MSanKeys963>` :issue:`1551`.

* Minor tweak to advanced indexing tutorial examples.
By :user:`Ross Barnowski <rossbar>` :issue:`1550`.

* Automatically document array members using sphinx-automodapi.
By :user:`David Stansby <dstansby>` :issue:`1547`.

* Add a markdown file documenting the current and former core-developer team.
By :user:`Joe Hamman <jhamman>` :issue:`1628`.

* Add Norman Rzepka to core-dev team.
By :user:`Joe Hamman <jhamman>` :issue:`1630`.

* Added section about accessing ZIP archives on s3.
By :user:`Jeff Peck <jeffpeck10x>` :issue:`1613`, :issue:`1615`, and :user:`Davis Bennett <d-v-b>` :issue:`1641`.

* Add V3 roadmap and design document.
By :user:`Joe Hamman <jhamman>` :issue:`1583`.

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

* Drop Python 3.8 and NumPy 1.20
By :user:`Josh Moore <joshmoore>`; :issue:`1557`.

* Cache result of ``FSStore._fsspec_installed()``.
By :user:`Janick Martinez Esturo <ph03>` :issue:`1581`.

* Extend copyright notice to 2023.
By :user:`Jack Kelly <JackKelly>` :issue:`1528`.

* Change occurrence of ``io.open()`` into ``open()``.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1421`.

* Preserve ``dimension_separator`` when resizing arrays.
By :user:`Ziwen Liu <ziw-liu>` :issue:`1533`.

* Initialise some sets in tests with set literals instead of list literals.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1534`.

* Allow ``black`` code formatter to be run with any Python version.
By :user:`David Stansby <dstansby>` :issue:`1549`.

* Remove ``sphinx-rtd-theme`` dependency from ``pyproject.toml``.
By :user:`Sanket Verma <MSanKeys963>` :issue:`1563`.

* Remove ``CODE_OF_CONDUCT.md`` file from the Zarr-Python repository.
By :user:`Sanket Verma <MSanKeys963>` :issue:`1572`.

* Bump version of black in pre-commit.
By :user:`David Stansby <dtstansby>` :issue:`1559`.

* Use list comprehension where applicable.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1555`.

* Use format specification mini-language to format string.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1558`.

* Single startswith() call instead of multiple ones.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1556`.

* Move codespell options around.
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1196`.

* Remove unused mypy ignore comments.
By :user:`David Stansby <dtstansby>` :issue:`1602`.

.. _release_2.16.1:

2.16.1

------

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

* Require ``setuptools_scm`` version ``1.5.4``\+
By :user:`John A. Kirkham <jakirkham>` :issue:`1477`.

* Add ``docs`` requirements to ``pyproject.toml``
By :user:`John A. Kirkham <jakirkham>` :issue:`1494`.

* Fixed caching issue in ``LRUStoreCache``.
By :user:`Mads R. B. Kristensen <madsbk>` :issue:`1499`.

.. _release_2.16.0:

2.16.0

------

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

* Allow for partial codec specification in V3 array metadata.
By :user:`Joe Hamman <jhamman>` :issue:`1443`.

* Add ``__contains__`` method to ``KVStore``.
By :user:`Christoph Gohlke <cgohlke>` :issue:`1454`.

* **Block Indexing**: Implemented blockwise (chunk blocks) indexing to ``zarr.Array``.
By :user:`Altay Sansal <tasansal>` :issue:`1428`

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

* Refactor the core array tests to reduce code duplication.
By :user:`Davis Bennett <d-v-b>` :issue:`1462`.

* Style the codebase with ``ruff`` and ``black``.
By :user:`Davis Bennett <d-v-b>` :issue:`1459`

* Ensure that chunks is tuple of ints upon array creation.
By :user:`Philipp Hanslovsky <hanslovsky>` :issue:`1461`

.. _release_2.15.0:

Page 1 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.