diff --git a/changes/3083.feature.rst b/changes/3083.feature.rst deleted file mode 100644 index 4403224df1..0000000000 --- a/changes/3083.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added support for async vectorized and orthogonal indexing. \ No newline at end of file diff --git a/changes/3098.misc.rst b/changes/3098.misc.rst deleted file mode 100644 index 5ec1057365..0000000000 --- a/changes/3098.misc.rst +++ /dev/null @@ -1,3 +0,0 @@ -Define Zarr-specific warning classes that subclass the Python built-in warnings. -These classes makes it easier to control the visibility of warnings emitted by Zarr Python. -See `zarr.errors` for these warning classes. \ No newline at end of file diff --git a/changes/3144.bugfix.rst b/changes/3144.bugfix.rst deleted file mode 100644 index 8dde317bb8..0000000000 --- a/changes/3144.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure that -0.0 is not considered equal to 0.0 when checking if all the values in a chunk are equal to an array's fill value.``` diff --git a/changes/3288.misc.rst b/changes/3288.misc.rst deleted file mode 100644 index af7119487f..0000000000 --- a/changes/3288.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Sort dictionary keys before returning consolidated metadata to ensure deterministic output. diff --git a/changes/3299.bugfix.rst b/changes/3299.bugfix.rst deleted file mode 100644 index 771fb846b4..0000000000 --- a/changes/3299.bugfix.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fix a bug in ``create_array`` caused by iterating over chunk-aligned regions instead of -shard-aligned regions when writing data. Additionally, the behavior of ``nchunks_initialized`` -has been adjusted. This function consistently reports the number of chunks present in stored objects, -even when the array uses the sharding codec. \ No newline at end of file diff --git a/changes/3307.bugfix.rst b/changes/3307.bugfix.rst deleted file mode 100644 index 069205fcc6..0000000000 --- a/changes/3307.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Opening an array or group with ``mode="r+"`` will no longer create new arrays or groups. diff --git a/changes/3318.misc.rst b/changes/3318.misc.rst deleted file mode 100644 index f8308e6b97..0000000000 --- a/changes/3318.misc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Define a ``Protocol`` to model the ``numcodecs.abc.Codec`` interface. This is groundwork toward -making ``numcodecs`` an optional dependency for ``zarr-python``. \ No newline at end of file diff --git a/changes/3367.bugfix.rst b/changes/3367.bugfix.rst deleted file mode 100644 index 9edef00ca6..0000000000 --- a/changes/3367.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Added `zarr.errors.ArrayNotFoundError`, which is raised when attempting to open a zarr array that does not exist, and `zarr.errors.NodeNotFoundError`, which is raised when failing to open an array or a group in a context where either an array or a group was expected. \ No newline at end of file diff --git a/changes/3368.misc.rst b/changes/3368.misc.rst deleted file mode 100644 index 92c90cff33..0000000000 --- a/changes/3368.misc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improved performance of reading arrays by not unnecessarily using -the fill value. diff --git a/changes/3371.misc.rst b/changes/3371.misc.rst deleted file mode 100644 index 06655ee402..0000000000 --- a/changes/3371.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure that tests for executable examples are run in a fresh python environment. \ No newline at end of file diff --git a/changes/3372.misc.rst b/changes/3372.misc.rst deleted file mode 100644 index fe7da0d265..0000000000 --- a/changes/3372.misc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Make certain imports in ``zarr.abc.store`` local to method definitions. This minimizes the risk of -circular imports when adding new classes to ``zarr.abc.store``. \ No newline at end of file diff --git a/changes/3374.misc.rst b/changes/3374.misc.rst deleted file mode 100644 index 19cefd8d60..0000000000 --- a/changes/3374.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Replaces usage of the ``zarr.core.common.ChunkCoords`` typealias with ``tuple[int, ...]``. \ No newline at end of file diff --git a/changes/3378.bugfix.rst b/changes/3378.bugfix.rst deleted file mode 100644 index 1107f76488..0000000000 --- a/changes/3378.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -Ensure passing `config` is handled properly when `open`ing an existing -array. - diff --git a/changes/3391.feature.rst b/changes/3391.feature.rst deleted file mode 100644 index 45a1472a2c..0000000000 --- a/changes/3391.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Make config param optional in init_array diff --git a/changes/3395.bugfix.rst b/changes/3395.bugfix.rst deleted file mode 100644 index 73627c174d..0000000000 --- a/changes/3395.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Raise a Zarr-specific error class when a codec can't be found by name when deserializing the given codecs. This avoids hiding this error behind a "not part of a zarr hierarchy" warning. diff --git a/docs/release-notes.rst b/docs/release-notes.rst index d5308093e5..45401caa2e 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -3,6 +3,37 @@ Release notes .. towncrier release notes start +3.1.2 (2025-08-25) +------------------ + +Features +~~~~~~~~ + +- Added support for async vectorized and orthogonal indexing. (:issue:`3083`) +- Make config param optional in init_array (:issue:`3391`) + + +Bugfixes +~~~~~~~~ + +- Ensure that -0.0 is not considered equal to 0.0 when checking if all the values in a chunk are equal to an array's fill value.``` (:issue:`3144`) +- Fix a bug in ``create_array`` caused by iterating over chunk-aligned regions instead of + shard-aligned regions when writing data. Additionally, the behavior of ``nchunks_initialized`` + has been adjusted. This function consistently reports the number of chunks present in stored objects, + even when the array uses the sharding codec. (:issue:`3299`) +- Opening an array or group with ``mode="r+"`` will no longer create new arrays or groups. (:issue:`3307`) +- Added `zarr.errors.ArrayNotFoundError`, which is raised when attempting to open a zarr array that does not exist, and `zarr.errors.NodeNotFoundError`, which is raised when failing to open an array or a group in a context where either an array or a group was expected. (:issue:`3367`) +- Ensure passing `config` is handled properly when `open`ing an existing + array. (:issue:`3378`) +- Raise a Zarr-specific error class when a codec can't be found by name when deserializing the given codecs. This avoids hiding this error behind a "not part of a zarr hierarchy" warning. (:issue:`3395`) + + +Misc +~~~~ + +- :issue:`3098`, :issue:`3288`, :issue:`3318`, :issue:`3368`, :issue:`3371`, :issue:`3372`, :issue:`3374` + + 3.1.1 (2025-07-28) ------------------