Skip to content

Commit cab29d2

Browse files
jhammand-v-b
andauthored
prepare changelog for 3.0.2 release (#2783)
* prepare changelog for 3.0.2 release * fixup * Update docs/release-notes.rst Co-authored-by: Davis Bennett <[email protected]> * fixup --------- Co-authored-by: Davis Bennett <[email protected]>
1 parent 15d9260 commit cab29d2

23 files changed

+54
-33
lines changed

Diff for: changes/2533.bugfix.rst

-1
This file was deleted.

Diff for: changes/2681.bugfix.rst

-1
This file was deleted.

Diff for: changes/2693.bugfix.1.rst

-1
This file was deleted.

Diff for: changes/2693.bugfix.2.rst

-1
This file was deleted.

Diff for: changes/2693.bugfix.3.rst

-1
This file was deleted.

Diff for: changes/2693.bugfix.4.rst

-1
This file was deleted.

Diff for: changes/2693.feature.1.rst

-1
This file was deleted.

Diff for: changes/2693.feature.2.rst

-1
This file was deleted.

Diff for: changes/2693.feature.3.rst

-3
This file was deleted.

Diff for: changes/2693.feature.4.rst

-1
This file was deleted.

Diff for: changes/2693.feature.5.rst

-1
This file was deleted.

Diff for: changes/2693.feature.6.rst

-1
This file was deleted.

Diff for: changes/2693.feature.7.rst

-1
This file was deleted.

Diff for: changes/2693.feature.8.rst

-1
This file was deleted.

Diff for: changes/2693.feature.9.rst

-1
This file was deleted.

Diff for: changes/2736.doc.rst

-2
This file was deleted.

Diff for: changes/2761.feature.1.rst

-5
This file was deleted.

Diff for: changes/2762.bugfix.rst

-2
This file was deleted.

Diff for: changes/2763.chore.rst

-3
This file was deleted.

Diff for: changes/2768.bugfix.1.rst

-1
This file was deleted.

Diff for: changes/2768.bugfix.2.rst

-2
This file was deleted.

Diff for: changes/2782.bugfix.rst

-1
This file was deleted.

Diff for: docs/release-notes.rst

+54
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,60 @@ Release notes
33

44
.. towncrier release notes start
55
6+
3.0.2 (2025-01-31)
7+
------------------
8+
9+
Features
10+
~~~~~~~~
11+
12+
- Test ``getsize()`` and ``getsize_prefix()`` in ``StoreTests``. (:issue:`2693`)
13+
- Test that a ``ValueError`` is raised for invalid byte range syntax in ``StoreTests``. (:issue:`2693`)
14+
- Separate instantiating and opening a store in ``StoreTests``. (:issue:`2693`)
15+
- Add a test for using Stores as a context managers in ``StoreTests``. (:issue:`2693`)
16+
- Implemented ``LogingStore.open()``. (:issue:`2693`)
17+
- ``LoggingStore`` is now a generic class. (:issue:`2693`)
18+
- Change StoreTest's ``test_store_repr``, ``test_store_supports_writes``,
19+
``test_store_supports_partial_writes``, and ``test_store_supports_listing``
20+
to to be implemented using ``@abstractmethod``, rather raising ``NotImplementedError``. (:issue:`2693`)
21+
- Test the error raised for invalid buffer arguments in ``StoreTests``. (:issue:`2693`)
22+
- Test that data can be written to a store that's not yet open using the store.set method in ``StoreTests``. (:issue:`2693`)
23+
- Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array``
24+
to use ``init_array``. ``create_array`` takes two new parameters: ``data``, an optional array-like object, and ``write_data``, a bool which defaults to ``True``.
25+
If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the
26+
corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``,
27+
then the values in ``data`` will be written to the newly created array. (:issue:`2761`)
28+
29+
30+
Bugfixes
31+
~~~~~~~~
32+
33+
- Wrap sync fsspec filesystems with ``AsyncFileSystemWrapper``. (:issue:`2533`)
34+
- Added backwards compatibility for Zarr format 2 structured arrays. (:issue:`2681`)
35+
- 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`)
36+
- Ensure that ``ZipStore`` is open before getting or setting any values. (:issue:`2693`)
37+
- Use stdout rather than stderr as the default stream for ``LoggingStore``. (:issue:`2693`)
38+
- Match the errors raised by read only stores in ``StoreTests``. (:issue:`2693`)
39+
- Fixed ``ZipStore`` to make sure the correct attributes are saved when instances are pickled.
40+
This fixes a previous bug that prevent using ``ZipStore`` with a ``ProcessPoolExecutor``. (:issue:`2762`)
41+
- Updated the optional test dependencies to include ``botocore`` and ``fsspec``. (:issue:`2768`)
42+
- Fixed the fsspec tests to skip if ``botocore`` is not installed.
43+
Previously they would have failed with an import error. (:issue:`2768`)
44+
- Optimize full chunk writes. (:issue:`2782`)
45+
46+
47+
Improved Documentation
48+
~~~~~~~~~~~~~~~~~~~~~~
49+
50+
- Changed the machinery for creating changelog entries.
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+
53+
Other
54+
~~~~~
55+
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`)
59+
660

761
3.0.1 (Jan. 17, 2025)
862
---------------------

0 commit comments

Comments
 (0)