From 29a5cb8b86d63ba47539510df183949143a49617 Mon Sep 17 00:00:00 2001 From: Gregory Lee Date: Wed, 26 Jan 2022 11:57:55 -0500 Subject: [PATCH] add release note regarding introduction of BaseStore and KVStore --- docs/release.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/release.rst b/docs/release.rst index 630f9de833..d3c9072cf5 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -6,6 +6,9 @@ Release notes Unreleased ---------- +This release of Zarr Python introduces a new ``BaseStore`` class that all provided store classes implemented in Zarr Python now inherit from. This is done as part of refactoring to enable future support of the Zarr version 3 spec. Existing third-party stores that are a MutableMapping (e.g. dict) can be converted to a new-style key/value store inheriting from ``BaseStore`` by passing them as the argument to the new ``zarr.storage.KVStore`` class. For backwards compatibility, various higher-level array creation and convenience functions still accept plain Python dicts or other mutable mappings for the ``store`` argument, but will internally convert these to a ``KVStore``. + + Enhancements ~~~~~~~~~~~~