Skip to content

Commit

Permalink
prepare changelog for 3.0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamman committed Jan 31, 2025
1 parent 15d9260 commit a2d3813
Show file tree
Hide file tree
Showing 22 changed files with 143 additions and 30 deletions.
1 change: 0 additions & 1 deletion changes/2533.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2681.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.bugfix.1.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.bugfix.2.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.bugfix.3.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.bugfix.4.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.feature.1.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.feature.2.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changes/2693.feature.3.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.feature.4.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.feature.5.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.feature.6.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.feature.7.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.feature.8.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2693.feature.9.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changes/2736.doc.rst

This file was deleted.

5 changes: 0 additions & 5 deletions changes/2761.feature.1.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changes/2762.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2768.bugfix.1.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changes/2768.bugfix.2.rst

This file was deleted.

1 change: 0 additions & 1 deletion changes/2782.bugfix.rst

This file was deleted.

143 changes: 143 additions & 0 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,149 @@ Release notes

.. towncrier release notes start
3.0.2 (2025-01-31)
------------------

Features
~~~~~~~~

- Test ``getsize()`` and ``getsize_prefix()`` in ``StoreTests``. (:issue:`2693`)
- Test that a ``ValueError`` is raised for invalid byte range syntax in ``StoreTests``. (:issue:`2693`)
- Separate instantiating and opening a store in ``StoreTests``. (:issue:`2693`)
- Add a test for using Stores as a context managers in ``StoreTests``. (:issue:`2693`)
- Implemented ``LogingStore.open()``. (:issue:`2693`)
- ``LoggingStore`` is now a generic class. (:issue:`2693`)
- Change StoreTest's ``test_store_repr``, ``test_store_supports_writes``,
``test_store_supports_partial_writes``, and ``test_store_supports_listing``
to to be implemented using ``@abstractmethod``, rather raising ``NotImplementedError``. (:issue:`2693`)
- Test the error raised for invalid buffer arguments in ``StoreTests``. (:issue:`2693`)
- Test that data can be written to a store that's not yet open using the store.set method in ``StoreTests``. (:issue:`2693`)
- Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array``
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``.
If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the
corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``,
then the values in ``data`` will be written to the newly created array. (:issue:`2761`)


Bugfixes
~~~~~~~~

- Wrap sync fsspec filesystems with ``AsyncFileSystemWrapper``. (:issue:`2533`)
- Added backwards compatibility for Zarr format 2 structured arrays. (:issue:`2681`)
- 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`)
- Ensure that ``ZipStore`` is open before getting or setting any values. (:issue:`2693`)
- Use stdout rather than stderr as the default stream for ``LoggingStore``. (:issue:`2693`)
- Match the errors raised by read only stores in ``StoreTests``. (:issue:`2693`)
- Fixed ``ZipStore`` to make sure the correct attributes are saved when instances are pickled.
This fixes a previous bug that prevent using ``ZipStore`` with a ``ProcessPoolExecutor``. (:issue:`2762`)
- Updated the optional test dependencies to include ``botocore`` and ``fsspec``. (:issue:`2768`)
- Fixed the fsspec tests to skip if ``botocore`` is not installed.
Previously they would have failed with an import error. (:issue:`2768`)
- Optimize full chunk writes. (:issue:`2782`)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Changed the machinery for creating changelog entries.
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`)


3.0.2 (2025-01-30)
------------------

Features
~~~~~~~~

- Test ``getsize()`` and ``getsize_prefix()`` in ``StoreTests``. (:issue:`2693`)
- Test that a ``ValueError`` is raised for invalid byte range syntax in ``StoreTests``. (:issue:`2693`)
- Separate instantiating and opening a store in ``StoreTests``. (:issue:`2693`)
- Add a test for using Stores as a context managers in ``StoreTests``. (:issue:`2693`)
- Implemented ``LogingStore.open()``. (:issue:`2693`)
- ``LoggingStore`` is now a generic class. (:issue:`2693`)
- Change StoreTest's ``test_store_repr``, ``test_store_supports_writes``,
``test_store_supports_partial_writes``, and ``test_store_supports_listing``
to to be implemented using ``@abstractmethod``, rather raising ``NotImplementedError``. (:issue:`2693`)
- Test the error raised for invalid buffer arguments in ``StoreTests``. (:issue:`2693`)
- Test that data can be written to a store that's not yet open using the store.set method in ``StoreTests``. (:issue:`2693`)
- Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array``
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``.
If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the
corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``,
then the values in ``data`` will be written to the newly created array. (:issue:`2761`)


