Skip to content

Commit da9ff0a

Browse files
TomNicholaskeewis
andauthored
Release summary for v2024.05.0 (#9021)
* release summary * add some links * moved an entry up * rst vs md Co-authored-by: Justus Magin <[email protected]> * update the date --------- Co-authored-by: Justus Magin <[email protected]>
1 parent b9c124b commit da9ff0a

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

doc/whats-new.rst

+15-13
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,25 @@ What's New
1515
np.random.seed(123456)
1616
1717
18-
.. _whats-new.2024.04.0:
18+
.. _whats-new.2024.05.0:
1919

20-
v2024.04.0 (unreleased)
21-
-----------------------
20+
v2024.05.0 (May 12, 2024)
21+
-------------------------
22+
23+
This release brings support for pandas ExtensionArray objects, optimizations when reading Zarr, the ability to concatenate datasets without pandas indexes,
24+
more compatibility fixes for the upcoming numpy 2.0, and the migration of most of the xarray-datatree project code into xarray ``main``!
25+
26+
Thanks to the 18 contributors to this release:
27+
Aimilios Tsouvelekakis, Andrey Akinshin, Deepak Cherian, Eni Awowale, Ilan Gold, Illviljan, Justus Magin, Mark Harfouche, Matt Savoie, Maximilian Roos, Noah C. Benson, Pascal Bourgault, Ray Bell, Spencer Clark, Tom Nicholas, ignamv, owenlittlejohns, and saschahofmann.
2228

2329
New Features
2430
~~~~~~~~~~~~
2531
- New "random" method for converting to and from 360_day calendars (:pull:`8603`).
2632
By `Pascal Bourgault <https://github.com/aulemahal>`_.
2733
- Xarray now makes a best attempt not to coerce :py:class:`pandas.api.extensions.ExtensionArray` to a numpy array
28-
by supporting 1D `ExtensionArray` objects internally where possible. Thus, `Dataset`s initialized with a `pd.Catgeorical`,
29-
for example, will retain the object. However, one cannot do operations that are not possible on the `ExtensionArray`
30-
then, such as broadcasting.
34+
by supporting 1D ``ExtensionArray`` objects internally where possible. Thus, :py:class:`Dataset` objects initialized with a ``pd.Categorical``,
35+
for example, will retain the object. However, one cannot do operations that are not possible on the ``ExtensionArray``
36+
then, such as broadcasting. (:issue:`5287`, :issue:`8463`, :pull:`8723`)
3137
By `Ilan Gold <https://github.com/ilan-gold>`_.
3238
- :py:func:`testing.assert_allclose`/:py:func:`testing.assert_equal` now accept a new argument `check_dims="transpose"`, controlling whether a transposed array is considered equal. (:issue:`5733`, :pull:`8991`)
3339
By `Ignacio Martinez Vazquez <https://github.com/ignamv>`_.
@@ -42,7 +48,6 @@ Breaking changes
4248
~~~~~~~~~~~~~~~~
4349
- The PyNIO backend has been deleted (:issue:`4491`, :pull:`7301`).
4450
By `Deepak Cherian <https://github.com/dcherian>`_.
45-
4651
- The minimum versions of some dependencies were changed, in particular our minimum supported pandas version is now Pandas 2.
4752

4853
===================== ========= =======
@@ -60,7 +65,6 @@ Breaking changes
6065
zarr 2.13 2.14
6166
===================== ========= =======
6267

63-
6468
Bug fixes
6569
~~~~~~~~~
6670
- Following `an upstream bug fix
@@ -70,7 +74,6 @@ Bug fixes
7074
within the bounds of the provided start and end dates (:pull:`8999`). By
7175
`Spencer Clark <https://github.com/spencerkclark>`_.
7276

73-
7477
Internal Changes
7578
~~~~~~~~~~~~~~~~
7679
- Enforces failures on CI when tests raise warnings from within xarray (:pull:`8974`)
@@ -88,13 +91,15 @@ Internal Changes
8891
`Tom Nicholas <https://github.com/TomNicholas>`_.
8992
- Migrates ``ops.py`` functionality into ``xarray/core/datatree_ops.py`` (:pull:`8976`)
9093
By `Matt Savoie <https://github.com/flamingbear>`_ and `Tom Nicholas <https://github.com/TomNicholas>`_.
94+
- Migrates ``iterator`` functionality into ``xarray/core`` (:pull: `8879`)
95+
By `Owen Littlejohns <https://github.com/owenlittlejohns>`_, `Matt Savoie
96+
<https://github.com/flamingbear>`_ and `Tom Nicholas <https://github.com/TomNicholas>`_.
9197
- ``transpose``, ``set_dims``, ``stack`` & ``unstack`` now use a ``dim`` kwarg
9298
rather than ``dims`` or ``dimensions``. This is the final change to unify
9399
xarray functions to use ``dim``. Using the existing kwarg will raise a
94100
warning.
95101
By `Maximilian Roos <https://github.com/max-sixty>`_
96102

97-
98103
.. _whats-new.2024.03.0:
99104

100105
v2024.03.0 (Mar 29, 2024)
@@ -172,9 +177,6 @@ Internal Changes
172177
- Migrates ``datatree`` functionality into ``xarray/core``. (:pull: `8789`)
173178
By `Owen Littlejohns <https://github.com/owenlittlejohns>`_, `Matt Savoie
174179
<https://github.com/flamingbear>`_ and `Tom Nicholas <https://github.com/TomNicholas>`_.
175-
- Migrates ``iterator`` functionality into ``xarray/core`` (:pull: `8879`)
176-
By `Owen Littlejohns <https://github.com/owenlittlejohns>`_, `Matt Savoie
177-
<https://github.com/flamingbear>`_ and `Tom Nicholas <https://github.com/TomNicholas>`_.
178180

179181

180182
.. _whats-new.2024.02.0:

0 commit comments

Comments
 (0)