You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release-notes.rst
+5-94Lines changed: 5 additions & 94 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,101 +50,12 @@ Improved Documentation
50
50
- Changed the machinery for creating changelog entries.
51
51
Now individual entries should be added as files to the `changes` directory in the `zarr-python` repository, instead of directly to the changelog file. (:issue:`2736`)
52
52
53
+
Chores
54
+
~~~~~~
53
55
54
-
3.0.2 (2025-01-30)
55
-
------------------
56
-
57
-
Features
58
-
~~~~~~~~
59
-
60
-
- Test ``getsize()`` and ``getsize_prefix()`` in ``StoreTests``. (:issue:`2693`)
61
-
- Test that a ``ValueError`` is raised for invalid byte range syntax in ``StoreTests``. (:issue:`2693`)
62
-
- Separate instantiating and opening a store in ``StoreTests``. (:issue:`2693`)
63
-
- Add a test for using Stores as a context managers in ``StoreTests``. (:issue:`2693`)
``test_store_supports_partial_writes``, and ``test_store_supports_listing``
68
-
to to be implemented using ``@abstractmethod``, rather raising ``NotImplementedError``. (:issue:`2693`)
69
-
- Test the error raised for invalid buffer arguments in ``StoreTests``. (:issue:`2693`)
70
-
- Test that data can be written to a store that's not yet open using the store.set method in ``StoreTests``. (:issue:`2693`)
71
-
- Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array``
72
-
to use ``init_array``. ``create_array`` takes two a new parameters: ``data``, an optional array-like object, and ``write_data``, a bool which defaults to ``True``.
73
-
If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the
74
-
corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``,
75
-
then the values in ``data`` will be written to the newly created array. (:issue:`2761`)
76
-
77
-
78
-
Bugfixes
79
-
~~~~~~~~
80
-
81
-
- Wrap sync fsspec filesystems with ``AsyncFileSystemWrapper``. (:issue:`2533`)
82
-
- Added backwards compatibility for Zarr format 2 structured arrays. (:issue:`2681`)
83
-
- Update equality for ``LoggingStore`` and ``WrapperStore`` such that 'other' must also be a ``LoggingStore`` or ``WrapperStore`` respectively, rather than only checking the types of the stores they wrap. (:issue:`2693`)
84
-
- Ensure that ``ZipStore`` is open before getting or setting any values. (:issue:`2693`)
85
-
- Use stdout rather than stderr as the default stream for ``LoggingStore``. (:issue:`2693`)
86
-
- Match the errors raised by read only stores in ``StoreTests``. (:issue:`2693`)
87
-
- Fixed ``ZipStore`` to make sure the correct attributes are saved when instances are pickled.
88
-
This fixes a previous bug that prevent using ``ZipStore`` with a ``ProcessPoolExecutor``. (:issue:`2762`)
89
-
- Updated the optional test dependencies to include ``botocore`` and ``fsspec``. (:issue:`2768`)
90
-
- Fixed the fsspec tests to skip if ``botocore`` is not installed.
91
-
Previously they would have failed with an import error. (:issue:`2768`)
92
-
- Optimize full chunk writes. (:issue:`2782`)
93
-
94
-
95
-
Improved Documentation
96
-
~~~~~~~~~~~~~~~~~~~~~~
97
-
98
-
- Changed the machinery for creating changelog entries.
99
-
Now individual entries should be added as files to the `changes` directory in the `zarr-python` repository, instead of directly to the changelog file. (:issue:`2736`)
100
-
101
-
102
-
3.0.2 (2025-01-30)
103
-
------------------
104
-
105
-
Features
106
-
~~~~~~~~
107
-
108
-
- Test getsize() and getsize_prefix() in StoreTests. (:issue:`2693`)
109
-
- Test that a ValueError is raised for invalid byte range syntax in StoreTests. (:issue:`2693`)
110
-
- Separate instantiating and opening a store in StoreTests. (:issue:`2693`)
111
-
- Add a test for using Stores as a context managers in StoreTests. (:issue:`2693`)
112
-
- Implemented open() for LoggingStore. (:issue:`2693`)
113
-
- LoggingStore is now a generic class. (:issue:`2693`)
``test_store_supports_partial_writes``, and ``test_store_supports_listing``
116
-
to to be implemented using ``@abstractmethod``, rather raising ``NotImplementedError``. (:issue:`2693`)
117
-
- Test the error raised for invalid buffer arguments in StoreTests. (:issue:`2693`)
118
-
- Test that data can be written to a store that's not yet open using the store.set method in StoreTests (:issue:`2693`)
119
-
- Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array``
120
-
to use ``init_array``. ``create_array`` takes two a new parameters: ``data``, an optional array-like object, and ``write_data``, a bool which defaults to ``True``.
121
-
If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the
122
-
corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``,
123
-
then the values in ``data`` will be written to the newly created array. (:issue:`2761`)
124
-
125
-
126
-
Bugfixes
127
-
~~~~~~~~
128
-
129
-
- Wrap sync fsspec filesystems with AsyncFileSystemWrapper in xarray.to_zarr (:issue:`2533`)
130
-
- Added backwards compatibility for Zarr format 2 structured arrays. (:issue:`2681`)
131
-
- Update equality for LoggingStore and WrapperStore such that 'other' must also be a LoggingStore or WrapperStore respectively, rather than only checking the types of the stores they wrap. (:issue:`2693`)
132
-
- Ensure that ZipStore is open before getting or setting any values. (:issue:`2693`)
133
-
- Use stdout rather than stderr as the default stream for LoggingStore. (:issue:`2693`)
134
-
- Match the errors raised by read only stores in StoreTests. (:issue:`2693`)
135
-
- Fixed ZipStore to make sure the correct attributes are saved when instances are pickled.
136
-
This fixes a previous bug that prevent using ZipStore with a ProcessPoolExecutor. (:issue:`2762`)
137
-
- Updated the optional test dependencies to include ``botocore`` and ``fsspec``. (:issue:`2768`)
138
-
- Fixed the fsspec tests to skip if ``botocore`` is not installed.
139
-
Previously they would have failed with an import error. (:issue:`2768`)
140
-
- Optimize full chunk writes (:issue:`2782`)
141
-
142
-
143
-
Improved Documentation
144
-
~~~~~~~~~~~~~~~~~~~~~~
145
-
146
-
- Changed the machinery for creating changelog entries.
147
-
Now individual entries should be added as files to the `changes` directory in the `zarr-python` repository, instead of directly to the changelog file. (:issue:`2736`)
56
+
- Created a type alias ``ChunkKeyEncodingLike`` to model the union of ``ChunkKeyEncoding`` instances and the dict form of the
57
+
parameters of those instances. ``ChunkKeyEncodingLike`` should be used by high-level functions to provide a convenient
58
+
way for creating ``ChunkKeyEncoding`` objects. (:issue:`2763`)
0 commit comments