Skip to content

Changelog for v3.0.3 #2836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion changes/2661.feature.1.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2751.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2751.doc.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2751.feature.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changes/2755.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2758.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2778.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2781.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2784.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2785.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2795.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2799.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2801.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2804.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2807.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2811.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2813.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2817.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2822.feature.rst

This file was deleted.

39 changes: 39 additions & 0 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,45 @@ Release notes

.. towncrier release notes start

3.0.3 (2025-02-14)
------------------

Features
~~~~~~~~

- Improves performance of FsspecStore.delete_dir for remote filesystems supporting concurrent/batched deletes, e.g., s3fs. (:issue:`2661`)
- Added :meth:`zarr.config.enable_gpu` to update Zarr's configuration to use GPUs. (:issue:`2751`)
- Avoid reading chunks during writes where possible. :issue:`757` (:issue:`2784`)
- :py:class:`LocalStore` learned to ``delete_dir``. This makes array and group deletes more efficient. (:issue:`2804`)
- Add `zarr.testing.strategies.array_metadata` to generate ArrayV2Metadata and ArrayV3Metadata instances. (:issue:`2813`)
- Add arbitrary `shards` to Hypothesis strategy for generating arrays. (:issue:`2822`)


Bugfixes
~~~~~~~~

- Fixed bug with Zarr using device memory, instead of host memory, for storing metadata when using GPUs. (:issue:`2751`)
- The array returned by ``zarr.empty`` and an empty ``zarr.core.buffer.cpu.NDBuffer`` will now be filled with the
specified fill value, or with zeros if no fill value is provided.
This fixes a bug where Zarr format 2 data with no fill value was written with un-predictable chunk sizes. (:issue:`2755`)
- Fix zip-store path checking for stores with directories listed as files. (:issue:`2758`)
- Use removeprefix rather than replace when removing filename prefixes in `FsspecStore.list` (:issue:`2778`)
- Enable automatic removal of `needs release notes` with labeler action (:issue:`2781`)
- Use the proper label config (:issue:`2785`)
- Alters the behavior of ``create_array`` to ensure that any groups implied by the array's name are created if they do not already exist. Also simplifies the type signature for any function that takes an ArrayConfig-like object. (:issue:`2795`)
- Enitialise empty chunks to the default fill value during writing and add default fill values for datetime, timedelta, structured, and other (void* fixed size) data types (:issue:`2799`)
- Ensure utf8 compliant strings are used to construct numpy arrays in property-based tests (:issue:`2801`)
- Fix pickling for ZipStore (:issue:`2807`)
- Update numcodecs to not overwrite codec configuration ever. Closes :issue:`2800`. (:issue:`2811`)
- Fix fancy indexing (e.g. arr[5, [0, 1]]) with the sharding codec (:issue:`2817`)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Added new user guide on :ref:`user-guide-gpu`. (:issue:`2751`)


3.0.2 (2025-01-31)
------------------

Expand Down