diff --git a/changes/2661.feature.1.rst b/changes/2661.feature.1.rst deleted file mode 100644 index 5d0209c581..0000000000 --- a/changes/2661.feature.1.rst +++ /dev/null @@ -1 +0,0 @@ -Improves performance of FsspecStore.delete_dir for remote filesystems supporting concurrent/batched deletes, e.g., s3fs. \ No newline at end of file diff --git a/changes/2751.bugfix.rst b/changes/2751.bugfix.rst deleted file mode 100644 index 6f737999cf..0000000000 --- a/changes/2751.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed bug with Zarr using device memory, instead of host memory, for storing metadata when using GPUs. \ No newline at end of file diff --git a/changes/2751.doc.rst b/changes/2751.doc.rst deleted file mode 100644 index 19fbcbeea6..0000000000 --- a/changes/2751.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Added new user guide on :ref:`user-guide-gpu`. \ No newline at end of file diff --git a/changes/2751.feature.rst b/changes/2751.feature.rst deleted file mode 100644 index 61d97479c6..0000000000 --- a/changes/2751.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added :meth:`zarr.config.enable_gpu` to update Zarr's configuration to use GPUs. \ No newline at end of file diff --git a/changes/2755.bugfix.rst b/changes/2755.bugfix.rst deleted file mode 100644 index 2555369544..0000000000 --- a/changes/2755.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -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. \ No newline at end of file diff --git a/changes/2758.bugfix.rst b/changes/2758.bugfix.rst deleted file mode 100644 index 6b80f8a626..0000000000 --- a/changes/2758.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix zip-store path checking for stores with directories listed as files. \ No newline at end of file diff --git a/changes/2778.bugfix.rst b/changes/2778.bugfix.rst deleted file mode 100644 index 2968c4441c..0000000000 --- a/changes/2778.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Use removeprefix rather than replace when removing filename prefixes in `FsspecStore.list` \ No newline at end of file diff --git a/changes/2781.bugfix.rst b/changes/2781.bugfix.rst deleted file mode 100644 index 3673eeece7..0000000000 --- a/changes/2781.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Enable automatic removal of `needs release notes` with labeler action \ No newline at end of file diff --git a/changes/2784.feature.rst b/changes/2784.feature.rst deleted file mode 100644 index e3218e6df0..0000000000 --- a/changes/2784.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Avoid reading chunks during writes where possible. :issue:`757` diff --git a/changes/2785.bugfix.rst b/changes/2785.bugfix.rst deleted file mode 100644 index 3f2b3111ea..0000000000 --- a/changes/2785.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Use the proper label config \ No newline at end of file diff --git a/changes/2795.bugfix.rst b/changes/2795.bugfix.rst deleted file mode 100644 index 0ee6619c16..0000000000 --- a/changes/2795.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -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. \ No newline at end of file diff --git a/changes/2799.bugfix.rst b/changes/2799.bugfix.rst deleted file mode 100644 index f22b7074bb..0000000000 --- a/changes/2799.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -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 \ No newline at end of file diff --git a/changes/2801.bugfix.rst b/changes/2801.bugfix.rst deleted file mode 100644 index 294934aacf..0000000000 --- a/changes/2801.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure utf8 compliant strings are used to construct numpy arrays in property-based tests diff --git a/changes/2804.feature.rst b/changes/2804.feature.rst deleted file mode 100644 index 5a707752a0..0000000000 --- a/changes/2804.feature.rst +++ /dev/null @@ -1 +0,0 @@ -:py:class:`LocalStore` learned to ``delete_dir``. This makes array and group deletes more efficient. diff --git a/changes/2807.bugfix.rst b/changes/2807.bugfix.rst deleted file mode 100644 index ae0eb2f6ac..0000000000 --- a/changes/2807.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix pickling for ZipStore diff --git a/changes/2811.bugfix.rst b/changes/2811.bugfix.rst deleted file mode 100644 index ef4e8eb7ed..0000000000 --- a/changes/2811.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Update numcodecs to not overwrite codec configuration ever. Closes :issue:`2800`. diff --git a/changes/2813.feature.rst b/changes/2813.feature.rst deleted file mode 100644 index 8a28f75082..0000000000 --- a/changes/2813.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add `zarr.testing.strategies.array_metadata` to generate ArrayV2Metadata and ArrayV3Metadata instances. diff --git a/changes/2817.bugfix.rst b/changes/2817.bugfix.rst deleted file mode 100644 index b1c0fa9220..0000000000 --- a/changes/2817.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix fancy indexing (e.g. arr[5, [0, 1]]) with the sharding codec \ No newline at end of file diff --git a/changes/2822.feature.rst b/changes/2822.feature.rst deleted file mode 100644 index 37b3bf1faf..0000000000 --- a/changes/2822.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add arbitrary `shards` to Hypothesis strategy for generating arrays. diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 08c64eb899..93466a0992 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -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) ------------------