@@ -13,10 +13,24 @@ Release notes
1313 # to document your changes. On releases it will be
1414 # re-indented so that it does not show up in the notes.
1515
16- .. _unreleased(v3) :
16+ .. note ::
17+ Zarr-Python 2.18.* is expected be the final release in the 2.* series. Work on Zarr-Python 3.0 is underway.
18+ See `GH1777 <https://github.com/zarr-developers/zarr-python/issues/1777 >`_ for more details on the upcoming
19+ 3.0 release.
1720
18- Unreleased (v3)
19- ---------------
21+ .. release_3.0.0.alpha:
22+
23+ 3.0.0.alpha
24+ -----------
25+
26+ .. warning ::
27+ Zarr-Python 3.0.0.alpha is a pre-release of the upcoming 3.0 release. This release is not feature complete or
28+ expected to be ready for production applications.
29+
30+ .. note ::
31+ The complete release notes for 3.0 have not been added to this document yet. See the
32+ `3.0.0.alpha <https://github.com/zarr-developers/zarr-python/releases/tag/v3.0.0.alpha >`_ release on GitHub
33+ for a record of changes included in this release.
2034
2135Enhancements
2236~~~~~~~~~~~~
@@ -31,10 +45,160 @@ Maintenance
3145 The dependency relationship is now reversed: the test suite imports this class from ``zarr-python ``.
3246 By :user: `Davis Bennett <d-v-b> ` :issue: `1601 `.
3347
34- .. _unreleased :
3548
36- Unreleased (v2)
37- ---------------
49+ .. _release_2.18.2 :
50+
51+ 2.18.2
52+ ------
53+
54+ Enhancements
55+ ~~~~~~~~~~~~
56+
57+ * Add Zstd codec to old V3 code path.
58+ By :user: `Ryan Abernathey <rabernat> `
59+
60+ .. _release_2.18.1 :
61+
62+ 2.18.1
63+ ------
64+
65+ Maintenance
66+ ~~~~~~~~~~~
67+ * Fix a regression when getting or setting a single value from arrays with size-1 chunks.
68+ By :user: `Deepak Cherian <dcherian> ` :issue: `1874 `
69+
70+ .. _release_2.18.0 :
71+
72+ 2.18.0
73+ ------
74+
75+ Enhancements
76+ ~~~~~~~~~~~~
77+ * Performance improvement for reading and writing chunks if any of the dimensions is size 1.
78+ By :user: `Deepak Cherian <dcherian> ` :issue: `1730 `.
79+
80+ Maintenance
81+ ~~~~~~~~~~~
82+ * Enable ruff/bugbear rules (B) and fix issues.
83+ By :user: `Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> ` :issue: `1702 `.
84+
85+ * Minor updates to use `np.inf ` instead of `np.PINF ` / `np.NINF ` in preparation for NumPy 2.0.0 release.
86+ By :user: `Joe Hamman <jhamman> ` :issue: `1842 `.
87+
88+ Deprecations
89+ ~~~~~~~~~~~~
90+
91+ * Deprecate experimental v3 support by issuing a `FutureWarning `.
92+ Also updated docs to warn about using the experimental v3 version.
93+ By :user: `Joe Hamman <jhamman> ` :issue: `1802 ` and :issue: `1807 `.
94+
95+ * Deprecate the following stores: :class: `zarr.storage.DBMStore `, :class: `zarr.storage.LMDBStore `,
96+ :class: `zarr.storage.SQLiteStore `, :class: `zarr.storage.MongoDBStore `, :class: `zarr.storage.RedisStore `,
97+ and :class: `zarr.storage.ABSStore `. These stores are slated to be removed from Zarr-Python in version 3.0.
98+ By :user: `Joe Hamman <jhamman> ` :issue: `1801 `.
99+
100+ .. _release_2.17.2 :
101+
102+ 2.17.2
103+ ------
104+
105+ Enhancements
106+ ~~~~~~~~~~~~
107+
108+ * [v3] Dramatically reduce number of ``__contains__ `` requests in favor of optimistically calling `__getitem__ `
109+ and handling any error that may arise.
110+ By :user: `Deepak Cherian <dcherian> ` :issue: `1741 `.
111+
112+ * [v3] Reuse the downloaded array metadata when creating an ``Array ``.
113+ By :user: `Deepak Cherian <dcherian> ` :issue: `1734 `.
114+
115+ * Optimize ``Array.info `` so that it calls `getsize ` only once.
116+ By :user: `Deepak Cherian <dcherian> ` :issue: `1733 `.
117+
118+ * Override IPython ``_repr_*_ `` methods to avoid expensive lookups against object stores.
119+ By :user: `Deepak Cherian <dcherian> ` :issue: `1716 `.
120+
121+ * FSStore now raises rather than return bad data.
122+ By :user: `Martin Durant <martindurant> ` and :user: `Ian Carroll <itcarroll> ` :issue: `1604 `.
123+
124+ * Avoid redundant ``__contains__ ``.
125+ By :user: `Deepak Cherian <dcherian> ` :issue: `1739 `.
126+
127+ Docs
128+ ~~~~
129+
130+ * Fix link to GCSMap in ``tutorial.rst ``.
131+ By :user: `Daniel Jahn <dahnj> ` :issue: `1689 `.
132+
133+ * Endorse `SPEC0000 <https://scientific-python.org/specs/spec-0000/ >`_ and state version support policy in ``installation.rst ``.
134+ By :user: `Sanket Verma <msankeys963> ` :issue: `1665 `.
135+
136+ * Migrate v1 and v2 specification to `Zarr-Specs <https://zarr-specs.readthedocs.io/en/latest/specs.html >`_.
137+ By :user: `Sanket Verma <msankeys963> ` :issue: `1582 `.
138+
139+ Maintenance
140+ ~~~~~~~~~~~
141+
142+ * Add CI test environment for Python 3.12
143+ By :user: `Joe Hamman <jhamman> ` :issue: `1719 `.
144+
145+ * Bump minimum supported NumPy version to 1.23 (per spec 0000)
146+ By :user: `Joe Hamman <jhamman> ` :issue: `1719 `.
147+
148+ * Minor fixes: Using ``is `` instead of ``type `` and removing unnecessary ``None ``.
149+ By :user: `Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> ` :issue: `1737 `.
150+
151+ * Fix tests failure related to Pytest 8.
152+ By :user: `David Stansby <dstansby> ` :issue: `1714 `.
153+
154+ .. _release_2.17.1 :
155+
156+ 2.17.1
157+ ------
158+
159+ Enhancements
160+ ~~~~~~~~~~~~
161+
162+ * Change occurrences of % and format() to f-strings.
163+ By :user: `Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> ` :issue: `1423 `.
164+
165+ * Proper argument for numpy.reshape.
166+ By :user: `Dimitri Papadopoulos Orfanos <DmitriPapadopoulos> ` :issue: `1425 `.
167+
168+ * Add typing to dimension separator arguments.
169+ By :user: `David Stansby <dstansby> ` :issue: `1620 `.
170+
171+ Docs
172+ ~~~~
173+
174+ * ZIP related tweaks.
175+ By :user: `Davis Bennett <d-v-b> ` :issue: `1641 `.
176+
177+ Maintenance
178+ ~~~~~~~~~~~
179+
180+ * Update config.yml with Zulip.
181+ By :user: `Josh Moore <joshmoore> `.
182+
183+ * Replace Gitter with the new Zulip Chat link.
184+ By :user: `Sanket Verma <msankeys963> ` :issue: `1685 `.
185+
186+ * Fix RTD build.
187+ By :user: `Sanket Verma <msankeys963> ` :issue: `1694 `.
188+
189+ .. _release_2.17.0 :
190+
191+ 2.17.0
192+ ------
193+
194+ Enhancements
195+ ~~~~~~~~~~~~
196+
197+ * Added type hints to ``zarr.creation.create() ``.
198+ By :user: `David Stansby <dstansby> ` :issue: `1536 `.
199+
200+ * Pyodide support: Don't require fasteners on Emscripten.
201+ By :user: `Hood Chatham <hoodmane> ` :issue: `1663 `.
38202
39203Docs
40204~~~~
@@ -57,10 +221,30 @@ Docs
57221* Minor tweak to advanced indexing tutorial examples.
58222 By :user: `Ross Barnowski <rossbar> ` :issue: `1550 `.
59223
224+ * Automatically document array members using sphinx-automodapi.
225+ By :user: `David Stansby <dstansby> ` :issue: `1547 `.
226+
227+ * Add a markdown file documenting the current and former core-developer team.
228+ By :user: `Joe Hamman <jhamman> ` :issue: `1628 `.
229+
230+ * Add Norman Rzepka to core-dev team.
231+ By :user: `Joe Hamman <jhamman> ` :issue: `1630 `.
232+
233+ * Added section about accessing ZIP archives on s3.
234+ By :user: `Jeff Peck <jeffpeck10x> ` :issue: `1613 `, :issue: `1615 `, and :user: `Davis Bennett <d-v-b> ` :issue: `1641 `.
235+
236+ * Add V3 roadmap and design document.
237+ By :user: `Joe Hamman <jhamman> ` :issue: `1583 `.
60238
61239Maintenance
62240~~~~~~~~~~~
63241
242+ * Drop Python 3.8 and NumPy 1.20
243+ By :user: `Josh Moore <joshmoore> `; :issue: `1557 `.
244+
245+ * Cache result of ``FSStore._fsspec_installed() ``.
246+ By :user: `Janick Martinez Esturo <ph03> ` :issue: `1581 `.
247+
64248* Extend copyright notice to 2023.
65249 By :user: `Jack Kelly <JackKelly> ` :issue: `1528 `.
66250
@@ -79,6 +263,27 @@ Maintenance
79263* Remove ``sphinx-rtd-theme `` dependency from ``pyproject.toml ``.
80264 By :user: `Sanket Verma <MSanKeys963> ` :issue: `1563 `.
81265
266+ * Remove ``CODE_OF_CONDUCT.md `` file from the Zarr-Python repository.
267+ By :user: `Sanket Verma <MSanKeys963> ` :issue: `1572 `.
268+
269+ * Bump version of black in pre-commit.
270+ By :user: `David Stansby <dtstansby> ` :issue: `1559 `.
271+
272+ * Use list comprehension where applicable.
273+ By :user: `Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> ` :issue: `1555 `.
274+
275+ * Use format specification mini-language to format string.
276+ By :user: `Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> ` :issue: `1558 `.
277+
278+ * Single startswith() call instead of multiple ones.
279+ By :user: `Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> ` :issue: `1556 `.
280+
281+ * Move codespell options around.
282+ By :user: `Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> ` :issue: `1196 `.
283+
284+ * Remove unused mypy ignore comments.
285+ By :user: `David Stansby <dtstansby> ` :issue: `1602 `.
286+
82287.. _release_2.16.1 :
83288
842892.16.1
@@ -120,10 +325,10 @@ Maintenance
120325 By :user: `Davis Bennett <d-v-b> ` :issue: `1462 `.
121326
122327* Style the codebase with ``ruff `` and ``black ``.
123- By :user: `Davis Bennett ` <d-v-b> :issue: `1459 `
328+ By :user: `Davis Bennett <d-v-b> ` :issue: `1459 `
124329
125330* Ensure that chunks is tuple of ints upon array creation.
126- By :user: `Philipp Hanslovsky ` <hanslovsky> :issue: `1461 `
331+ By :user: `Philipp Hanslovsky <hanslovsky> ` :issue: `1461 `
127332
128333.. _release_2.15.0 :
129334
@@ -511,7 +716,7 @@ Maintenance
511716 By :user: `Saransh Chopra <Saransh-cpp> ` :issue: `1079 `.
512717
513718* Remove option to return None from _ensure_store.
514- By :user: `Greggory Lee <grlee77> ` :issue: `1068 `.
719+ By :user: `Gregory Lee <grlee77> ` :issue: `1068 `.
515720
516721* Fix a typo of "integers".
517722 By :user: `Richard Scott <RichardScottOZ> ` :issue: `1056 `.
@@ -529,7 +734,7 @@ Enhancements
529734 Since the format is not yet finalized, the classes and functions are not
530735 automatically imported into the regular `zarr ` name space. Setting the
531736 `ZARR_V3_EXPERIMENTAL_API ` environment variable will activate them.
532- By :user: `Greggory Lee <grlee77> `; :issue: `898 `, :issue: `1006 `, and :issue: `1007 `
737+ By :user: `Gregory Lee <grlee77> `; :issue: `898 `, :issue: `1006 `, and :issue: `1007 `
533738 as well as by :user: `Josh Moore <joshmoore> ` :issue: `1032 `.
534739
535740* **Create FSStore from an existing fsspec filesystem **. If you have created
@@ -651,7 +856,7 @@ Enhancements
651856 higher-level array creation and convenience functions still accept plain
652857 Python dicts or other mutable mappings for the ``store `` argument, but will
653858 internally convert these to a ``KVStore ``.
654- By :user: `Greggory Lee <grlee77> `; :issue: `839 `, :issue: `789 `, and :issue: `950 `.
859+ By :user: `Gregory Lee <grlee77> `; :issue: `839 `, :issue: `789 `, and :issue: `950 `.
655860
656861* Allow to assign array ``fill_values `` and update metadata accordingly.
657862 By :user: `Ryan Abernathey <rabernat> `, :issue: `662 `.
@@ -798,7 +1003,7 @@ Bug fixes
7981003~~~~~~~~~
7991004
8001005* Fix FSStore.listdir behavior for nested directories.
801- By :user: `Greggory Lee <grlee77> `; :issue: `802 `.
1006+ By :user: `Gregory Lee <grlee77> `; :issue: `802 `.
8021007
8031008.. _release_2.9.4 :
8041009
@@ -882,7 +1087,7 @@ Bug fixes
8821087 By :user: `Josh Moore <joshmoore> `; :issue: `781 `.
8831088
8841089* avoid NumPy 1.21.0 due to https://github.com/numpy/numpy/issues/19325
885- By :user: `Greggory Lee <grlee77> `; :issue: `791 `.
1090+ By :user: `Gregory Lee <grlee77> `; :issue: `791 `.
8861091
8871092Maintenance
8881093~~~~~~~~~~~
@@ -894,7 +1099,7 @@ Maintenance
8941099 By :user: `Elliott Sales de Andrade <QuLogic> `; :issue: `799 `.
8951100
8961101* TST: add missing assert in test_hexdigest.
897- By :user: `Greggory Lee <grlee77> `; :issue: `801 `.
1102+ By :user: `Gregory Lee <grlee77> `; :issue: `801 `.
8981103
8991104.. _release_2.8.3 :
9001105
@@ -1538,11 +1743,11 @@ Bug fixes
15381743Documentation
15391744~~~~~~~~~~~~~
15401745
1541- * Some changes have been made to the :ref: ` spec_v2 ` document to clarify
1746+ * Some changes have been made to the Zarr Specification v2 document to clarify
15421747 ambiguities and add some missing information. These changes do not break compatibility
15431748 with any of the material as previously implemented, and so the changes have been made
15441749 in-place in the document without incrementing the document version number. See the
1545- section on :ref: ` spec_v2_changes ` in the specification document for more information.
1750+ section on changes in the specification document for more information.
15461751* A new :ref: `tutorial_indexing ` section has been added to the tutorial.
15471752* A new :ref: `tutorial_strings ` section has been added to the tutorial
15481753 (:issue: `135 `, :issue: `175 `).
@@ -1812,4 +2017,4 @@ See `v0.4.0 release notes on GitHub
18122017See `v0.3.0 release notes on GitHub
18132018<https://github.com/zarr-developers/zarr-python/releases/tag/v0.3.0> `_.
18142019
1815- .. _Numcodecs : https://numcodecs.readthedocs.io/
2020+ .. _Numcodecs : https://numcodecs.readthedocs.io/
0 commit comments