From ede004e5345741eac6e1f5ed549e93a60b96254d Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 19 May 2025 14:42:58 +0100 Subject: [PATCH 1/3] Changelog for 3.0.8 --- changes/2862.bugfix.rst | 1 - changes/2913.feature.rst | 1 - changes/2972.misc.rst | 1 - changes/2978.bugfix.rst | 1 - changes/2998.bugfix.md | 1 - changes/3027.misc.rst | 1 - changes/3039.bugfix.rst | 5 ----- changes/3045.bugfix.rst | 1 - changes/3049.misc.rst | 1 - changes/3062.bugfix.rst | 1 - docs/release-notes.rst | 30 ++++++++++++++++++++++++++++++ 11 files changed, 30 insertions(+), 14 deletions(-) delete mode 100644 changes/2862.bugfix.rst delete mode 100644 changes/2913.feature.rst delete mode 100644 changes/2972.misc.rst delete mode 100644 changes/2978.bugfix.rst delete mode 100644 changes/2998.bugfix.md delete mode 100644 changes/3027.misc.rst delete mode 100644 changes/3039.bugfix.rst delete mode 100644 changes/3045.bugfix.rst delete mode 100644 changes/3049.misc.rst delete mode 100644 changes/3062.bugfix.rst diff --git a/changes/2862.bugfix.rst b/changes/2862.bugfix.rst deleted file mode 100644 index bbe6f0746e..0000000000 --- a/changes/2862.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a bug that prevented the number of initialized chunks being counted properly. \ No newline at end of file diff --git a/changes/2913.feature.rst b/changes/2913.feature.rst deleted file mode 100644 index e0bfcba791..0000000000 --- a/changes/2913.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added a `print_debug_info` function for bug reports. diff --git a/changes/2972.misc.rst b/changes/2972.misc.rst deleted file mode 100644 index f0258c1d05..0000000000 --- a/changes/2972.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Avoid an unnecessary memory copy when writing Zarr with obstore diff --git a/changes/2978.bugfix.rst b/changes/2978.bugfix.rst deleted file mode 100644 index fe9f3d3f64..0000000000 --- a/changes/2978.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed sharding with GPU buffers. diff --git a/changes/2998.bugfix.md b/changes/2998.bugfix.md deleted file mode 100644 index 7b94223122..0000000000 --- a/changes/2998.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Fix structured `dtype` fill value serialization for consolidated metadata \ No newline at end of file diff --git a/changes/3027.misc.rst b/changes/3027.misc.rst deleted file mode 100644 index ffbfe9b808..0000000000 --- a/changes/3027.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Simplified scalar indexing of size-1 arrays. \ No newline at end of file diff --git a/changes/3039.bugfix.rst b/changes/3039.bugfix.rst deleted file mode 100644 index be2b424cf5..0000000000 --- a/changes/3039.bugfix.rst +++ /dev/null @@ -1,5 +0,0 @@ -It is now possible to specify no compressor when creating a zarr format 2 array. -This can be done by passing ``compressor=None`` to the various array creation routines. - -The default behaviour of automatically choosing a suitable default compressor remains if the compressor argument is not given. -To reproduce the behaviour in previous zarr-python versions when ``compressor=None`` was passed, pass ``compressor='auto'`` instead. diff --git a/changes/3045.bugfix.rst b/changes/3045.bugfix.rst deleted file mode 100644 index a3886717a7..0000000000 --- a/changes/3045.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed the typing of ``dimension_names`` arguments throughout so that it now accepts iterables that contain `None` alongside `str`. diff --git a/changes/3049.misc.rst b/changes/3049.misc.rst deleted file mode 100644 index 79ecd6ed95..0000000000 --- a/changes/3049.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Added tests for ``AsyncArray``, ``Array`` and removed duplicate argument parsing. \ No newline at end of file diff --git a/changes/3062.bugfix.rst b/changes/3062.bugfix.rst deleted file mode 100644 index 9e1e52ddb7..0000000000 --- a/changes/3062.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Using various functions to open data with ``mode='a'`` no longer deletes existing data in the store. diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 341a32c364..d60b937db9 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -3,6 +3,36 @@ Release notes .. towncrier release notes start +3.0.8 (2025-05-19) +------------------ + +Features +~~~~~~~~ + +- Added a `print_debug_info` function for bug reports. (:issue:`2913`) + + +Bugfixes +~~~~~~~~ + +- Fix a bug that prevented the number of initialized chunks being counted properly. (:issue:`2862`) +- Fixed sharding with GPU buffers. (:issue:`2978`) +- Fix structured `dtype` fill value serialization for consolidated metadata (:issue:`2998`) +- It is now possible to specify no compressor when creating a zarr format 2 array. + This can be done by passing ``compressor=None`` to the various array creation routines. + + The default behaviour of automatically choosing a suitable default compressor remains if the compressor argument is not given. + To reproduce the behaviour in previous zarr-python versions when ``compressor=None`` was passed, pass ``compressor='auto'`` instead. (:issue:`3039`) +- Fixed the typing of ``dimension_names`` arguments throughout so that it now accepts iterables that contain `None` alongside `str`. (:issue:`3045`) +- Using various functions to open data with ``mode='a'`` no longer deletes existing data in the store. (:issue:`3062`) + + +Misc +~~~~ + +- :issue:`2972`, :issue:`3027`, :issue:`3049` + + 3.0.7 (2025-04-22) ------------------ From 0120e99fb2b63f1c9af2d0211919a06ae66dc245 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 19 May 2025 14:56:08 +0100 Subject: [PATCH 2/3] Add warning to top of release notes --- docs/release-notes.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/release-notes.rst b/docs/release-notes.rst index d60b937db9..e48a69da25 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -6,6 +6,12 @@ Release notes 3.0.8 (2025-05-19) ------------------ +.. warning:: + + In versions 3.0.0 to 3.0.7 opening arrays with ``mode='a'`` (the default for many builtin functions) + would cause any existing paths in the store to be deleted. This is fixed in 3.0.8, and + we recommend all users upgrade to avoid this bug that could cause unintentional data loss. + Features ~~~~~~~~ From bbbb42435efadc2f56e49ab48eed3d5a77a828de Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 19 May 2025 14:57:53 +0100 Subject: [PATCH 3/3] fix warning --- docs/release-notes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-notes.rst b/docs/release-notes.rst index e48a69da25..f8b00f83e7 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -8,7 +8,7 @@ Release notes .. warning:: - In versions 3.0.0 to 3.0.7 opening arrays with ``mode='a'`` (the default for many builtin functions) + In versions 3.0.0 to 3.0.7 opening arrays or groups with ``mode='a'`` (the default for many builtin functions) would cause any existing paths in the store to be deleted. This is fixed in 3.0.8, and we recommend all users upgrade to avoid this bug that could cause unintentional data loss.