Bugfixes
~~~~~~~~

- Wrap sync fsspec filesystems with ``AsyncFileSystemWrapper``. (:issue:`2533`)
- Added backwards compatibility for Zarr format 2 structured arrays. (:issue:`2681`)
- 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`)
- Ensure that ``ZipStore`` is open before getting or setting any values. (:issue:`2693`)
- Use stdout rather than stderr as the default stream for ``LoggingStore``. (:issue:`2693`)
- Match the errors raised by read only stores in ``StoreTests``. (:issue:`2693`)
- Fixed ``ZipStore`` to make sure the correct attributes are saved when instances are pickled.
This fixes a previous bug that prevent using ``ZipStore`` with a ``ProcessPoolExecutor``. (:issue:`2762`)
- Updated the optional test dependencies to include ``botocore`` and ``fsspec``. (:issue:`2768`)
- Fixed the fsspec tests to skip if ``botocore`` is not installed.
Previously they would have failed with an import error. (:issue:`2768`)
- Optimize full chunk writes. (:issue:`2782`)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Changed the machinery for creating changelog entries.
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`)


3.0.2 (2025-01-30)
------------------

Features
~~~~~~~~

- Test getsize() and getsize_prefix() in StoreTests. (:issue:`2693`)
- Test that a ValueError is raised for invalid byte range syntax in StoreTests. (:issue:`2693`)
- Separate instantiating and opening a store in StoreTests. (:issue:`2693`)
- Add a test for using Stores as a context managers in StoreTests. (:issue:`2693`)
- Implemented open() for LoggingStore. (:issue:`2693`)
- LoggingStore is now a generic class. (:issue:`2693`)
- Change StoreTest's ``test_store_repr``, ``test_store_supports_writes``,
``test_store_supports_partial_writes``, and ``test_store_supports_listing``
to to be implemented using ``@abstractmethod``, rather raising ``NotImplementedError``. (:issue:`2693`)
- Test the error raised for invalid buffer arguments in StoreTests. (:issue:`2693`)
- Test that data can be written to a store that's not yet open using the store.set method in StoreTests (:issue:`2693`)
- Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array``
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``.
If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the
corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``,
then the values in ``data`` will be written to the newly created array. (:issue:`2761`)


Bugfixes
~~~~~~~~

- Wrap sync fsspec filesystems with AsyncFileSystemWrapper in xarray.to_zarr (:issue:`2533`)
- Added backwards compatibility for Zarr format 2 structured arrays. (:issue:`2681`)
- 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`)
- Ensure that ZipStore is open before getting or setting any values. (:issue:`2693`)
- Use stdout rather than stderr as the default stream for LoggingStore. (:issue:`2693`)
- Match the errors raised by read only stores in StoreTests. (:issue:`2693`)
- Fixed ZipStore to make sure the correct attributes are saved when instances are pickled.
This fixes a previous bug that prevent using ZipStore with a ProcessPoolExecutor. (:issue:`2762`)
- Updated the optional test dependencies to include ``botocore`` and ``fsspec``. (:issue:`2768`)
- Fixed the fsspec tests to skip if ``botocore`` is not installed.
Previously they would have failed with an import error. (:issue:`2768`)
- Optimize full chunk writes (:issue:`2782`)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Changed the machinery for creating changelog entries.
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`)


3.0.1 (Jan. 17, 2025)
---------------------
Expand Down

0 comments on commit a2d3813

Please sign in to comment.